net.minecraft.world.item.component

public record DeathProtection

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

Field summary

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

Constructor summary

ModifierConstructor
public (List<ConsumeEffect> deathEffects)

Method summary

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