public enum EnumRarity extends java.lang.Enum<EnumRarity>
Modifier and Type | Field and Description |
---|---|
EnumChatFormatting |
rarityColor
A decimal representation of the hex color codes of a the color assigned to this rarity type. (13 becomes d as in
\247d which is light purple)
|
java.lang.String |
rarityName
Rarity name.
|
Modifier and Type | Method and Description |
---|---|
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 EnumChatFormatting rarityColor
public final java.lang.String rarityName
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 null