Class EnchantmentTridentImpaling

All Implemented Interfaces:
Cloneable

public class EnchantmentTridentImpaling extends EnchantmentTrident
  • Constructor Details

    • EnchantmentTridentImpaling

      public EnchantmentTridentImpaling()
  • Method Details

    • getMinEnchantAbility

      public int getMinEnchantAbility(int level)
      Description copied from class: Enchantment
      The minimum enchantability for the given level as described in https://minecraft.gamepedia.com/Enchanting/Levels
      Overrides:
      getMinEnchantAbility in class Enchantment
      Parameters:
      level - The level being checked
      Returns:
      The minimum value
    • getMaxEnchantAbility

      public int getMaxEnchantAbility(int level)
      Description copied from class: Enchantment
      The maximum enchantability for the given level as described in https://minecraft.gamepedia.com/Enchanting/Levels
      Overrides:
      getMaxEnchantAbility in class EnchantmentTrident
      Parameters:
      level - The level being checked
      Returns:
      The maximum value
    • getMaxLevel

      public int getMaxLevel()
      Description copied from class: Enchantment
      The maximum safe level which is possible with this enchantment.
      Overrides:
      getMaxLevel in class Enchantment
    • getDamageBonus

      public double getDamageBonus(Entity entity)
      Overrides:
      getDamageBonus in class Enchantment