public enum EnumRarity extends java.lang.Enum<EnumRarity> implements IExtensibleEnum
Modifier and Type | Field and Description |
---|---|
TextFormatting |
color |
Modifier and Type | Method and Description |
---|---|
static EnumRarity |
create(java.lang.String enumName,
TextFormatting p_i48837_3_) |
static EnumRarity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumRarity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumRarity COMMON
public static final EnumRarity UNCOMMON
public static final EnumRarity RARE
public static final EnumRarity EPIC
public final TextFormatting color
public static EnumRarity[] values()
for (EnumRarity c : EnumRarity.values()) System.out.println(c);
public static EnumRarity 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 EnumRarity create(java.lang.String enumName, TextFormatting p_i48837_3_)