net.minecraft.enchantment

public class ProtectionEnchantment

extends Enchantment

aiu
net.minecraft.class_1140
net.minecraft.enchantment.ProtectionEnchantment
net.minecraft.enchantment.EnchantmentProtection

Field summary

Modifier and TypeField
public final ProtectionEnchantment$Type
a
field_12423
type
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)
getMinEnchantability(int arg0)
public int
b(int arg0)
method_3513(int arg0)
getMaxXpRequirement(int arg0)
getMaxEnchantability(int arg0)
public int
b()
method_3512()
getMaxLevel()
getMaxLevel()
public int
a(int arg0, ry arg1)
method_3509(int arg0, class_856 arg1)
getExtraProtection(int arg0, DamageSource arg1)
calcModifierDamage(int arg0, DamageSource arg1)
public String
a()
method_3507()
getTranslationKey()
getName()
public boolean
a(aii arg0)
method_3511(class_1127 arg0)
isCompatible(Enchantment arg0)
canApplyTogether(Enchantment arg0)
public static int
a(sw arg0, int arg1)
method_11466(class_1699 arg0, int arg1)
modifyOnFireTimer(LivingEntity entity, int fireTicks)
getFireTimeForEntity(EntityLivingBase arg0, int arg1)
public static double
a(sw arg0, double arg1)
method_11465(class_1699 arg0, double arg1)
modifyExplosionDamage(LivingEntity entity, double damage)
getBlastDamageReduction(EntityLivingBase entityLivingBaseIn, double damage)