public class EnchantmentDamage extends Enchantment
Modifier and Type | Field and Description |
---|---|
int |
damageType |
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
Constructor and Description |
---|
EnchantmentDamage(int p_i1923_1_,
int p_i1923_2_,
int p_i1923_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canApply(ItemStack p_92089_1_) |
boolean |
canApplyTogether(Enchantment p_77326_1_) |
void |
func_151368_a(EntityLivingBase p_151368_1_,
Entity p_151368_2_,
int p_151368_3_) |
float |
func_152376_a(int p_152376_1_,
EnumCreatureAttribute p_152376_2_) |
int |
getMaxEnchantability(int p_77317_1_) |
int |
getMaxLevel() |
int |
getMinEnchantability(int p_77321_1_) |
java.lang.String |
getName() |
calcModifierDamage, func_151367_b, getMinLevel, getTranslatedName, getWeight, setName
public EnchantmentDamage(int p_i1923_1_, int p_i1923_2_, int p_i1923_3_)
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 float func_152376_a(int p_152376_1_, EnumCreatureAttribute p_152376_2_)
func_152376_a
in class Enchantment
public java.lang.String getName()
getName
in class Enchantment
public boolean canApplyTogether(Enchantment p_77326_1_)
canApplyTogether
in class Enchantment
public boolean canApply(ItemStack p_92089_1_)
canApply
in class Enchantment
public void func_151368_a(EntityLivingBase p_151368_1_, Entity p_151368_2_, int p_151368_3_)
func_151368_a
in class Enchantment