Class UseBlockSystem
java.lang.Object
com.hypixel.hytale.component.system.EventSystem<com.hypixel.hytale.server.core.event.events.ecs.UseBlockEvent.Pre>
com.hypixel.hytale.component.system.EntityEventSystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, com.hypixel.hytale.server.core.event.events.ecs.UseBlockEvent.Pre>
fr.hytale.loader.internal.UseBlockSystem
- All Implemented Interfaces:
com.hypixel.hytale.component.system.ISystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>, com.hypixel.hytale.component.system.QuerySystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>
public class UseBlockSystem
extends com.hypixel.hytale.component.system.EntityEventSystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, com.hypixel.hytale.server.core.event.events.ecs.UseBlockEvent.Pre>
Internal ECS system for handling block use events.
- Since:
- 1.0.2
- Version:
- 1.0.4
- Author:
- HytaleLoader
-
Field Summary
Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.hypixel.hytale.component.query.Query<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> getQuery()voidhandle(int entityIndex, com.hypixel.hytale.component.ArchetypeChunk<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> chunk, com.hypixel.hytale.component.Store<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> store, com.hypixel.hytale.component.CommandBuffer<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> commandBuffer, com.hypixel.hytale.server.core.event.events.ecs.UseBlockEvent.Pre event) Methods inherited from class com.hypixel.hytale.component.system.EntityEventSystem
handleInternalMethods inherited from class com.hypixel.hytale.component.system.EventSystem
getEventType, shouldProcessEventMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.system.ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface com.hypixel.hytale.component.system.QuerySystem
test
-
Constructor Details
-
UseBlockSystem
public UseBlockSystem()
-
-
Method Details
-
getQuery
public com.hypixel.hytale.component.query.Query<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> getQuery() -
handle
public void handle(int entityIndex, @Nonnull com.hypixel.hytale.component.ArchetypeChunk<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> chunk, @Nonnull com.hypixel.hytale.component.Store<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> store, @Nonnull com.hypixel.hytale.component.CommandBuffer<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> commandBuffer, @Nonnull com.hypixel.hytale.server.core.event.events.ecs.UseBlockEvent.Pre event) - Specified by:
handlein classcom.hypixel.hytale.component.system.EntityEventSystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, com.hypixel.hytale.server.core.event.events.ecs.UseBlockEvent.Pre>
-