public class EnchantmentDurability extends Enchantment
aquaAffinity, baneOfArthropods, blastProtection, effectId, efficiency, enchantmentsList, featherFalling, field_92090_c, field_92091_k, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, type, unbreaking
Modifier and Type | Method and Description |
---|---|
boolean |
func_92089_a(ItemStack par1ItemStack) |
static boolean |
func_92097_a(ItemStack par0ItemStack,
int 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.
|
addToBookList, calcModifierDamage, calcModifierLiving, canApplyAtEnchantingTable, canApplyTogether, getMinLevel, getName, getTranslatedName, getWeight, 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 func_92089_a(ItemStack par1ItemStack)
func_92089_a
in class Enchantment
public static boolean func_92097_a(ItemStack par0ItemStack, int par1, Random par2Random)