public class EnchantmentProtection extends Enchantment
Modifier and Type | Field and Description |
---|---|
int |
protectionType |
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 |
---|
EnchantmentProtection(int par1,
int par2,
int par3) |
Modifier and Type | Method and Description |
---|---|
int |
calcModifierDamage(int par1,
DamageSource par2DamageSource) |
boolean |
canApplyTogether(Enchantment par1Enchantment) |
static double |
func_92092_a(Entity par0Entity,
double par1) |
static int |
getFireTimeForEntity(Entity par0Entity,
int par1) |
int |
getMaxEnchantability(int par1) |
int |
getMaxLevel() |
int |
getMinEnchantability(int par1) |
java.lang.String |
getName() |
addToBookList, calcModifierLiving, canApply, canApplyAtEnchantingTable, func_151367_b, func_151368_a, getMinLevel, 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 int calcModifierDamage(int par1, DamageSource par2DamageSource)
calcModifierDamage
in class Enchantment
public java.lang.String getName()
getName
in class Enchantment
public boolean canApplyTogether(Enchantment par1Enchantment)
canApplyTogether
in class Enchantment
public static int getFireTimeForEntity(Entity par0Entity, int par1)
public static double func_92092_a(Entity par0Entity, double par1)