Contents
Class ChunkSpawningSystems.EnvironmentRecount
java.lang.Object
com.hypixel.hytale.component.system.System<ChunkStore>
com.hypixel.hytale.component.system.tick.TickingSystem<ChunkStore>
com.hypixel.hytale.server.spawning.world.system.ChunkSpawningSystems.EnvironmentRecount
- All Implemented Interfaces:
ISystem<ChunkStore>, TickableSystem<ChunkStore>
- Enclosing class:
ChunkSpawningSystems
Recounts the environment spawn data of started chunks whose loaded legacy sections changed, so
a section that loads after its column started ticking still contributes spawn segments.
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentRecount(ResourceType<EntityStore, WorldSpawnData> worldSpawnDataResourceType, ComponentType<ChunkStore, ChunkSpawnData> chunkSpawnDataComponentType, ResourceType<ChunkStore, ChunkEnvironmentRecountQueue> recountQueueResourceType) -
Method Summary
Modifier and TypeMethodDescriptionvoidtick(float dt, int systemIndex, Store<ChunkStore> store) Required reading:CommandBufferMethods inherited from class System
getComponentRegistrations, getResourceRegistrations, registerResource, registerResourceMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregistered
-
Constructor Details
-
EnvironmentRecount
public EnvironmentRecount(ResourceType<EntityStore, WorldSpawnData> worldSpawnDataResourceType, ComponentType<ChunkStore, ChunkSpawnData> chunkSpawnDataComponentType, ResourceType<ChunkStore, ChunkEnvironmentRecountQueue> recountQueueResourceType)
-
-
Method Details
-
tick
Description copied from class:TickingSystem- Specified by:
tickin interfaceTickableSystem<ChunkStore>- Specified by:
tickin classTickingSystem<ChunkStore>- Parameters:
dt- The delta time in seconds.systemIndex- The index of this system, used for faster lookups inStore.
-