classpublicPriority 3
CaveNodeType
com.hypixel.hytale.server.worldgen.cave.CaveNodeType
28
Methods
28
Public Methods
10
Fields
1
Constructors
Constants
CaveNodeType[]EMPTY_ARRAY= new CaveNodeType[0]
CaveNodeType.CaveNodeChildEntry[]EMPTY_ARRAY= new CaveNodeType.CaveNodeChildEntry[0]
CaveNodeType.CaveNodeCoverEntry[]EMPTY_ARRAY= new CaveNodeType.CaveNodeCoverEntry[0]
CaveNodeType.CaveNodeCoverEntry.Entry[]EMPTY_ARRAY= new CaveNodeType.CaveNodeCoverEntry.Entry[0]
Constructors
public
CaveNodeType(String name, CavePrefabContainer prefabContainer, IWeightedMap<BlockFluidEntry> fillings, CaveNodeShapeEnum.CaveNodeShapeGenerator shapeGenerator, ICoordinateCondition heightCondition, IDoubleRange childrenCountBounds, CaveNodeType.CaveNodeCoverEntry[] covers, int priority, int environment)Methods
Public Methods (28)
public
CaveNodeType.CaveNodeCoverEntry.Entry get(Random random)@Nullable
public
Vector3d getAnchor()@Nonnull
public
double getChance()public
CaveNodeType.CaveNodeChildEntry[] getChildren()@Nonnull
public
IDoubleRange getChildrenCountBounds()@Nullable
public
IDoubleRange getChildrenLimit()@Nullable
public
CaveNodeType.CaveNodeCoverEntry[] getCovers()@Nonnull
public
ICoordinateCondition getDensityCondition()@Nonnull
public
BlockFluidEntry getEntry()public
int getEnvironment()public
BlockFluidEntry getFilling(Random random)@Nullable
public
ICoordinateCondition getHeightCondition()@Nonnull
public
ICoordinateCondition getMapCondition()@Nonnull
public
String getName()@Nonnull
public
Vector3d getOffset()@Nonnull
public
IBlockFluidCondition getParentCondition()@Nonnull
public
CaveNodeType.CaveNodeChildEntry.OrientationModifier getPitchModifier()@Nonnull
public
CavePrefabContainer getPrefabContainer()@Nullable
public
int getPriority()public
IDoubleRange getRepeat()@Nonnull
public
PrefabRotation getRotation(Random random)@Nonnull
public
CaveNodeType.CaveNodeCoverType getType()@Nonnull
public
IWeightedMap<CaveNodeType> getTypes()@Nonnull
public
CaveYawMode getYawMode()@Nonnull
public
CaveNodeType.CaveNodeChildEntry.OrientationModifier getYawModifier()@Nonnull
public
boolean hasEnvironment()public
void setChildren(CaveNodeType.CaveNodeChildEntry[] children)public
String toString()@Nonnull@Override
Fields
Private/Package Fields (10)
private
CaveNodeType.CaveNodeChildEntry[] childrenprivate
IDoubleRange childrenCountBoundsprivate
CaveNodeType.CaveNodeCoverEntry[] coversprivate
int environmentprivate
IWeightedMap<BlockFluidEntry> fillingsprivate
ICoordinateCondition heightConditionprivate
String nameprivate
CavePrefabContainer prefabContainerprivate
int priorityprivate
CaveNodeShapeEnum.CaveNodeShapeGenerator shapeGenerator