Uses of Enum Class
net.minecraft.world.item.Rarity
Packages that use Rarity
Package
Description
-
Uses of Rarity in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type Rarity -
Uses of Rarity in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type RarityModifier and TypeFieldDescriptionstatic final IntFunction
<Rarity> Rarity.BY_ID
static final com.mojang.serialization.Codec
<Rarity> Rarity.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Rarity> Rarity.STREAM_CODEC
Methods in net.minecraft.world.item that return RarityModifier and TypeMethodDescriptionItemStack.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.Methods in net.minecraft.world.item with parameters of type Rarity -
Uses of Rarity in net.neoforged.neoforge.fluids
Fields in net.neoforged.neoforge.fluids declared as RarityModifier and TypeFieldDescriptionprivate Rarity
FluidType.Properties.rarity
private final Rarity
FluidType.rarity
Methods in net.neoforged.neoforge.fluids that return RarityModifier and TypeMethodDescriptionFluidType.getRarity()
Returns the rarity of the fluid.FluidType.getRarity
(FluidStack stack) Returns the rarity of the fluid.Methods in net.neoforged.neoforge.fluids with parameters of type RarityModifier and TypeMethodDescriptionSets the rarity of the fluid.