public static enum Types_v1_21_2.Consumable.ItemUseAnimation extends java.lang.Enum<Types_v1_21_2.Consumable.ItemUseAnimation> implements com.viaversion.viaversion.libs.mcstructs.converter.types.NamedType
| Enum Constant and Description |
|---|
BLOCK |
BOW |
BRUSH |
CROSSBOW |
DRINK |
EAT |
NONE |
SPEAR |
SPYGLASS |
TOOT_HORN |
| Modifier and Type | Method and Description |
|---|---|
static Types_v1_21_2.Consumable.ItemUseAnimation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types_v1_21_2.Consumable.ItemUseAnimation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types_v1_21_2.Consumable.ItemUseAnimation NONE
public static final Types_v1_21_2.Consumable.ItemUseAnimation EAT
public static final Types_v1_21_2.Consumable.ItemUseAnimation DRINK
public static final Types_v1_21_2.Consumable.ItemUseAnimation BLOCK
public static final Types_v1_21_2.Consumable.ItemUseAnimation BOW
public static final Types_v1_21_2.Consumable.ItemUseAnimation SPEAR
public static final Types_v1_21_2.Consumable.ItemUseAnimation CROSSBOW
public static final Types_v1_21_2.Consumable.ItemUseAnimation SPYGLASS
public static final Types_v1_21_2.Consumable.ItemUseAnimation TOOT_HORN
public static final Types_v1_21_2.Consumable.ItemUseAnimation BRUSH
public static Types_v1_21_2.Consumable.ItemUseAnimation[] values()
for (Types_v1_21_2.Consumable.ItemUseAnimation c : Types_v1_21_2.Consumable.ItemUseAnimation.values()) System.out.println(c);
public static Types_v1_21_2.Consumable.ItemUseAnimation 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 null