类 EnchantmentWrapper
java.lang.Object
org.bukkit.enchantments.Enchantment
org.bukkit.enchantments.EnchantmentWrapper
- 所有已实现的接口:
Keyed
,Translatable
已过时。
仅为保障向后兼容性, EnchantmentWrapper 已不再使用
方便选择
Enchantment
的一个简单的封装类.-
字段概要
从类继承的字段 org.bukkit.enchantments.Enchantment
AQUA_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
-
构造器概要
-
方法概要
从类继承的方法 org.bukkit.enchantments.Enchantment
canEnchantItem, conflictsWith, getByKey, getByName, getItemTarget, getMaxLevel, getName, getStartLevel, isCursed, isTreasure, values
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.bukkit.Translatable
getTranslationKey
-
构造器详细资料
-
EnchantmentWrapper
protected EnchantmentWrapper()已过时。
-
-
方法详细资料
-
getEnchantment
已过时。获取这个包装类所对应的的附魔.原文:Gets the enchantment bound to this wrapper
- 返回:
- 附魔
-