Skip to content

Player Rotation ​

Packet IDDirectionMojang NameMCP Name
0x0CBothMovePlayerPacket.RotPacket12PlayerLook

Clientbound ​

Sent to the client when the players their view-direction must be forced in a certain direction.

FieldTypeDescription
YawFloatAbsolute rotation on the X Axis, in degrees
PitchFloatAbsolute rotation on the Y Axis, in degrees
On GroundBooleanSee note on Player Movement Packet page

Serverbound ​

Sent to the server when the player hasn't moved in a while, but is changing their viewing direction.

FieldTypeDescription
YawFloatAbsolute rotation on the X Axis, in degrees
PitchFloatAbsolute rotation on the Y Axis, in degrees
On GroundBooleanSee note on Player Movement Packet page

Example Packet ​

FieldValue
Yaw22.4f
Pitch12.68f
On Groundtrue