From f00c2ccc5a0763bc04db48705772df58158cf0dd Mon Sep 17 00:00:00 2001 From: irkmandeer <37556625+irkmandeer@users.noreply.github.com> Date: Sun, 9 Jul 2023 02:56:49 +0200 Subject: [PATCH] Bedrock protocol changes (#730) * Fixed types for packet_player_auth_input 1.17.x Changed block_position from vec3i to BlockCoordinates in TransactionUseItem (types.yml) - The y value for block_position needs to be varint and not zigzag32 - The face value needs be zigzag32 and not varint Changed position from BlockCoordinates to vec3i in packet_player_auth_input.input_data.block_action (proto.yml) - The y value for position needs to be zigzag32 and not varint * Fixed types for packet_player_auth_input 1.18.x Changed block_position from vec3i to BlockCoordinates in TransactionUseItem (types.yml) - The y value for block_position needs to be varint and not zigzag32 - The face value needs be zigzag32 and not varint Changed position from BlockCoordinates to vec3i in packet_player_auth_input.input_data.block_action (proto.yml) - The y value for position needs to be zigzag32 and not varint * Fixed types for packet_player_auth_input 1.19.x Changed block_position from vec3i to BlockCoordinates in TransactionUseItem (types.yml) - The y value for block_position needs to be varint and not zigzag32 - The face value needs be zigzag32 and not varint Changed position from BlockCoordinates to vec3i in packet_player_auth_input.input_data.block_action (proto.yml) - The y value for position needs to be zigzag32 and not varint * Fixed types for packet_player_auth_input 1.20.x Changed block_position from vec3i to BlockCoordinates in TransactionUseItem (types.yml) - The y value for block_position needs to be varint and not zigzag32 - The face value needs be zigzag32 and not varint Changed position from BlockCoordinates to vec3i in packet_player_auth_input.input_data.block_action (proto.yml) - The y value for position needs to be zigzag32 and not varint * Fixed types for packet_player_auth_input 1.16.x --- data/bedrock/1.16.210/proto.yml | 2 +- data/bedrock/1.16.210/protocol.json | 12 ++++++------ data/bedrock/1.16.210/types.yml | 2 +- data/bedrock/1.16.220/proto.yml | 2 +- data/bedrock/1.16.220/protocol.json | 14 +++++++------- data/bedrock/1.16.220/types.yml | 4 ++-- data/bedrock/1.17.0/proto.yml | 2 +- data/bedrock/1.17.0/protocol.json | 14 +++++++------- data/bedrock/1.17.0/types.yml | 4 ++-- data/bedrock/1.17.10/proto.yml | 2 +- data/bedrock/1.17.10/protocol.json | 14 +++++++------- data/bedrock/1.17.10/types.yml | 4 ++-- data/bedrock/1.17.30/proto.yml | 2 +- data/bedrock/1.17.30/protocol.json | 14 +++++++------- data/bedrock/1.17.30/types.yml | 4 ++-- data/bedrock/1.17.40/proto.yml | 2 +- data/bedrock/1.17.40/protocol.json | 14 +++++++------- data/bedrock/1.17.40/types.yml | 4 ++-- data/bedrock/1.18.0/proto.yml | 2 +- data/bedrock/1.18.0/protocol.json | 14 +++++++------- data/bedrock/1.18.0/types.yml | 4 ++-- data/bedrock/1.18.11/proto.yml | 2 +- data/bedrock/1.18.11/protocol.json | 14 +++++++------- data/bedrock/1.18.11/types.yml | 4 ++-- data/bedrock/1.18.30/proto.yml | 2 +- data/bedrock/1.18.30/protocol.json | 14 +++++++------- data/bedrock/1.18.30/types.yml | 4 ++-- data/bedrock/1.19.1/proto.yml | 2 +- data/bedrock/1.19.1/protocol.json | 14 +++++++------- data/bedrock/1.19.1/types.yml | 4 ++-- data/bedrock/1.19.10/proto.yml | 2 +- data/bedrock/1.19.10/protocol.json | 14 +++++++------- data/bedrock/1.19.10/types.yml | 4 ++-- data/bedrock/1.19.20/proto.yml | 2 +- data/bedrock/1.19.20/protocol.json | 14 +++++++------- data/bedrock/1.19.20/types.yml | 4 ++-- data/bedrock/1.19.21/proto.yml | 2 +- data/bedrock/1.19.21/protocol.json | 14 +++++++------- data/bedrock/1.19.21/types.yml | 4 ++-- data/bedrock/1.19.30/proto.yml | 2 +- data/bedrock/1.19.30/protocol.json | 14 +++++++------- data/bedrock/1.19.30/types.yml | 4 ++-- data/bedrock/1.19.40/proto.yml | 2 +- data/bedrock/1.19.40/protocol.json | 14 +++++++------- data/bedrock/1.19.40/types.yml | 4 ++-- data/bedrock/1.19.50/proto.yml | 2 +- data/bedrock/1.19.50/protocol.json | 14 +++++++------- data/bedrock/1.19.50/types.yml | 4 ++-- data/bedrock/1.19.60/proto.yml | 2 +- data/bedrock/1.19.60/protocol.json | 14 +++++++------- data/bedrock/1.19.60/types.yml | 4 ++-- data/bedrock/1.19.62/proto.yml | 2 +- data/bedrock/1.19.62/protocol.json | 14 +++++++------- data/bedrock/1.19.62/types.yml | 4 ++-- data/bedrock/1.19.70/proto.yml | 2 +- data/bedrock/1.19.70/protocol.json | 14 +++++++------- data/bedrock/1.19.70/types.yml | 4 ++-- data/bedrock/1.19.80/proto.yml | 2 +- data/bedrock/1.19.80/protocol.json | 14 +++++++------- data/bedrock/1.19.80/types.yml | 4 ++-- data/bedrock/1.20.0/protocol.json | 14 +++++++------- data/bedrock/latest/proto.yml | 2 +- data/bedrock/latest/types.yml | 4 ++-- 63 files changed, 208 insertions(+), 208 deletions(-) diff --git a/data/bedrock/1.16.210/proto.yml b/data/bedrock/1.16.210/proto.yml index 4e3123d9d..d3e67b4f3 100644 --- a/data/bedrock/1.16.210/proto.yml +++ b/data/bedrock/1.16.210/proto.yml @@ -2271,7 +2271,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.16.210/protocol.json b/data/bedrock/1.16.210/protocol.json index cc79a88db..2fa86723c 100644 --- a/data/bedrock/1.16.210/protocol.json +++ b/data/bedrock/1.16.210/protocol.json @@ -772,7 +772,7 @@ }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -7229,7 +7229,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -7242,7 +7242,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -7255,7 +7255,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -7268,7 +7268,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -7281,7 +7281,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.16.210/types.yml b/data/bedrock/1.16.210/types.yml index f83597316..84535c251 100644 --- a/data/bedrock/1.16.210/types.yml +++ b/data/bedrock/1.16.210/types.yml @@ -416,7 +416,7 @@ TransactionUseItem: block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.16.220/proto.yml b/data/bedrock/1.16.220/proto.yml index cc6f6e704..2bcfd6041 100644 --- a/data/bedrock/1.16.220/proto.yml +++ b/data/bedrock/1.16.220/proto.yml @@ -2723,7 +2723,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.16.220/protocol.json b/data/bedrock/1.16.220/protocol.json index 4e0e05319..883c69a92 100644 --- a/data/bedrock/1.16.220/protocol.json +++ b/data/bedrock/1.16.220/protocol.json @@ -936,11 +936,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8072,7 +8072,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8085,7 +8085,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8098,7 +8098,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8111,7 +8111,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8124,7 +8124,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.16.220/types.yml b/data/bedrock/1.16.220/types.yml index c3d4e391d..6e4152c62 100644 --- a/data/bedrock/1.16.220/types.yml +++ b/data/bedrock/1.16.220/types.yml @@ -465,10 +465,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.17.0/proto.yml b/data/bedrock/1.17.0/proto.yml index aa94a865c..f11c7727a 100644 --- a/data/bedrock/1.17.0/proto.yml +++ b/data/bedrock/1.17.0/proto.yml @@ -2725,7 +2725,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.17.0/protocol.json b/data/bedrock/1.17.0/protocol.json index f21e673b9..d8d6426b8 100644 --- a/data/bedrock/1.17.0/protocol.json +++ b/data/bedrock/1.17.0/protocol.json @@ -939,11 +939,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8151,7 +8151,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8164,7 +8164,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8177,7 +8177,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8190,7 +8190,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8203,7 +8203,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.17.0/types.yml b/data/bedrock/1.17.0/types.yml index ce06f9e6f..6587c6d51 100644 --- a/data/bedrock/1.17.0/types.yml +++ b/data/bedrock/1.17.0/types.yml @@ -468,10 +468,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.17.10/proto.yml b/data/bedrock/1.17.10/proto.yml index 8ba45d3f5..fbd6fcb95 100644 --- a/data/bedrock/1.17.10/proto.yml +++ b/data/bedrock/1.17.10/proto.yml @@ -2822,7 +2822,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.17.10/protocol.json b/data/bedrock/1.17.10/protocol.json index 50cda97ce..561bfb778 100644 --- a/data/bedrock/1.17.10/protocol.json +++ b/data/bedrock/1.17.10/protocol.json @@ -939,11 +939,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8267,7 +8267,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8280,7 +8280,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8293,7 +8293,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8306,7 +8306,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8319,7 +8319,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.17.10/types.yml b/data/bedrock/1.17.10/types.yml index 9edf9cd18..7f8897db4 100644 --- a/data/bedrock/1.17.10/types.yml +++ b/data/bedrock/1.17.10/types.yml @@ -468,10 +468,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.17.30/proto.yml b/data/bedrock/1.17.30/proto.yml index 317303d33..d7578c9f2 100644 --- a/data/bedrock/1.17.30/proto.yml +++ b/data/bedrock/1.17.30/proto.yml @@ -2851,7 +2851,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.17.30/protocol.json b/data/bedrock/1.17.30/protocol.json index c1295d81e..10f1a7e5b 100644 --- a/data/bedrock/1.17.30/protocol.json +++ b/data/bedrock/1.17.30/protocol.json @@ -939,11 +939,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8467,7 +8467,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8480,7 +8480,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8493,7 +8493,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8506,7 +8506,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8519,7 +8519,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.17.30/types.yml b/data/bedrock/1.17.30/types.yml index 60a8e0c0c..ec0588dfd 100644 --- a/data/bedrock/1.17.30/types.yml +++ b/data/bedrock/1.17.30/types.yml @@ -468,10 +468,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.17.40/proto.yml b/data/bedrock/1.17.40/proto.yml index d8831b614..e3ebbd63a 100644 --- a/data/bedrock/1.17.40/proto.yml +++ b/data/bedrock/1.17.40/proto.yml @@ -2851,7 +2851,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.17.40/protocol.json b/data/bedrock/1.17.40/protocol.json index 247eb9738..b2cd31349 100644 --- a/data/bedrock/1.17.40/protocol.json +++ b/data/bedrock/1.17.40/protocol.json @@ -939,11 +939,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8468,7 +8468,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8481,7 +8481,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8494,7 +8494,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8507,7 +8507,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8520,7 +8520,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.17.40/types.yml b/data/bedrock/1.17.40/types.yml index 29665c68e..5c9425496 100644 --- a/data/bedrock/1.17.40/types.yml +++ b/data/bedrock/1.17.40/types.yml @@ -468,10 +468,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.18.0/proto.yml b/data/bedrock/1.18.0/proto.yml index 336f4be9b..d3735014b 100644 --- a/data/bedrock/1.18.0/proto.yml +++ b/data/bedrock/1.18.0/proto.yml @@ -2858,7 +2858,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.18.0/protocol.json b/data/bedrock/1.18.0/protocol.json index 40f0990c4..dfe2c4bb3 100644 --- a/data/bedrock/1.18.0/protocol.json +++ b/data/bedrock/1.18.0/protocol.json @@ -939,11 +939,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8513,7 +8513,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8526,7 +8526,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8539,7 +8539,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8552,7 +8552,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8565,7 +8565,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.18.0/types.yml b/data/bedrock/1.18.0/types.yml index 7d55b8aac..069c4057b 100644 --- a/data/bedrock/1.18.0/types.yml +++ b/data/bedrock/1.18.0/types.yml @@ -468,10 +468,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.18.11/proto.yml b/data/bedrock/1.18.11/proto.yml index 218e1872f..6664fdf95 100644 --- a/data/bedrock/1.18.11/proto.yml +++ b/data/bedrock/1.18.11/proto.yml @@ -2865,7 +2865,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.18.11/protocol.json b/data/bedrock/1.18.11/protocol.json index 9c6381adf..ef8830e48 100644 --- a/data/bedrock/1.18.11/protocol.json +++ b/data/bedrock/1.18.11/protocol.json @@ -939,11 +939,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8571,7 +8571,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8584,7 +8584,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8597,7 +8597,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8610,7 +8610,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8623,7 +8623,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.18.11/types.yml b/data/bedrock/1.18.11/types.yml index 75029a69f..752e03e5b 100644 --- a/data/bedrock/1.18.11/types.yml +++ b/data/bedrock/1.18.11/types.yml @@ -472,10 +472,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.18.30/proto.yml b/data/bedrock/1.18.30/proto.yml index d3808282d..abc4e23b6 100644 --- a/data/bedrock/1.18.30/proto.yml +++ b/data/bedrock/1.18.30/proto.yml @@ -2879,7 +2879,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.18.30/protocol.json b/data/bedrock/1.18.30/protocol.json index c36a65c82..ad2897119 100644 --- a/data/bedrock/1.18.30/protocol.json +++ b/data/bedrock/1.18.30/protocol.json @@ -943,11 +943,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8660,7 +8660,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8673,7 +8673,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8686,7 +8686,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8699,7 +8699,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8712,7 +8712,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.18.30/types.yml b/data/bedrock/1.18.30/types.yml index a9b12c289..3f28b97c6 100644 --- a/data/bedrock/1.18.30/types.yml +++ b/data/bedrock/1.18.30/types.yml @@ -480,10 +480,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.1/proto.yml b/data/bedrock/1.19.1/proto.yml index b1626b1e2..c616e9612 100644 --- a/data/bedrock/1.19.1/proto.yml +++ b/data/bedrock/1.19.1/proto.yml @@ -2898,7 +2898,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.1/protocol.json b/data/bedrock/1.19.1/protocol.json index 0c8e2aaaa..8ad02c739 100644 --- a/data/bedrock/1.19.1/protocol.json +++ b/data/bedrock/1.19.1/protocol.json @@ -943,11 +943,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8725,7 +8725,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8738,7 +8738,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8751,7 +8751,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8764,7 +8764,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8777,7 +8777,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.1/types.yml b/data/bedrock/1.19.1/types.yml index 53db7adf1..4fc3d8d12 100644 --- a/data/bedrock/1.19.1/types.yml +++ b/data/bedrock/1.19.1/types.yml @@ -480,10 +480,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.10/proto.yml b/data/bedrock/1.19.10/proto.yml index 8d9e60ceb..8590080cd 100644 --- a/data/bedrock/1.19.10/proto.yml +++ b/data/bedrock/1.19.10/proto.yml @@ -2949,7 +2949,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.10/protocol.json b/data/bedrock/1.19.10/protocol.json index b7f28668c..79bd347d9 100644 --- a/data/bedrock/1.19.10/protocol.json +++ b/data/bedrock/1.19.10/protocol.json @@ -943,11 +943,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8793,7 +8793,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8806,7 +8806,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8819,7 +8819,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8832,7 +8832,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8845,7 +8845,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.10/types.yml b/data/bedrock/1.19.10/types.yml index 9063601ef..518e424a5 100644 --- a/data/bedrock/1.19.10/types.yml +++ b/data/bedrock/1.19.10/types.yml @@ -480,10 +480,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.20/proto.yml b/data/bedrock/1.19.20/proto.yml index 88506d917..6726a035b 100644 --- a/data/bedrock/1.19.20/proto.yml +++ b/data/bedrock/1.19.20/proto.yml @@ -2986,7 +2986,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.20/protocol.json b/data/bedrock/1.19.20/protocol.json index aa9bad21a..7bd2ec19f 100644 --- a/data/bedrock/1.19.20/protocol.json +++ b/data/bedrock/1.19.20/protocol.json @@ -981,11 +981,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8958,7 +8958,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8971,7 +8971,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8984,7 +8984,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8997,7 +8997,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9010,7 +9010,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.20/types.yml b/data/bedrock/1.19.20/types.yml index 5ce7c085b..5007f71db 100644 --- a/data/bedrock/1.19.20/types.yml +++ b/data/bedrock/1.19.20/types.yml @@ -487,10 +487,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.21/proto.yml b/data/bedrock/1.19.21/proto.yml index 921334a5d..5f1796149 100644 --- a/data/bedrock/1.19.21/proto.yml +++ b/data/bedrock/1.19.21/proto.yml @@ -2986,7 +2986,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.21/protocol.json b/data/bedrock/1.19.21/protocol.json index aa9bad21a..7bd2ec19f 100644 --- a/data/bedrock/1.19.21/protocol.json +++ b/data/bedrock/1.19.21/protocol.json @@ -981,11 +981,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -8958,7 +8958,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8971,7 +8971,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8984,7 +8984,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -8997,7 +8997,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9010,7 +9010,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.21/types.yml b/data/bedrock/1.19.21/types.yml index 5ce7c085b..5007f71db 100644 --- a/data/bedrock/1.19.21/types.yml +++ b/data/bedrock/1.19.21/types.yml @@ -487,10 +487,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.30/proto.yml b/data/bedrock/1.19.30/proto.yml index ce946c5eb..c97b927d0 100644 --- a/data/bedrock/1.19.30/proto.yml +++ b/data/bedrock/1.19.30/proto.yml @@ -3001,7 +3001,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.30/protocol.json b/data/bedrock/1.19.30/protocol.json index ce3c440bb..78054b19b 100644 --- a/data/bedrock/1.19.30/protocol.json +++ b/data/bedrock/1.19.30/protocol.json @@ -981,11 +981,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -9087,7 +9087,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9100,7 +9100,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9113,7 +9113,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9126,7 +9126,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9139,7 +9139,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.30/types.yml b/data/bedrock/1.19.30/types.yml index 01d6b72e8..f56c4eef4 100644 --- a/data/bedrock/1.19.30/types.yml +++ b/data/bedrock/1.19.30/types.yml @@ -487,10 +487,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.40/proto.yml b/data/bedrock/1.19.40/proto.yml index dbad4264a..a381768d5 100644 --- a/data/bedrock/1.19.40/proto.yml +++ b/data/bedrock/1.19.40/proto.yml @@ -3011,7 +3011,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.40/protocol.json b/data/bedrock/1.19.40/protocol.json index 73f526029..095cb5af4 100644 --- a/data/bedrock/1.19.40/protocol.json +++ b/data/bedrock/1.19.40/protocol.json @@ -1030,11 +1030,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -9156,7 +9156,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9169,7 +9169,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9182,7 +9182,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9195,7 +9195,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9208,7 +9208,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.40/types.yml b/data/bedrock/1.19.40/types.yml index 9c29aef19..5af0edd49 100644 --- a/data/bedrock/1.19.40/types.yml +++ b/data/bedrock/1.19.40/types.yml @@ -495,10 +495,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.50/proto.yml b/data/bedrock/1.19.50/proto.yml index 3c700533f..c9f441054 100644 --- a/data/bedrock/1.19.50/proto.yml +++ b/data/bedrock/1.19.50/proto.yml @@ -3013,7 +3013,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.50/protocol.json b/data/bedrock/1.19.50/protocol.json index ff04d2f4e..a091b5001 100644 --- a/data/bedrock/1.19.50/protocol.json +++ b/data/bedrock/1.19.50/protocol.json @@ -1030,11 +1030,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -9174,7 +9174,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9187,7 +9187,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9200,7 +9200,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9213,7 +9213,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9226,7 +9226,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.50/types.yml b/data/bedrock/1.19.50/types.yml index 8a23177ad..4b4099c33 100644 --- a/data/bedrock/1.19.50/types.yml +++ b/data/bedrock/1.19.50/types.yml @@ -499,10 +499,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.60/proto.yml b/data/bedrock/1.19.60/proto.yml index 6b0062de8..eb2319ed6 100644 --- a/data/bedrock/1.19.60/proto.yml +++ b/data/bedrock/1.19.60/proto.yml @@ -3019,7 +3019,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.60/protocol.json b/data/bedrock/1.19.60/protocol.json index 428f6f4c0..287b975e5 100644 --- a/data/bedrock/1.19.60/protocol.json +++ b/data/bedrock/1.19.60/protocol.json @@ -1030,11 +1030,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -9228,7 +9228,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9241,7 +9241,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9254,7 +9254,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9267,7 +9267,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9280,7 +9280,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.60/types.yml b/data/bedrock/1.19.60/types.yml index d7356e0b9..e9d65c3a2 100644 --- a/data/bedrock/1.19.60/types.yml +++ b/data/bedrock/1.19.60/types.yml @@ -499,10 +499,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.62/proto.yml b/data/bedrock/1.19.62/proto.yml index ec20d8ab5..c351b157e 100644 --- a/data/bedrock/1.19.62/proto.yml +++ b/data/bedrock/1.19.62/proto.yml @@ -3020,7 +3020,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.62/protocol.json b/data/bedrock/1.19.62/protocol.json index 7d9e4d2d2..2caaaf23c 100644 --- a/data/bedrock/1.19.62/protocol.json +++ b/data/bedrock/1.19.62/protocol.json @@ -1030,11 +1030,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -9232,7 +9232,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9245,7 +9245,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9258,7 +9258,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9271,7 +9271,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9284,7 +9284,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.62/types.yml b/data/bedrock/1.19.62/types.yml index fd8e2a0de..f0e5af5cc 100644 --- a/data/bedrock/1.19.62/types.yml +++ b/data/bedrock/1.19.62/types.yml @@ -499,10 +499,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.70/proto.yml b/data/bedrock/1.19.70/proto.yml index 5156a391c..385a88533 100644 --- a/data/bedrock/1.19.70/proto.yml +++ b/data/bedrock/1.19.70/proto.yml @@ -3020,7 +3020,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.70/protocol.json b/data/bedrock/1.19.70/protocol.json index 65efa8b8a..676c500db 100644 --- a/data/bedrock/1.19.70/protocol.json +++ b/data/bedrock/1.19.70/protocol.json @@ -1030,11 +1030,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -9250,7 +9250,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9263,7 +9263,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9276,7 +9276,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9289,7 +9289,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9302,7 +9302,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.70/types.yml b/data/bedrock/1.19.70/types.yml index 2b4cee0d0..19c5aef22 100644 --- a/data/bedrock/1.19.70/types.yml +++ b/data/bedrock/1.19.70/types.yml @@ -503,10 +503,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.19.80/proto.yml b/data/bedrock/1.19.80/proto.yml index b419e25ef..b837d63a3 100644 --- a/data/bedrock/1.19.80/proto.yml +++ b/data/bedrock/1.19.80/proto.yml @@ -3033,7 +3033,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/1.19.80/protocol.json b/data/bedrock/1.19.80/protocol.json index 3df1328b1..d0b5522a4 100644 --- a/data/bedrock/1.19.80/protocol.json +++ b/data/bedrock/1.19.80/protocol.json @@ -1030,11 +1030,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -9313,7 +9313,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9326,7 +9326,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9339,7 +9339,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9352,7 +9352,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9365,7 +9365,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/1.19.80/types.yml b/data/bedrock/1.19.80/types.yml index c78613809..a78432b23 100644 --- a/data/bedrock/1.19.80/types.yml +++ b/data/bedrock/1.19.80/types.yml @@ -503,10 +503,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint diff --git a/data/bedrock/1.20.0/protocol.json b/data/bedrock/1.20.0/protocol.json index 52c786bd1..8db7a23f9 100644 --- a/data/bedrock/1.20.0/protocol.json +++ b/data/bedrock/1.20.0/protocol.json @@ -1030,11 +1030,11 @@ }, { "name": "block_position", - "type": "vec3i" + "type": "BlockCoordinates" }, { "name": "face", - "type": "varint" + "type": "zigzag32" }, { "name": "hotbar_slot", @@ -9332,7 +9332,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9345,7 +9345,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9358,7 +9358,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9371,7 +9371,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", @@ -9384,7 +9384,7 @@ [ { "name": "position", - "type": "BlockCoordinates" + "type": "vec3i" }, { "name": "face", diff --git a/data/bedrock/latest/proto.yml b/data/bedrock/latest/proto.yml index 73889d3cd..422fe5ea1 100644 --- a/data/bedrock/latest/proto.yml +++ b/data/bedrock/latest/proto.yml @@ -3044,7 +3044,7 @@ packet_player_auth_input: if start_break or abort_break or crack_break or predict_break or continue_break: # BlockPosition is the position of the target block, if the action with the ActionType set concerned a # block. If that is not the case, the block position will be zero. - position: BlockCoordinates + position: vec3i # BlockFace is the face of the target block that was touched. If the action with the ActionType set # concerned a block. If not, the face is always 0. face: zigzag32 diff --git a/data/bedrock/latest/types.yml b/data/bedrock/latest/types.yml index 54d747050..b5b739174 100644 --- a/data/bedrock/latest/types.yml +++ b/data/bedrock/latest/types.yml @@ -503,10 +503,10 @@ TransactionUseItem: 2: break_block # BlockPosition is the position of the block that was interacted with. This is only really a correct # block position if ActionType is not UseItemActionClickAir. - block_position: vec3i + block_position: BlockCoordinates # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face # clicked. When breaking the block, it is the face that was last being hit until the block broke. - face: varint + face: zigzag32 # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used # to ensure that the hot bar slot and held item are correctly synchronised with the server. hotbar_slot: varint