package com.hypixel.hytale.component.system; import com.hypixel.hytale.component.ArchetypeChunk; import com.hypixel.hytale.component.CommandBuffer; import com.hypixel.hytale.component.Store; import javax.annotation.Nonnull; public abstract class EntityEventSystem extends EventSystem implements QuerySystem { protected EntityEventSystem(@Nonnull Class eventType) { super(eventType); } public abstract void handle( int var1, @Nonnull ArchetypeChunk var2, @Nonnull Store var3, @Nonnull CommandBuffer var4, @Nonnull EventType var5 ); public void handleInternal( int index, @Nonnull ArchetypeChunk archetypeChunk, @Nonnull Store store, @Nonnull CommandBuffer commandBuffer, @Nonnull EventType event ) { if (this.shouldProcessEvent(event)) { this.handle(index, archetypeChunk, store, commandBuffer, event); } } }