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, setNamepublic int getMinEnchantability(int par1)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int par1)
getMaxEnchantability in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantmentpublic int calcModifierDamage(int par1,
DamageSource par2DamageSource)
calcModifierDamage in class Enchantmentpublic java.lang.String getName()
getName in class Enchantmentpublic boolean canApplyTogether(Enchantment par1Enchantment)
canApplyTogether in class Enchantmentpublic static int getFireTimeForEntity(Entity par0Entity, int par1)
public static double func_92092_a(Entity par0Entity, double par1)