Contents
Interface CaveNodeShape
- All Known Implementing Classes:
AbstractCaveNodeShape, CylinderCaveNodeShape, DistortedCaveNodeShape, EllipsoidCaveNodeShape, EmptyLineCaveNodeShape, PipeCaveNodeShape, PrefabCaveNodeShape, TetrahedronCaveNodeShape
public interface CaveNodeShape
- Since:
- 02.06.2016
-
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector3dgetAnchor(org.joml.Vector3d vector, double tx, double ty, double tz) doublegetCeilingPosition(int seed, double x, double z) org.joml.Vector3dgetEnd()doublegetFloorPosition(int seed, double x, double z) org.joml.Vector3dgetStart()default booleanvoidpopulateChunk(int seed, ChunkGeneratorExecution execution, Cave cave, CaveNode node, Random random) booleanshouldReplace(int seed, double x, double z, int y)
-
Method Details
-
getStart
org.joml.Vector3d getStart() -
getEnd
org.joml.Vector3d getEnd() -
getAnchor
org.joml.Vector3d getAnchor(org.joml.Vector3d vector, double tx, double ty, double tz) -
getBounds
IWorldBounds getBounds() -
shouldReplace
boolean shouldReplace(int seed, double x, double z, int y) -
getFloorPosition
double getFloorPosition(int seed, double x, double z) -
getCeilingPosition
double getCeilingPosition(int seed, double x, double z) -
populateChunk
void populateChunk(int seed, ChunkGeneratorExecution execution, Cave cave, CaveNode node, Random random) -
hasGeometry
default boolean hasGeometry()
-