Player Combat Enter
Play 0x43, server → client.
play · 0x43 · clientbound (server → client)
Tells the client that it has entered combat. It has no fields. The vanilla client ignores it; it exists for legacy combat tracking.
Sent by the server, read by the client. Listen for it with client.on("PlayerCombatEnter", (data) => …) on the receiving side.
Fields
No fields.
Send it
await client.sendPacket("PlayerCombatEnter");
Field aliases listed under Notes are accepted as alternative keys when writing.
Source: src/Core/Versions/776/Packets/play/clientbound/PlayerCombatEnter.ts