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 color) 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.neoforged.neoforge.debug.misc
-
Uses of Rarity in net.neoforged.neoforge.fluids
Modifier and TypeFieldDescriptionprivate Rarity
FluidType.Properties.rarity
private final Rarity
FluidType.rarity
Modifier and TypeMethodDescriptionFluidType.getRarity()
Returns the rarity of the fluid.FluidType.getRarity
(FluidStack stack) Returns the rarity of the fluid.Modifier and TypeMethodDescriptionSets the rarity of the fluid.