net.minecraft.world.item.enchantment

public class ProtectionEnchantment

extends Enchantment

bgf
net.minecraft.world.item.enchantment.ProtectionEnchantment
net.minecraft.class_1900
net.minecraft.enchantment.ProtectionEnchantment
net.minecraft.enchantment.ProtectionEnchantment
net.minecraft.server.v1_14_R1.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 type, EquipmentSlot... slotTypes)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
getMinCost(int arg0)
method_8182(int arg0)
getMinimumPower(int arg0)
func_77321_a(int arg0)
public int
b(int arg0)
getMaxCost(int arg0)
method_20742(int arg0)
getMaximumPower(int arg0)
func_223551_b(int arg0)
public int
a()
getMaxLevel()
method_8183()
getMaximumLevel()
func_77325_b()
getMaxLevel()
public int
a(int arg0, ahx 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(bfs arg0)
checkCompatibility(Enchantment arg0)
method_8180(class_1887 arg0)
differs(Enchantment arg0)
func_77326_a(Enchantment arg0)
public static int
a(aix 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(aix 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)