Class EnchantmentThorns

java.lang.Object
net.minecraft.src.Enchantment
net.minecraft.src.EnchantmentThorns

public class EnchantmentThorns extends Enchantment
  • Constructor Details

    • EnchantmentThorns

      public EnchantmentThorns(int par1, int par2)
  • Method Details

    • getMinEnchantability

      public int getMinEnchantability(int par1)
      Returns the minimal value of enchantability needed on the enchantment level passed.
      Overrides:
      getMinEnchantability in class Enchantment
    • getMaxEnchantability

      public int getMaxEnchantability(int par1)
      Returns the maximum value of enchantability nedded on the enchantment level passed.
      Overrides:
      getMaxEnchantability in class Enchantment
    • getMaxLevel

      public int getMaxLevel()
      Returns the maximum level that the enchantment can have.
      Overrides:
      getMaxLevel in class Enchantment
    • canApply

      public boolean canApply(ItemStack par1ItemStack)
      Overrides:
      canApply in class Enchantment
    • func_92094_a

      public static boolean func_92094_a(int par0, Random par1Random)
    • func_92095_b

      public static int func_92095_b(int par0, Random par1Random)
    • func_92096_a

      public static void func_92096_a(Entity par0Entity, EntityLivingBase par1EntityLivingBase, Random par2Random)