Class SpawnJobSystem<J extends SpawnJob,T extends SpawnController<J>>
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.tick.TickingSystem<EntityStore>
com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem<EntityStore>
com.hypixel.hytale.component.system.tick.EntityTickingSystem<EntityStore>
com.hypixel.hytale.server.spawning.controllers.SpawnJobSystem<J,T>
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>,TickableSystem<EntityStore>
- Direct Known Subclasses:
SpawnBeaconSystems.SpawnJobTick
public abstract class SpawnJobSystem<J extends SpawnJob,T extends SpawnController<J>>
extends EntityTickingSystem<EntityStore>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
EntityTickingSystem.SystemTaskData<ECS_TYPE> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final com.hypixel.hytale.logger.HytaleLoggerFields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SpawnJobSystem.ResultendProbing(T spawnController, J spawnJob, SpawnJobSystem.Result result, ComponentAccessor<EntityStore> componentAccessor) protected abstract voidonEndProbing(T var1, J var2, SpawnJobSystem.Result var3, ComponentAccessor<EntityStore> var4) protected voidonStartRun(J spawnJob) protected abstract booleanpickSpawnPosition(T var1, J var2, CommandBuffer<EntityStore> var3) private SpawnJobSystem.ResultrunJob(T spawnController, J spawnJob, CommandBuffer<EntityStore> commandBuffer) protected abstract SpawnJobSystem.Resultspawn(World var1, T var2, J var3, CommandBuffer<EntityStore> var4) protected voidtickSpawnJobs(T spawnController, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) protected abstract SpawnJobSystem.ResulttrySpawn(T var1, J var2, CommandBuffer<EntityStore> var3) Methods inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
doTick, isParallel, maybeUseParallel, tick, tick, useParallelMethods inherited from class com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem
isExplicitQuery, test, tickMethods inherited from class com.hypixel.hytale.component.system.System
getComponentRegistrations, getResourceRegistrations, registerComponent, registerComponent, registerComponent, registerResource, registerResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.system.ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface com.hypixel.hytale.component.system.QuerySystem
getQuery
-
Field Details
-
LOGGER
private static final com.hypixel.hytale.logger.HytaleLogger LOGGER -
JOB_BUDGET
private static final int JOB_BUDGET- See Also:
-
-
Constructor Details
-
SpawnJobSystem
public SpawnJobSystem()
-
-
Method Details
-
tickSpawnJobs
protected void tickSpawnJobs(@Nonnull T spawnController, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) -
onStartRun
-
onEndProbing
protected abstract void onEndProbing(T var1, J var2, SpawnJobSystem.Result var3, ComponentAccessor<EntityStore> var4) -
pickSpawnPosition
-
trySpawn
-
spawn
protected abstract SpawnJobSystem.Result spawn(World var1, T var2, J var3, CommandBuffer<EntityStore> var4) -
endProbing
protected SpawnJobSystem.Result endProbing(T spawnController, @Nonnull J spawnJob, SpawnJobSystem.Result result, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
runJob
private SpawnJobSystem.Result runJob(T spawnController, @Nonnull J spawnJob, @Nonnull CommandBuffer<EntityStore> commandBuffer)
-