net.minecraft.enchantment

public class ProtectionEnchantment

extends Enchantment

alw
net.minecraft.class_1140
net.minecraft.enchantment.ProtectionEnchantment
net.minecraft.enchantment.EnchantmentProtection
net.minecraft.enchantment.EnchantmentProtection

Field summary

Modifier and TypeField
public final ProtectionEnchantment$Type
a
field_12423
type
field_77356_a
protectionType

Constructor summary

ModifierConstructor
public (Enchantment$Rarity rarity, ProtectionEnchantment$Type type, EquipmentSlot... slots)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
method_3508(int arg0)
getMinXpRequirement(int arg0)
func_77321_a(int arg0)
getMinEnchantability(int arg0)
public int
b(int arg0)
method_3513(int arg0)
getMaxXpRequirement(int arg0)
func_77317_b(int arg0)
getMaxEnchantability(int arg0)
public int
b()
method_3512()
getMaxLevel()
func_77325_b()
getMaxLevel()
public int
a(int arg0, ur arg1)
method_3509(int arg0, class_856 arg1)
getExtraProtection(int arg0, DamageSource arg1)
func_77318_a(int arg0, DamageSource arg1)
calcModifierDamage(int arg0, DamageSource arg1)
public String
a()
method_3507()
getTranslationKey()
func_77320_a()
getName()
public boolean
a(alk arg0)
method_3511(class_1127 arg0)
isCompatible(Enchantment arg0)
func_77326_a(Enchantment arg0)
canApplyTogether(Enchantment arg0)
public static int
a(vp arg0, int arg1)
method_11466(class_1699 arg0, int arg1)
modifyOnFireTimer(LivingEntity entity, int fireTicks)
func_92093_a(EntityLivingBase arg0, int arg1)
getFireTimeForEntity(EntityLivingBase arg0, int arg1)
public static double
a(vp arg0, double arg1)
method_11465(class_1699 arg0, double arg1)
modifyExplosionDamage(LivingEntity entity, double damage)
func_92092_a(EntityLivingBase arg0, double arg1)
getBlastDamageReduction(EntityLivingBase entityLivingBaseIn, double damage)