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