Class RoleSpawnParameters
java.lang.Object
com.hypixel.hytale.server.spawning.assets.spawns.config.RoleSpawnParameters
- All Implemented Interfaces:
IWeightedElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<RoleSpawnParameters> static final RoleSpawnParameters[]protected Stringprotected intprotected Stringprotected Stringprotected intprotected Stringprotected intprotected double -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRoleSpawnParameters(String id, double weight, String spawnBlockSet, String flockDefinitionId) -
Method Summary
-
Field Details
-
CODEC
-
EMPTY_ARRAY
-
id
-
weight
protected double weight -
spawnBlockSet
-
spawnBlockSetIndex
protected int spawnBlockSetIndex -
spawnFluidTag
-
spawnFluidTagIndex
protected int spawnFluidTagIndex -
flockDefinitionId
-
flockDefinitionIndex
protected int flockDefinitionIndex
-
-
Constructor Details
-
RoleSpawnParameters
-
RoleSpawnParameters
protected RoleSpawnParameters()
-
-
Method Details
-
getId
-
getWeight
public double getWeight()- Specified by:
getWeightin interfaceIWeightedElement
-
getSpawnBlockSet
-
getSpawnBlockSetIndex
public int getSpawnBlockSetIndex() -
getSpawnFluidTagIndex
public int getSpawnFluidTagIndex() -
getFlockDefinitionId
-
getFlockDefinitionIndex
public int getFlockDefinitionIndex() -
getFlockDefinition
-
toString
-