Skip to content

Set Spawn Position

Packet IDDirectionMojang NameMCP Name
0x06ClientboundSetSpawnPositionPacketPacket6SpawnPosition

This is sent after the player has finished logging in. It can be sent at any time to update where the player's compass points to.

Clientbound

FieldTypeDescription
XIntegerThe X position of the spawn point
YIntegerThe Y position of the spawn point
ZIntegerThe Z position of the spawn point

Example Packet

FieldValue
X117
Y70
Z-46