Class NPCBeaconSpawnJob
java.lang.Object
com.hypixel.hytale.server.spawning.jobs.SpawnJob
com.hypixel.hytale.server.spawning.jobs.NPCBeaconSpawnJob
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FlockAssetprivate intprivate Ref<EntityStore> protected intprivate intFields inherited from class com.hypixel.hytale.server.spawning.jobs.SpawnJob
budgetUsed, columnBudget, jobId, LOGGER, spawningContext, terminated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginProbing(PlayerRef targetPlayer, int spawnsThisRound, int roleIndex, FlockAsset flockDefinition) booleanintintintvoidreset()booleanMethods inherited from class com.hypixel.hytale.server.spawning.jobs.SpawnJob
beginProbing, getBudgetUsed, getColumnBudget, getJobId, getSpawningContext, isTerminated, setBudgetUsed, setColumnBudget, setTerminated
-
Field Details
-
roleIndex
protected int roleIndex -
player
-
spawnsThisRound
private int spawnsThisRound -
flockSize
private int flockSize -
flockAsset
-
-
Constructor Details
-
NPCBeaconSpawnJob
public NPCBeaconSpawnJob()
-
-
Method Details
-
getRoleIndex
public int getRoleIndex() -
getPlayer
-
getSpawnsThisRound
public int getSpawnsThisRound() -
getFlockSize
public int getFlockSize() -
getFlockAsset
-
shouldTerminate
public boolean shouldTerminate()- Specified by:
shouldTerminatein classSpawnJob
-
budgetAvailable
public boolean budgetAvailable()- Overrides:
budgetAvailablein classSpawnJob
-
reset
public void reset() -
getSpawnable
- Specified by:
getSpawnablein classSpawnJob
-
getSpawnableName
- Specified by:
getSpawnableNamein classSpawnJob
-
beginProbing
public void beginProbing(@Nonnull PlayerRef targetPlayer, int spawnsThisRound, int roleIndex, @Nullable FlockAsset flockDefinition)
-