Contents
Class DistortedCaveNodeShape
java.lang.Object
com.hypixel.hytale.server.worldgen.cave.shape.DistortedCaveNodeShape
- All Implemented Interfaces:
CaveNodeShape
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionDistortedCaveNodeShape(CaveType caveType, DistortedShape shape, ShapeDistortion distortion) -
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) getShape()org.joml.Vector3dgetStart()voidpopulateChunk(int seed, ChunkGeneratorExecution execution, Cave cave, CaveNode node, Random random) booleanshouldReplace(int seed, double x, double z, int y) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CaveNodeShape
hasGeometry
-
Constructor Details
-
DistortedCaveNodeShape
-
-
Method Details
-
getShape
-
getStart
public org.joml.Vector3d getStart()- Specified by:
getStartin interfaceCaveNodeShape
-
getEnd
public org.joml.Vector3d getEnd()- Specified by:
getEndin interfaceCaveNodeShape
-
getAnchor
public org.joml.Vector3d getAnchor(org.joml.Vector3d vector, double tx, double ty, double tz) - Specified by:
getAnchorin interfaceCaveNodeShape
-
getBounds
- Specified by:
getBoundsin interfaceCaveNodeShape
-
shouldReplace
public boolean shouldReplace(int seed, double x, double z, int y) - Specified by:
shouldReplacein interfaceCaveNodeShape
-
getFloorPosition
public double getFloorPosition(int seed, double x, double z) - Specified by:
getFloorPositionin interfaceCaveNodeShape
-
getCeilingPosition
public double getCeilingPosition(int seed, double x, double z) - Specified by:
getCeilingPositionin interfaceCaveNodeShape
-
populateChunk
public void populateChunk(int seed, @Nonnull ChunkGeneratorExecution execution, @Nonnull Cave cave, @Nonnull CaveNode node, @Nonnull Random random) - Specified by:
populateChunkin interfaceCaveNodeShape
-