public static enum BlockMovementChecks.CheckResult extends java.lang.Enum<BlockMovementChecks.CheckResult>
| Modifier and Type | Method and Description |
|---|---|
static BlockMovementChecks.CheckResult |
of(boolean b) |
static BlockMovementChecks.CheckResult |
of(java.lang.Boolean b) |
java.lang.Boolean |
toBoolean() |
static BlockMovementChecks.CheckResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockMovementChecks.CheckResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockMovementChecks.CheckResult SUCCESS
public static final BlockMovementChecks.CheckResult FAIL
public static final BlockMovementChecks.CheckResult PASS
public static BlockMovementChecks.CheckResult[] values()
for (BlockMovementChecks.CheckResult c : BlockMovementChecks.CheckResult.values()) System.out.println(c);
public static BlockMovementChecks.CheckResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Boolean toBoolean()
public static BlockMovementChecks.CheckResult of(boolean b)
public static BlockMovementChecks.CheckResult of(java.lang.Boolean b)