From f7d70f0ee654e3d4f59354734b340ff00f794355 Mon Sep 17 00:00:00 2001 From: extremeheat Date: Wed, 20 Sep 2023 21:32:32 -0400 Subject: [PATCH] Revert "Change has_stack_id in bedrock Item to a boolean" (#776) --- 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/1.20.10/types.yml | 2 +- data/bedrock/1.20.30/protocol.json | 2 +- data/bedrock/latest/types.yml | 2 +- 44 files changed, 53 insertions(+), 53 deletions(-) diff --git a/data/bedrock/1.16.220/protocol.json b/data/bedrock/1.16.220/protocol.json index dfd2bb96c..bef26b2c1 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.16.220/types.yml b/data/bedrock/1.16.220/types.yml index 876e3575a..fc2b414a6 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: bool + has_stack_id: u8 # 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 + 113: panda \ No newline at end of file diff --git a/data/bedrock/1.17.0/protocol.json b/data/bedrock/1.17.0/protocol.json index 2c8b11ab8..f969c0ce5 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.17.0/types.yml b/data/bedrock/1.17.0/types.yml index cd5490ec0..a32dbe5b8 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: bool + has_stack_id: u8 # 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 + 113: panda \ No newline at end of file diff --git a/data/bedrock/1.17.10/protocol.json b/data/bedrock/1.17.10/protocol.json index 64caa53fb..eb3b86e75 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.17.10/types.yml b/data/bedrock/1.17.10/types.yml index 99757c9aa..7fb602928 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: bool + has_stack_id: u8 # 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 + 113: panda \ No newline at end of file diff --git a/data/bedrock/1.17.30/protocol.json b/data/bedrock/1.17.30/protocol.json index 44ef93e03..ee09bf708 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.17.30/types.yml b/data/bedrock/1.17.30/types.yml index f25a1c135..1a9663ad4 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: bool + has_stack_id: u8 # 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 + 113: panda \ No newline at end of file diff --git a/data/bedrock/1.17.40/protocol.json b/data/bedrock/1.17.40/protocol.json index abe503cde..c8662f67c 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.17.40/types.yml b/data/bedrock/1.17.40/types.yml index 3c3711eff..fdb92346e 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: bool + has_stack_id: u8 # 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 + 113: panda \ No newline at end of file diff --git a/data/bedrock/1.18.0/protocol.json b/data/bedrock/1.18.0/protocol.json index 05344d33a..95da29e9d 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.18.0/types.yml b/data/bedrock/1.18.0/types.yml index b1732fb7e..087f5a9dc 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: bool + has_stack_id: u8 # 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 + 113: panda \ No newline at end of file diff --git a/data/bedrock/1.18.11/protocol.json b/data/bedrock/1.18.11/protocol.json index 6e897a600..ed48fa685 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.18.11/types.yml b/data/bedrock/1.18.11/types.yml index 37399e6fd..1ae33d695 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: bool + has_stack_id: u8 # 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 +- WindowsPhone \ No newline at end of file diff --git a/data/bedrock/1.18.30/protocol.json b/data/bedrock/1.18.30/protocol.json index 786076587..2159e3dc5 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.18.30/types.yml b/data/bedrock/1.18.30/types.yml index 4c750a7d2..e6fe457cd 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: bool + has_stack_id: u8 # 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 +- WindowsPhone \ No newline at end of file diff --git a/data/bedrock/1.19.1/protocol.json b/data/bedrock/1.19.1/protocol.json index 95f7b5dc0..da1e302da 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.1/types.yml b/data/bedrock/1.19.1/types.yml index 4c78420be..954f59704 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: bool + has_stack_id: u8 # 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 +- Linux \ No newline at end of file diff --git a/data/bedrock/1.19.10/protocol.json b/data/bedrock/1.19.10/protocol.json index acc8bb186..064598337 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.10/types.yml b/data/bedrock/1.19.10/types.yml index c70f9a25d..f103d081a 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: bool + has_stack_id: u8 # 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 ea6a4c9be..5b146206e 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.20/types.yml b/data/bedrock/1.19.20/types.yml index 683a60314..e1af27765 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: bool + has_stack_id: u8 # 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 ea6a4c9be..5b146206e 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.21/types.yml b/data/bedrock/1.19.21/types.yml index 683a60314..e1af27765 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: bool + has_stack_id: u8 # 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 99b8cca87..a116c8515 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.30/types.yml b/data/bedrock/1.19.30/types.yml index a3e894def..0534da483 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: bool + has_stack_id: u8 # 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 e3d5fedf2..6dd6a797a 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.40/types.yml b/data/bedrock/1.19.40/types.yml index 7f2f0c52f..5f580c7b3 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: bool + has_stack_id: u8 # 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 f73d02af0..94450a5cb 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.50/types.yml b/data/bedrock/1.19.50/types.yml index 339811203..64fba56a1 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: bool + has_stack_id: u8 # 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 d2a7c9f5c..bb59e5c7d 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.60/types.yml b/data/bedrock/1.19.60/types.yml index dfbfbb8d0..20ea08e18 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: bool + has_stack_id: u8 # 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 d06946808..c9f0c9dbe 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.62/types.yml b/data/bedrock/1.19.62/types.yml index 4b571431a..b3107da1c 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: bool + has_stack_id: u8 # 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 3ac2f03dd..659371102 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.70/types.yml b/data/bedrock/1.19.70/types.yml index 0cd205518..0a143b3db 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: bool + has_stack_id: u8 # 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 39fde8e77..ca8e51d83 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.19.80/types.yml b/data/bedrock/1.19.80/types.yml index aa72561c6..7a00b13eb 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: bool + has_stack_id: u8 # 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 1bedc52f8..dde928c89 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.20.0/types.yml b/data/bedrock/1.20.0/types.yml index 08bd13ac3..e285c103c 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: bool + has_stack_id: u8 # 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 f779a2743..6db1e7b5b 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": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/1.20.10/types.yml b/data/bedrock/1.20.10/types.yml index 8fc7b0259..0cb119aeb 100644 --- a/data/bedrock/1.20.10/types.yml +++ b/data/bedrock/1.20.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: bool + has_stack_id: u8 # 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.30/protocol.json b/data/bedrock/1.20.30/protocol.json index 66e87aa25..5317f97f7 100644 --- a/data/bedrock/1.20.30/protocol.json +++ b/data/bedrock/1.20.30/protocol.json @@ -486,7 +486,7 @@ }, { "name": "has_stack_id", - "type": "bool" + "type": "u8" }, { "name": "stack_id", diff --git a/data/bedrock/latest/types.yml b/data/bedrock/latest/types.yml index bb81891a3..8b51a3c8e 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: bool + has_stack_id: u8 # 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.