public enum Pose extends Enum<Pose>
| Enum Constant and Description |
|---|
DYING |
FALL_FLYING |
LONG_JUMPING |
SLEEPING |
SNEAKING |
SPIN_ATTACK |
STANDING |
SWIMMING |
| Modifier and Type | Method and 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 LONG_JUMPING
public static final Pose DYING
public static final Pose[] VALUES
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 © 2022. All rights reserved.