Uses of Enum Class
net.minecraft.world.item.Rarity
Package
Description
-
Uses of Rarity in net.minecraft.world.item
Modifier and TypeFieldDescription(package private) Rarity
Item.Properties.rarity
private final Rarity
Item.rarity
Modifier and TypeMethodDescriptionstatic Rarity
Rarity.create
(String name, UnaryOperator<Style> styleModifier) static Rarity
Rarity.create
(String name, ChatFormatting p_43028_) 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.debug.misc
-
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
(BlockAndTintGetter level, BlockPos pos) FluidAttributes.getRarity
(FluidStack stack)