Skip to content

Player Look

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 On Ground 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 On Ground Packet page

Example Packet

FieldValue
Yaw22.4f
Pitch12.68f
On Groundtrue