public static enum Types_v1_21_2.EquipmentSlot extends java.lang.Enum<Types_v1_21_2.EquipmentSlot> implements com.viaversion.viaversion.libs.mcstructs.converter.types.NamedType
| Enum Constant and Description |
|---|
BODY |
CHEST |
FEET |
HEAD |
LEGS |
MAINHAND |
OFFHAND |
| Modifier and Type | Method and Description |
|---|---|
static Types_v1_21_2.EquipmentSlot |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types_v1_21_2.EquipmentSlot[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types_v1_21_2.EquipmentSlot MAINHAND
public static final Types_v1_21_2.EquipmentSlot OFFHAND
public static final Types_v1_21_2.EquipmentSlot FEET
public static final Types_v1_21_2.EquipmentSlot LEGS
public static final Types_v1_21_2.EquipmentSlot CHEST
public static final Types_v1_21_2.EquipmentSlot HEAD
public static final Types_v1_21_2.EquipmentSlot BODY
public static Types_v1_21_2.EquipmentSlot[] values()
for (Types_v1_21_2.EquipmentSlot c : Types_v1_21_2.EquipmentSlot.values()) System.out.println(c);
public static Types_v1_21_2.EquipmentSlot 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