Package com.jozufozu.flywheel.util.box
Interface ImmutableBox
- All Known Implementing Classes:
GPULightVolume,GridAlignedBB,LightVolume
public interface ImmutableBox
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleancontains(int x, int y, int z) default booleancontains(ImmutableBox other) default GridAlignedBBcopy()default booleanempty()default voidintgetMaxX()intgetMaxY()intgetMaxZ()intgetMinX()intgetMinY()intgetMinZ()default booleandefault GridAlignedBBintersect(ImmutableBox other) default booleanintersects(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) default booleanintersects(ImmutableBox other) default booleanisContainedBy(GridAlignedBB other) default booleansameAs(ImmutableBox other) default booleansameAs(ImmutableBox other, int margin) default booleansameAs(net.minecraft.world.phys.AABB other) default intsizeX()default intsizeY()default intsizeZ()default net.minecraft.world.phys.AABBtoAABB()default ImmutableBoxunion(ImmutableBox other) default intvolume()
-
Method Details
-
getMinX
int getMinX() -
getMinY
int getMinY() -
getMinZ
int getMinZ() -
getMaxX
int getMaxX() -
getMaxY
int getMaxY() -
getMaxZ
int getMaxZ() -
sizeX
default int sizeX() -
sizeY
default int sizeY() -
sizeZ
default int sizeZ() -
volume
default int volume() -
empty
default boolean empty() -
sameAs
-
sameAs
-
sameAs
default boolean sameAs(net.minecraft.world.phys.AABB other) -
hasPowerOf2Sides
default boolean hasPowerOf2Sides() -
intersect
-
union
-
intersects
-
contains
default boolean contains(int x, int y, int z) -
contains
-
isContainedBy
-
intersects
default boolean intersects(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) -
forEachContained
-
toAABB
default net.minecraft.world.phys.AABB toAABB() -
copy
-