net.minecraft.world.item.enchantment

public class ProtectionEnchantment

extends Enchantment

cfe
net.minecraft.world.item.enchantment.ProtectionEnchantment
net.minecraft.class_1900
net.minecraft.unmapped.C_zvvqhnrc
net.minecraft.enchantment.ProtectionEnchantment
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
f_atdepbwi
protectionType
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)
m_rtwmhoyh(int arg0)
getMinPower(int arg0)
getMinPower(int arg0)
m_6183_(int arg0)
public int
b(int arg0)
getMaxCost(int arg0)
method_20742(int arg0)
m_ztycenho(int arg0)
getMaxPower(int arg0)
getMaxPower(int arg0)
m_6175_(int arg0)
public int
a()
getMaxLevel()
method_8183()
m_glfcpyqa()
getMaxLevel()
getMaxLevel()
m_6586_()
public int
a(int arg0, baw arg1)
getDamageProtection(int arg0, DamageSource arg1)
method_8181(int arg0, class_1282 arg1)
m_zxuhlvyz(int arg0, C_sbxfkpyv arg1)
getProtectionAmount(int arg0, DamageSource arg1)
getProtectionAmount(int arg0, DamageSource arg1)
m_7205_(int p_45134_, C_489_ arg1)
public boolean
a(cer arg0)
checkCompatibility(Enchantment arg0)
method_8180(class_1887 arg0)
m_daqyrypu(C_jxtrubuh arg0)
canAccept(Enchantment arg0)
canAccept(Enchantment arg0)
m_5975_(C_1505_ arg0)
public static int
a(bcc arg0, int arg1)
getFireAfterDampener(LivingEntity arg0, int arg1)
method_8238(class_1309 arg0, int arg1)
m_hqnerwyu(C_usxaxydn arg0, int arg1)
transformFireDuration(LivingEntity entity, int duration)
transformFireDuration(LivingEntity entity, int duration)
m_45138_(C_524_ p_45139_, int p_45140_)
public static double
a(bcc arg0, double arg1)
getExplosionKnockbackAfterDampener(LivingEntity arg0, double arg1)
method_8237(class_1309 arg0, double arg1)
m_xfyburau(C_usxaxydn arg0, double arg1)
transformExplosionKnockback(LivingEntity entity, double velocity)
transformExplosionKnockback(LivingEntity entity, double velocity)
m_45135_(C_524_ p_45136_, double p_45137_)