Contents
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
A system type that allows for additional logic to be executed upon the
addition/removal of the system to the affiliated store
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidonSystemAddedToStore(Store<ECS_TYPE> store) Called when theStoreis first created or when the system is dynamically added to theComponentRegistryand theStoreis applying a data update.abstract voidonSystemRemovedFromStore(Store<ECS_TYPE> store) Called when theStoreis shutdown or when the system is dynamically removed from theComponentRegistryand theStoreis applying a data update.Methods inherited from class System
getComponentRegistrations, getResourceRegistrations, registerResource, registerResourceMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregistered
-
Constructor Details
-
StoreSystem
public StoreSystem()
-
-
Method Details
-
onSystemAddedToStore
Called when theStoreis first created or when the system is dynamically added to theComponentRegistryand theStoreis applying a data update. -
onSystemRemovedFromStore
Called when theStoreis shutdown or when the system is dynamically removed from theComponentRegistryand theStoreis applying a data update.
-