public enum FlyingReason extends Enum<FlyingReason>
| Modifier and Type | Method and Description | 
|---|---|
Cheat | 
getCheat()  | 
CheatKeys | 
getKey()  | 
static FlyingReason | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static FlyingReason[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final FlyingReason POTION
public static final FlyingReason REGEN
public static final FlyingReason EAT
public static final FlyingReason BOW
public static FlyingReason[] values()
for (FlyingReason c : FlyingReason.values()) System.out.println(c);
public static FlyingReason 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 CheatKeys getKey()
public Cheat getCheat()