Class EntityTrackerSystems.EffectControllerSystem
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.server.core.modules.entity.tracker.EntityTrackerSystems.EffectControllerSystem
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>,TickableSystem<EntityStore>
- Enclosing class:
EntityTrackerSystems
public static class EntityTrackerSystems.EffectControllerSystem
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, EffectControllerComponent> private final Query<EntityStore> private final ComponentType<EntityStore, EntityTrackerSystems.Visible> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionEffectControllerSystem(ComponentType<EntityStore, EntityTrackerSystems.Visible> visibleComponentType, ComponentType<EntityStore, EffectControllerComponent> effectControllerComponentType) -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()getQuery()booleanisParallel(int archetypeChunkSize, int taskCount) private static voidqueueFullUpdate(Ref<EntityStore> ref, EffectControllerComponent effectControllerComponent, Map<Ref<EntityStore>, EntityTrackerSystems.EntityViewer> visibleTo) private static voidqueueUpdatesFor(Ref<EntityStore> ref, EffectControllerComponent effectControllerComponent, Map<Ref<EntityStore>, EntityTrackerSystems.EntityViewer> visibleTo, Map<Ref<EntityStore>, EntityTrackerSystems.EntityViewer> exclude) 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
getDependencies, onSystemRegistered, onSystemUnregistered
-
Field Details
-
visibleComponentType
-
effectControllerComponentType
@Nonnull private final ComponentType<EntityStore,EffectControllerComponent> effectControllerComponentType -
query
-
-
Constructor Details
-
EffectControllerSystem
public EffectControllerSystem(@Nonnull ComponentType<EntityStore, EntityTrackerSystems.Visible> visibleComponentType, @Nonnull ComponentType<EntityStore, EffectControllerComponent> effectControllerComponentType)
-
-
Method Details
-
getGroup
-
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>
-
queueFullUpdate
private static void queueFullUpdate(@Nonnull Ref<EntityStore> ref, @Nonnull EffectControllerComponent effectControllerComponent, @Nonnull Map<Ref<EntityStore>, EntityTrackerSystems.EntityViewer> visibleTo) -
queueUpdatesFor
private static void queueUpdatesFor(@Nonnull Ref<EntityStore> ref, @Nonnull EffectControllerComponent effectControllerComponent, @Nonnull Map<Ref<EntityStore>, EntityTrackerSystems.EntityViewer> visibleTo, @Nonnull Map<Ref<EntityStore>, EntityTrackerSystems.EntityViewer> exclude)
-