0x05 S05PacketSpawnPosition

Sets the player's spawn position (where compass points and respawn occurs).

Clientbound (Server → Client) · PLAY · net/minecraft/network/play/server/S05PacketSpawnPosition.java
playerworldspawn

Fields

FieldTypeDescription
spawnPosBlockPosSpawn block position

Wire Encoding

FieldTypeNotes
Spawn PositionBlockPos (long)

MCP References

MCPNetHandlerPlayClient.handleSpawnPosition()

Handler Interface

HNDINetHandlerPlayClient

implementation Implementation Cases

Compass

Read world spawn for compass/waypoint modules.

Vanilla hook: EventReceivePacket
WorldInfo

Read world spawn for compass/waypoint modules.

Vanilla hook: EventReceivePacket
← Back to all packets