MCBE
OverviewPacketsClientMovementPredictionSync
ID 0x142 · 322Client → ServerMovement

ClientMovementPredictionSync

Only used in Server-Authoritative Movement. Sent periodically if the client has received corrections from the server. Contains information about client-predictions that are relevant to movement.

client-movement-prediction-sync.bin
struct ClientMovementPredictionSync {
  ActorDataFlagComponent                       ActorDataFlag;
  ActorDataBoundingBoxComponent                ActorBoundingBox;
  float32 × 9 (fixed)                          MovementAttributes;
  ActorUniqueID                                ActorId;
  bool                                         IsFlying;
}

Structure

FieldTypeDescription
Actor Data FlagActorDataFlagComponent
Actor Bounding BoxActorDataBoundingBoxComponent
Movement Attributesfloat32 × 9 (fixed)
Actor IdActorUniqueID
Is Flyingbool

Structure of ActorDataFlagComponent

FieldTypeDescription
Valuebitset COUNT (base-128 varint)

Structure of ActorDataBoundingBoxComponent

FieldTypeDescription
Valuefloat32 × 3 (fixed)

Notes

  • No special notes.