public enum CheckConditions extends Enum<CheckConditions>
Modifier and Type | Method and Description |
---|---|
boolean |
check(Player p) |
String |
getDisplayName() |
boolean |
shouldBeCached() |
static CheckConditions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckConditions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckConditions SURVIVAL
public static final CheckConditions INSIDE_VEHICLE
public static final CheckConditions SPRINT
public static final CheckConditions SNEAK
public static final CheckConditions SLEEP
public static final CheckConditions SWIM
public static final CheckConditions ELYTRA
public static final CheckConditions FLY
public static final CheckConditions ALLOW_FLY
public static final CheckConditions GROUND
public static final CheckConditions NO_BLOCK_MID_AROUND
public static final CheckConditions NO_LIQUID_AROUND
public static final CheckConditions NO_STAIRS_AROUND
public static final CheckConditions NO_FALL_LESS_BLOCK
public static final CheckConditions NO_CLIMB_BLOCK
public static final CheckConditions NO_FIGHT
public static final CheckConditions NO_TELEPORT
public static final CheckConditions NO_BOAT_AROUND
public static final CheckConditions NO_ON_BEDROCK
public static final CheckConditions NO_USE_TRIDENT
public static final CheckConditions NO_USE_SLIME
public static final CheckConditions NO_USE_ELEVATOR
public static final CheckConditions NO_IRON_TARGET
public static final CheckConditions NO_THORNS
public static final CheckConditions NO_INSIDE_VEHICLE
public static final CheckConditions NO_SPRINT
public static final CheckConditions NO_SNEAK
public static final CheckConditions NO_SLEEP
public static final CheckConditions NO_SWIM
public static final CheckConditions NO_ELYTRA
public static final CheckConditions NO_FLY
public static final CheckConditions NO_ALLOW_FLY
public static final CheckConditions NO_GROUND
public static final CheckConditions NO_FALL_DISTANCE
public static CheckConditions[] values()
for (CheckConditions c : CheckConditions.values()) System.out.println(c);
public static CheckConditions valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean check(Player p)
public String getDisplayName()
public boolean shouldBeCached()