Skip to content

Player Action

Packet IDDirectionMojang NameMCP Name
0x12BothAnimatePacketPacket18Animation

This packet is sent by both the client and the server for swinging your arm (1) and leaving a bed (3), which is clientbound only. The client sends the Entity Action packet for when it wishes to leave a bed (aka clicking the "Leave Bed" button).

Both

FieldTypeDescription
Player IDIntegerThe ID of the player who did the action
ActionByteThe type of action. Can be 1 or 3

Example Packet

FieldValue
Player ID1298
Action1 (Swing Arm)