| Package | Description |
|---|---|
| net.minecraft.item | |
| net.minecraftforge.client |
| Modifier and Type | Method and Description |
|---|---|
EnumRarity |
ItemStack.getRarity() |
EnumRarity |
ItemAppleGold.getRarity(ItemStack par1ItemStack) |
EnumRarity |
ItemEnchantedBook.getRarity(ItemStack par1ItemStack) |
EnumRarity |
ItemRecord.getRarity(ItemStack par1ItemStack) |
EnumRarity |
Item.getRarity(ItemStack par1ItemStack) |
static EnumRarity |
EnumRarity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumRarity[] |
EnumRarity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumRarity |
EnumHelperClient.addRarity(String name,
int color,
String displayName) |