MCBE
OverviewPacketsRespawn
ID 0x2D · 45BothPlayer

Respawn

Coordinates the respawn flow: the server searches for a spawn, the client readies, the server confirms the final position.

respawn.bin
struct Respawn {
  Vec3                                         Pos;
  PlayerRespawnState                           State;
  ActorRuntimeID                               RuntimeId;
}

Structure

FieldTypeDescription
PosVec3
StatePlayerRespawnState
Runtime IdActorRuntimeID

Structure of Vec3

FieldTypeDescription
Xfloat32 (LE)
Yfloat32 (LE)
Zfloat32 (LE)

State values

0 Searching
1 Ready — server sets the spawn
2 ClientReady — client wants to respawn

Notes

  • No special notes.