Skip to content

Player Action ​

Packet IDDirectionMojang NameMCP Name
0x13ServerboundPlayerCommandPacketPacket19EntityAction

This packet is sent by the client when the player performs certain actions.

Serverbound ​

FieldTypeDescription
Entity IDIntegerThe ID of the entity that did the action
ActionByteThe type of action (see below)

Action Values ​

ValueDescription
1Start Sneaking
2Stop Sneaking
3Stop Sleeping

Example Packet ​

FieldValue
Entity ID1298
Action1 (Start Sneaking)