Contents
Class WildernessEntitySystems.TickSystem
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.builtin.adventure.wilderness.system.WildernessEntitySystems.TickSystem
- All Implemented Interfaces:
ISystem<EntityStore>, QuerySystem<EntityStore>, TickableSystem<EntityStore>
- Enclosing class:
WildernessEntitySystems
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionTickSystem(ComponentType<EntityStore, Wilderness> wildernessComponentType, ComponentType<EntityStore, TransformComponent> transformComponentType, ResourceType<ChunkStore, WildernessTracker> wildernessTrackerResourceType) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidtick(float dt, ArchetypeChunk<EntityStore> table, Store<EntityStore> store, CommandBuffer<EntityStore> buffer) Required reading:CommandBufferMethods inherited from class ArchetypeTickingSystem
isExplicitQuery, test, tickMethods 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, onSystemUnregisteredMethods inherited from interface QuerySystem
getHierarchyScope
-
Constructor Details
-
TickSystem
public TickSystem(@Nonnull ComponentType<EntityStore, Wilderness> wildernessComponentType, @Nonnull ComponentType<EntityStore, TransformComponent> transformComponentType, @Nonnull ResourceType<ChunkStore, WildernessTracker> wildernessTrackerResourceType)
-
-
Method Details
-
getQuery
-
tick
public void tick(float dt, @Nonnull ArchetypeChunk<EntityStore> table, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> buffer) Description copied from class:ArchetypeTickingSystemRequired reading:CommandBufferCalled once per world tick for each
ArchetypeChunkwith anArchetypethat fulfills theQueryprovided byQuerySystem.getQuery()}.- Specified by:
tickin classArchetypeTickingSystem<EntityStore>- Parameters:
dt- The delta time in seconds.table- The affiliated archetype chunkstore- The entity store for component accessbuffer- The command buffer to execute tasks
-