public class EventContexts
extends java.lang.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<java.lang.Boolean> |
BYPASS_JAILING_RESTRICTION
A context that indicates whether teleports should ignore the fact someone is jailed.
|
static org.spongepowered.api.event.cause.EventContextKey<java.lang.Boolean> |
IS_JAILING_ACTION
A context that indicates whether a teleport is a jailing action.
|
static org.spongepowered.api.event.cause.EventContextKey<java.lang.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<java.lang.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
public static final org.spongepowered.api.event.cause.EventContextKey<java.lang.Boolean> IS_JAILING_ACTION
For the ID, see EventContexts.Identifiers.IS_JAILING_ACTION
public static final org.spongepowered.api.event.cause.EventContextKey<java.lang.Boolean> BYPASS_JAILING_RESTRICTION
For the ID, see EventContexts.Identifiers.BYPASS_JAILING_RESTRICTION