Class EffectEnchantmentWrapper
java.lang.Object
org.bukkit.enchantments.Enchantment
me.sciguymjm.uberenchant.api.UberEnchantment
me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantment
me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantmentWrapper
- All Implemented Interfaces:
org.bukkit.event.Listener
,org.bukkit.Keyed
-
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 TypeMethodDescriptionboolean
canEnchantItem
(org.bukkit.inventory.ItemStack item) boolean
conflictsWith
(org.bukkit.enchantments.Enchantment other) org.bukkit.enchantments.EnchantmentTarget
int
int
boolean
isCursed()
boolean
Methods inherited from class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantment
getDisplayName, getPermission
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
equals, getByKey, getByName, getKey, hashCode, isAcceptingRegistrations, registerEnchantment, stopAcceptingRegistrations, toString
-
Method Details
-
getEffect
-
getMaxLevel
public int getMaxLevel()- Specified by:
getMaxLevel
in classorg.bukkit.enchantments.Enchantment
-
getStartLevel
public int getStartLevel()- Specified by:
getStartLevel
in classorg.bukkit.enchantments.Enchantment
-
getItemTarget
public org.bukkit.enchantments.EnchantmentTarget getItemTarget()- Specified by:
getItemTarget
in classorg.bukkit.enchantments.Enchantment
-
isTreasure
public boolean isTreasure()- Specified by:
isTreasure
in classorg.bukkit.enchantments.Enchantment
-
isCursed
public boolean isCursed()- Specified by:
isCursed
in classorg.bukkit.enchantments.Enchantment
-
conflictsWith
public boolean conflictsWith(org.bukkit.enchantments.Enchantment other) - Specified by:
conflictsWith
in classorg.bukkit.enchantments.Enchantment
-
canEnchantItem
public boolean canEnchantItem(org.bukkit.inventory.ItemStack item) - Specified by:
canEnchantItem
in classorg.bukkit.enchantments.Enchantment
-