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()
- getRadius1()
- getRadius2()
- shouldReplace(int, double, double, int)
- getFloorPosition(int, double, double)
- getCeilingPosition(int, double, double)
- toString()
Class PipeCaveNodeShape
java.lang.Object
com.hypixel.hytale.server.worldgen.cave.shape.AbstractCaveNodeShape
com.hypixel.hytale.server.worldgen.cave.shape.PipeCaveNodeShape
- All Implemented Interfaces:
CaveNodeShape, IChunkBounds, IWorldBounds
- Since:
- 02.06.2016
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPipeCaveNodeShape(CaveType caveType, org.joml.Vector3d o, org.joml.Vector3d v, double radius1, double radius2, double middleRadius) -
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) intintintintintintdoubledoubleorg.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
-
PipeCaveNodeShape
public PipeCaveNodeShape(CaveType caveType, @Nonnull org.joml.Vector3d o, @Nonnull org.joml.Vector3d v, double radius1, double radius2, double middleRadius)
-
-
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
-
getRadius1
public double getRadius1() -
getRadius2
public double getRadius2() -
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
-