001 package net.minecraft.item;
002
003 import cpw.mods.fml.relauncher.Side;
004 import cpw.mods.fml.relauncher.SideOnly;
005
006 @SideOnly(Side.CLIENT)
007 public enum EnumRarity
008 {
009 common(15, "Common"),
010 uncommon(14, "Uncommon"),
011 rare(11, "Rare"),
012 epic(13, "Epic");
013
014 /**
015 * A decimal representation of the hex color codes of a the color assigned to this rarity type. (13 becomes d as in
016 * \247d which is light purple)
017 */
018 public final int rarityColor;
019
020 /** Rarity name. */
021 public final String rarityName;
022
023 private EnumRarity(int par3, String par4Str)
024 {
025 this.rarityColor = par3;
026 this.rarityName = par4Str;
027 }
028 }