← Packet index

Packet 161

CorrectPlayerMovePredictionPacket

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.

Packet datagramWire order
HeaderID 161varuint
0PredictionTypeuint8 · 1 byte
1PosVec3 · variable
2Pos DeltaVec3 · variable
3RotationVec2 · variable
4VehicleAngularVelocityfloat · 4 bytes
5On Groundboolean · 1 byte
6TickPlayerInputTick · variable

Serialized fields

7 top-level fields
  1. 0PredictionTypeEnum-as-ValueRewindTypeas uint8
    1. 0Player
    2. 1Vehicle
  2. 1PosVec3
  3. 2Pos DeltaVec3
  4. 3RotationVec2
  5. 4VehicleAngularVelocityoptionalfloat
  6. 5On Groundboolean
  7. 6TickPlayerInputTick
    1. 0Input tickCompressionvaruint64

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.