Skip to content

Commit

Permalink
Update bedrock protocol data for has_stack_id in Item to a boolean (#770
Browse files Browse the repository at this point in the history
)
  • Loading branch information
CreeperG16 committed Sep 12, 2023
1 parent 43d3931 commit 3928388
Show file tree
Hide file tree
Showing 42 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion data/bedrock/1.16.220/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
4 changes: 2 additions & 2 deletions data/bedrock/1.16.220/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1656,4 +1656,4 @@ LegacyEntityType: li32 =>
110: drowned
111: tropicalfish
112: cod
113: panda
113: panda
2 changes: 1 addition & 1 deletion data/bedrock/1.17.0/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
4 changes: 2 additions & 2 deletions data/bedrock/1.17.0/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1698,4 +1698,4 @@ LegacyEntityType: li32 =>
110: drowned
111: tropicalfish
112: cod
113: panda
113: panda
2 changes: 1 addition & 1 deletion data/bedrock/1.17.10/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
4 changes: 2 additions & 2 deletions data/bedrock/1.17.10/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1700,4 +1700,4 @@ LegacyEntityType: li32 =>
110: drowned
111: tropicalfish
112: cod
113: panda
113: panda
2 changes: 1 addition & 1 deletion data/bedrock/1.17.30/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
4 changes: 2 additions & 2 deletions data/bedrock/1.17.30/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1746,4 +1746,4 @@ LegacyEntityType: li32 =>
110: drowned
111: tropicalfish
112: cod
113: panda
113: panda
2 changes: 1 addition & 1 deletion data/bedrock/1.17.40/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
4 changes: 2 additions & 2 deletions data/bedrock/1.17.40/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1761,4 +1761,4 @@ LegacyEntityType: li32 =>
110: drowned
111: tropicalfish
112: cod
113: panda
113: panda
2 changes: 1 addition & 1 deletion data/bedrock/1.18.0/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
4 changes: 2 additions & 2 deletions data/bedrock/1.18.0/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1771,4 +1771,4 @@ LegacyEntityType: li32 =>
110: drowned
111: tropicalfish
112: cod
113: panda
113: panda
2 changes: 1 addition & 1 deletion data/bedrock/1.18.11/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
4 changes: 2 additions & 2 deletions data/bedrock/1.18.11/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1800,4 +1800,4 @@ DeviceOS: li32 =>
- Orbis
- NintendoSwitch
- Xbox
- WindowsPhone
- WindowsPhone
2 changes: 1 addition & 1 deletion data/bedrock/1.18.30/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
4 changes: 2 additions & 2 deletions data/bedrock/1.18.30/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1857,4 +1857,4 @@ DeviceOS: li32 =>
- Orbis
- NintendoSwitch
- Xbox
- WindowsPhone
- WindowsPhone
2 changes: 1 addition & 1 deletion data/bedrock/1.19.1/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
4 changes: 2 additions & 2 deletions data/bedrock/1.19.1/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1884,4 +1884,4 @@ DeviceOS: li32 =>
- NintendoSwitch
- Xbox
- WindowsPhone
- Linux
- Linux
2 changes: 1 addition & 1 deletion data/bedrock/1.19.10/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.10/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.20/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.20/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.21/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.21/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.30/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.30/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.40/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.40/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.50/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.50/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.60/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.60/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.62/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.62/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.70/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.70/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/bedrock/1.19.80/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
{
"name": "has_stack_id",
"type": "u8"
"type": "bool"
},
{
"name": "stack_id",
Expand Down
Loading

0 comments on commit 3928388

Please sign in to comment.