Skip to content

Entity Action

Packet IDDirectionMojang NameMCP Name
0x13ServerboundPlayerCommandPacketPacket19EntityAction

This packet is sent by the client for performing certain actions, defined via a bitmask.

  • Bit 0 is for Crouching
  • Bit 1 is for if the Entity is on fire
  • Bit 2 is for if the Entity is sitting

Serverbound

FieldTypeDescription
Entity IDIntegerThe ID of the entity that did the action
ActionByteThe type of action

Example Packet

FieldValue
Entity ID1298
Action3 (On Fire & Crouch)