MCBE
OverviewPacketsCorrectPlayerMovePrediction
ID 0xA1 · 161Server → ClientMovement

CorrectPlayerMovePrediction

Used only in server authoritative movement mode, see ServerAuthMovementMode documentation.<br> Since it is sent to the specified client the target player is implied to be the receiver.<br> It is an optional part of the server authoritative protocol. A server could choose to never send this or do all corrections through MovePlayerPacket, although doing so would likely provide less smooth results.

correct-player-move-prediction.bin
struct CorrectPlayerMovePrediction {
  RewindType                                   PredictionType;
  Vec3                                         Pos;
  Vec3                                         PosDelta;
  Vec2                                         VehicleRotation;
  optional byte + float32                      VehicleAngularVelocity;
  bool                                         OnGround;
  PlayerInputTick                              Tick;
}

Structure

FieldTypeDescription
Prediction TypeRewindType
PosVec3
Pos DeltaVec3
Vehicle RotationVec2
Vehicle Angular Velocityoptional byte + float32Presence flag on the wire; value omitted when absent.
On Groundbool
TickPlayerInputTick

Structure of Vec3

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

Structure of Vec2

FieldTypeDescription
Xfloat32 (LE)
Yfloat32 (LE)

Notes

  • No special notes.