public enum Animation extends Enum<Animation>
Modifier and Type | Class and Description |
---|---|
static class |
Animation.Type |
Enum Constant and Description |
---|
CRITICAL_EFFECT |
CRITICAL_EFFECT_MAGIC |
ENTITY_DEATH |
ENTITY_HURT |
IRON_GOLEM_ARMS |
IRON_GOLEM_ROSE |
LEAVE_BED |
RESET_SQUID_ROTATION |
SHEEP_EAT |
SWING_MAIN_ARM |
SWING_OFF_HAND |
TAKE_DAMAGE |
WOLF_SHAKE |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
Animation.Type |
getType() |
static Animation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Animation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Animation SWING_MAIN_ARM
public static final Animation TAKE_DAMAGE
public static final Animation LEAVE_BED
public static final Animation SWING_OFF_HAND
public static final Animation CRITICAL_EFFECT
public static final Animation CRITICAL_EFFECT_MAGIC
public static final Animation ENTITY_HURT
public static final Animation ENTITY_DEATH
public static final Animation IRON_GOLEM_ARMS
public static final Animation WOLF_SHAKE
public static final Animation SHEEP_EAT
public static final Animation IRON_GOLEM_ROSE
public static final Animation RESET_SQUID_ROTATION
public static Animation[] values()
for (Animation c : Animation.values()) System.out.println(c);
public static Animation 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 Animation.Type getType()
public int getId()
Copyright © 2018. All rights reserved.