public static enum Types_v1_20_5.Rarity extends java.lang.Enum<Types_v1_20_5.Rarity> implements com.viaversion.viaversion.libs.mcstructs.converter.types.NamedType
| Modifier and Type | Method and Description |
|---|---|
static Types_v1_20_5.Rarity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types_v1_20_5.Rarity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types_v1_20_5.Rarity COMMON
public static final Types_v1_20_5.Rarity UNCOMMON
public static final Types_v1_20_5.Rarity RARE
public static final Types_v1_20_5.Rarity EPIC
public static Types_v1_20_5.Rarity[] values()
for (Types_v1_20_5.Rarity c : Types_v1_20_5.Rarity.values()) System.out.println(c);
public static Types_v1_20_5.Rarity 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