1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-09-20 16:49:43 +00:00
Files
bedrock-protocol-docs/dot/CorrectPlayerMovePredictionPacket.dot
2025-07-09 13:43:22 -07:00

73 lines
5.8 KiB
Plaintext

digraph "CorrectPlayerMovePredictionPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 -> 3
3 -> 4
4 -> 5
3 -> 6
6 -> 7
3 -> 8
8 -> 9
0 -> 10
10 -> 11
11 -> 12
10 -> 13
13 -> 14
10 -> 15
15 -> 16
0 -> 17
17 -> 18
18 -> 19
17 -> 20
20 -> 21
0 -> 22
22 -> 23
0 -> 24
24 -> 25
0 -> 26
26 -> 27
27 -> 28
0 [label="CorrectPlayerMovePredictionPacket",comment="name: \"CorrectPlayerMovePredictionPacket\", typeName: \"\", id: 0, branchId: 0, recurseId: -1, attributes: 0, notes: \"Sent to a player when their simulation of movement mismatches enough from the server that it wants to correct the client.\""];
1 [label="PredictionType",comment="name: \"PredictionType\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: \"Vehicle or Player Prediction\""];
2 [label="enum enum RewindType",comment="name: \"enum enum RewindType\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"Vehicle or Player Prediction\""];
3 [label="Pos",comment="name: \"Pos\", typeName: \"\", id: 3, branchId: 0, recurseId: -1, attributes: 0, notes: \"Corrected position\""];
4 [label="X",comment="name: \"X\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
5 [label="float",comment="name: \"float\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
6 [label="Y",comment="name: \"Y\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
7 [label="float",comment="name: \"float\", typeName: \"\", id: 7, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
8 [label="Z",comment="name: \"Z\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
9 [label="float",comment="name: \"float\", typeName: \"\", id: 9, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
10 [label="Pos Delta",comment="name: \"Pos Delta\", typeName: \"\", id: 10, branchId: 0, recurseId: -1, attributes: 0, notes: \"Corrected velocity\""];
11 [label="X",comment="name: \"X\", typeName: \"\", id: 11, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
12 [label="float",comment="name: \"float\", typeName: \"\", id: 12, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
13 [label="Y",comment="name: \"Y\", typeName: \"\", id: 13, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
14 [label="float",comment="name: \"float\", typeName: \"\", id: 14, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
15 [label="Z",comment="name: \"Z\", typeName: \"\", id: 15, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
16 [label="float",comment="name: \"float\", typeName: \"\", id: 16, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
17 [label="Rotation",comment="name: \"Rotation\", typeName: \"\", id: 17, branchId: 0, recurseId: -1, attributes: 0, notes: \"Corrected rotation. Only sent when PredictionType is Vehicle\""];
18 [label="X",comment="name: \"X\", typeName: \"\", id: 18, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
19 [label="float",comment="name: \"float\", typeName: \"\", id: 19, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
20 [label="Y",comment="name: \"Y\", typeName: \"\", id: 20, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
21 [label="float",comment="name: \"float\", typeName: \"\", id: 21, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
22 [label="VehicleAngularVelocity",comment="name: \"VehicleAngularVelocity\", typeName: \"\", id: 22, branchId: 0, recurseId: -1, attributes: 0, notes: \"Angular Velocity for a vehicle. Only sent when PredictionType is Vehicle\""];
23 [label="float",comment="name: \"float\", typeName: \"\", id: 23, branchId: 0, recurseId: -1, attributes: 512, notes: \"Angular Velocity for a vehicle. Only sent when PredictionType is Vehicle\""];
24 [label="On Ground",comment="name: \"On Ground\", typeName: \"\", id: 24, branchId: 0, recurseId: -1, attributes: 0, notes: \"Is on ground\""];
25 [label="bool",comment="name: \"bool\", typeName: \"\", id: 25, branchId: 0, recurseId: -1, attributes: 512, notes: \"Is on ground\""];
26 [label="Tick",comment="name: \"Tick\", typeName: \"\", id: 26, branchId: 0, recurseId: -1, attributes: 0, notes: \"Which frame we're correcting; should match the tick in the Player Auth Input packet\""];
27 [label="Input tick",comment="name: \"Input tick\", typeName: \"\", id: 27, branchId: 0, recurseId: -1, attributes: 0, notes: \"In server authoritative movement mode the client supplies this in PlayerAuthInputPacket.
For any client-bound packets containing a tick, the server should supply the tick value corresponding to the most recently processed PlayerAuthInputPacket.
This allows the client to adjust any client predictions made while the packet was in flight.
If the packet is being sent to the client but not relating to data of the player or a client-predicted vehicle, it can be zero.
It is also acceptable to specify zero for players, although this may lead to minor visual flickers and less smooth application of CorrectPlayerMovePredictionPacket.\""];
28 [label="unsigned varint64",comment="name: \"unsigned varint64\", typeName: \"\", id: 28, branchId: 0, recurseId: -1, attributes: 512, notes: \"In server authoritative movement mode the client supplies this in PlayerAuthInputPacket.
For any client-bound packets containing a tick, the server should supply the tick value corresponding to the most recently processed PlayerAuthInputPacket.
This allows the client to adjust any client predictions made while the packet was in flight.
If the packet is being sent to the client but not relating to data of the player or a client-predicted vehicle, it can be zero.
It is also acceptable to specify zero for players, although this may lead to minor visual flickers and less smooth application of CorrectPlayerMovePredictionPacket.\""];
{ rank = max;2;5;7;9;12;14;16;19;21;23;25;28}
}