public enum Animation extends Enum<Animation>
| Enum Constant and Description |
|---|
CRITICAL_HIT |
DAMAGE |
EAT_FOOD |
ENCHANTMENT_CRITICAL_HIT |
LEAVE_BED |
SWING_ARM |
| Modifier and Type | Method and Description |
|---|---|
static Animation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Animation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Animation SWING_ARM
public static final Animation DAMAGE
public static final Animation LEAVE_BED
public static final Animation EAT_FOOD
public static final Animation CRITICAL_HIT
public static final Animation ENCHANTMENT_CRITICAL_HIT
public static Animation[] values()
for (Animation c : Animation.values()) System.out.println(c);
public static Animation 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 nullCopyright © 2020. All rights reserved.