minecraft-data 3.50.0 → 3.52.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 (109) hide show
  1. package/data.js +51 -1
  2. package/doc/history.md +8 -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 +53 -3
  84. package/minecraft-data/data/pc/1.20.2/loginPacket.json +8464 -0
  85. package/minecraft-data/data/pc/1.20.2/protocol.json +14 -14
  86. package/minecraft-data/data/pc/1.20.2/recipes.json +385 -409
  87. package/minecraft-data/data/pc/1.20.3/blockCollisionShapes.json +136951 -0
  88. package/minecraft-data/data/pc/1.20.3/blocks.json +39334 -0
  89. package/minecraft-data/data/pc/1.20.3/commands.json +18734 -0
  90. package/minecraft-data/data/pc/1.20.3/entities.json +1262 -0
  91. package/minecraft-data/data/pc/1.20.3/foods.json +402 -0
  92. package/minecraft-data/data/pc/1.20.3/items.json +8591 -0
  93. package/minecraft-data/data/pc/1.20.3/language.json +6542 -0
  94. package/minecraft-data/data/pc/1.20.3/materials.json +154 -0
  95. package/minecraft-data/data/pc/1.20.3/particles.json +406 -0
  96. package/minecraft-data/data/pc/1.20.3/recipes.json +15119 -0
  97. package/minecraft-data/data/pc/1.20.3/version.json +5 -0
  98. package/minecraft-data/data/pc/1.20.4/blocks.json +39334 -0
  99. package/minecraft-data/data/pc/1.20.4/version.json +5 -0
  100. package/minecraft-data/data/pc/1.8/items.json +1114 -90
  101. package/minecraft-data/data/pc/common/protocolVersions.json +16 -0
  102. package/minecraft-data/data/pc/common/versions.json +3 -1
  103. package/minecraft-data/doc/history.md +12 -0
  104. package/minecraft-data/tools/js/test/audit_recipes.js +27 -0
  105. package/minecraft-data/tools/js/test/test.js +1 -0
  106. package/package.json +2 -2
  107. package/typings/generate-typings.js +21 -0
  108. package/typings/index-template.d.ts +2 -0
  109. package/typings/test-typings.ts +5 -0
