Package org.bukkit.enchantments
Class EnchantmentWrapper
java.lang.Object
org.bukkit.enchantments.Enchantment
org.bukkit.enchantments.EnchantmentWrapper
- All Implemented Interfaces:
- Keyed,- RegistryAware,- Translatable
Deprecated.
only for backwards compatibility, EnchantmentWrapper is no longer used.
A simple wrapper for ease of selecting 
Enchantments- 
Field SummaryFields inherited from class org.bukkit.enchantments.EnchantmentAQUA_AFFINITY, BANE_OF_ARTHROPODS, BINDING_CURSE, BLAST_PROTECTION, BREACH, CHANNELING, DENSITY, DEPTH_STRIDER, EFFICIENCY, FEATHER_FALLING, FIRE_ASPECT, FIRE_PROTECTION, FLAME, FORTUNE, FROST_WALKER, IMPALING, INFINITY, KNOCKBACK, LOOTING, LOYALTY, LUCK_OF_THE_SEA, LURE, MENDING, MULTISHOT, PIERCING, POWER, PROJECTILE_PROTECTION, PROTECTION, PUNCH, QUICK_CHARGE, RESPIRATION, RIPTIDE, SHARPNESS, SILK_TOUCH, SMITE, SOUL_SPEED, SWEEPING_EDGE, SWIFT_SNEAK, THORNS, UNBREAKING, VANISHING_CURSE, WIND_BURST
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.Gets the enchantment bound to this wrapperMethods inherited from class org.bukkit.enchantments.EnchantmentcanEnchantItem, conflictsWith, getByKey, getByName, getItemTarget, getKey, getMaxLevel, getName, getStartLevel, isCursed, isTreasure, valuesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.registry.RegistryAwaregetKeyOrNull, getKeyOrThrow, isRegisteredMethods inherited from interface org.bukkit.TranslatablegetTranslationKey
- 
Constructor Details- 
EnchantmentWrapperprotected EnchantmentWrapper()Deprecated.
 
- 
- 
Method Details- 
getEnchantmentDeprecated.Gets the enchantment bound to this wrapper- Returns:
- Enchantment
 
 
-