Skip to content

Player Position and Look

Packet IDDirectionMojang NameMCP Name
0x0DBothMovePlayerPacket.PosRotPacket13PlayerLookMove

Clientbound

Sent to the client when the player is teleported and their view direction needs to be defined.

FieldTypeDescription
XDoubleThe X position of the player
YDoubleThe Y position of the player
Camera YDoubleThe Y position of the player camera
ZDoubleThe Z position of the player
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 is moving and looking around.

FieldTypeDescription
XDoubleThe X position of the player
YDoubleThe Y position of the player
Camera YDoubleThe Y position of the player camera
ZDoubleThe Z position of the player
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 Packets

FieldValue
X5669.06
Y68.4
Camera Y70.02
Z-5325.32
Yaw22.4f
Pitch12.68f
On Groundtrue