public static enum HorseDisguise.Variant extends java.lang.Enum<HorseDisguise.Variant>
Enum Constant and Description |
---|
DONKEY |
HORSE |
MULE |
SKELETON_HORSE |
UNDEAD_HORSE |
Modifier and Type | Method and Description |
---|---|
static HorseDisguise.Variant |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HorseDisguise.Variant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorseDisguise.Variant HORSE
public static final HorseDisguise.Variant DONKEY
public static final HorseDisguise.Variant MULE
public static final HorseDisguise.Variant UNDEAD_HORSE
public static final HorseDisguise.Variant SKELETON_HORSE
public static HorseDisguise.Variant[] values()
for (HorseDisguise.Variant c : HorseDisguise.Variant.values()) System.out.println(c);
public static HorseDisguise.Variant 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 null