From 3928388ae32e44558cc342a888d95278a8a1ac70 Mon Sep 17 00:00:00 2001 From: Tamas Papp <86970314+CreeperG16@users.noreply.github.com> Date: Tue, 12 Sep 2023 18:26:13 +0200 Subject: [PATCH] Update bedrock protocol data for has_stack_id in Item to a boolean (#770) --- data/bedrock/1.16.220/protocol.json | 2 +- data/bedrock/1.16.220/types.yml | 4 ++-- data/bedrock/1.17.0/protocol.json | 2 +- data/bedrock/1.17.0/types.yml | 4 ++-- data/bedrock/1.17.10/protocol.json | 2 +- data/bedrock/1.17.10/types.yml | 4 ++-- data/bedrock/1.17.30/protocol.json | 2 +- data/bedrock/1.17.30/types.yml | 4 ++-- data/bedrock/1.17.40/protocol.json | 2 +- data/bedrock/1.17.40/types.yml | 4 ++-- data/bedrock/1.18.0/protocol.json | 2 +- data/bedrock/1.18.0/types.yml | 4 ++-- data/bedrock/1.18.11/protocol.json | 2 +- data/bedrock/1.18.11/types.yml | 4 ++-- data/bedrock/1.18.30/protocol.json | 2 +- data/bedrock/1.18.30/types.yml | 4 ++-- data/bedrock/1.19.1/protocol.json | 2 +- data/bedrock/1.19.1/types.yml | 4 ++-- data/bedrock/1.19.10/protocol.json | 2 +- data/bedrock/1.19.10/types.yml | 2 +- data/bedrock/1.19.20/protocol.json | 2 +- data/bedrock/1.19.20/types.yml | 2 +- data/bedrock/1.19.21/protocol.json | 2 +- data/bedrock/1.19.21/types.yml | 2 +- data/bedrock/1.19.30/protocol.json | 2 +- data/bedrock/1.19.30/types.yml | 2 +- data/bedrock/1.19.40/protocol.json | 2 +- data/bedrock/1.19.40/types.yml | 2 +- data/bedrock/1.19.50/protocol.json | 2 +- data/bedrock/1.19.50/types.yml | 2 +- data/bedrock/1.19.60/protocol.json | 2 +- data/bedrock/1.19.60/types.yml | 2 +- data/bedrock/1.19.62/protocol.json | 2 +- data/bedrock/1.19.62/types.yml | 2 +- data/bedrock/1.19.70/protocol.json | 2 +- data/bedrock/1.19.70/types.yml | 2 +- data/bedrock/1.19.80/protocol.json | 2 +- data/bedrock/1.19.80/types.yml | 2 +- data/bedrock/1.20.0/protocol.json | 2 +- data/bedrock/1.20.0/types.yml | 2 +- data/bedrock/1.20.10/protocol.json | 2 +- data/bedrock/latest/types.yml | 2 +- 42 files changed, 51 insertions(+), 51 deletions(-) diff --git a/data/bedrock/1.16.220/protocol.json b/data/bedrock/1.16.220/protocol.json index bef26b2c1..dfd2bb96c 100644 --- a/data/bedrock/1.16.220/protocol.json +++ b/data/bedrock/1.16.220/protocol.json @@ -481,7 +481,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.16.220/types.yml b/data/bedrock/1.16.220/types.yml index fc2b414a6..876e3575a 100644 --- a/data/bedrock/1.16.220/types.yml +++ b/data/bedrock/1.16.220/types.yml @@ -129,7 +129,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. @@ -1656,4 +1656,4 @@ LegacyEntityType: li32 => 110: drowned 111: tropicalfish 112: cod - 113: panda \ No newline at end of file + 113: panda diff --git a/data/bedrock/1.17.0/protocol.json b/data/bedrock/1.17.0/protocol.json index f969c0ce5..2c8b11ab8 100644 --- a/data/bedrock/1.17.0/protocol.json +++ b/data/bedrock/1.17.0/protocol.json @@ -485,7 +485,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.17.0/types.yml b/data/bedrock/1.17.0/types.yml index a32dbe5b8..cd5490ec0 100644 --- a/data/bedrock/1.17.0/types.yml +++ b/data/bedrock/1.17.0/types.yml @@ -130,7 +130,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. @@ -1698,4 +1698,4 @@ LegacyEntityType: li32 => 110: drowned 111: tropicalfish 112: cod - 113: panda \ No newline at end of file + 113: panda diff --git a/data/bedrock/1.17.10/protocol.json b/data/bedrock/1.17.10/protocol.json index eb3b86e75..64caa53fb 100644 --- a/data/bedrock/1.17.10/protocol.json +++ b/data/bedrock/1.17.10/protocol.json @@ -485,7 +485,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.17.10/types.yml b/data/bedrock/1.17.10/types.yml index 7fb602928..99757c9aa 100644 --- a/data/bedrock/1.17.10/types.yml +++ b/data/bedrock/1.17.10/types.yml @@ -130,7 +130,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. @@ -1700,4 +1700,4 @@ LegacyEntityType: li32 => 110: drowned 111: tropicalfish 112: cod - 113: panda \ No newline at end of file + 113: panda diff --git a/data/bedrock/1.17.30/protocol.json b/data/bedrock/1.17.30/protocol.json index ee09bf708..44ef93e03 100644 --- a/data/bedrock/1.17.30/protocol.json +++ b/data/bedrock/1.17.30/protocol.json @@ -485,7 +485,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.17.30/types.yml b/data/bedrock/1.17.30/types.yml index 1a9663ad4..f25a1c135 100644 --- a/data/bedrock/1.17.30/types.yml +++ b/data/bedrock/1.17.30/types.yml @@ -130,7 +130,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. @@ -1746,4 +1746,4 @@ LegacyEntityType: li32 => 110: drowned 111: tropicalfish 112: cod - 113: panda \ No newline at end of file + 113: panda diff --git a/data/bedrock/1.17.40/protocol.json b/data/bedrock/1.17.40/protocol.json index c8662f67c..abe503cde 100644 --- a/data/bedrock/1.17.40/protocol.json +++ b/data/bedrock/1.17.40/protocol.json @@ -485,7 +485,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.17.40/types.yml b/data/bedrock/1.17.40/types.yml index fdb92346e..3c3711eff 100644 --- a/data/bedrock/1.17.40/types.yml +++ b/data/bedrock/1.17.40/types.yml @@ -130,7 +130,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. @@ -1761,4 +1761,4 @@ LegacyEntityType: li32 => 110: drowned 111: tropicalfish 112: cod - 113: panda \ No newline at end of file + 113: panda diff --git a/data/bedrock/1.18.0/protocol.json b/data/bedrock/1.18.0/protocol.json index 95da29e9d..05344d33a 100644 --- a/data/bedrock/1.18.0/protocol.json +++ b/data/bedrock/1.18.0/protocol.json @@ -485,7 +485,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.18.0/types.yml b/data/bedrock/1.18.0/types.yml index 087f5a9dc..b1732fb7e 100644 --- a/data/bedrock/1.18.0/types.yml +++ b/data/bedrock/1.18.0/types.yml @@ -130,7 +130,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. @@ -1771,4 +1771,4 @@ LegacyEntityType: li32 => 110: drowned 111: tropicalfish 112: cod - 113: panda \ No newline at end of file + 113: panda diff --git a/data/bedrock/1.18.11/protocol.json b/data/bedrock/1.18.11/protocol.json index ed48fa685..6e897a600 100644 --- a/data/bedrock/1.18.11/protocol.json +++ b/data/bedrock/1.18.11/protocol.json @@ -485,7 +485,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.18.11/types.yml b/data/bedrock/1.18.11/types.yml index 1ae33d695..37399e6fd 100644 --- a/data/bedrock/1.18.11/types.yml +++ b/data/bedrock/1.18.11/types.yml @@ -130,7 +130,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. @@ -1800,4 +1800,4 @@ DeviceOS: li32 => - Orbis - NintendoSwitch - Xbox -- WindowsPhone \ No newline at end of file +- WindowsPhone diff --git a/data/bedrock/1.18.30/protocol.json b/data/bedrock/1.18.30/protocol.json index 2159e3dc5..786076587 100644 --- a/data/bedrock/1.18.30/protocol.json +++ b/data/bedrock/1.18.30/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.18.30/types.yml b/data/bedrock/1.18.30/types.yml index e6fe457cd..4c750a7d2 100644 --- a/data/bedrock/1.18.30/types.yml +++ b/data/bedrock/1.18.30/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. @@ -1857,4 +1857,4 @@ DeviceOS: li32 => - Orbis - NintendoSwitch - Xbox -- WindowsPhone \ No newline at end of file +- WindowsPhone diff --git a/data/bedrock/1.19.1/protocol.json b/data/bedrock/1.19.1/protocol.json index da1e302da..95f7b5dc0 100644 --- a/data/bedrock/1.19.1/protocol.json +++ b/data/bedrock/1.19.1/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.1/types.yml b/data/bedrock/1.19.1/types.yml index 954f59704..4c78420be 100644 --- a/data/bedrock/1.19.1/types.yml +++ b/data/bedrock/1.19.1/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. @@ -1884,4 +1884,4 @@ DeviceOS: li32 => - NintendoSwitch - Xbox - WindowsPhone -- Linux \ No newline at end of file +- Linux diff --git a/data/bedrock/1.19.10/protocol.json b/data/bedrock/1.19.10/protocol.json index 064598337..acc8bb186 100644 --- a/data/bedrock/1.19.10/protocol.json +++ b/data/bedrock/1.19.10/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.10/types.yml b/data/bedrock/1.19.10/types.yml index f103d081a..c70f9a25d 100644 --- a/data/bedrock/1.19.10/types.yml +++ b/data/bedrock/1.19.10/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.19.20/protocol.json b/data/bedrock/1.19.20/protocol.json index 5b146206e..ea6a4c9be 100644 --- a/data/bedrock/1.19.20/protocol.json +++ b/data/bedrock/1.19.20/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.20/types.yml b/data/bedrock/1.19.20/types.yml index e1af27765..683a60314 100644 --- a/data/bedrock/1.19.20/types.yml +++ b/data/bedrock/1.19.20/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.19.21/protocol.json b/data/bedrock/1.19.21/protocol.json index 5b146206e..ea6a4c9be 100644 --- a/data/bedrock/1.19.21/protocol.json +++ b/data/bedrock/1.19.21/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.21/types.yml b/data/bedrock/1.19.21/types.yml index e1af27765..683a60314 100644 --- a/data/bedrock/1.19.21/types.yml +++ b/data/bedrock/1.19.21/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.19.30/protocol.json b/data/bedrock/1.19.30/protocol.json index a116c8515..99b8cca87 100644 --- a/data/bedrock/1.19.30/protocol.json +++ b/data/bedrock/1.19.30/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.30/types.yml b/data/bedrock/1.19.30/types.yml index 0534da483..a3e894def 100644 --- a/data/bedrock/1.19.30/types.yml +++ b/data/bedrock/1.19.30/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.19.40/protocol.json b/data/bedrock/1.19.40/protocol.json index 6dd6a797a..e3d5fedf2 100644 --- a/data/bedrock/1.19.40/protocol.json +++ b/data/bedrock/1.19.40/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.40/types.yml b/data/bedrock/1.19.40/types.yml index 5f580c7b3..7f2f0c52f 100644 --- a/data/bedrock/1.19.40/types.yml +++ b/data/bedrock/1.19.40/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.19.50/protocol.json b/data/bedrock/1.19.50/protocol.json index 94450a5cb..f73d02af0 100644 --- a/data/bedrock/1.19.50/protocol.json +++ b/data/bedrock/1.19.50/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.50/types.yml b/data/bedrock/1.19.50/types.yml index 64fba56a1..339811203 100644 --- a/data/bedrock/1.19.50/types.yml +++ b/data/bedrock/1.19.50/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.19.60/protocol.json b/data/bedrock/1.19.60/protocol.json index bb59e5c7d..d2a7c9f5c 100644 --- a/data/bedrock/1.19.60/protocol.json +++ b/data/bedrock/1.19.60/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.60/types.yml b/data/bedrock/1.19.60/types.yml index 20ea08e18..dfbfbb8d0 100644 --- a/data/bedrock/1.19.60/types.yml +++ b/data/bedrock/1.19.60/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.19.62/protocol.json b/data/bedrock/1.19.62/protocol.json index c9f0c9dbe..d06946808 100644 --- a/data/bedrock/1.19.62/protocol.json +++ b/data/bedrock/1.19.62/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.62/types.yml b/data/bedrock/1.19.62/types.yml index b3107da1c..4b571431a 100644 --- a/data/bedrock/1.19.62/types.yml +++ b/data/bedrock/1.19.62/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.19.70/protocol.json b/data/bedrock/1.19.70/protocol.json index 659371102..3ac2f03dd 100644 --- a/data/bedrock/1.19.70/protocol.json +++ b/data/bedrock/1.19.70/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.70/types.yml b/data/bedrock/1.19.70/types.yml index 0a143b3db..0cd205518 100644 --- a/data/bedrock/1.19.70/types.yml +++ b/data/bedrock/1.19.70/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.19.80/protocol.json b/data/bedrock/1.19.80/protocol.json index ca8e51d83..39fde8e77 100644 --- a/data/bedrock/1.19.80/protocol.json +++ b/data/bedrock/1.19.80/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.80/types.yml b/data/bedrock/1.19.80/types.yml index 7a00b13eb..aa72561c6 100644 --- a/data/bedrock/1.19.80/types.yml +++ b/data/bedrock/1.19.80/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.20.0/protocol.json b/data/bedrock/1.20.0/protocol.json index dde928c89..1bedc52f8 100644 --- a/data/bedrock/1.20.0/protocol.json +++ b/data/bedrock/1.20.0/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/1.20.0/types.yml b/data/bedrock/1.20.0/types.yml index e285c103c..08bd13ac3 100644 --- a/data/bedrock/1.20.0/types.yml +++ b/data/bedrock/1.20.0/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled. diff --git a/data/bedrock/1.20.10/protocol.json b/data/bedrock/1.20.10/protocol.json index 6db1e7b5b..f779a2743 100644 --- a/data/bedrock/1.20.10/protocol.json +++ b/data/bedrock/1.20.10/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "u8" + "type": "bool" }, { "name": "stack_id", diff --git a/data/bedrock/latest/types.yml b/data/bedrock/latest/types.yml index 0cb119aeb..8fc7b0259 100644 --- a/data/bedrock/latest/types.yml +++ b/data/bedrock/latest/types.yml @@ -131,7 +131,7 @@ Item: metadata: varint # When server authoritative inventory is enabled, all allocated items have a unique ID used to identify # a specifc item instance. - has_stack_id: u8 + has_stack_id: bool # StackNetworkID is the network ID of this item *instance*. If the stack is empty, 0 is always written for this # field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the # StartGame packet, or to a unique stack ID if it is enabled.