public enum WrappedEnumAnimation extends java.lang.Enum<WrappedEnumAnimation>
Enum Constant and Description |
---|
BLOCK |
BOW |
CROSSBOW |
DRINK |
EAT |
NONE |
SPEAR |
Modifier and Type | Method and Description |
---|---|
static WrappedEnumAnimation |
fromNMS(java.lang.Object vanillaObject) |
java.lang.Enum |
toVanilla() |
static WrappedEnumAnimation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WrappedEnumAnimation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WrappedEnumAnimation NONE
public static final WrappedEnumAnimation EAT
public static final WrappedEnumAnimation DRINK
public static final WrappedEnumAnimation BLOCK
public static final WrappedEnumAnimation BOW
public static final WrappedEnumAnimation SPEAR
public static final WrappedEnumAnimation CROSSBOW
public static WrappedEnumAnimation[] values()
for (WrappedEnumAnimation c : WrappedEnumAnimation.values()) System.out.println(c);
public static WrappedEnumAnimation 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 WrappedEnumAnimation fromNMS(java.lang.Object vanillaObject)
public java.lang.Enum toVanilla()