Contents
Class NPCSystems.PrefabPlaceEntityEventSystem
java.lang.Object
com.hypixel.hytale.component.system.EventSystem<PrefabPlaceEntityEvent>
com.hypixel.hytale.component.system.WorldEventSystem<EntityStore, PrefabPlaceEntityEvent>
com.hypixel.hytale.server.npc.systems.NPCSystems.PrefabPlaceEntityEventSystem
- All Implemented Interfaces:
ISystem<EntityStore>
- Enclosing class:
NPCSystems
public static class NPCSystems.PrefabPlaceEntityEventSystem
extends WorldEventSystem<EntityStore, PrefabPlaceEntityEvent>
An ECS event that is called when an NPC is placed via a prefab.
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(Store<EntityStore> store, CommandBuffer<EntityStore> 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 aNPCSystems.PrefabPlaceEntityEventSysteminstance.
-
-
Method Details
-
handle
public void handle(@Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> 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.
-