net.minecraft.world.item.enchantment

public class ProtectionEnchantment

extends Enchantment

buw
net.minecraft.world.item.enchantment.ProtectionEnchantment
net.minecraft.class_1900
net.minecraft.enchantment.ProtectionEnchantment
net.minecraft.src.C_1536_
net.minecraft.world.item.enchantment.EnchantmentProtection

Field summary

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

Constructor summary

ModifierConstructor
public (Enchantment$Rarity weight, ProtectionEnchantment$Type protectionType, EquipmentSlot... slotTypes)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
getMinCost(int arg0)
method_8182(int arg0)
getMinPower(int arg0)
m_6183_(int arg0)
public int
b(int arg0)
getMaxCost(int arg0)
method_20742(int arg0)
getMaxPower(int arg0)
m_6175_(int arg0)
public int
a()
getMaxLevel()
method_8183()
getMaxLevel()
m_6586_()
getMaxLevel()
public int
a(int arg0, asp arg1)
getDamageProtection(int arg0, DamageSource arg1)
method_8181(int arg0, class_1282 arg1)
getProtectionAmount(int arg0, DamageSource arg1)
m_7205_(int p_45134_, C_489_ arg1)
public boolean
a(buj arg0)
checkCompatibility(Enchantment arg0)
method_8180(class_1887 arg0)
canAccept(Enchantment arg0)
m_5975_(C_1505_ arg0)
public static int
a(att arg0, int arg1)
getFireAfterDampener(LivingEntity arg0, int arg1)
method_8238(class_1309 arg0, int arg1)
transformFireDuration(LivingEntity entity, int duration)
m_45138_(C_524_ p_45139_, int p_45140_)
public static double
a(att arg0, double arg1)
getExplosionKnockbackAfterDampener(LivingEntity arg0, double arg1)
method_8237(class_1309 arg0, double arg1)
transformExplosionKnockback(LivingEntity entity, double velocity)
m_45135_(C_524_ p_45136_, double p_45137_)