public enum EntityPose extends Enum<EntityPose>
Enum Constant and Description |
---|
CROUCHING |
DYING |
FALL_FLYING |
SLEEPING |
SPIN_ATTACK |
STANDING |
SWIMMING |
Modifier and Type | Method and Description |
---|---|
static EntityPose |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityPose[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityPose STANDING
public static final EntityPose FALL_FLYING
public static final EntityPose SLEEPING
public static final EntityPose SWIMMING
public static final EntityPose SPIN_ATTACK
public static final EntityPose CROUCHING
public static final EntityPose DYING
public static EntityPose[] values()
for (EntityPose c : EntityPose.values()) System.out.println(c);
public static EntityPose 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 null