Class SpawnMarker.SpawnConfiguration
java.lang.Object
com.hypixel.hytale.server.spawning.assets.spawnmarker.config.SpawnMarker.SpawnConfiguration
- All Implemented Interfaces:
IWeightedElement
- Enclosing class:
SpawnMarker
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<SpawnMarker.SpawnConfiguration> static final SpawnMarker.SpawnConfiguration[]protected Stringprotected intprotected Stringprotected doubleprotected Durationprotected double -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSpawnConfiguration(String npc, double weight, double realtimeRespawnTime, Duration spawnAfterGameTime, String flockDefinitionId) -
Method Summary
-
Field Details
-
CODEC
-
EMPTY_ARRAY
-
npc
-
weight
protected double weight -
realtimeRespawnTime
protected double realtimeRespawnTime -
spawnAfterGameTime
-
flockDefinitionId
-
flockDefinitionIndex
protected int flockDefinitionIndex
-
-
Constructor Details
-
SpawnConfiguration
-
SpawnConfiguration
protected SpawnConfiguration()
-
-
Method Details
-
getNpc
-
getRealtimeRespawnTime
public double getRealtimeRespawnTime() -
getSpawnAfterGameTime
-
getFlockDefinitionId
-
getFlockDefinitionIndex
public int getFlockDefinitionIndex() -
getFlockDefinition
-
getWeight
public double getWeight()- Specified by:
getWeightin interfaceIWeightedElement
-