public static enum PacketPlayInArmAnimation.AnimationType extends java.lang.Enum<PacketPlayInArmAnimation.AnimationType>
Enum Constant and Description |
---|
CRITICAL_EFFECT |
CROUCH |
DAMAGE_ANIMATION |
EAT_FOOD |
LEAVE_BED |
MAGIC_CRITICAL_EFFECT |
SWING_ARM |
UNCROUCH |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static PacketPlayInArmAnimation.AnimationType |
getById(int id) |
int |
getId() |
static PacketPlayInArmAnimation.AnimationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketPlayInArmAnimation.AnimationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketPlayInArmAnimation.AnimationType SWING_ARM
public static final PacketPlayInArmAnimation.AnimationType DAMAGE_ANIMATION
public static final PacketPlayInArmAnimation.AnimationType LEAVE_BED
public static final PacketPlayInArmAnimation.AnimationType EAT_FOOD
public static final PacketPlayInArmAnimation.AnimationType CRITICAL_EFFECT
public static final PacketPlayInArmAnimation.AnimationType MAGIC_CRITICAL_EFFECT
public static final PacketPlayInArmAnimation.AnimationType UNKNOWN
public static final PacketPlayInArmAnimation.AnimationType CROUCH
public static final PacketPlayInArmAnimation.AnimationType UNCROUCH
public static PacketPlayInArmAnimation.AnimationType[] values()
for (PacketPlayInArmAnimation.AnimationType c : PacketPlayInArmAnimation.AnimationType.values()) System.out.println(c);
public static PacketPlayInArmAnimation.AnimationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PacketPlayInArmAnimation.AnimationType getById(int id)
public int getId()