Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- getComponentType()
- getJobId()
- getEnvironmentIndex()
- getTotalColumnsTested()
- incrementTotalColumnsTested()
- getTotalColumnsBlocked()
- incrementTotalColumnsBlocked()
- getBudgetUsed()
- setBudgetUsed(int)
- adjustBudgetUsed(int)
- getTotalBudgetUsed()
- isSpawnFrozen()
- setSpawnFrozen(boolean)
- getSpawningContext()
- getRoleIndex()
- getSpawnConfig()
- getSpawnConfigIndex()
- getFlockSize()
- getFlockAsset()
- getSuppressionSpanHelper()
- getEnvironment()
- getSpansTried()
- incrementSpansTried()
- getSpansSuccess()
- incrementSpansSuccess()
- getRejectionMap()
- isIgnoreFullyPopulated()
- setIgnoreFullyPopulated(boolean)
- isTerminated()
- terminate()
- init(int, Environment, int, SpawnWrapper, FlockAsset, int)
- clone()
Class SpawnJobData
java.lang.Object
com.hypixel.hytale.server.spawning.world.component.SpawnJobData
- All Implemented Interfaces:
Component<ChunkStore>, Cloneable
A component containing information about a running spawn job used by the
WorldSpawnJobSystems to spawn NPCs.
Created on 04/06/2020-
Field Summary
Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustBudgetUsed(int amount) clone()intstatic ComponentType<ChunkStore, SpawnJobData> intintintgetJobId()it.unimi.dsi.fastutil.objects.Object2IntMap<SpawnRejection> intintintSpawnWrapper<?> intintintintvoidvoidvoidvoidvoidinit(int roleIndex, Environment environment, int environmentIndex, SpawnWrapper<?> spawnConfig, FlockAsset flockDefinition, int flockSize) booleanbooleanbooleanvoidsetBudgetUsed(int budgetUsed) voidsetIgnoreFullyPopulated(boolean ignoreFullyPopulated) voidsetSpawnFrozen(boolean spawnFrozen) voidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Constructor Details
-
SpawnJobData
public SpawnJobData()
-
-
Method Details
-
getComponentType
-
getJobId
public int getJobId() -
getEnvironmentIndex
public int getEnvironmentIndex() -
getTotalColumnsTested
public int getTotalColumnsTested() -
incrementTotalColumnsTested
public void incrementTotalColumnsTested() -
getTotalColumnsBlocked
public int getTotalColumnsBlocked() -
incrementTotalColumnsBlocked
public void incrementTotalColumnsBlocked() -
getBudgetUsed
public int getBudgetUsed() -
setBudgetUsed
public void setBudgetUsed(int budgetUsed) -
adjustBudgetUsed
public void adjustBudgetUsed(int amount) -
getTotalBudgetUsed
public int getTotalBudgetUsed() -
isSpawnFrozen
public boolean isSpawnFrozen() -
setSpawnFrozen
public void setSpawnFrozen(boolean spawnFrozen) -
getSpawningContext
-
getRoleIndex
public int getRoleIndex() -
getSpawnConfig
-
getSpawnConfigIndex
public int getSpawnConfigIndex() -
getFlockSize
public int getFlockSize() -
getFlockAsset
-
getSuppressionSpanHelper
-
getEnvironment
-
getSpansTried
public int getSpansTried() -
incrementSpansTried
public void incrementSpansTried() -
getSpansSuccess
public int getSpansSuccess() -
incrementSpansSuccess
public void incrementSpansSuccess() -
getRejectionMap
-
isIgnoreFullyPopulated
public boolean isIgnoreFullyPopulated() -
setIgnoreFullyPopulated
public void setIgnoreFullyPopulated(boolean ignoreFullyPopulated) -
isTerminated
public boolean isTerminated() -
terminate
public void terminate() -
init
public void init(int roleIndex, Environment environment, int environmentIndex, @Nonnull SpawnWrapper<?> spawnConfig, FlockAsset flockDefinition, int flockSize) -
clone
- Specified by:
clonein interfaceComponent<ChunkStore>- Returns:
- a clone instance of the original component instance.
-