Contents
Class ConditionEventHandler.TrackedBlockEntityHandler<E extends EcsEvent>
java.lang.Object
com.hypixel.hytale.component.system.EventSystem<E>
com.hypixel.hytale.component.system.EntityEventSystem<ChunkStore, E>
com.hypixel.hytale.builtin.adventure.worldevents.system.ConditionEventHandler<ChunkStore, E>
com.hypixel.hytale.builtin.adventure.worldevents.system.ConditionEventHandler.TrackedBlockEntityHandler<E>
- Type Parameters:
E- the event type.
- All Implemented Interfaces:
ISystem<ChunkStore>, QuerySystem<ChunkStore>
- Direct Known Subclasses:
EnterInstanceTeleporterCondition.Handler, EnterPortalCondition.Handler
- Enclosing class:
ConditionEventHandler<ECS_TYPE, E extends EcsEvent>
public abstract static class ConditionEventHandler.TrackedBlockEntityHandler<E extends EcsEvent>
extends ConditionEventHandler<ChunkStore, E>
A
ConditionEventHandler that matches ChunkStore entity events for tracked block entities.-
Nested Class Summary
Nested classes/interfaces inherited from class ConditionEventHandler
ConditionEventHandler.EntityHandler<E>, ConditionEventHandler.TrackedBlockEntityHandler<E>, ConditionEventHandler.TrackedEntityHandler<E> -
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionfinal Query<ChunkStore> getQuery()voidhandle(int index, ArchetypeChunk<ChunkStore> table, Store<ChunkStore> store, CommandBuffer<ChunkStore> buffer, E event) An overrideable method called to handle an event for a specific archetype chunk.Methods inherited from class EntityEventSystem
handleInternalMethods inherited from class EventSystem
getEventTypeMethods 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, test
-
Method Details
-
handle
public void handle(int index, @Nonnull ArchetypeChunk<ChunkStore> table, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> buffer, @Nonnull E event) Description copied from class:EntityEventSystemAn overrideable method called to handle an event for a specific archetype chunk.- Specified by:
handlein classEntityEventSystem<ChunkStore, E extends EcsEvent>- Parameters:
index- The index of the archetype chunk being processed.table- The archetype chunk being processed.store- The ECS store.buffer- The command buffer for queuing ECS commands.event- The event to be handled.
-
getQuery
- Specified by:
getQueryin interfaceQuerySystem<E extends EcsEvent>- Overrides:
getQueryin classConditionEventHandler<ChunkStore, E extends EcsEvent>
-