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 |
---|---|
abstract @NotNull EnchantmentTarget |
Enchantment.getItemTarget()
Gets the type of
ItemStack that may fit this Enchantment. |
@NotNull EnchantmentTarget |
EnchantmentWrapper.getItemTarget() |
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 © 2021. All rights reserved.