net.minecraft.network.protocol.game

public record ClientboundDamageEventPacket

implements Packet<ClientGamePacketListener>

vq
net.minecraft.network.protocol.game.ClientboundDamageEventPacket
net.minecraft.class_8143
net.minecraft.unmapped.C_jpgyajxg
net.minecraft.network.packet.s2c.play.EntityDamageS2CPacket
net.minecraft.network.packet.s2c.play.DamageEventS2CPacket
net.minecraft.src.C_268363_
net.minecraft.network.protocol.game.ClientboundDamageEventPacket

Field summary

Modifier and TypeField
private final int
a
entityId
comp_1267
f_pcfmftes
entityId
entityId
f_268504_
private final int
b
sourceTypeId
comp_1268
f_flknucrn
sourceTypeId
sourceTypeId
f_268584_
private final int
c
sourceCauseId
comp_1269
f_tlwxqfqt
sourceCauseId
sourceCauseId
f_268559_
private final int
d
sourceDirectId
comp_1270
f_ctguupjk
sourceDirectId
sourceDirectId
f_268649_
private final Optional<Vec3>
e
sourcePosition
comp_1271
f_fiphmbzp
sourcePosition
sourcePosition
f_268712_

Constructor summary

ModifierConstructor
public (Entity entity, DamageSource damageSource)
public (FriendlyByteBuf buf)
public (int entityId, int sourceTypeId, int sourceCauseId, int sourceDirectId, Optional<Vec3> sourcePosition)

Method summary

Modifier and TypeMethod
private static void
a(sf arg0, int arg1)
writeOptionalEntityId(FriendlyByteBuf arg0, int arg1)
method_49072(class_2540 arg0, int arg1)
m_bmxthmjk(C_idfydwco arg0, int arg1)
writeOffsetVarInt(PacketByteBuf buf, int value)
writeOptionalEntityId(PacketByteBuf buf, int id)
m_269073_(C_4983_ p_270812_, int p_270852_)
private static int
b(sf arg0)
readOptionalEntityId(FriendlyByteBuf arg0)
method_49075(class_2540 arg0)
m_brkyiulx(C_idfydwco arg0)
readOffsetVarInt(PacketByteBuf buf)
readOptionalEntityId(PacketByteBuf buf)
m_269135_(C_4983_ p_270462_)
public void
a(sf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
m_pwnpydub(C_idfydwco arg0)
write(PacketByteBuf arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ur arg0)
handle(ClientGamePacketListener arg0)
method_49074(class_2602 arg0)
m_gfczvayz(C_rbfddnlp arg0)
apply(ClientPlayPacketListener arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public DamageSource
a(cmm arg0)
getSource(Level arg0)
method_49071(class_1937 arg0)
m_xjoqztmw(C_cdctfzbn arg0)
createDamageSource(World world)
getDamageSource(World world)
m_269591_(C_1596_ arg0)
public int
a()
entityId()
comp_1267()
m_olblxwsq()
entityId()
entityId()
f_268504_()
public int
c()
sourceTypeId()
comp_1268()
m_hkurgbgu()
sourceTypeId()
sourceTypeId()
f_268584_()
public int
d()
sourceCauseId()
comp_1269()
m_nqmxcxai()
sourceCauseId()
sourceCauseId()
f_268559_()
public int
e()
sourceDirectId()
comp_1270()
m_fxnxbkis()
sourceDirectId()
sourceDirectId()
f_268649_()
public Optional<Vec3>
f()
sourcePosition()
comp_1271()
m_xeieojvu()
sourcePosition()
sourcePosition()
f_268712_()