|Enum Constant and Description|
Forcibly execute the action of this event when it resolves, even if another condition would normally prevent this event from finishing normally.
Let the event resolve with its normal behavior, as if the event was not handled at all.
Disallow the event from resolving.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final TristateResult.Result DENY
Note: Normally, this means cancelling or reverting the default
behavior, but in some cases, especially when
is true, this could be default behavior.
public static final TristateResult.Result DEFAULT
Note: This will fall back to the "vanilla" behavior for this event, or the plugin-defined behavior if it was originally created by a plugin.
public static final TristateResult.Result ALLOW
Note that not all events have an overridable behavior,
TristateResult.hasAllowResult() should be checked before setting the
result to ALLOW.
public static TristateResult.Result values()
for (TristateResult.Result c : TristateResult.Result.values()) System.out.println(c);
public static TristateResult.Result valueOf(String name)