Class EllipsoidCaveNodeShape
java.lang.Object
com.hypixel.hytale.server.worldgen.cave.shape.AbstractCaveNodeShape
com.hypixel.hytale.server.worldgen.cave.shape.EllipsoidCaveNodeShape
- All Implemented Interfaces:
CaveNodeShape,IChunkBounds,IWorldBounds
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEllipsoidCaveNodeShape(CaveType caveType, Vector3d o, double rx, double ry, double rz) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetCeilingPosition(int seed, double x, double z) getEnd()doublegetFloorPosition(int seed, double x, double z) intintintintintintgetStart()booleanshouldReplace(int seed, double x, double z, int y) toString()Methods inherited from class com.hypixel.hytale.server.worldgen.cave.shape.AbstractCaveNodeShape
populateChunkMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.hypixel.hytale.server.worldgen.cave.shape.CaveNodeShape
hasGeometryMethods inherited from interface com.hypixel.hytale.server.worldgen.util.bounds.IChunkBounds
fractionX, fractionZ, getHighBoundX, getHighBoundZ, getHighChunkX, getHighChunkZ, getLowBoundX, getLowBoundZ, getLowChunkX, getLowChunkZ, intersectsChunk, randomX, randomZMethods inherited from interface com.hypixel.hytale.server.worldgen.util.bounds.IWorldBounds
fractionY, intersectsChunk, randomY
-
Field Details
-
caveType
-
o
-
rx
private final double rx -
ry
private final double ry -
rz
private final double rz -
lowBoundX
private final int lowBoundX -
lowBoundY
private final int lowBoundY -
lowBoundZ
private final int lowBoundZ -
highBoundX
private final int highBoundX -
highBoundY
private final int highBoundY -
highBoundZ
private final int highBoundZ
-
-
Constructor Details
-
EllipsoidCaveNodeShape
-
-
Method Details
-
getStart
- Specified by:
getStartin interfaceCaveNodeShape
-
getEnd
- Specified by:
getEndin interfaceCaveNodeShape
-
getAnchor
- Specified by:
getAnchorin interfaceCaveNodeShape
-
getBounds
- Specified by:
getBoundsin interfaceCaveNodeShape
-
getLowBoundX
public int getLowBoundX()- Specified by:
getLowBoundXin interfaceIChunkBounds
-
getLowBoundZ
public int getLowBoundZ()- Specified by:
getLowBoundZin interfaceIChunkBounds
-
getHighBoundX
public int getHighBoundX()- Specified by:
getHighBoundXin interfaceIChunkBounds
-
getHighBoundZ
public int getHighBoundZ()- Specified by:
getHighBoundZin interfaceIChunkBounds
-
getLowBoundY
public int getLowBoundY()- Specified by:
getLowBoundYin interfaceIWorldBounds
-
getHighBoundY
public int getHighBoundY()- Specified by:
getHighBoundYin interfaceIWorldBounds
-
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
-
toString
-