net.minecraft.network.protocol.game

public class ClientboundPlayerCombatPacket

implements Packet<ClientGamePacketListener>

nt
net.minecraft.network.protocol.game.ClientboundPlayerCombatPacket
net.minecraft.class_2698
net.minecraft.client.network.packet.CombatEventS2CPacket
net.minecraft.network.play.server.SCombatPacket
net.minecraft.server.v1_15_R1.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 arg0, ClientboundPlayerCombatPacket$Event arg1)
public (CombatTracker arg0, ClientboundPlayerCombatPacket$Event arg1, Component deathMessage)

Method summary

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