Packet 43
SetSpawnPositionPacket
When a player logs in or the SetWorldSpawnCommand is used this is sent from the server to the client. Does not change when using a bed, that is a separate packet (RespawnPacket)
see RespawnPacket
HeaderID 43varuint
0Spawn Position Typevarint32 · variable (up to 5 bytes)
1Block PositionBlockPos · variable
2Dimension typeDimensionType · variable
3Spawn Block PosBlockPos · variable
Serialized fields
4 top-level fields0Spawn Position TypeCompressionEnum-as-ValueSpawnPositionTypeas
varint32- 0
PlayerRespawn - 1
WorldSpawn
- 0
2Dimension typeDimensionType
- 0valueCompression
varint32
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this packet.
All builds
Changes between consecutive stable releases and preview builds.
No changes are recorded for this packet.