Class SpawnController<T extends SpawnJob>
java.lang.Object
com.hypixel.hytale.server.spawning.controllers.SpawnController<T>
- Direct Known Subclasses:
BeaconSpawnController
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected final intprotected booleanprotected doubleprotected final ArrayDeque<T> protected booleanprotected World -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIdleJob(T job) abstract TintintdoubleintgetSpawnJob(int index) getWorld()booleanboolean
-
Field Details
-
world
-
unspawnable
protected boolean unspawnable -
expectedNPCs
protected double expectedNPCs -
actualNPCs
protected int actualNPCs -
activeJobs
-
idleJobs
-
baseMaxActiveJobs
protected final int baseMaxActiveJobs -
debugSpawnFrozen
protected boolean debugSpawnFrozen
-
-
Constructor Details
-
SpawnController
-
-
Method Details
-
getWorld
-
isUnspawnable
public boolean isUnspawnable() -
isDebugSpawnFrozen
public boolean isDebugSpawnFrozen() -
getActualNPCs
public int getActualNPCs() -
getExpectedNPCs
public double getExpectedNPCs() -
getActiveJobCount
public int getActiveJobCount() -
getMaxActiveJobs
public int getMaxActiveJobs() -
getSpawnJob
-
getActiveJobs
-
addIdleJob
-
createRandomSpawnJob
-