Player Look
| Packet ID | Direction | Mojang Name | MCP Name |
|---|---|---|---|
0x0C | Both | MovePlayerPacket.Rot | Packet12PlayerLook |
Clientbound
Sent to the client when the players their view-direction must be forced in a certain direction.
| Field | Type | Description |
|---|---|---|
| Yaw | Float | Absolute rotation on the X Axis, in degrees |
| Pitch | Float | Absolute rotation on the Y Axis, in degrees |
| On Ground | Boolean | See 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.
| Field | Type | Description |
|---|---|---|
| Yaw | Float | Absolute rotation on the X Axis, in degrees |
| Pitch | Float | Absolute rotation on the Y Axis, in degrees |
| On Ground | Boolean | See note on On Ground Packet page |
Example Packet
| Field | Value |
|---|---|
| Yaw | 22.4f |
| Pitch | 12.68f |
| On Ground | true |