public class EventContexts extends Object
Cause
of some events.Modifier and Type | Class and Description |
---|---|
static class |
EventContexts.Identifiers |
Modifier and Type | Field and Description |
---|---|
static org.spongepowered.api.event.cause.EventContextKey<Boolean> |
SHOULD_FORMAT_CHANNEL
A context that indicates whether the Nucleus chat events will perform its own formatting.
|
static org.spongepowered.api.event.cause.EventContextKey<NucleusSendToSpawnEvent.Type> |
SPAWN_EVENT_TYPE
A context that indicates the source of the Nucleus redirectable spawn events.
|
public static final org.spongepowered.api.event.cause.EventContextKey<Boolean> SHOULD_FORMAT_CHANNEL
For the ID, see EventContexts.Identifiers.SHOULD_FORMAT_CHANNEL
public static final org.spongepowered.api.event.cause.EventContextKey<NucleusSendToSpawnEvent.Type> SPAWN_EVENT_TYPE
For the ID, see EventContexts.Identifiers.SPAWN_EVENT_TYPE