Contents
Class WorldTimeSystems.Init
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.StoreSystem<EntityStore>
com.hypixel.hytale.server.core.modules.time.WorldTimeSystems.Init
- All Implemented Interfaces:
ISystem<EntityStore>
- Enclosing class:
WorldTimeSystems
A system that handles the initialization of the world time of a store.
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionInit(ResourceType<EntityStore, WorldTimeResource> worldTimeResourceType) Default Constructor for aWorldTimeSystems.Initinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoidonSystemAddedToStore(Store<EntityStore> store) Called when theStoreis first created or when the system is dynamically added to theComponentRegistryand theStoreis applying a data update.voidonSystemRemovedFromStore(Store<EntityStore> 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
-
Init
Default Constructor for aWorldTimeSystems.Initinstance.- Parameters:
worldTimeResourceType- TheWorldTimeResourceresource type.
-
-
Method Details
-
onSystemAddedToStore
Description copied from class:StoreSystemCalled when theStoreis first created or when the system is dynamically added to theComponentRegistryand theStoreis applying a data update.- Specified by:
onSystemAddedToStorein classStoreSystem<EntityStore>
-
onSystemRemovedFromStore
Description copied from class:StoreSystemCalled when theStoreis shutdown or when the system is dynamically removed from theComponentRegistryand theStoreis applying a data update.- Specified by:
onSystemRemovedFromStorein classStoreSystem<EntityStore>
-