net.minecraft.world.item.enchantment

public class ProtectionEnchantment

extends Enchantment

All mapped superinterfaces:

FeatureElement

dak
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.EnchantmentMultishot

Field summary

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

Constructor summary

ModifierConstructor
public (Enchantment$EnchantmentDefinition properties, ProtectionEnchantment$Type protectionType)

Method summary

Modifier and TypeMethod
public int
a(int arg0, bro 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(dab 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(btq 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(btq 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_)