net.minecraft.enchantment
Class EnchantmentThorns

java.lang.Object
  extended by net.minecraft.enchantment.Enchantment
      extended by net.minecraft.enchantment.EnchantmentThorns

public class EnchantmentThorns
extends Enchantment


Field Summary
 
Fields inherited from class net.minecraft.enchantment.Enchantment
aquaAffinity, baneOfArthropods, blastProtection, effectId, efficiency, enchantmentsList, featherFalling, field_92038_c, field_92039_k, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, type, unbreaking
 
Constructor Summary
EnchantmentThorns(int par1, int par2)
           
 
Method Summary
 boolean func_92037_a(ItemStack par1ItemStack)
           
static boolean func_92042_a(int par0, Random par1Random)
           
static int func_92043_b(int par0, Random par1)
           
static void func_92044_a(Entity par0Entity, EntityLiving par1, Random par2Random)
           
 int getMaxEnchantability(int par1)
          Returns the maximum value of enchantability nedded on the enchantment level passed.
 int getMaxLevel()
          Returns the maximum level that the enchantment can have.
 int getMinEnchantability(int par1)
          Returns the minimal value of enchantability needed on the enchantment level passed.
 
Methods inherited from class net.minecraft.enchantment.Enchantment
addToBookList, calcModifierDamage, calcModifierLiving, canApplyAtEnchantingTable, canApplyTogether, getMinLevel, getName, getTranslatedName, getWeight, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnchantmentThorns

public EnchantmentThorns(int par1,
                         int par2)
Method Detail

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

func_92037_a

public boolean func_92037_a(ItemStack par1ItemStack)
Overrides:
func_92037_a in class Enchantment

func_92042_a

public static boolean func_92042_a(int par0,
                                   Random par1Random)

func_92043_b

public static int func_92043_b(int par0,
                               Random par1)

func_92044_a

public static void func_92044_a(Entity par0Entity,
                                EntityLiving par1,
                                Random par2Random)