minecraft-data 3.50.0 → 3.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/data.js +50 -0
  2. package/doc/history.md +4 -0
  3. package/index.d.ts +398 -1
  4. package/minecraft-data/README.md +1 -1
  5. package/minecraft-data/data/bedrock/1.16.201/proto.yml +1 -0
  6. package/minecraft-data/data/bedrock/1.16.201/protocol.json +12 -5
  7. package/minecraft-data/data/bedrock/1.16.201/types.yml +2 -2
  8. package/minecraft-data/data/bedrock/1.16.210/proto.yml +1 -0
  9. package/minecraft-data/data/bedrock/1.16.210/protocol.json +12 -5
  10. package/minecraft-data/data/bedrock/1.16.210/types.yml +2 -2
  11. package/minecraft-data/data/bedrock/1.16.220/proto.yml +1 -0
  12. package/minecraft-data/data/bedrock/1.16.220/protocol.json +12 -5
  13. package/minecraft-data/data/bedrock/1.16.220/types.yml +2 -2
  14. package/minecraft-data/data/bedrock/1.17.0/proto.yml +1 -0
  15. package/minecraft-data/data/bedrock/1.17.0/protocol.json +12 -5
  16. package/minecraft-data/data/bedrock/1.17.0/types.yml +2 -2
  17. package/minecraft-data/data/bedrock/1.17.10/proto.yml +1 -0
  18. package/minecraft-data/data/bedrock/1.17.10/protocol.json +12 -5
  19. package/minecraft-data/data/bedrock/1.17.10/types.yml +2 -2
  20. package/minecraft-data/data/bedrock/1.17.30/proto.yml +1 -0
  21. package/minecraft-data/data/bedrock/1.17.30/protocol.json +12 -5
  22. package/minecraft-data/data/bedrock/1.17.30/types.yml +2 -2
  23. package/minecraft-data/data/bedrock/1.17.40/proto.yml +1 -0
  24. package/minecraft-data/data/bedrock/1.17.40/protocol.json +12 -5
  25. package/minecraft-data/data/bedrock/1.17.40/types.yml +2 -2
  26. package/minecraft-data/data/bedrock/1.18.0/proto.yml +1 -0
  27. package/minecraft-data/data/bedrock/1.18.0/protocol.json +12 -5
  28. package/minecraft-data/data/bedrock/1.18.0/types.yml +2 -2
  29. package/minecraft-data/data/bedrock/1.18.11/proto.yml +1 -0
  30. package/minecraft-data/data/bedrock/1.18.11/protocol.json +12 -5
  31. package/minecraft-data/data/bedrock/1.18.11/types.yml +2 -2
  32. package/minecraft-data/data/bedrock/1.18.30/proto.yml +1 -0
  33. package/minecraft-data/data/bedrock/1.18.30/protocol.json +12 -5
  34. package/minecraft-data/data/bedrock/1.18.30/types.yml +2 -2
  35. package/minecraft-data/data/bedrock/1.19.1/proto.yml +1 -0
  36. package/minecraft-data/data/bedrock/1.19.1/protocol.json +12 -5
  37. package/minecraft-data/data/bedrock/1.19.1/types.yml +2 -2
  38. package/minecraft-data/data/bedrock/1.19.10/proto.yml +1 -0
  39. package/minecraft-data/data/bedrock/1.19.10/protocol.json +12 -5
  40. package/minecraft-data/data/bedrock/1.19.10/types.yml +2 -2
  41. package/minecraft-data/data/bedrock/1.19.20/proto.yml +1 -0
  42. package/minecraft-data/data/bedrock/1.19.20/protocol.json +12 -5
  43. package/minecraft-data/data/bedrock/1.19.20/types.yml +2 -2
  44. package/minecraft-data/data/bedrock/1.19.21/proto.yml +1 -0
  45. package/minecraft-data/data/bedrock/1.19.21/protocol.json +12 -5
  46. package/minecraft-data/data/bedrock/1.19.21/types.yml +2 -2
  47. package/minecraft-data/data/bedrock/1.19.30/proto.yml +1 -0
  48. package/minecraft-data/data/bedrock/1.19.30/protocol.json +12 -5
  49. package/minecraft-data/data/bedrock/1.19.30/types.yml +2 -2
  50. package/minecraft-data/data/bedrock/1.19.40/proto.yml +1 -0
  51. package/minecraft-data/data/bedrock/1.19.40/protocol.json +12 -5
  52. package/minecraft-data/data/bedrock/1.19.40/types.yml +2 -2
  53. package/minecraft-data/data/bedrock/1.19.50/proto.yml +1 -0
  54. package/minecraft-data/data/bedrock/1.19.50/protocol.json +12 -5
  55. package/minecraft-data/data/bedrock/1.19.50/types.yml +2 -2
  56. package/minecraft-data/data/bedrock/1.19.60/proto.yml +1 -0
  57. package/minecraft-data/data/bedrock/1.19.60/protocol.json +13 -6
  58. package/minecraft-data/data/bedrock/1.19.60/types.yml +3 -3
  59. package/minecraft-data/data/bedrock/1.19.62/proto.yml +1 -0
  60. package/minecraft-data/data/bedrock/1.19.62/protocol.json +13 -6
  61. package/minecraft-data/data/bedrock/1.19.62/types.yml +3 -3
  62. package/minecraft-data/data/bedrock/1.19.70/proto.yml +1 -0
  63. package/minecraft-data/data/bedrock/1.19.70/protocol.json +13 -6
  64. package/minecraft-data/data/bedrock/1.19.70/types.yml +3 -3
  65. package/minecraft-data/data/bedrock/1.19.80/proto.yml +1 -0
  66. package/minecraft-data/data/bedrock/1.19.80/protocol.json +14 -7
  67. package/minecraft-data/data/bedrock/1.19.80/types.yml +4 -4
  68. package/minecraft-data/data/bedrock/1.20.0/proto.yml +1 -0
  69. package/minecraft-data/data/bedrock/1.20.0/protocol.json +14 -7
  70. package/minecraft-data/data/bedrock/1.20.0/types.yml +4 -4
  71. package/minecraft-data/data/bedrock/1.20.10/proto.yml +1 -0
  72. package/minecraft-data/data/bedrock/1.20.10/protocol.json +14 -7
  73. package/minecraft-data/data/bedrock/1.20.10/types.yml +4 -4
  74. package/minecraft-data/data/bedrock/1.20.30/proto.yml +1 -0
  75. package/minecraft-data/data/bedrock/1.20.30/protocol.json +14 -7
  76. package/minecraft-data/data/bedrock/1.20.30/types.yml +4 -4
  77. package/minecraft-data/data/bedrock/1.20.40/proto.yml +1 -0
  78. package/minecraft-data/data/bedrock/1.20.40/protocol.json +14 -7
  79. package/minecraft-data/data/bedrock/1.20.40/types.yml +4 -4
  80. package/minecraft-data/data/bedrock/1.20.50/protocol.json +14 -7
  81. package/minecraft-data/data/bedrock/latest/proto.yml +1 -0
  82. package/minecraft-data/data/bedrock/latest/types.yml +4 -4
  83. package/minecraft-data/data/dataPaths.json +52 -2
  84. package/minecraft-data/data/pc/1.20.2/protocol.json +23 -11
  85. package/minecraft-data/data/pc/1.20.2/recipes.json +385 -409
  86. package/minecraft-data/data/pc/1.20.3/blockCollisionShapes.json +136951 -0
  87. package/minecraft-data/data/pc/1.20.3/blocks.json +39334 -0
  88. package/minecraft-data/data/pc/1.20.3/commands.json +18734 -0
  89. package/minecraft-data/data/pc/1.20.3/entities.json +1262 -0
  90. package/minecraft-data/data/pc/1.20.3/foods.json +402 -0
  91. package/minecraft-data/data/pc/1.20.3/items.json +8591 -0
  92. package/minecraft-data/data/pc/1.20.3/language.json +6542 -0
  93. package/minecraft-data/data/pc/1.20.3/materials.json +154 -0
  94. package/minecraft-data/data/pc/1.20.3/particles.json +406 -0
  95. package/minecraft-data/data/pc/1.20.3/recipes.json +15119 -0
  96. package/minecraft-data/data/pc/1.20.3/version.json +5 -0
  97. package/minecraft-data/data/pc/1.20.4/blocks.json +39334 -0
  98. package/minecraft-data/data/pc/1.20.4/version.json +5 -0
  99. package/minecraft-data/data/pc/1.8/items.json +1114 -90
  100. package/minecraft-data/data/pc/common/protocolVersions.json +16 -0
  101. package/minecraft-data/data/pc/common/versions.json +3 -1
  102. package/minecraft-data/doc/history.md +9 -0
  103. package/minecraft-data/tools/js/test/audit_recipes.js +27 -0
  104. package/minecraft-data/tools/js/test/test.js +1 -0
  105. package/package.json +2 -2
  106. package/typings/generate-typings.js +21 -0
  107. package/typings/index-template.d.ts +2 -0
  108. package/typings/test-typings.ts +5 -0
