net.minecraft.component.type

public record DeathProtectionComponent

dfg
net.minecraft.world.item.component.DeathProtection
net.minecraft.class_10216
net.minecraft.component.type.DeathProtectionComponent
net.minecraft.unmapped.C_npqbextr
net.minecraft.component.type.DeathProtectionComponent
net.minecraft.src.C_345898_

Field summary

Modifier and TypeField
private final List<ConsumeEffect>
d
deathEffects
comp_3211
deathEffects
f_tolnophw
deathEffects
f_349447_
public static final com.mojang.serialization.Codec<DeathProtectionComponent>
a
CODEC
field_54231
CODEC
f_nglhmrrw
CODEC
f_347909_
public static final PacketCodec<RegistryByteBuf, DeathProtectionComponent>
b
STREAM_CODEC
field_54232
PACKET_CODEC
f_iuyvkbbd
PACKET_CODEC
f_349270_
public static final DeathProtectionComponent
c
TOTEM_OF_UNDYING
field_54233
TOTEM_OF_UNDYING
f_jcumcpks
TOTEM_OF_UNDYING
f_348981_

Constructor summary

ModifierConstructor
public (List<ConsumeEffect> deathEffects)

Method summary

Modifier and TypeMethod
public void
a(dcv o, cam arg1)
applyEffects(ItemStack arg0, LivingEntity arg1)
method_64201(class_1799 arg0, class_1309 arg1)
applyDeathEffects(ItemStack stack, LivingEntity entity)
m_wblfmgke(C_sddaxwyk arg0, C_usxaxydn arg1)
applyDeathEffects(ItemStack stack, LivingEntity entity)
m_357222_(C_1391_ p_363527_, C_524_ arg1)
public List<ConsumeEffect>
a()
deathEffects()
comp_3211()
deathEffects()
m_glnovbxr()
deathEffects()
f_349447_()