Skip to content

Set Compass Target 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. Typically it's used to indicate where the player will respawn.

Clientbound

FieldTypeDescription
XIntegerThe X block position of the target
YIntegerThe Y block position of the target
ZIntegerThe Z block position of the target

Example Packet

FieldValue
X117
Y70
Z-46