Class WorldNPCSpawnStat.CountOnly
java.lang.Object
com.hypixel.hytale.server.spawning.world.WorldNPCSpawnStat
com.hypixel.hytale.server.spawning.world.WorldNPCSpawnStat.CountOnly
- Enclosing class:
WorldNPCSpawnStat
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.server.spawning.world.WorldNPCSpawnStat
WorldNPCSpawnStat.CountOnly -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoublegetMissingCount(ComponentAccessor<EntityStore> componentAccessor) doublegetWeight(int moonPhase) Methods inherited from class com.hypixel.hytale.server.spawning.world.WorldNPCSpawnStat
adjustActual, getActual, getExpected, getFailedJobCount, getFailedJobTotalBudget, getRejectionCount, getRoleIndex, getSpansSuccess, getSpansTried, getSpawnParams, getSpawnWrapper, getSuccessfulJobCount, getSuccessfulJobTotalBudget, isUnspawnable, resetUnspawnable, setExpected, setUnspawnable, updateSpawnStats
-
Constructor Details
-
CountOnly
public CountOnly(int roleIndex)
-
-
Method Details
-
getWeight
public double getWeight(int moonPhase) - Overrides:
getWeightin classWorldNPCSpawnStat
-
getMissingCount
- Overrides:
getMissingCountin classWorldNPCSpawnStat
-
getAvailableSlots
public int getAvailableSlots()- Overrides:
getAvailableSlotsin classWorldNPCSpawnStat
-