Package org.bukkit.enchantments
Class EnchantmentWrapper
java.lang.Object
org.bukkit.enchantments.Enchantment
org.bukkit.enchantments.EnchantmentWrapper
- All Implemented Interfaces:
Keyed
,Translatable
Deprecated.
only for backwards compatibility, EnchantmentWrapper is no longer used.
A simple wrapper for ease of selecting
Enchantment
s-
Field Summary
Fields inherited from class org.bukkit.enchantments.Enchantment
ARROW_DAMAGE, ARROW_FIRE, ARROW_INFINITE, ARROW_KNOCKBACK, BINDING_CURSE, CHANNELING, DAMAGE_ALL, DAMAGE_ARTHROPODS, DAMAGE_UNDEAD, DEPTH_STRIDER, DIG_SPEED, DURABILITY, FIRE_ASPECT, FROST_WALKER, IMPALING, KNOCKBACK, LOOT_BONUS_BLOCKS, LOOT_BONUS_MOBS, LOYALTY, LUCK, LURE, MENDING, MULTISHOT, OXYGEN, PIERCING, PROTECTION_ENVIRONMENTAL, PROTECTION_EXPLOSIONS, PROTECTION_FALL, PROTECTION_FIRE, PROTECTION_PROJECTILE, QUICK_CHARGE, RIPTIDE, SILK_TOUCH, SOUL_SPEED, SWEEPING_EDGE, SWIFT_SNEAK, THORNS, VANISHING_CURSE, WATER_WORKER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the enchantment bound to this wrapperMethods inherited from class org.bukkit.enchantments.Enchantment
canEnchantItem, conflictsWith, getByKey, getByName, getItemTarget, getMaxLevel, getName, getStartLevel, isCursed, isTreasure, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.Translatable
getTranslationKey
-
Constructor Details
-
EnchantmentWrapper
protected EnchantmentWrapper()Deprecated.
-
-
Method Details
-
getEnchantment
Deprecated.Gets the enchantment bound to this wrapper- Returns:
- Enchantment
-