| Package | Description |
|---|---|
| io.papermc.paper.enchantments | |
| org.bukkit.enchantments |
Classes relating to the specialized enhancements to
item stacks, as part of the meta data. |
| Modifier and Type | Method and Description |
|---|---|
static EnchantmentRarity |
EnchantmentRarity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnchantmentRarity[] |
EnchantmentRarity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
abstract EnchantmentRarity |
Enchantment.getRarity()
Gets the rarity of this enchantment.
|
EnchantmentRarity |
EnchantmentWrapper.getRarity() |
Copyright © 2021. All rights reserved.