You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
803 B
Java
26 lines
803 B
Java
package net.minecraft.item;
|
|
|
|
import net.minecraft.util.EnumChatFormatting;
|
|
|
|
public enum EnumRarity
|
|
{
|
|
common(EnumChatFormatting.WHITE, "Common"),
|
|
uncommon(EnumChatFormatting.YELLOW, "Uncommon"),
|
|
rare(EnumChatFormatting.AQUA, "Rare"),
|
|
epic(EnumChatFormatting.LIGHT_PURPLE, "Epic");
|
|
/**
|
|
* 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)
|
|
*/
|
|
public final EnumChatFormatting rarityColor;
|
|
/** Rarity name. */
|
|
public final String rarityName;
|
|
|
|
private static final String __OBFID = "CL_00000056";
|
|
|
|
private EnumRarity(EnumChatFormatting p_i45349_3_, String p_i45349_4_)
|
|
{
|
|
this.rarityColor = p_i45349_3_;
|
|
this.rarityName = p_i45349_4_;
|
|
}
|
|
} |