From 17bc00acfff8314f579df352abebfc553b4c8849 Mon Sep 17 00:00:00 2001 From: Cdm2883 Date: Wed, 17 Apr 2024 00:14:04 +0800 Subject: [PATCH] Fixed 1.20.71 correctPlayerMovePredictionPacket missing `prediction_type` --- data/bedrock/1.20.71/protocol.json | 4 ++++ data/bedrock/latest/proto.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/data/bedrock/1.20.71/protocol.json b/data/bedrock/1.20.71/protocol.json index 6f691a4eb..2df2a973d 100644 --- a/data/bedrock/1.20.71/protocol.json +++ b/data/bedrock/1.20.71/protocol.json @@ -10276,6 +10276,10 @@ { "name": "tick", "type": "varint64" + }, + { + "name": "prediction_type", + "type": "u8" } ] ], diff --git a/data/bedrock/latest/proto.yml b/data/bedrock/latest/proto.yml index 70a93aa80..5c01790c3 100644 --- a/data/bedrock/latest/proto.yml +++ b/data/bedrock/latest/proto.yml @@ -3410,6 +3410,8 @@ packet_correct_player_move_prediction: on_ground: bool # Tick is the tick of the movement which was corrected by this packet. tick: varint64 + # Movement prediction type. 0 for vehicle and 1 for player. + prediction_type: u8 # ItemComponent is sent by the server to attach client-side components to a custom item. packet_item_component: