public enum Pose extends Enum<Pose>
| Enum Constant and Description |
|---|
CROAKING |
DIGGING |
DYING |
EMERGING |
FALL_FLYING |
LONG_JUMPING |
ROARING |
SLEEPING |
SNEAKING |
SNIFFING |
SPIN_ATTACK |
STANDING |
SWIMMING |
USING_TONGUE |
| Modifier and Type | Method and Description |
|---|---|
static Pose |
from(int id) |
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 CROAKING
public static final Pose USING_TONGUE
public static final Pose ROARING
public static final Pose SNIFFING
public static final Pose EMERGING
public static final Pose DIGGING
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 nullpublic static Pose from(int id)
Copyright © 2022. All rights reserved.