Uses of Interface
org.cloudburstmc.api.enchantment.EnchantmentInstance
Packages that use EnchantmentInstance
-
Uses of EnchantmentInstance in org.cloudburstmc.api.enchantment.behavior
Methods in org.cloudburstmc.api.enchantment.behavior with parameters of type EnchantmentInstanceModifier and TypeMethodDescriptionbooleanEnchantmentBehavior.canEnchant(EnchantmentInstance enchantment, ItemStack item) voidEnchantmentBehavior.doPostAttack(EnchantmentInstance enchantment, Entity entity, Entity attacker) voidEnchantmentBehavior.doPostHurt(EnchantmentInstance enchantment, Entity entity, Entity attacker) floatEnchantmentBehavior.getDamageBonus(EnchantmentInstance enchantment, Entity entity) intEnchantmentBehavior.getMaxEnchantableLevel(EnchantmentInstance enchantment) intEnchantmentBehavior.getMaxLevel(EnchantmentInstance enchantment) floatEnchantmentBehavior.getProtectionFactor(EnchantmentInstance enchantment, EntityDamageEvent event) intEnchantmentBehavior.getWeight(EnchantmentInstance enchantment) booleanEnchantmentBehavior.isCompatibleWith(EnchantmentInstance first, EnchantmentInstance enchantment) -
Uses of EnchantmentInstance in org.cloudburstmc.api.item
Methods in org.cloudburstmc.api.item that return EnchantmentInstanceModifier and TypeMethodDescriptiondefault EnchantmentInstanceItemStack.getEnchantment(EnchantmentType enchantment) Methods in org.cloudburstmc.api.item that return types with arguments of type EnchantmentInstanceMethods in org.cloudburstmc.api.item with parameters of type EnchantmentInstanceModifier and TypeMethodDescriptionItemStackBuilder.addEnchantment(EnchantmentInstance enchantment) default ItemStackItemStack.withEnchantment(EnchantmentInstance enchantment) Method parameters in org.cloudburstmc.api.item with type arguments of type EnchantmentInstanceModifier and TypeMethodDescriptionItemStackBuilder.addEnchantments(Collection<EnchantmentInstance> enchantmentInstanceCollection)