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

    • EnchantmentWrapper

      protected EnchantmentWrapper()
      Deprecated.
  • Method Details

    • getEnchantment

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