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 p_i1924_1_,
int p_i1924_2_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canApply(ItemStack p_92089_1_) |
int |
getMaxEnchantability(int p_77317_1_) |
int |
getMaxLevel() |
int |
getMinEnchantability(int p_77321_1_) |
static boolean |
negateDamage(ItemStack p_92097_0_,
int p_92097_1_,
java.util.Random p_92097_2_) |
calcModifierDamage, canApplyTogether, func_151367_b, func_151368_a, func_152376_a, getMinLevel, getName, getTranslatedName, getWeight, setName
protected EnchantmentDurability(int p_i1924_1_, int p_i1924_2_)
public int getMinEnchantability(int p_77321_1_)
getMinEnchantability
in class Enchantment
public int getMaxEnchantability(int p_77317_1_)
getMaxEnchantability
in class Enchantment
public int getMaxLevel()
getMaxLevel
in class Enchantment
public boolean canApply(ItemStack p_92089_1_)
canApply
in class Enchantment
public static boolean negateDamage(ItemStack p_92097_0_, int p_92097_1_, java.util.Random p_92097_2_)