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 p_i1936_1_,
int p_i1936_2_,
int p_i1936_3_) |
| Modifier and Type | Method and Description |
|---|---|
int |
calcModifierDamage(int p_77318_1_,
DamageSource p_77318_2_) |
boolean |
canApplyTogether(Enchantment p_77326_1_) |
static double |
func_92092_a(Entity p_92092_0_,
double p_92092_1_) |
static int |
getFireTimeForEntity(Entity p_92093_0_,
int p_92093_1_) |
int |
getMaxEnchantability(int p_77317_1_) |
int |
getMaxLevel() |
int |
getMinEnchantability(int p_77321_1_) |
java.lang.String |
getName() |
canApply, func_151367_b, func_151368_a, func_152376_a, getMinLevel, getTranslatedName, getWeight, setNamepublic EnchantmentProtection(int p_i1936_1_,
int p_i1936_2_,
int p_i1936_3_)
public int getMinEnchantability(int p_77321_1_)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int p_77317_1_)
getMaxEnchantability in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantmentpublic int calcModifierDamage(int p_77318_1_,
DamageSource p_77318_2_)
calcModifierDamage in class Enchantmentpublic java.lang.String getName()
getName in class Enchantmentpublic boolean canApplyTogether(Enchantment p_77326_1_)
canApplyTogether in class Enchantmentpublic static int getFireTimeForEntity(Entity p_92093_0_, int p_92093_1_)
public static double func_92092_a(Entity p_92092_0_, double p_92092_1_)