Package | Description |
---|---|
io.papermc.paper.inventory | |
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Method and Description |
---|---|
static ItemRarity |
ItemRarity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemRarity[] |
ItemRarity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ItemRarity |
Material.getItemRarity()
Returns the item rarity for the item.
|
ItemRarity |
UnsafeValues.getItemRarity(Material material)
Deprecated.
Gets the item rarity of a material.
|
ItemRarity |
UnsafeValues.getItemStackRarity(ItemStack itemStack)
Deprecated.
Gets the item rarity of the itemstack.
|
Modifier and Type | Method and Description |
---|---|
ItemRarity |
ItemStack.getRarity()
Gets the item rarity of the itemstack.
|
Copyright © 2021. All rights reserved.