Contents
Class ItemContainerSystems.OnReplaced
java.lang.Object
com.hypixel.hytale.component.system.EventSystem<BlockReplaceEvent>
com.hypixel.hytale.component.system.EntityEventSystem<ChunkStore, BlockReplaceEvent>
com.hypixel.hytale.server.core.modules.block.system.ItemContainerSystems.OnReplaced
- All Implemented Interfaces:
ISystem<ChunkStore>, QuerySystem<ChunkStore>
- Enclosing class:
ItemContainerSystems
public static class ItemContainerSystems.OnReplaced
extends EntityEventSystem<ChunkStore, BlockReplaceEvent>
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidhandle(int index, ArchetypeChunk<ChunkStore> archetypeChunk, Store<ChunkStore> store, CommandBuffer<ChunkStore> commandBuffer, BlockReplaceEvent 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
-
Constructor Details
-
OnReplaced
public OnReplaced()
-
-
Method Details
-
handle
public void handle(int index, @Nonnull ArchetypeChunk<ChunkStore> archetypeChunk, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer, @Nonnull BlockReplaceEvent event) Description copied from class:EntityEventSystemAn overrideable method called to handle an event for a specific archetype chunk.- Specified by:
handlein classEntityEventSystem<ChunkStore, BlockReplaceEvent>- Parameters:
index- The index of the archetype chunk being processed.archetypeChunk- The archetype chunk being processed.store- The ECS store.commandBuffer- The command buffer for queuing ECS commands.event- The event to be handled.
-
getQuery
-