MCBE
OverviewPacketsPlayerLocation
ID 0x146 · 326Server → ClientPlayer

PlayerLocation

Sent by PlayerLocationSender when a player position changes beyond a certain angle.

player-location.bin
struct PlayerLocation {
  ActorUniqueID                                Id;
  tagged case index (0=CoordinatesLocation, 1=HiddenLocation) Location;
}

Structure

FieldTypeDescription
IdActorUniqueID
Locationtagged case index (0=CoordinatesLocation, 1=HiddenLocation)Variant: an index selects the payload type — see the tables below.

Structure of CoordinatesLocation

FieldTypeDescription
TypeType
PosVec3

Structure of HiddenLocation

FieldTypeDescription
TypeType

Structure of Vec3

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

Notes

  • No special notes.