Uses of Enum Class
net.minecraft.item.Rarity
-
Uses of Rarity in net.minecraft.item
Modifier and TypeFieldDescriptionprivate Rarity
Item.Properties.rarity
private final Rarity
Item.rarity
Modifier and TypeMethodDescriptionstatic Rarity
Rarity.create
(String name, TextFormatting p_i48837_3_) ItemStack.getRarity()
static Rarity
Returns the enum constant of this class with the specified name.static Rarity[]
Rarity.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Rarity in net.minecraftforge.fluids
Modifier and TypeFieldDescriptionprivate Rarity
FluidAttributes.Builder.rarity
private final Rarity
FluidAttributes.rarity
The rarity of the fluid.Modifier and TypeMethodDescriptionFluidAttributes.getRarity()
FluidAttributes.getRarity
(IBlockDisplayReader world, BlockPos pos) FluidAttributes.getRarity
(FluidStack stack)