Class ChunkSpawningSystems.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.ChunkSpawningSystems.TickingState
- All Implemented Interfaces:
ISystem<ChunkStore>,QuerySystem<ChunkStore>
- Enclosing class:
ChunkSpawningSystems
public static class ChunkSpawningSystems.TickingState
extends RefChangeSystem<ChunkStore,NonTicking<ChunkStore>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentType<ChunkStore, ChunkSpawnData> private final ComponentType<ChunkStore, ChunkSpawnedNPCData> private static final com.hypixel.hytale.logger.HytaleLoggerprivate 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, ChunkSpawnData> chunkSpawnDataComponentType, ComponentType<ChunkStore, ChunkSpawnedNPCData> chunkSpawnedNPCDataComponentType) -
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
-
LOGGER
private static final com.hypixel.hytale.logger.HytaleLogger LOGGER -
worldSpawnDataResourceType
-
chunkSpawnDataComponentType
-
chunkSpawnedNPCDataComponentType
-
worldChunkComponentType
-
-
Constructor Details
-
TickingState
public TickingState(ResourceType<EntityStore, WorldSpawnData> worldSpawnDataResourceType, ComponentType<ChunkStore, ChunkSpawnData> chunkSpawnDataComponentType, ComponentType<ChunkStore, ChunkSpawnedNPCData> chunkSpawnedNPCDataComponentType)
-
-
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>>
-