Package org.spongepowered.api.event
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.spongepowered.api.event
-
ClassDescriptionRepresents an event that can be cancelled.A cause represents the reason or initiator of an event.Provides an interface into the system managing the cause and contextual information for events being thrown.An event called within Sponge.Provides context for an event outside of the direct chain of causes present in the event's
Cause.A key for values in theEventContext.Standard keys for use withinEventContexts.EventListener<T extends Event>Represents a listener acceptingEvents of a specified type.EventListenerRegistration<T extends Event>Represents the composition of alistenerand the attributes that define it to the system.EventListenerRegistration.Builder<T extends Event>Manages the registration of event listeners and the dispatching of events.GenericEvent<T>AllEvents that require a generic type should implement this interface.Used to annotate a method as anEventListener.Order thatListenerd methods may be registered at.Used for events that require a tri-stateTristateResult.Result.