Serializable, Comparable<Pose>public enum Pose extends Enum<Pose>
| Enum Constant | Description | 
|---|---|
| DYING | Entity is dead. | 
| FALL_FLYING | Entity is gliding. | 
| SLEEPING | Entity is sleeping. | 
| SNEAKING | Entity is sneaking. | 
| SPIN_ATTACK | Entity is riptiding with a trident. | 
| STANDING | Entity is standing normally. | 
| SWIMMING | Entity is swimming. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static Pose | valueOf(String name) | Returns the enum constant of this type with the specified name. | 
| static Pose[] | values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Pose STANDING
public static final Pose FALL_FLYING
public static final Pose SLEEPING
public static final Pose SWIMMING
public static final Pose SPIN_ATTACK
public static final Pose SNEAKING
public static final Pose DYING
public static Pose[] values()
for (Pose c : Pose.values()) System.out.println(c);
public static Pose 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.