Skip to content

Player Position

Packet IDDirectionMojang NameMCP Name
0x0BBothMovePlayerPacket.PosPacket11PlayerPosition

Clientbound

Sent to the client when the player is teleported, but their view-direction is irrelevant.

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

Serverbound

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

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

Example Packets

FieldValue
X5669.06
Y68.4
Camera Y70.02
Z-5325.32
On Groundtrue