@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
Package org.spongepowered.api.event
-
Interface Summary Interface Description Cancellable Represents an event that can be cancelled.CauseStackManager Provides an interface into the system managing the cause and contextual information for events being thrown.CauseStackManager.StackFrame Event An event called within Sponge.EventContextKey<T> A key for values in theEventContext
.EventContextKey.Builder<T> EventListener<T extends Event> Represents a listener acceptingEvent
s of a specified type.EventListenerRegistration<T extends Event> Represents the composition of alistener
and the attributes that define it to the system.EventListenerRegistration.Builder<T extends Event> EventListenerRegistration.Factory EventManager Manages the registration of event listeners and the dispatching of events.GenericEvent<T> AllEvent
s that require a generic type should implement this interface.TristateResult Used for events that require a tri-stateTristateResult.Result
. -
Class Summary Class Description Cause A cause represents the reason or initiator of an event.Cause.Builder EventContext Provides context for an event outside of the direct chain of causes present in the event'sCause
.EventContext.Builder EventContextKeys Standard keys for use withinEventContext
s. -
Enum Summary Enum Description Order Order thatListener
d methods may be registered at.TristateResult.Result -
Annotation Types Summary Annotation Type Description Listener Used to annotate a method as anEventListener
.