public class EnchantmentDurability extends Enchantment
aquaAffinity, baneOfArthropods, blastProtection, effectId, efficiency, enchantmentsBookList, enchantmentsList, featherFalling, field_151369_A, field_151370_z, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, name, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, thorns, type, unbreaking
Modifier | Constructor and Description |
---|---|
protected |
EnchantmentDurability(int par1,
int par2) |
Modifier and Type | Method and Description |
---|---|
boolean |
canApply(ItemStack par1ItemStack) |
int |
getMaxEnchantability(int par1) |
int |
getMaxLevel() |
int |
getMinEnchantability(int par1) |
static boolean |
negateDamage(ItemStack par0ItemStack,
int par1,
java.util.Random par2Random) |
addToBookList, calcModifierDamage, calcModifierLiving, canApplyAtEnchantingTable, canApplyTogether, func_151367_b, func_151368_a, getMinLevel, getName, getTranslatedName, getWeight, isAllowedOnBooks, setName
public int getMinEnchantability(int par1)
getMinEnchantability
in class Enchantment
public int getMaxEnchantability(int par1)
getMaxEnchantability
in class Enchantment
public int getMaxLevel()
getMaxLevel
in class Enchantment
public boolean canApply(ItemStack par1ItemStack)
canApply
in class Enchantment
public static boolean negateDamage(ItemStack par0ItemStack, int par1, java.util.Random par2Random)