Uses of Enum Class
org.bukkit.inventory.ItemRarity
Packages that use ItemRarity
Package
Description
Classes involved in manipulating player inventories and item interactions.
The interfaces used when manipulating extra data can can be stored inside
item stacks
.-
Uses of ItemRarity in io.papermc.paper.datacomponent
Fields in io.papermc.paper.datacomponent with type parameters of type ItemRarityModifier and TypeFieldDescriptionstatic final DataComponentType.Valued
<ItemRarity> DataComponentTypes.RARITY
Controls the color of the item name. -
Uses of ItemRarity in org.bukkit.inventory
Methods in org.bukkit.inventory that return ItemRarityModifier and TypeMethodDescriptionItemType.getItemRarity()
Returns the item rarity for the item.static ItemRarity
Returns the enum constant of this class with the specified name.static ItemRarity[]
ItemRarity.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ItemRarity in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return ItemRarityMethods in org.bukkit.inventory.meta with parameters of type ItemRarityModifier and TypeMethodDescriptionvoid
ItemMeta.setRarity
(@Nullable ItemRarity rarity) Sets the item rarity.