Contents
- Description
- Nested Class Summary
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- getStart()
- getEnd()
- getAnchor(Vector3d, double, double, double)
- getBounds()
- getLowBoundX()
- getLowBoundZ()
- getHighBoundX()
- getHighBoundZ()
- getLowBoundY()
- getHighBoundY()
- shouldReplace(int, double, double, int)
- getFloorPosition(int, double, double)
- getCeilingPosition(int, double, double)
- hasGeometry()
- toString()
Class EmptyLineCaveNodeShape
java.lang.Object
com.hypixel.hytale.server.worldgen.cave.shape.AbstractCaveNodeShape
com.hypixel.hytale.server.worldgen.cave.shape.EmptyLineCaveNodeShape
- All Implemented Interfaces:
CaveNodeShape, IChunkBounds, IWorldBounds
- Since:
- 02.06.2016
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector3dgetAnchor(org.joml.Vector3d vector, double t, double tv, double th) doublegetCeilingPosition(int seed, double x, double z) org.joml.Vector3dgetEnd()doublegetFloorPosition(int seed, double x, double z) intintintintintintorg.joml.Vector3dgetStart()booleanbooleanshouldReplace(int seed, double x, double z, int y) toString()Methods inherited from class AbstractCaveNodeShape
populateChunkMethods 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
-
EmptyLineCaveNodeShape
public EmptyLineCaveNodeShape(org.joml.Vector3d o, org.joml.Vector3d v)
-
-
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 t, double tv, double th) - 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
-
hasGeometry
public boolean hasGeometry()- Specified by:
hasGeometryin interfaceCaveNodeShape
-
toString
-