net.minecraft.network.protocol.game

public class ClientboundPlayerCombatPacket

implements Packet<ClientGamePacketListener>

qh
net.minecraft.network.protocol.game.ClientboundPlayerCombatPacket
net.minecraft.class_2698
net.minecraft.network.packet.s2c.play.CombatEventS2CPacket
net.minecraft.network.play.server.SCombatPacket
net.minecraft.server.v1_16_R3.PacketPlayOutCombatEvent

Field summary

Modifier and TypeField
public ClientboundPlayerCombatPacket$Event
a
event
field_12347
type
field_179776_a
public int
b
playerId
field_12349
entityId
field_179774_b
public int
c
killerId
field_12348
attackerEntityId
field_179775_c
public int
d
duration
field_12345
timeSinceLastAttack
field_179772_d
public Component
e
message
field_12346
deathMessage
field_179773_e

Constructor summary

ModifierConstructor
public ()
public (CombatTracker damageTracker, ClientboundPlayerCombatPacket$Event type)
public (CombatTracker damageTracker, ClientboundPlayerCombatPacket$Event type, Component deathMessage)

Method summary

Modifier and TypeMethod
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(om arg0)
handle(ClientGamePacketListener arg0)
method_11706(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
func_148833_a(IClientPlayNetHandler arg0)
public boolean
a()
isSkippable()
method_11051()
isWritingErrorSkippable()
func_211402_a()