Uses of Enum Class
org.bukkit.inventory.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 org.bukkit.inventory
Modifier 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
Modifier and TypeMethodDescriptionvoid
ItemMeta.setRarity
(@Nullable ItemRarity rarity) Sets the item rarity.