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 Summary
Modifier and TypeMethodDescriptiondefault doublefractionX(double d) default doublefractionZ(double d) intdefault intgetHighBoundX(PrefabRotation rotation) intdefault intgetHighBoundZ(PrefabRotation rotation) default intdefault intintdefault intgetLowBoundX(PrefabRotation rotation) intdefault intgetLowBoundZ(PrefabRotation rotation) default intdefault intdefault booleanintersectsChunk(int chunkX, int chunkZ) default booleanintersectsChunk(long chunkIndex) default intdefault int
-
Method Details
-
getLowBoundX
int getLowBoundX() -
getLowBoundZ
int getLowBoundZ() -
getHighBoundX
int getHighBoundX() -
getHighBoundZ
int getHighBoundZ() -
getLowBoundX
-
getLowBoundZ
-
getHighBoundX
-
getHighBoundZ
-
intersectsChunk
default boolean intersectsChunk(long chunkIndex) -
intersectsChunk
default boolean intersectsChunk(int chunkX, int chunkZ) -
randomX
-
randomZ
-
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()
-