Uses of Class
me.boboballoon.enhancedenchantments.enchantment.ActiveEnchantment
-
Packages that use ActiveEnchantment Package Description me.boboballoon.enhancedenchantments.enchantment This package deals with enchantment class hierarchyme.boboballoon.enhancedenchantments.events This package deals with custom events that are fired by this plugin -
-
Uses of ActiveEnchantment in me.boboballoon.enhancedenchantments.enchantment
Fields in me.boboballoon.enhancedenchantments.enchantment with type parameters of type ActiveEnchantment Modifier and Type Field Description static Comparator<ActiveEnchantment>
EnchantmentHolder. COMPARATOR
Methods in me.boboballoon.enhancedenchantments.enchantment that return ActiveEnchantment Modifier and Type Method Description ActiveEnchantment
EnchantmentHolder. getEnchantment(Enchantment enchantment)
Returns the specified enchantment inside the holderMethods in me.boboballoon.enhancedenchantments.enchantment that return types with arguments of type ActiveEnchantment Modifier and Type Method Description List<ActiveEnchantment>
EnchantmentHolder. getEnchantments()
Returns a copy of all enchantments inside the holderMethods in me.boboballoon.enhancedenchantments.enchantment with parameters of type ActiveEnchantment Modifier and Type Method Description boolean
EnchantmentHolder. addEnchantment(ActiveEnchantment enchantment, ItemStack item)
Adds an enchantment from the holdervoid
EnchantmentHolder. addEnchantmentUnsafe(ActiveEnchantment enchantment)
Adds an enchantment from the holder unsafely (only use if you do not need to update the item or check if an enchantment was already added)abstract void
Enchantment. effect(Event event, ActiveEnchantment enchantment)
Effect that the enchantment gives -
Uses of ActiveEnchantment in me.boboballoon.enhancedenchantments.events
Methods in me.boboballoon.enhancedenchantments.events that return ActiveEnchantment Modifier and Type Method Description ActiveEnchantment
EnchantmentBookApplyEvent. getEnchantment()
Returns the enchantment about to be appliedConstructors in me.boboballoon.enhancedenchantments.events with parameters of type ActiveEnchantment Constructor Description EnchantmentBookApplyEvent(ActiveEnchantment enchantment, EnchantmentHolder holder)
-