Class NPCInteractionSystems.AddSimulationManagerSystem
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.HolderSystem<EntityStore>
com.hypixel.hytale.server.npc.systems.NPCInteractionSystems.AddSimulationManagerSystem
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>
- Enclosing class:
NPCInteractionSystems
public static class NPCInteractionSystems.AddSimulationManagerSystem
extends HolderSystem<EntityStore>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentType<EntityStore, NPCEntity> private final Query<EntityStore> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionAddSimulationManagerSystem(ComponentType<EntityStore, NPCEntity> npcEntityComponentType) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidonEntityAdd(Holder<EntityStore> holder, AddReason reason, Store<EntityStore> store) voidonEntityRemoved(Holder<EntityStore> holder, RemoveReason reason, Store<EntityStore> store) Methods inherited from class com.hypixel.hytale.component.system.System
getComponentRegistrations, getResourceRegistrations, registerComponent, registerComponent, registerComponent, registerResource, registerResourceMethods inherited from class java.lang.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
-
Field Details
-
npcEntityComponentType
-
query
-
-
Constructor Details
-
AddSimulationManagerSystem
public AddSimulationManagerSystem(@Nonnull ComponentType<EntityStore, NPCEntity> npcEntityComponentType)
-
-
Method Details
-
onEntityAdd
public void onEntityAdd(@Nonnull Holder<EntityStore> holder, @Nonnull AddReason reason, @Nonnull Store<EntityStore> store) - Specified by:
onEntityAddin classHolderSystem<EntityStore>
-
onEntityRemoved
public void onEntityRemoved(@Nonnull Holder<EntityStore> holder, @Nonnull RemoveReason reason, @Nonnull Store<EntityStore> store) - Specified by:
onEntityRemovedin classHolderSystem<EntityStore>
-
getQuery
-