Class CombatActionEvaluatorSystems.EvaluatorTick
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.builtin.npccombatactionevaluator.CombatActionEvaluatorSystems.EvaluatorTick
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>,TickableSystem<EntityStore>
- Enclosing class:
CombatActionEvaluatorSystems
public static class CombatActionEvaluatorSystems.EvaluatorTick
extends EntityTickingSystem<EntityStore>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
EntityTickingSystem.SystemTaskData<ECS_TYPE> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentType<EntityStore, CombatActionEvaluator> private final ComponentType<EntityStore, DamageMemory> private final Set<Dependency<EntityStore>> private final ComponentType<EntityStore, NPCEntity> private final ComponentType<EntityStore, Player> private final Query<EntityStore> private final ComponentType<EntityStore, TargetMemory> private final ComponentType<EntityStore, TransformComponent> private final ComponentType<EntityStore, ValueStore> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionEvaluatorTick(ComponentType<EntityStore, CombatActionEvaluator> componentType, ComponentType<EntityStore, TargetMemory> targetMemoryComponentType, ComponentType<EntityStore, DamageMemory> damageMemoryComponentType) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()booleanisParallel(int archetypeChunkSize, int taskCount) voidtick(float dt, int index, ArchetypeChunk<EntityStore> archetypeChunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) Methods inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
doTick, maybeUseParallel, 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
getGroup, onSystemRegistered, onSystemUnregistered
-
Field Details
-
componentType
-
targetMemoryComponentType
-
damageMemoryComponentType
-
npcComponentType
-
playerComponentType
-
valueStoreComponentType
-
transformComponentType
-
query
-
dependencies
-
-
Constructor Details
-
EvaluatorTick
public EvaluatorTick(ComponentType<EntityStore, CombatActionEvaluator> componentType, ComponentType<EntityStore, TargetMemory> targetMemoryComponentType, ComponentType<EntityStore, DamageMemory> damageMemoryComponentType)
-
-
Method Details
-
getDependencies
-
getQuery
-
isParallel
public boolean isParallel(int archetypeChunkSize, int taskCount) - Overrides:
isParallelin classEntityTickingSystem<EntityStore>
-
tick
public void tick(float dt, int index, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
tickin classEntityTickingSystem<EntityStore>
-