Class EnchantmentWrapper

java.lang.Object
org.bukkit.enchantments.Enchantment
org.bukkit.enchantments.EnchantmentWrapper
All Implemented Interfaces:
Keyed, Translatable

@Deprecated public abstract class EnchantmentWrapper extends Enchantment
Deprecated.
only for backwards compatibility, EnchantmentWrapper is no longer used.
A simple wrapper for ease of selecting Enchantments
  • Constructor Details Link icon

    • EnchantmentWrapper Link icon

      protected EnchantmentWrapper()
      Deprecated.
  • Method Details Link icon

    • getEnchantment Link icon

      @NotNull public Enchantment getEnchantment()
      Deprecated.
      Gets the enchantment bound to this wrapper
      Returns:
      Enchantment