Package | Description |
---|---|
net.minecraft.item | |
net.minecraftforge.common.util | |
net.minecraftforge.fluids |
Modifier and Type | Method and Description |
---|---|
EnumRarity |
ItemStack.getRarity()
Deprecated.
|
EnumRarity |
Item.getRarity(ItemStack stack)
Deprecated.
|
EnumRarity |
ItemEnchantedBook.getRarity(ItemStack stack) |
EnumRarity |
ItemAppleGold.getRarity(ItemStack stack) |
EnumRarity |
ItemRecord.getRarity(ItemStack stack) |
static EnumRarity |
EnumRarity.valueOf(java.lang.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 |
EnumHelper.addRarity(java.lang.String name,
TextFormatting color,
java.lang.String displayName)
Deprecated.
use
IRarity instead |
Modifier and Type | Field and Description |
---|---|
protected EnumRarity |
Fluid.rarity
The rarity of the fluid.
|
Modifier and Type | Method and Description |
---|---|
EnumRarity |
Fluid.getRarity() |
EnumRarity |
Fluid.getRarity(FluidStack stack) |
EnumRarity |
Fluid.getRarity(World world,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
Fluid |
Fluid.setRarity(EnumRarity rarity) |