Contents
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
- Since:
- 03.06.2016
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionEllipsoidCaveNodeShape(CaveType caveType, org.joml.Vector3d o, double rx, double ry, double rz) -
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) intintintintintintorg.joml.Vector3dgetStart()booleanshouldReplace(int seed, double x, double z, int y) toString()Methods inherited from class AbstractCaveNodeShape
populateChunkMethods inherited from interface CaveNodeShape
hasGeometryMethods inherited from interface IChunkBounds
fractionX, fractionZ, getHighBoundX, getHighBoundZ, getHighChunkX, getHighChunkZ, getLowBoundX, getLowBoundZ, getLowChunkX, getLowChunkZ, intersectsChunk, randomX, randomZMethods inherited from interface IWorldBounds
fractionY, intersectsChunk, isValid, randomY
-
Constructor Details
-
EllipsoidCaveNodeShape
public EllipsoidCaveNodeShape(CaveType caveType, @Nonnull org.joml.Vector3d o, double rx, double ry, double rz)
-
-
Method Details
-
getStart
@Nonnull public org.joml.Vector3d getStart()- Specified by:
getStartin interfaceCaveNodeShape
-
getEnd
@Nonnull public org.joml.Vector3d getEnd()- Specified by:
getEndin interfaceCaveNodeShape
-
getAnchor
@Nonnull public org.joml.Vector3d getAnchor(@Nonnull org.joml.Vector3d vector, double tx, double ty, double tz) - 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
-