Interface ImmutableBox

All Known Implementing Classes:
GPULightVolume, GridAlignedBB, LightVolume

public interface ImmutableBox
  • 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

      default boolean sameAs(ImmutableBox other)
    • sameAs

      default boolean sameAs(ImmutableBox other, int margin)
    • sameAs

      default boolean sameAs(net.minecraft.world.phys.AABB other)
    • hasPowerOf2Sides

      default boolean hasPowerOf2Sides()
    • intersect

      default GridAlignedBB intersect(ImmutableBox other)
    • union

      default ImmutableBox union(ImmutableBox other)
    • intersects

      default boolean intersects(ImmutableBox other)
    • contains

      default boolean contains(int x, int y, int z)
    • contains

      default boolean contains(ImmutableBox other)
    • isContainedBy

      default boolean isContainedBy(GridAlignedBB other)
    • intersects

      default boolean intersects(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
    • forEachContained

      default void forEachContained(CoordinateConsumer func)
    • toAABB

      default net.minecraft.world.phys.AABB toAABB()
    • copy

      default GridAlignedBB copy()