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_IDstatic final com.mojang.serialization.Codec<Rarity> Rarity.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Rarity> Rarity.STREAM_CODECMethods in net.minecraft.world.item that return RarityModifier and TypeMethodDescriptionItemStack.getRarity()static RarityReturns 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 RarityFluidType.Properties.rarityprivate final RarityFluidType.rarityMethods 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.