@@ -1362,7 +1362,7 @@
1362
1362
  [
1363
1363
  {
1364
1364
  "name": "recipe_id",
1365
- "type": "string"
1365
+ "type": "LatinString"
1366
1366
  },
1367
1367
  {
1368
1368
  "name": "input",
@@ -1407,7 +1407,7 @@
1407
1407
  [
1408
1408
  {
1409
1409
  "name": "recipe_id",
1410
- "type": "string"
1410
+ "type": "LatinString"
1411
1411
  },
1412
1412
  {
1413
1413
  "name": "input",
@@ -1452,7 +1452,7 @@
1452
1452
  [
1453
1453
  {
1454
1454
  "name": "recipe_id",
1455
- "type": "string"
1455
+ "type": "LatinString"
1456
1456
  },
1457
1457
  {
1458
1458
  "name": "input",
@@ -1497,7 +1497,7 @@
1497
1497
  [
1498
1498
  {
1499
1499
  "name": "recipe_id",
1500
- "type": "string"
1500
+ "type": "LatinString"
1501
1501
  },
1502
1502
  {
1503
1503
  "name": "width",
@@ -1556,7 +1556,7 @@
1556
1556
  [
1557
1557
  {
1558
1558
  "name": "recipe_id",
1559
- "type": "string"
1559
+ "type": "LatinString"
1560
1560
  },
1561
1561
  {
1562
1562
  "name": "width",
@@ -9925,6 +9925,13 @@
9925
9925
  "countType": "li32"
9926
9926
  }
9927
9927
  ],
9928
+ "LatinString": [
9929
+ "pstring",
9930
+ {
9931
+ "countType": "varint",
9932
+ "encoding": "latin1"
9933
+ }
9934
+ ],
9928
9935
  "ShortArray": [
9929
9936
  "buffer",
9930
9937
  {
@@ -641,7 +641,7 @@ Recipes: []varint
641
641
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
642
642
  recipe: type?
643
643
  if shapeless or shulker_box or shapeless_chemistry:
644
- recipe_id: string
644
+ recipe_id: LatinString
645
645
  input: RecipeIngredient[]varint
646
646
  output: ItemLegacy[]varint
647
647
  uuid: uuid
@@ -649,7 +649,7 @@ Recipes: []varint
649
649
  priority: zigzag32
650
650
  network_id: varint
651
651
  if shaped or shaped_chemistry:
652
- recipe_id: string
652
+ recipe_id: LatinString
653
653
  width: zigzag32
654
654
  height: zigzag32
655
655
  # 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
@@ -1362,7 +1362,7 @@
1362
1362
  [
1363
1363
  {
1364
1364
  "name": "recipe_id",
1365
- "type": "string"
1365
+ "type": "LatinString"
1366
1366
  },
1367
1367
  {
1368
1368
  "name": "input",
@@ -1407,7 +1407,7 @@
1407
1407
  [
1408
1408
  {
1409
1409
  "name": "recipe_id",
1410
- "type": "string"
1410
+ "type": "LatinString"
1411
1411
  },
1412
1412
  {
1413
1413
  "name": "input",
@@ -1452,7 +1452,7 @@
1452
1452
  [
1453
1453
  {
1454
1454
  "name": "recipe_id",
1455
- "type": "string"
1455
+ "type": "LatinString"
1456
1456
  },
1457
1457
  {
1458
1458
  "name": "input",
@@ -1497,7 +1497,7 @@
1497
1497
  [
1498
1498
  {
1499
1499
  "name": "recipe_id",
1500
- "type": "string"
1500
+ "type": "LatinString"
1501
1501
  },
1502
1502
  {
1503
1503
  "name": "width",
@@ -1556,7 +1556,7 @@
1556
1556
  [
1557
1557
  {
1558
1558
  "name": "recipe_id",
1559
- "type": "string"
1559
+ "type": "LatinString"
1560
1560
  },
1561
1561
  {
1562
1562
  "name": "width",
@@ -10093,6 +10093,13 @@
10093
10093
  "countType": "li32"
10094
10094
  }
10095
10095
  ],
10096
+ "LatinString": [
10097
+ "pstring",
10098
+ {
10099
+ "countType": "varint",
10100
+ "encoding": "latin1"
10101
+ }
10102
+ ],
10096
10103
  "ShortArray": [
10097
10104
  "buffer",
10098
10105
  {
@@ -641,7 +641,7 @@ Recipes: []varint
641
641
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
642
642
  recipe: type?
643
643
  if shapeless or shulker_box or shapeless_chemistry:
644
- recipe_id: string
644
+ recipe_id: LatinString
645
645
  input: RecipeIngredient[]varint
646
646
  output: ItemLegacy[]varint
647
647
  uuid: uuid
@@ -649,7 +649,7 @@ Recipes: []varint
649
649
  priority: zigzag32
650
650
  network_id: varint
651
651
  if shaped or shaped_chemistry:
652
- recipe_id: string
652
+ recipe_id: LatinString
653
653
  width: zigzag32
654
654
  height: zigzag32
655
655
  # 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
@@ -1362,7 +1362,7 @@
1362
1362
  [
1363
1363
  {
1364
1364
  "name": "recipe_id",
1365
- "type": "string"
1365
+ "type": "LatinString"
1366
1366
  },
1367
1367
  {
1368
1368
  "name": "input",
@@ -1407,7 +1407,7 @@
1407
1407
  [
1408
1408
  {
1409
1409
  "name": "recipe_id",
1410
- "type": "string"
1410
+ "type": "LatinString"
1411
1411
  },
1412
1412
  {
1413
1413
  "name": "input",
@@ -1452,7 +1452,7 @@
1452
1452
  [
1453
1453
  {
1454
1454
  "name": "recipe_id",
1455
- "type": "string"
1455
+ "type": "LatinString"
1456
1456
  },
1457
1457
  {
1458
1458
  "name": "input",
@@ -1497,7 +1497,7 @@
1497
1497
  [
1498
1498
  {
1499
1499
  "name": "recipe_id",
1500
- "type": "string"
1500
+ "type": "LatinString"
1501
1501
  },
1502
1502
  {
1503
1503
  "name": "width",
@@ -1556,7 +1556,7 @@
1556
1556
  [
1557
1557
  {
1558
1558
  "name": "recipe_id",
1559
- "type": "string"
1559
+ "type": "LatinString"
1560
1560
  },
1561
1561
  {
1562
1562
  "name": "width",
@@ -10241,6 +10241,13 @@
10241
10241
  "countType": "li32"
10242
10242
  }
10243
10243
  ],
10244
+ "LatinString": [
10245
+ "pstring",
10246
+ {
10247
+ "countType": "varint",
10248
+ "encoding": "latin1"
10249
+ }
10250
+ ],
10244
10251
  "ShortArray": [
10245
10252
  "buffer",
10246
10253
  {
@@ -641,7 +641,7 @@ Recipes: []varint
641
641
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
642
642
  recipe: type?
643
643
  if shapeless or shulker_box or shapeless_chemistry:
644
- recipe_id: string
644
+ recipe_id: LatinString
645
645
  input: RecipeIngredient[]varint
646
646
  output: ItemLegacy[]varint
647
647
  uuid: uuid
@@ -649,7 +649,7 @@ Recipes: []varint
649
649
  priority: zigzag32
650
650
  network_id: varint
651
651
  if shaped or shaped_chemistry:
652
- recipe_id: string
652
+ recipe_id: LatinString
653
653
  width: zigzag32
654
654
  height: zigzag32
655
655
  # 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
@@ -1400,7 +1400,7 @@
1400
1400
  [
1401
1401
  {
1402
1402
  "name": "recipe_id",
1403
- "type": "string"
1403
+ "type": "LatinString"
1404
1404
  },
1405
1405
  {
1406
1406
  "name": "input",
@@ -1445,7 +1445,7 @@
1445
1445
  [
1446
1446
  {
1447
1447
  "name": "recipe_id",
1448
- "type": "string"
1448
+ "type": "LatinString"
1449
1449
  },
1450
1450
  {
1451
1451
  "name": "input",
@@ -1490,7 +1490,7 @@
1490
1490
  [
1491
1491
  {
1492
1492
  "name": "recipe_id",
1493
- "type": "string"
1493
+ "type": "LatinString"
1494
1494
  },
1495
1495
  {
1496
1496
  "name": "input",
@@ -1535,7 +1535,7 @@
1535
1535
  [
1536
1536
  {
1537
1537
  "name": "recipe_id",
1538
- "type": "string"
1538
+ "type": "LatinString"
1539
1539
  },
1540
1540
  {
1541
1541
  "name": "width",
@@ -1594,7 +1594,7 @@
1594
1594
  [
1595
1595
  {
1596
1596
  "name": "recipe_id",
1597
- "type": "string"
1597
+ "type": "LatinString"
1598
1598
  },
1599
1599
  {
1600
1600
  "name": "width",
@@ -10433,6 +10433,13 @@
10433
10433
  "countType": "li32"
10434
10434
  }
10435
10435
  ],
10436
+ "LatinString": [
10437
+ "pstring",
10438
+ {
10439
+ "countType": "varint",
10440
+ "encoding": "latin1"
10441
+ }
10442
+ ],
10436
10443
  "ShortArray": [
10437
10444
  "buffer",
10438
10445
  {
@@ -648,7 +648,7 @@ Recipes: []varint
648
648
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
649
649
  recipe: type?
650
650
  if shapeless or shulker_box or shapeless_chemistry:
651
- recipe_id: string
651
+ recipe_id: LatinString
652
652
  input: RecipeIngredient[]varint
653
653
  output: ItemLegacy[]varint
654
654
  uuid: uuid
@@ -656,7 +656,7 @@ Recipes: []varint
656
656
  priority: zigzag32
657
657
  network_id: varint
658
658
  if shaped or shaped_chemistry:
659
- recipe_id: string
659
+ recipe_id: LatinString
660
660
  width: zigzag32
661
661
  height: zigzag32
662
662
  # 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
@@ -1400,7 +1400,7 @@
1400
1400
  [
1401
1401
  {
1402
1402
  "name": "recipe_id",
1403
- "type": "string"
1403
+ "type": "LatinString"
1404
1404
  },
1405
1405
  {
1406
1406
  "name": "input",
@@ -1445,7 +1445,7 @@
1445
1445
  [
1446
1446
  {
1447
1447
  "name": "recipe_id",
1448
- "type": "string"
1448
+ "type": "LatinString"
1449
1449
  },
1450
1450
  {
1451
1451
  "name": "input",
@@ -1490,7 +1490,7 @@
1490
1490
  [
1491
1491
  {
1492
1492
  "name": "recipe_id",
1493
- "type": "string"
1493
+ "type": "LatinString"
1494
1494
  },
1495
1495
  {
1496
1496
  "name": "input",
@@ -1535,7 +1535,7 @@
1535
1535
  [
1536
1536
  {
1537
1537
  "name": "recipe_id",
1538
- "type": "string"
1538
+ "type": "LatinString"
1539
1539
  },
1540
1540
  {
1541
1541
  "name": "width",
@@ -1594,7 +1594,7 @@
1594
1594
  [
1595
1595
  {
1596
1596
  "name": "recipe_id",
1597
- "type": "string"
1597
+ "type": "LatinString"
1598
1598
  },
1599
1599
  {
1600
1600
  "name": "width",
@@ -10433,6 +10433,13 @@
10433
10433
  "countType": "li32"
10434
10434
  }
10435
10435
  ],
10436
+ "LatinString": [
10437
+ "pstring",
10438
+ {
10439
+ "countType": "varint",
10440
+ "encoding": "latin1"
10441
+ }
10442
+ ],
10436
10443
  "ShortArray": [
10437
10444
  "buffer",
10438
10445
  {
@@ -648,7 +648,7 @@ Recipes: []varint
648
648
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
649
649
  recipe: type?
650
650
  if shapeless or shulker_box or shapeless_chemistry:
651
- recipe_id: string
651
+ recipe_id: LatinString
652
652
  input: RecipeIngredient[]varint
653
653
  output: ItemLegacy[]varint
654
654
  uuid: uuid
@@ -656,7 +656,7 @@ Recipes: []varint
656
656
  priority: zigzag32
657
657
  network_id: varint
658
658
  if shaped or shaped_chemistry:
659
- recipe_id: string
659
+ recipe_id: LatinString
660
660
  width: zigzag32
661
661
  height: zigzag32
662
662
  # 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
@@ -1460,7 +1460,7 @@
1460
1460
  [
1461
1461
  {
1462
1462
  "name": "recipe_id",
1463
- "type": "string"
1463
+ "type": "LatinString"
1464
1464
  },
1465
1465
  {
1466
1466
  "name": "input",
@@ -1505,7 +1505,7 @@
1505
1505
  [
1506
1506
  {
1507
1507
  "name": "recipe_id",
1508
- "type": "string"
1508
+ "type": "LatinString"
1509
1509
  },
1510
1510
  {
1511
1511
  "name": "input",
@@ -1550,7 +1550,7 @@
1550
1550
  [
1551
1551
  {
1552
1552
  "name": "recipe_id",
1553
- "type": "string"
1553
+ "type": "LatinString"
1554
1554
  },
1555
1555
  {
1556
1556
  "name": "input",
@@ -1595,7 +1595,7 @@
1595
1595
  [
1596
1596
  {
1597
1597
  "name": "recipe_id",
1598
- "type": "string"
1598
+ "type": "LatinString"
1599
1599
  },
1600
1600
  {
1601
1601
  "name": "width",
@@ -1654,7 +1654,7 @@
1654
1654
  [
1655
1655
  {
1656
1656
  "name": "recipe_id",
1657
- "type": "string"
1657
+ "type": "LatinString"
1658
1658
  },
1659
1659
  {
1660
1660
  "name": "width",
@@ -10646,6 +10646,13 @@
10646
10646
  "countType": "li32"
10647
10647
  }
10648
10648
  ],
10649
+ "LatinString": [
10650
+ "pstring",
10651
+ {
10652
+ "countType": "varint",
10653
+ "encoding": "latin1"
10654
+ }
10655
+ ],
10649
10656
  "ShortArray": [
10650
10657
  "buffer",
10651
10658
  {
@@ -677,7 +677,7 @@ Recipes: []varint
677
677
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
678
678
  recipe: type?
679
679
  if shapeless or shulker_box or shapeless_chemistry:
680
- recipe_id: string
680
+ recipe_id: LatinString
681
681
  input: RecipeIngredient[]varint
682
682
  output: ItemLegacy[]varint
683
683
  uuid: uuid
@@ -685,7 +685,7 @@ Recipes: []varint
685
685
  priority: zigzag32
686
686
  network_id: varint
687
687
  if shaped or shaped_chemistry:
688
- recipe_id: string
688
+ recipe_id: LatinString
689
689
  width: zigzag32
690
690
  height: zigzag32
691
691
  # 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
@@ -1512,7 +1512,7 @@
1512
1512
  [
1513
1513
  {
1514
1514
  "name": "recipe_id",
1515
- "type": "string"
1515
+ "type": "LatinString"
1516
1516
  },
1517
1517
  {
1518
1518
  "name": "input",
@@ -1557,7 +1557,7 @@
1557
1557
  [
1558
1558
  {
1559
1559
  "name": "recipe_id",
1560
- "type": "string"
1560
+ "type": "LatinString"
1561
1561
  },
1562
1562
  {
1563
1563
  "name": "input",
@@ -1602,7 +1602,7 @@
1602
1602
  [
1603
1603
  {
1604
1604
  "name": "recipe_id",
1605
- "type": "string"
1605
+ "type": "LatinString"
1606
1606
  },
1607
1607
  {
1608
1608
  "name": "input",
@@ -1647,7 +1647,7 @@
1647
1647
  [
1648
1648
  {
1649
1649
  "name": "recipe_id",
1650
- "type": "string"
1650
+ "type": "LatinString"
1651
1651
  },
1652
1652
  {
1653
1653
  "name": "width",
@@ -1706,7 +1706,7 @@
1706
1706
  [
1707
1707
  {
1708
1708
  "name": "recipe_id",
1709
- "type": "string"
1709
+ "type": "LatinString"
1710
1710
  },
1711
1711
  {
1712
1712
  "name": "width",
@@ -10718,6 +10718,13 @@
10718
10718
  "countType": "li32"
10719
10719
  }
10720
10720
  ],
10721
+ "LatinString": [
10722
+ "pstring",
10723
+ {
10724
+ "countType": "varint",
10725
+ "encoding": "latin1"
10726
+ }
10727
+ ],
10721
10728
  "ShortArray": [
10722
10729
  "buffer",
10723
10730
  {
@@ -688,7 +688,7 @@ Recipes: []varint
688
688
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
689
689
  recipe: type?
690
690
  if shapeless or shulker_box or shapeless_chemistry:
691
- recipe_id: string
691
+ recipe_id: LatinString
692
692
  input: RecipeIngredient[]varint
693
693
  output: ItemLegacy[]varint
694
694
  uuid: uuid
@@ -696,7 +696,7 @@ Recipes: []varint
696
696
  priority: zigzag32
697
697
  network_id: varint
698
698
  if shaped or shaped_chemistry:
699
- recipe_id: string
699
+ recipe_id: LatinString
700
700
  width: zigzag32
701
701
  height: zigzag32
702
702
  # 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
@@ -1512,7 +1512,7 @@
1512
1512
  [
1513
1513
  {
1514
1514
  "name": "recipe_id",
1515
- "type": "string"
1515
+ "type": "LatinString"
1516
1516
  },
1517
1517
  {
1518
1518
  "name": "input",
@@ -1557,7 +1557,7 @@
1557
1557
  [
1558
1558
  {
1559
1559
  "name": "recipe_id",
1560
- "type": "string"
1560
+ "type": "LatinString"
1561
1561
  },
1562
1562
  {
1563
1563
  "name": "input",
@@ -1602,7 +1602,7 @@
1602
1602
  [
1603
1603
  {
1604
1604
  "name": "recipe_id",
1605
- "type": "string"
1605
+ "type": "LatinString"
1606
1606
  },
1607
1607
  {
1608
1608
  "name": "input",
@@ -1647,7 +1647,7 @@
1647
1647
  [
1648
1648
  {
1649
1649
  "name": "recipe_id",
1650
- "type": "string"
1650
+ "type": "LatinString"
1651
1651
  },
1652
1652
  {
1653
1653
  "name": "width",
@@ -1706,7 +1706,7 @@
1706
1706
  [
1707
1707
  {
1708
1708
  "name": "recipe_id",
1709
- "type": "string"
1709
+ "type": "LatinString"
1710
1710
  },
1711
1711
  {
1712
1712
  "name": "width",
@@ -10749,6 +10749,13 @@
10749
10749
  "countType": "li32"
10750
10750
  }
10751
10751
  ],
10752
+ "LatinString": [
10753
+ "pstring",
10754
+ {
10755
+ "countType": "varint",
10756
+ "encoding": "latin1"
10757
+ }
10758
+ ],
10752
10759
  "ShortArray": [
10753
10760
  "buffer",
10754
10761
  {