Class EffectEnchantment
java.lang.Object
org.bukkit.enchantments.Enchantment
me.sciguymjm.uberenchant.api.UberEnchantment
me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantment
- All Implemented Interfaces:
org.bukkit.event.Listener
,org.bukkit.Keyed
- Direct Known Subclasses:
EffectEnchantmentWrapper
Abstract class for internal use.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Gets the display name of the enchantment.
(Different from usingUberEnchantment.getName()
)final String
Gets the permission for this enchantment.
(Meant to be used within other plugins)Methods inherited from class me.sciguymjm.uberenchant.api.UberEnchantment
containsEnchantment, containsEnchantment, getEnchantments, getLevel, getLevel, getName, getRegisteredEnchantments, getRegisteredEnchantments, getRegisteredEnchantments, getStoredEnchantments, hasEnchantments, isRegistered, isRegistered, register, register, values
Methods inherited from class org.bukkit.enchantments.Enchantment
canEnchantItem, conflictsWith, equals, getByKey, getByName, getItemTarget, getKey, getMaxLevel, getStartLevel, hashCode, isAcceptingRegistrations, isCursed, isTreasure, registerEnchantment, stopAcceptingRegistrations, toString
-
Method Details
-
getDisplayName
Description copied from class:UberEnchantment
Gets the display name of the enchantment.
(Different from usingUberEnchantment.getName()
)- Specified by:
getDisplayName
in classUberEnchantment
- Returns:
- The display name of this enchantment
-
getPermission
Description copied from class:UberEnchantment
Gets the permission for this enchantment.
(Meant to be used within other plugins)- Specified by:
getPermission
in classUberEnchantment
- Returns:
- The permission node
-