Class WorldSpawnJobSystems.TickingState
java.lang.Object
com.hypixel.hytale.component.system.System<ChunkStore>
com.hypixel.hytale.component.system.RefChangeSystem<ChunkStore,NonTicking<ChunkStore>>
com.hypixel.hytale.server.spawning.world.system.WorldSpawnJobSystems.TickingState
- All Implemented Interfaces:
ISystem<ChunkStore>,QuerySystem<ChunkStore>
- Enclosing class:
WorldSpawnJobSystems
public static class WorldSpawnJobSystems.TickingState
extends RefChangeSystem<ChunkStore,NonTicking<ChunkStore>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentType<ChunkStore, SpawnJobData> private final ComponentType<ChunkStore, WorldChunk> private final ResourceType<EntityStore, WorldSpawnData> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionTickingState(ResourceType<EntityStore, WorldSpawnData> worldSpawnDataResourceType, ComponentType<ChunkStore, SpawnJobData> spawnJobDataComponentType) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidonComponentAdded(Ref<ChunkStore> ref, NonTicking<ChunkStore> component, Store<ChunkStore> store, CommandBuffer<ChunkStore> commandBuffer) voidonComponentRemoved(Ref<ChunkStore> ref, NonTicking<ChunkStore> component, Store<ChunkStore> store, CommandBuffer<ChunkStore> commandBuffer) voidonComponentSet(Ref<ChunkStore> ref, NonTicking<ChunkStore> oldComponent, NonTicking<ChunkStore> newComponent, Store<ChunkStore> store, CommandBuffer<ChunkStore> commandBuffer) Methods 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
test
-
Field Details
-
worldSpawnDataResourceType
-
spawnJobDataComponentType
-
worldChunkComponentType
-
-
Constructor Details
-
TickingState
public TickingState(ResourceType<EntityStore, WorldSpawnData> worldSpawnDataResourceType, ComponentType<ChunkStore, SpawnJobData> spawnJobDataComponentType)
-
-
Method Details
-
getQuery
-
componentType
- Specified by:
componentTypein classRefChangeSystem<ChunkStore,NonTicking<ChunkStore>>
-
onComponentAdded
public void onComponentAdded(@Nonnull Ref<ChunkStore> ref, @Nonnull NonTicking<ChunkStore> component, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer) - Specified by:
onComponentAddedin classRefChangeSystem<ChunkStore,NonTicking<ChunkStore>>
-
onComponentSet
public void onComponentSet(@Nonnull Ref<ChunkStore> ref, NonTicking<ChunkStore> oldComponent, @Nonnull NonTicking<ChunkStore> newComponent, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer) - Specified by:
onComponentSetin classRefChangeSystem<ChunkStore,NonTicking<ChunkStore>>
-
onComponentRemoved
public void onComponentRemoved(@Nonnull Ref<ChunkStore> ref, @Nonnull NonTicking<ChunkStore> component, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer) - Specified by:
onComponentRemovedin classRefChangeSystem<ChunkStore,NonTicking<ChunkStore>>
-