Interface IChunkBounds

All Known Subinterfaces:
DistortedShape, IWorldBounds
All Known Implementing Classes:
AbstractDistortedBody, AbstractDistortedExtrusion, AbstractDistortedShape, ChunkBounds, CylinderCaveNodeShape, DistortedCylinderShape, DistortedEllipsoidShape, DistortedPipeShape, EllipsoidCaveNodeShape, EmptyLineCaveNodeShape, PipeCaveNodeShape, PrefabCaveNodeShape, TetrahedronCaveNodeShape, WorldBounds

public interface IChunkBounds
  • Method Details

    • getLowBoundX

      int getLowBoundX()
    • getLowBoundZ

      int getLowBoundZ()
    • getHighBoundX

      int getHighBoundX()
    • getHighBoundZ

      int getHighBoundZ()
    • getLowBoundX

      default int getLowBoundX(@Nonnull PrefabRotation rotation)
    • getLowBoundZ

      default int getLowBoundZ(@Nonnull PrefabRotation rotation)
    • getHighBoundX

      default int getHighBoundX(@Nonnull PrefabRotation rotation)
    • getHighBoundZ

      default int getHighBoundZ(@Nonnull PrefabRotation rotation)
    • intersectsChunk

      default boolean intersectsChunk(long chunkIndex)
    • intersectsChunk

      default boolean intersectsChunk(int chunkX, int chunkZ)
    • randomX

      default int randomX(@Nonnull Random random)
    • randomZ

      default int randomZ(@Nonnull Random random)
    • fractionX

      default double fractionX(double d)
    • fractionZ

      default double fractionZ(double d)
    • getLowChunkX

      default int getLowChunkX()
    • getLowChunkZ

      default int getLowChunkZ()
    • getHighChunkX

      default int getHighChunkX()
    • getHighChunkZ

      default int getHighChunkZ()