Enum Class ItemRarity

java.lang.Object
java.lang.Enum<ItemRarity>
org.bukkit.inventory.ItemRarity
All Implemented Interfaces:
Serializable, Comparable<ItemRarity>, Constable

public enum ItemRarity extends Enum<ItemRarity>
A item's rarity determines the default color of its name. This enum is ordered from least rare to most rare.