home / java340 / clientbound / combat-event
Combat event
Encode/decode this packet in Sandbox
Id: 45
Id (hex): 2D
Id (bin): 00101101
Clientbound: ✔️
Serverbound: ✖️
Fields
Name | Type |
---|---|
event id | ubyte |
Variants
Variant | Field | Value |
---|---|---|
Enter Combat | eventId | 0 |
End Combat | eventId | 1 |
Entity Dead | eventId | 2 |
Enter Combat
End Combat
Additional Fields
Name | Type |
---|---|
duration | varuint |
entity id | uint |
Entity Dead
Additional Fields
Name | Type |
---|---|
player id | varuint |
entity id | uint |
message | string |