HyCodeYourTale
classpublicPriority 2

CaveNodeShapeUtils

com.hypixel.hytale.server.worldgen.cave.shape.CaveNodeShapeUtils

9

Methods

9

Public Methods

0

Fields

1

Constructors

Constants

BiDoubleToDoubleFunctionLEFT= (l, r) -> l
BiDoubleToDoubleFunctionMAX= Math::max
BiDoubleToDoubleFunctionMIN= Math::min
BiDoubleToDoubleFunctionRIGHT= (l, r) -> r

Constructors

public
CaveNodeShapeUtils()

Methods

Public Methods (9)

publicstatic
Vector3d getBoxAnchor(Vector3d vector, IWorldBounds bounds, double tx, double ty, double tz)
@Nonnull
publicstatic
double getEndHeight(CaveNode node, IDoubleRange range, Random random)
publicstatic
double getEndRadius(CaveNode node, IDoubleRange range, Random random)
publicstatic
double getEndRadius(CaveNodeShape shape, BiDoubleToDoubleFunction widthHeightSelector)
publicstatic
double getEndWidth(CaveNode node, IDoubleRange range, Random random)
publicstatic
BlockFluidEntry getFillingBlock(CaveType cave, CaveNodeType node, int y, Random random)
@Nullable
publicstatic
Vector3d getLineAnchor(Vector3d vector, Vector3d o, Vector3d v, double t)
@Nonnull
publicstatic
Vector3d getOffset(CaveNode parent, CaveNodeType.CaveNodeChildEntry childEntry)
@Nonnull
publicstatic
Vector3d getSphereAnchor(Vector3d vector, Vector3d origin, double rx, double ry, double rz, double tx, double ty, double tz)
@Nonnull

Related Classes