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