public class EnchantmentThorns extends Enchantment
aquaAffinity, baneOfArthropods, blastProtection, effectId, efficiency, enchantmentsList, featherFalling, field_92090_c, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, thorns, type, unbreaking| Constructor and Description |
|---|
EnchantmentThorns(int par1,
int par2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
func_92089_a(ItemStack par1ItemStack) |
static boolean |
func_92094_a(int par0,
Random par1Random) |
static int |
func_92095_b(int par0,
Random par1Random) |
static void |
func_92096_a(Entity par0Entity,
EntityLiving par1EntityLiving,
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.
|
addToBookList, calcModifierDamage, calcModifierLiving, canApplyAtEnchantingTable, canApplyTogether, getMinLevel, getName, getTranslatedName, getWeight, setNamepublic EnchantmentThorns(int par1, int par2)
public int getMinEnchantability(int par1)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int par1)
getMaxEnchantability in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantmentpublic boolean func_92089_a(ItemStack par1ItemStack)
func_92089_a in class Enchantmentpublic static boolean func_92094_a(int par0, Random par1Random)
public static int func_92095_b(int par0, Random par1Random)
public static void func_92096_a(Entity par0Entity, EntityLiving par1EntityLiving, Random par2Random)