Class StoreSystem<ECS_TYPE>

java.lang.Object
com.hypixel.hytale.component.system.System<ECS_TYPE>
com.hypixel.hytale.component.system.StoreSystem<ECS_TYPE>
Type Parameters:
ECS_TYPE - The store type
All Implemented Interfaces:
ISystem<ECS_TYPE>
Direct Known Subclasses:
BlackboardSystems.InitSystem, ChunkSavingSystems.WorldRemoved, ChunkStore.ChunkLoaderSaverSetupSystem, PlayerSavingSystems.WorldRemovedSystem, ReputationAttitudeSystem, SpawnSuppressionSystems.Load, WeatherSystem.WorldAddedSystem, WorldPregenerateSystem, WorldTimeSystems.Init

public abstract class StoreSystem<ECS_TYPE> extends System<ECS_TYPE>
A system type that allows for additional logic to be executed upon the addition/removal of the system to the affiliated store
  • Constructor Details

    • StoreSystem

      public StoreSystem()
  • Method Details

    • onSystemAddedToStore

      public abstract void onSystemAddedToStore(@Nonnull Store<ECS_TYPE> store)
      Called when the Store is first created or when the system is dynamically added to the ComponentRegistry and the Store is applying a data update.
    • onSystemRemovedFromStore

      public abstract void onSystemRemovedFromStore(@Nonnull Store<ECS_TYPE> store)
      Called when the Store is shutdown or when the system is dynamically removed from the ComponentRegistry and the Store is applying a data update.