Interface Box
- All Known Implementing Classes:
LightVolume,MutableBox
public interface Box
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancontains(int x, int y, int z) default booleandefault MutableBoxcopy()default voidintgetMaxX()intgetMaxY()intgetMaxZ()intgetMinX()intgetMinY()intgetMinZ()default booleandefault MutableBoxdefault booleanintersects(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) default booleanintersects(Box other) default booleanisEmpty()default booleandefault booleandefault booleansameAs(net.minecraft.world.phys.AABB other) default intsizeX()default intsizeY()default intsizeZ()default net.minecraft.world.phys.AABBtoAABB()default MutableBoxdefault 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() -
isEmpty
default boolean isEmpty() -
sameAs
-
sameAs
-
sameAs
default boolean sameAs(net.minecraft.world.phys.AABB other) -
intersects
default boolean intersects(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) -
intersects
-
contains
default boolean contains(int x, int y, int z) -
contains
-
forEachContained
-
hasPowerOf2Sides
default boolean hasPowerOf2Sides() -
union
-
intersect
-
toAABB
default net.minecraft.world.phys.AABB toAABB() -
copy
-