Skip to content

com.hypixel.hytale.event

Package: com.hypixel.hytale.event

Core event system providing synchronous and asynchronous event dispatch with priority-based listener ordering, keyed routing, and lifecycle management.

TypeKindAPI SurfaceDescription
AsyncEventBusRegistryclasspublicRegistry for async events that dispatches via CompletableFuture chains. Suppor…
EventBusclasspublicCentral event bus that manages sync and async event registries. Routes registrat…
EventBusRegistryclasspublicAbstract base for keyed event bus registries. Manages priority-sorted consumer m…
EventPriorityenumpublicEvent listener priority levels: FIRST (-21844), EARLY (-10922), NORMAL (0)…
EventRegistrationclasspublicHandle returned when registering an event listener. Provides unregister() and …
EventRegistryclasspublicScoped event registration wrapper that delegates to a parent IEventRegistry wh…
IAsyncEventinterfacepublicMarker interface for asynchronous events dispatched via CompletableFuture.
IBaseEventinterfacepublicRoot marker interface for all events, parameterized by key type.
ICancellableinterfacepublicInterface for events that can be cancelled. Provides isCancelled() and `setCan…
IEventinterfacepublicMarker interface for synchronous events.
IEventBusinterfacepublicCombined event bus interface providing both registration (IEventRegistry) and …
IEventDispatcherinterfacepublicDispatches events to registered listeners. Provides hasListener() to check if …
IEventRegistryinterfacepublicInterface defining all event registration methods: sync/async, keyed/global/unha…
IProcessedEventinterfacepublicInterface for events that track which listeners have processed them via `process…
SyncEventBusRegistryclasspublicRegistry for synchronous events that dispatches directly to consumers. Supports …
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.