Class NPCSystems.LegacyWorldGenId

All Implemented Interfaces:
ISystem<EntityStore>, QuerySystem<EntityStore>
Enclosing class:
NPCSystems

@Deprecated(forRemoval=true) public static class NPCSystems.LegacyWorldGenId extends HolderSystem<EntityStore>
Deprecated, for removal: This API element is subject to removal in a future version.
A holder system that handles legacy world gen logic for NPC entities.
  • Constructor Details

    • LegacyWorldGenId

      public LegacyWorldGenId()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • onEntityAdd

      public void onEntityAdd(@Nonnull Holder<EntityStore> holder, @Nonnull AddReason reason, @Nonnull Store<EntityStore> store)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: HolderSystem
      Called before an entity has been added to a Store and has an Archetype that fulfills the Query provided by QuerySystem.getQuery()}.
      Specified by:
      onEntityAdd in class HolderSystem<EntityStore>
      Parameters:
      holder - The holder of the entity being added to the store
      reason - The reason that the entity is being added
      store - The store that the entity is being added to
    • onEntityRemoved

      public void onEntityRemoved(@Nonnull Holder<EntityStore> holder, @Nonnull RemoveReason reason, @Nonnull Store<EntityStore> store)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: HolderSystem
      Called after an entity has been removed from a Store and has an Archetype that fulfills the Query provided by QuerySystem.getQuery()}.
      Specified by:
      onEntityRemoved in class HolderSystem<EntityStore>
      Parameters:
      holder - The holder of the entity being removed from the store
      reason - The reason that the entity is being removed
      store - The store that the entity is being removed from
    • getQuery

      @Nonnull public Query<EntityStore> getQuery()
      Deprecated, for removal: This API element is subject to removal in a future version.