Contents
Class PrefabPathSystems.PrefabPlaceEntityEventSystem
java.lang.Object
com.hypixel.hytale.component.system.EventSystem<PrefabPlaceEntityEvent>
com.hypixel.hytale.component.system.WorldEventSystem<EntityStore, PrefabPlaceEntityEvent>
com.hypixel.hytale.builtin.path.PrefabPathSystems.PrefabPlaceEntityEventSystem
- All Implemented Interfaces:
ISystem<EntityStore>
- Enclosing class:
PrefabPathSystems
public static class PrefabPathSystems.PrefabPlaceEntityEventSystem
extends WorldEventSystem<EntityStore, PrefabPlaceEntityEvent>
An ECS event that is called when a patrol path marker is placed via a prefab.
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionDefault Constructor for aPrefabPathSystems.PrefabPlaceEntityEventSysteminstance. -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(Store store, CommandBuffer commandBuffer, PrefabPlaceEntityEvent event) An overrideable method called to handle an event.Methods inherited from class WorldEventSystem
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, onSystemUnregistered
-
Constructor Details
-
PrefabPlaceEntityEventSystem
public PrefabPlaceEntityEventSystem()Default Constructor for aPrefabPathSystems.PrefabPlaceEntityEventSysteminstance.
-
-
Method Details
-
handle
public void handle(@Nonnull Store store, @Nonnull CommandBuffer commandBuffer, @Nonnull PrefabPlaceEntityEvent event) Description copied from class:WorldEventSystemAn overrideable method called to handle an event.- Specified by:
handlein classWorldEventSystem<EntityStore, PrefabPlaceEntityEvent>- Parameters:
store- The ECS store.commandBuffer- The command buffer for queuing ECS commands.event- The event to be handled.
-