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, setNamepublic int getMinEnchantability(int par1)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int par1)
getMaxEnchantability in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantmentpublic boolean canApply(ItemStack par1ItemStack)
canApply in class Enchantmentpublic static boolean negateDamage(ItemStack par0ItemStack, int par1, java.util.Random par2Random)