net.minecraft.world.item.enchantment

public class ProtectionEnchantment

extends Enchantment

bqc
net.minecraft.world.item.enchantment.ProtectionEnchantment
net.minecraft.class_1900
net.minecraft.enchantment.ProtectionEnchantment
net.minecraft.enchantment.ProtectionEnchantment
net.minecraft.server.v1_16_R2.EnchantmentProtection

Field summary

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

Constructor summary

ModifierConstructor
public (Enchantment$Rarity weight, ProtectionEnchantment$Type arg1, EquipmentSlot... arg2)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
getMinCost(int arg0)
method_8182(int arg0)
getMinPower(int arg0)
func_77321_a(int arg0)
public int
b(int arg0)
getMaxCost(int arg0)
method_20742(int arg0)
getMaxPower(int arg0)
func_223551_b(int arg0)
public int
a()
getMaxLevel()
method_8183()
getMaxLevel()
func_77325_b()
getMaxLevel()
public int
a(int arg0, aph arg1)
getDamageProtection(int arg0, DamageSource arg1)
method_8181(int arg0, class_1282 arg1)
getProtectionAmount(int arg0, DamageSource arg1)
func_77318_a(int arg0, DamageSource arg1)
public boolean
a(bpp arg0)
checkCompatibility(Enchantment arg0)
method_8180(class_1887 arg0)
canAccept(Enchantment arg0)
func_77326_a(Enchantment arg0)
public static int
a(aqj arg0, int arg1)
getFireAfterDampener(LivingEntity arg0, int arg1)
method_8238(class_1309 arg0, int arg1)
transformFireDuration(LivingEntity entity, int duration)
func_92093_a(LivingEntity arg0, int arg1)
public static double
a(aqj arg0, double arg1)
getExplosionKnockbackAfterDampener(LivingEntity arg0, double arg1)
method_8237(class_1309 arg0, double arg1)
transformExplosionKnockback(LivingEntity entity, double velocity)
func_92092_a(LivingEntity arg0, double arg1)