Contents
Class MoonPhaseChangeEventSystem
java.lang.Object
com.hypixel.hytale.component.system.EventSystem<MoonPhaseChangeEvent>
com.hypixel.hytale.component.system.WorldEventSystem<EntityStore, MoonPhaseChangeEvent>
com.hypixel.hytale.server.spawning.world.system.MoonPhaseChangeEventSystem
- All Implemented Interfaces:
ISystem<EntityStore>
A system that handles
MoonPhaseChangeEvent events.-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer, MoonPhaseChangeEvent event) An overrideable method called to handle an event.Methods inherited from class WorldEventSystem
handleInternalMethods inherited from class EventSystem
getEventTypeMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregistered
-
Constructor Details
-
MoonPhaseChangeEventSystem
public MoonPhaseChangeEventSystem()Default Constructor for anEntityEventSysteminstance.
-
-
Method Details
-
handle
public void handle(@Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer, @Nonnull MoonPhaseChangeEvent event) Description copied from class:WorldEventSystemAn overrideable method called to handle an event.- Specified by:
handlein classWorldEventSystem<EntityStore, MoonPhaseChangeEvent>- Parameters:
store- The ECS store.commandBuffer- The command buffer for queuing ECS commands.event- The event to be handled.
-