@@ -692,7 +692,7 @@ Recipes: []varint
692
692
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
693
693
  recipe: type?
694
694
  if shapeless or shulker_box or shapeless_chemistry:
695
- recipe_id: string
695
+ recipe_id: LatinString
696
696
  input: RecipeIngredient[]varint
697
697
  output: ItemLegacy[]varint
698
698
  uuid: uuid
@@ -700,7 +700,7 @@ Recipes: []varint
700
700
  priority: zigzag32
701
701
  network_id: varint
702
702
  if shaped or shaped_chemistry:
703
- recipe_id: string
703
+ recipe_id: LatinString
704
704
  width: zigzag32
705
705
  height: zigzag32
706
706
  # 2D input array, size of width*height
@@ -8,6 +8,7 @@ string: ["pstring",{"countType":"varint"}] # String / array types
8
8
  ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
+ LatinString: ["pstring",{"countType":"varint", "encoding": "latin1"}]
11
12
  ShortArray: ["buffer",{"countType":"li16"}]
12
13
  ShortString: ["pstring",{"countType":"li16"}]
13
14
  varint64: native # Some primitives
@@ -1513,7 +1513,7 @@
1513
1513
  [
1514
1514
  {
1515
1515
  "name": "recipe_id",
1516
- "type": "string"
1516
+ "type": "LatinString"
1517
1517
  },
1518
1518
  {
1519
1519
  "name": "input",
@@ -1558,7 +1558,7 @@
1558
1558
  [
1559
1559
  {
1560
1560
  "name": "recipe_id",
1561
- "type": "string"
1561
+ "type": "LatinString"
1562
1562
  },
1563
1563
  {
1564
1564
  "name": "input",
@@ -1603,7 +1603,7 @@
1603
1603
  [
1604
1604
  {
1605
1605
  "name": "recipe_id",
1606
- "type": "string"
1606
+ "type": "LatinString"
1607
1607
  },
1608
1608
  {
1609
1609
  "name": "input",
@@ -1648,7 +1648,7 @@
1648
1648
  [
1649
1649
  {
1650
1650
  "name": "recipe_id",
1651
- "type": "string"
1651
+ "type": "LatinString"
1652
1652
  },
1653
1653
  {
1654
1654
  "name": "width",
@@ -1707,7 +1707,7 @@
1707
1707
  [
1708
1708
  {
1709
1709
  "name": "recipe_id",
1710
- "type": "string"
1710
+ "type": "LatinString"
1711
1711
  },
1712
1712
  {
1713
1713
  "name": "width",
@@ -1817,7 +1817,7 @@
1817
1817
  [
1818
1818
  {
1819
1819
  "name": "recipe_id",
1820
- "type": "string"
1820
+ "type": "LatinString"
1821
1821
  },
1822
1822
  {
1823
1823
  "name": "base",
@@ -10830,6 +10830,13 @@
10830
10830
  "countType": "li32"
10831
10831
  }
10832
10832
  ],
10833
+ "LatinString": [
10834
+ "pstring",
10835
+ {
10836
+ "countType": "varint",
10837
+ "encoding": "latin1"
10838
+ }
10839
+ ],
10833
10840
  "ShortArray": [
10834
10841
  "buffer",
10835
10842
  {
@@ -695,7 +695,7 @@ Recipes: []varint
695
695
  8: smithing_transform
696
696
  recipe: type?
697
697
  if shapeless or shulker_box or shapeless_chemistry:
698
- recipe_id: string
698
+ recipe_id: LatinString
699
699
  input: RecipeIngredient[]varint
700
700
  output: ItemLegacy[]varint
701
701
  uuid: uuid
@@ -703,7 +703,7 @@ Recipes: []varint
703
703
  priority: zigzag32
704
704
  network_id: varint
705
705
  if shaped or shaped_chemistry:
706
- recipe_id: string
706
+ recipe_id: LatinString
707
707
  width: zigzag32
708
708
  height: zigzag32
709
709
  # 2D input array, size of width*height
@@ -729,7 +729,7 @@ Recipes: []varint
729
729
  if smithing_transform:
730
730
  # RecipeID is a unique ID of the recipe. This ID must be unique amongst all other types of recipes too,
731
731
  # but its functionality is not exactly known.
732
- recipe_id: string
732
+ recipe_id: LatinString
733
733
  # Base is the item that the Addition is being applied to in the smithing table.
734
734
  base: RecipeIngredient
735
735
  # Addition is the item that is being added to the Base item to result in a modified item.
@@ -8,6 +8,7 @@ string: ["pstring",{"countType":"varint"}] # String / array types
8
8
  ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
+ LatinString: ["pstring",{"countType":"varint", "encoding": "latin1"}]
11
12
  ShortArray: ["buffer",{"countType":"li16"}]
12
13
  ShortString: ["pstring",{"countType":"li16"}]
13
14
  varint64: native # Some primitives
@@ -1513,7 +1513,7 @@
1513
1513
  [
1514
1514
  {
1515
1515
  "name": "recipe_id",
1516
- "type": "string"
1516
+ "type": "LatinString"
1517
1517
  },
1518
1518
  {
1519
1519
  "name": "input",
@@ -1558,7 +1558,7 @@
1558
1558
  [
1559
1559
  {
1560
1560
  "name": "recipe_id",
1561
- "type": "string"
1561
+ "type": "LatinString"
1562
1562
  },
1563
1563
  {
1564
1564
  "name": "input",
@@ -1603,7 +1603,7 @@
1603
1603
  [
1604
1604
  {
1605
1605
  "name": "recipe_id",
1606
- "type": "string"
1606
+ "type": "LatinString"
1607
1607
  },
1608
1608
  {
1609
1609
  "name": "input",
@@ -1648,7 +1648,7 @@
1648
1648
  [
1649
1649
  {
1650
1650
  "name": "recipe_id",
1651
- "type": "string"
1651
+ "type": "LatinString"
1652
1652
  },
1653
1653
  {
1654
1654
  "name": "width",
@@ -1707,7 +1707,7 @@
1707
1707
  [
1708
1708
  {
1709
1709
  "name": "recipe_id",
1710
- "type": "string"
1710
+ "type": "LatinString"
1711
1711
  },
1712
1712
  {
1713
1713
  "name": "width",
@@ -1817,7 +1817,7 @@
1817
1817
  [
1818
1818
  {
1819
1819
  "name": "recipe_id",
1820
- "type": "string"
1820
+ "type": "LatinString"
1821
1821
  },
1822
1822
  {
1823
1823
  "name": "base",
@@ -10834,6 +10834,13 @@
10834
10834
  "countType": "li32"
10835
10835
  }
10836
10836
  ],
10837
+ "LatinString": [
10838
+ "pstring",
10839
+ {
10840
+ "countType": "varint",
10841
+ "encoding": "latin1"
10842
+ }
10843
+ ],
10837
10844
  "ShortArray": [
10838
10845
  "buffer",
10839
10846
  {
@@ -695,7 +695,7 @@ Recipes: []varint
695
695
  8: smithing_transform
696
696
  recipe: type?
697
697
  if shapeless or shulker_box or shapeless_chemistry:
698
- recipe_id: string
698
+ recipe_id: LatinString
699
699
  input: RecipeIngredient[]varint
700
700
  output: ItemLegacy[]varint
701
701
  uuid: uuid
@@ -703,7 +703,7 @@ Recipes: []varint
703
703
  priority: zigzag32
704
704
  network_id: varint
705
705
  if shaped or shaped_chemistry:
706
- recipe_id: string
706
+ recipe_id: LatinString
707
707
  width: zigzag32
708
708
  height: zigzag32
709
709
  # 2D input array, size of width*height
@@ -729,7 +729,7 @@ Recipes: []varint
729
729
  if smithing_transform:
730
730
  # RecipeID is a unique ID of the recipe. This ID must be unique amongst all other types of recipes too,
731
731
  # but its functionality is not exactly known.
732
- recipe_id: string
732
+ recipe_id: LatinString
733
733
  # Base is the item that the Addition is being applied to in the smithing table.
734
734
  base: RecipeIngredient
735
735
  # Addition is the item that is being added to the Base item to result in a modified item.
@@ -8,6 +8,7 @@ string: ["pstring",{"countType":"varint"}] # String / array types
8
8
  ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
+ LatinString: ["pstring",{"countType":"varint", "encoding": "latin1"}]
11
12
  ShortArray: ["buffer",{"countType":"li16"}]
12
13
  ShortString: ["pstring",{"countType":"li16"}]
13
14
  varint64: native # Some primitives
@@ -1523,7 +1523,7 @@
1523
1523
  [
1524
1524
  {
1525
1525
  "name": "recipe_id",
1526
- "type": "string"
1526
+ "type": "LatinString"
1527
1527
  },
1528
1528
  {
1529
1529
  "name": "input",
@@ -1568,7 +1568,7 @@
1568
1568
  [
1569
1569
  {
1570
1570
  "name": "recipe_id",
1571
- "type": "string"
1571
+ "type": "LatinString"
1572
1572
  },
1573
1573
  {
1574
1574
  "name": "input",
@@ -1613,7 +1613,7 @@
1613
1613
  [
1614
1614
  {
1615
1615
  "name": "recipe_id",
1616
- "type": "string"
1616
+ "type": "LatinString"
1617
1617
  },
1618
1618
  {
1619
1619
  "name": "input",
@@ -1658,7 +1658,7 @@
1658
1658
  [
1659
1659
  {
1660
1660
  "name": "recipe_id",
1661
- "type": "string"
1661
+ "type": "LatinString"
1662
1662
  },
1663
1663
  {
1664
1664
  "name": "width",
@@ -1717,7 +1717,7 @@
1717
1717
  [
1718
1718
  {
1719
1719
  "name": "recipe_id",
1720
- "type": "string"
1720
+ "type": "LatinString"
1721
1721
  },
1722
1722
  {
1723
1723
  "name": "width",
@@ -1827,7 +1827,7 @@
1827
1827
  [
1828
1828
  {
1829
1829
  "name": "recipe_id",
1830
- "type": "string"
1830
+ "type": "LatinString"
1831
1831
  },
1832
1832
  {
1833
1833
  "name": "base",
@@ -10893,6 +10893,13 @@
10893
10893
  "countType": "li32"
10894
10894
  }
10895
10895
  ],
10896
+ "LatinString": [
10897
+ "pstring",
10898
+ {
10899
+ "countType": "varint",
10900
+ "encoding": "latin1"
10901
+ }
10902
+ ],
10896
10903
  "ShortArray": [
10897
10904
  "buffer",
10898
10905
  {
@@ -705,7 +705,7 @@ Recipes: []varint
705
705
  8: smithing_transform
706
706
  recipe: type?
707
707
  if shapeless or shulker_box or shapeless_chemistry:
708
- recipe_id: string
708
+ recipe_id: LatinString
709
709
  input: RecipeIngredient[]varint
710
710
  output: ItemLegacy[]varint
711
711
  uuid: uuid
@@ -713,7 +713,7 @@ Recipes: []varint
713
713
  priority: zigzag32
714
714
  network_id: varint
715
715
  if shaped or shaped_chemistry:
716
- recipe_id: string
716
+ recipe_id: LatinString
717
717
  width: zigzag32
718
718
  height: zigzag32
719
719
  # 2D input array, size of width*height
@@ -739,7 +739,7 @@ Recipes: []varint
739
739
  if smithing_transform:
740
740
  # RecipeID is a unique ID of the recipe. This ID must be unique amongst all other types of recipes too,
741
741
  # but its functionality is not exactly known.
742
- recipe_id: string
742
+ recipe_id: LatinString
743
743
  # Base is the item that the Addition is being applied to in the smithing table.
744
744
  base: RecipeIngredient
745
745
  # Addition is the item that is being added to the Base item to result in a modified item.
@@ -8,6 +8,7 @@ string: ["pstring",{"countType":"varint"}] # String / array types
8
8
  ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
+ LatinString: ["pstring",{"countType":"varint", "encoding": "latin1"}]
11
12
  ShortArray: ["buffer",{"countType":"li16"}]
12
13
  ShortString: ["pstring",{"countType":"li16"}]
13
14
  varint64: native # Some primitives
@@ -1524,7 +1524,7 @@
1524
1524
  [
1525
1525
  {
1526
1526
  "name": "recipe_id",
1527
- "type": "string"
1527
+ "type": "LatinString"
1528
1528
  },
1529
1529
  {
1530
1530
  "name": "input",
@@ -1569,7 +1569,7 @@
1569
1569
  [
1570
1570
  {
1571
1571
  "name": "recipe_id",
1572
- "type": "string"
1572
+ "type": "LatinString"
1573
1573
  },
1574
1574
  {
1575
1575
  "name": "input",
@@ -1614,7 +1614,7 @@
1614
1614
  [
1615
1615
  {
1616
1616
  "name": "recipe_id",
1617
- "type": "string"
1617
+ "type": "LatinString"
1618
1618
  },
1619
1619
  {
1620
1620
  "name": "input",
@@ -1659,7 +1659,7 @@
1659
1659
  [
1660
1660
  {
1661
1661
  "name": "recipe_id",
1662
- "type": "string"
1662
+ "type": "LatinString"
1663
1663
  },
1664
1664
  {
1665
1665
  "name": "width",
@@ -1718,7 +1718,7 @@
1718
1718
  [
1719
1719
  {
1720
1720
  "name": "recipe_id",
1721
- "type": "string"
1721
+ "type": "LatinString"
1722
1722
  },
1723
1723
  {
1724
1724
  "name": "width",
@@ -1828,7 +1828,7 @@
1828
1828
  [
1829
1829
  {
1830
1830
  "name": "recipe_id",
1831
- "type": "string"
1831
+ "type": "LatinString"
1832
1832
  },
1833
1833
  {
1834
1834
  "name": "template",
@@ -1861,7 +1861,7 @@
1861
1861
  [
1862
1862
  {
1863
1863
  "name": "recipe_id",
1864
- "type": "string"
1864
+ "type": "LatinString"
1865
1865
  },
1866
1866
  {
1867
1867
  "name": "template",
@@ -11031,6 +11031,13 @@
11031
11031
  "countType": "li32"
11032
11032
  }
11033
11033
  ],
11034
+ "LatinString": [
11035
+ "pstring",
11036
+ {
11037
+ "countType": "varint",
11038
+ "encoding": "latin1"
11039
+ }
11040
+ ],
11034
11041
  "ShortArray": [
11035
11042
  "buffer",
11036
11043
  {
@@ -706,7 +706,7 @@ Recipes: []varint
706
706
  9: smithing_trim
707
707
  recipe: type?
708
708
  if shapeless or shulker_box or shapeless_chemistry:
709
- recipe_id: string
709
+ recipe_id: LatinString
710
710
  input: RecipeIngredient[]varint
711
711
  output: ItemLegacy[]varint
712
712
  uuid: uuid
@@ -714,7 +714,7 @@ Recipes: []varint
714
714
  priority: zigzag32
715
715
  network_id: varint
716
716
  if shaped or shaped_chemistry:
717
- recipe_id: string
717
+ recipe_id: LatinString
718
718
  width: zigzag32
719
719
  height: zigzag32
720
720
  # 2D input array, size of width*height
@@ -740,7 +740,7 @@ Recipes: []varint
740
740
  if smithing_transform:
741
741
  # RecipeID is a unique ID of the recipe. This ID must be unique amongst all other types of recipes too,
742
742
  # but its functionality is not exactly known.
743
- recipe_id: string
743
+ recipe_id: LatinString
744
744
  template: RecipeIngredient
745
745
  # Base is the item that the Addition is being applied to in the smithing table.
746
746
  base: RecipeIngredient
@@ -755,7 +755,7 @@ Recipes: []varint
755
755
  # This field must never be 0.
756
756
  network_id: varint
757
757
  if smithing_trim:
758
- recipe_id: string
758
+ recipe_id: LatinString
759
759
  template: RecipeIngredient
760
760
  input: RecipeIngredient
761
761
  addition: RecipeIngredient
@@ -8,6 +8,7 @@ string: ["pstring",{"countType":"varint"}] # String / array types
8
8
  ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
+ LatinString: ["pstring",{"countType":"varint", "encoding": "latin1"}]
11
12
  ShortArray: ["buffer",{"countType":"li16"}]
12
13
  ShortString: ["pstring",{"countType":"li16"}]
13
14
  varint64: native # Some primitives
@@ -1524,7 +1524,7 @@
1524
1524
  [
1525
1525
  {
1526
1526
  "name": "recipe_id",
1527
- "type": "string"
1527
+ "type": "LatinString"
1528
1528
  },
1529
1529
  {
1530
1530
  "name": "input",
@@ -1569,7 +1569,7 @@
1569
1569
  [
1570
1570
  {
1571
1571
  "name": "recipe_id",
1572
- "type": "string"
1572
+ "type": "LatinString"
1573
1573
  },
1574
1574
  {
1575
1575
  "name": "input",
@@ -1614,7 +1614,7 @@
1614
1614
  [
1615
1615
  {
1616
1616
  "name": "recipe_id",
1617
- "type": "string"
1617
+ "type": "LatinString"
1618
1618
  },
1619
1619
  {
1620
1620
  "name": "input",
@@ -1659,7 +1659,7 @@
1659
1659
  [
1660
1660
  {
1661
1661
  "name": "recipe_id",
1662
- "type": "string"
1662
+ "type": "LatinString"
1663
1663
  },
1664
1664
  {
1665
1665
  "name": "width",
@@ -1718,7 +1718,7 @@
1718
1718
  [
1719
1719
  {
1720
1720
  "name": "recipe_id",
1721
- "type": "string"
1721
+ "type": "LatinString"
1722
1722
  },
1723
1723
  {
1724
1724
  "name": "width",
@@ -1828,7 +1828,7 @@
1828
1828
  [
1829
1829
  {
1830
1830
  "name": "recipe_id",
1831
- "type": "string"
1831
+ "type": "LatinString"
1832
1832
  },
1833
1833
  {
1834
1834
  "name": "template",
@@ -1861,7 +1861,7 @@
1861
1861
  [
1862
1862
  {
1863
1863
  "name": "recipe_id",
1864
- "type": "string"
1864
+ "type": "LatinString"
1865
1865
  },
1866
1866
  {
1867
1867
  "name": "template",
@@ -11062,6 +11062,13 @@
11062
11062
  "countType": "li32"
11063
11063
  }
11064
11064
  ],
11065
+ "LatinString": [
11066
+ "pstring",
11067
+ {
11068
+ "countType": "varint",
11069
+ "encoding": "latin1"
11070
+ }
11071
+ ],
11065
11072
  "ShortArray": [
11066
11073
  "buffer",
11067
11074
  {
@@ -706,7 +706,7 @@ Recipes: []varint
706
706
  9: smithing_trim
707
707
  recipe: type?
708
708
  if shapeless or shulker_box or shapeless_chemistry:
709
- recipe_id: string
709
+ recipe_id: LatinString
710
710
  input: RecipeIngredient[]varint
711
711
  output: ItemLegacy[]varint
712
712
  uuid: uuid
@@ -714,7 +714,7 @@ Recipes: []varint
714
714
  priority: zigzag32
715
715
  network_id: varint
716
716
  if shaped or shaped_chemistry:
717
- recipe_id: string
717
+ recipe_id: LatinString
718
718
  width: zigzag32
719
719
  height: zigzag32
720
720
  # 2D input array, size of width*height
@@ -740,7 +740,7 @@ Recipes: []varint
740
740
  if smithing_transform:
741
741
  # RecipeID is a unique ID of the recipe. This ID must be unique amongst all other types of recipes too,
742
742
  # but its functionality is not exactly known.
743
- recipe_id: string
743
+ recipe_id: LatinString
744
744
  template: RecipeIngredient
745
745
  # Base is the item that the Addition is being applied to in the smithing table.
746
746
  base: RecipeIngredient
@@ -755,7 +755,7 @@ Recipes: []varint
755
755
  # This field must never be 0.
756
756
  network_id: varint
757
757
  if smithing_trim:
758
- recipe_id: string
758
+ recipe_id: LatinString
759
759
  template: RecipeIngredient
760
760
  input: RecipeIngredient
761
761
  addition: RecipeIngredient
@@ -8,6 +8,7 @@ string: ["pstring",{"countType":"varint"}] # String / array types
8
8
  ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
+ LatinString: ["pstring",{"countType":"varint", "encoding": "latin1"}]
11
12
  ShortArray: ["buffer",{"countType":"li16"}]
12
13
  ShortString: ["pstring",{"countType":"li16"}]
13
14
  varint64: native # Some primitives
@@ -1525,7 +1525,7 @@
1525
1525
  [
1526
1526
  {
1527
1527
  "name": "recipe_id",
1528
- "type": "string"
1528
+ "type": "LatinString"
1529
1529
  },
1530
1530
  {
1531
1531
  "name": "input",
@@ -1570,7 +1570,7 @@
1570
1570
  [
1571
1571
  {
1572
1572
  "name": "recipe_id",
1573
- "type": "string"
1573
+ "type": "LatinString"
1574
1574
  },
1575
1575
  {
1576
1576
  "name": "input",
@@ -1615,7 +1615,7 @@
1615
1615
  [
1616
1616
  {
1617
1617
  "name": "recipe_id",
1618
- "type": "string"
1618
+ "type": "LatinString"
1619
1619
  },
1620
1620
  {
1621
1621
  "name": "input",
@@ -1660,7 +1660,7 @@
1660
1660
  [
1661
1661
  {
1662
1662
  "name": "recipe_id",
1663
- "type": "string"
1663
+ "type": "LatinString"
1664
1664
  },
1665
1665
  {
1666
1666
  "name": "width",
@@ -1719,7 +1719,7 @@
1719
1719
  [
1720
1720
  {
1721
1721
  "name": "recipe_id",
1722
- "type": "string"
1722
+ "type": "LatinString"
1723
1723
  },
1724
1724
  {
1725
1725
  "name": "width",
@@ -1829,7 +1829,7 @@
1829
1829
  [
1830
1830
  {
1831
1831
  "name": "recipe_id",
1832
- "type": "string"
1832
+ "type": "LatinString"
1833
1833
  },
1834
1834
  {
1835
1835
  "name": "template",
@@ -1862,7 +1862,7 @@
1862
1862
  [
1863
1863
  {
1864
1864
  "name": "recipe_id",
1865
- "type": "string"
1865
+ "type": "LatinString"
1866
1866
  },
1867
1867
  {
1868
1868
  "name": "template",
@@ -11155,6 +11155,13 @@
11155
11155
  "countType": "li32"
11156
11156
  }
11157
11157
  ],
11158
+ "LatinString": [
11159
+ "pstring",
11160
+ {
11161
+ "countType": "varint",
11162
+ "encoding": "latin1"
11163
+ }
11164
+ ],
11158
11165
  "ShortArray": [
11159
11166
  "buffer",
11160
11167
  {