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
@@ -589,7 +589,7 @@ Recipes: []varint
589
589
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
590
590
  recipe: type?
591
591
  if shapeless or shulker_box or shapeless_chemistry:
592
- recipe_id: string
592
+ recipe_id: LatinString
593
593
  input: RecipeIngredient[]varint
594
594
  output: Item[]varint
595
595
  uuid: uuid
@@ -597,7 +597,7 @@ Recipes: []varint
597
597
  priority: zigzag32
598
598
  network_id: varint
599
599
  if shaped or shaped_chemistry:
600
- recipe_id: string
600
+ recipe_id: LatinString
601
601
  width: zigzag32
602
602
  height: zigzag32
603
603
  # todo: can this become
@@ -8,6 +8,7 @@ string: ["pstring",{"countType":"varint"}]
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
@@ -1355,7 +1355,7 @@
1355
1355
  [
1356
1356
  {
1357
1357
  "name": "recipe_id",
1358
- "type": "string"
1358
+ "type": "LatinString"
1359
1359
  },
1360
1360
  {
1361
1361
  "name": "input",
@@ -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": "width",
@@ -1549,7 +1549,7 @@
1549
1549
  [
1550
1550
  {
1551
1551
  "name": "recipe_id",
1552
- "type": "string"
1552
+ "type": "LatinString"
1553
1553
  },
1554
1554
  {
1555
1555
  "name": "width",
@@ -8690,6 +8690,13 @@
8690
8690
  "countType": "li32"
8691
8691
  }
8692
8692
  ],
8693
+ "LatinString": [
8694
+ "pstring",
8695
+ {
8696
+ "countType": "varint",
8697
+ "encoding": "latin1"
8698
+ }
8699
+ ],
8693
8700
  "ShortArray": [
8694
8701
  "buffer",
8695
8702
  {
@@ -626,7 +626,7 @@ Recipes: []varint
626
626
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
627
627
  recipe: type?
628
628
  if shapeless or shulker_box or shapeless_chemistry:
629
- recipe_id: string
629
+ recipe_id: LatinString
630
630
  input: RecipeIngredient[]varint
631
631
  output: ItemLegacy[]varint
632
632
  uuid: uuid
@@ -634,7 +634,7 @@ Recipes: []varint
634
634
  priority: zigzag32
635
635
  network_id: varint
636
636
  if shaped or shaped_chemistry:
637
- recipe_id: string
637
+ recipe_id: LatinString
638
638
  width: zigzag32
639
639
  height: zigzag32
640
640
  # 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
@@ -1358,7 +1358,7 @@
1358
1358
  [
1359
1359
  {
1360
1360
  "name": "recipe_id",
1361
- "type": "string"
1361
+ "type": "LatinString"
1362
1362
  },
1363
1363
  {
1364
1364
  "name": "input",
@@ -1403,7 +1403,7 @@
1403
1403
  [
1404
1404
  {
1405
1405
  "name": "recipe_id",
1406
- "type": "string"
1406
+ "type": "LatinString"
1407
1407
  },
1408
1408
  {
1409
1409
  "name": "input",
@@ -1448,7 +1448,7 @@
1448
1448
  [
1449
1449
  {
1450
1450
  "name": "recipe_id",
1451
- "type": "string"
1451
+ "type": "LatinString"
1452
1452
  },
1453
1453
  {
1454
1454
  "name": "input",
@@ -1493,7 +1493,7 @@
1493
1493
  [
1494
1494
  {
1495
1495
  "name": "recipe_id",
1496
- "type": "string"
1496
+ "type": "LatinString"
1497
1497
  },
1498
1498
  {
1499
1499
  "name": "width",
@@ -1552,7 +1552,7 @@
1552
1552
  [
1553
1553
  {
1554
1554
  "name": "recipe_id",
1555
- "type": "string"
1555
+ "type": "LatinString"
1556
1556
  },
1557
1557
  {
1558
1558
  "name": "width",
@@ -8800,6 +8800,13 @@
8800
8800
  "countType": "li32"
8801
8801
  }
8802
8802
  ],
8803
+ "LatinString": [
8804
+ "pstring",
8805
+ {
8806
+ "countType": "varint",
8807
+ "encoding": "latin1"
8808
+ }
8809
+ ],
8803
8810
  "ShortArray": [
8804
8811
  "buffer",
8805
8812
  {
@@ -629,7 +629,7 @@ Recipes: []varint
629
629
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
630
630
  recipe: type?
631
631
  if shapeless or shulker_box or shapeless_chemistry:
632
- recipe_id: string
632
+ recipe_id: LatinString
633
633
  input: RecipeIngredient[]varint
634
634
  output: ItemLegacy[]varint
635
635
  uuid: uuid
@@ -637,7 +637,7 @@ Recipes: []varint
637
637
  priority: zigzag32
638
638
  network_id: varint
639
639
  if shaped or shaped_chemistry:
640
- recipe_id: string
640
+ recipe_id: LatinString
641
641
  width: zigzag32
642
642
  height: zigzag32
643
643
  # 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
@@ -1358,7 +1358,7 @@
1358
1358
  [
1359
1359
  {
1360
1360
  "name": "recipe_id",
1361
- "type": "string"
1361
+ "type": "LatinString"
1362
1362
  },
1363
1363
  {
1364
1364
  "name": "input",
@@ -1403,7 +1403,7 @@
1403
1403
  [
1404
1404
  {
1405
1405
  "name": "recipe_id",
1406
- "type": "string"
1406
+ "type": "LatinString"
1407
1407
  },
1408
1408
  {
1409
1409
  "name": "input",
@@ -1448,7 +1448,7 @@
1448
1448
  [
1449
1449
  {
1450
1450
  "name": "recipe_id",
1451
- "type": "string"
1451
+ "type": "LatinString"
1452
1452
  },
1453
1453
  {
1454
1454
  "name": "input",
@@ -1493,7 +1493,7 @@
1493
1493
  [
1494
1494
  {
1495
1495
  "name": "recipe_id",
1496
- "type": "string"
1496
+ "type": "LatinString"
1497
1497
  },
1498
1498
  {
1499
1499
  "name": "width",
@@ -1552,7 +1552,7 @@
1552
1552
  [
1553
1553
  {
1554
1554
  "name": "recipe_id",
1555
- "type": "string"
1555
+ "type": "LatinString"
1556
1556
  },
1557
1557
  {
1558
1558
  "name": "width",
@@ -8974,6 +8974,13 @@
8974
8974
  "countType": "li32"
8975
8975
  }
8976
8976
  ],
8977
+ "LatinString": [
8978
+ "pstring",
8979
+ {
8980
+ "countType": "varint",
8981
+ "encoding": "latin1"
8982
+ }
8983
+ ],
8977
8984
  "ShortArray": [
8978
8985
  "buffer",
8979
8986
  {
@@ -629,7 +629,7 @@ Recipes: []varint
629
629
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
630
630
  recipe: type?
631
631
  if shapeless or shulker_box or shapeless_chemistry:
632
- recipe_id: string
632
+ recipe_id: LatinString
633
633
  input: RecipeIngredient[]varint
634
634
  output: ItemLegacy[]varint
635
635
  uuid: uuid
@@ -637,7 +637,7 @@ Recipes: []varint
637
637
  priority: zigzag32
638
638
  network_id: varint
639
639
  if shaped or shaped_chemistry:
640
- recipe_id: string
640
+ recipe_id: LatinString
641
641
  width: zigzag32
642
642
  height: zigzag32
643
643
  # 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
@@ -1358,7 +1358,7 @@
1358
1358
  [
1359
1359
  {
1360
1360
  "name": "recipe_id",
1361
- "type": "string"
1361
+ "type": "LatinString"
1362
1362
  },
1363
1363
  {
1364
1364
  "name": "input",
@@ -1403,7 +1403,7 @@
1403
1403
  [
1404
1404
  {
1405
1405
  "name": "recipe_id",
1406
- "type": "string"
1406
+ "type": "LatinString"
1407
1407
  },
1408
1408
  {
1409
1409
  "name": "input",
@@ -1448,7 +1448,7 @@
1448
1448
  [
1449
1449
  {
1450
1450
  "name": "recipe_id",
1451
- "type": "string"
1451
+ "type": "LatinString"
1452
1452
  },
1453
1453
  {
1454
1454
  "name": "input",
@@ -1493,7 +1493,7 @@
1493
1493
  [
1494
1494
  {
1495
1495
  "name": "recipe_id",
1496
- "type": "string"
1496
+ "type": "LatinString"
1497
1497
  },
1498
1498
  {
1499
1499
  "name": "width",
@@ -1552,7 +1552,7 @@
1552
1552
  [
1553
1553
  {
1554
1554
  "name": "recipe_id",
1555
- "type": "string"
1555
+ "type": "LatinString"
1556
1556
  },
1557
1557
  {
1558
1558
  "name": "width",
@@ -9272,6 +9272,13 @@
9272
9272
  "countType": "li32"
9273
9273
  }
9274
9274
  ],
9275
+ "LatinString": [
9276
+ "pstring",
9277
+ {
9278
+ "countType": "varint",
9279
+ "encoding": "latin1"
9280
+ }
9281
+ ],
9275
9282
  "ShortArray": [
9276
9283
  "buffer",
9277
9284
  {
@@ -629,7 +629,7 @@ Recipes: []varint
629
629
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
630
630
  recipe: type?
631
631
  if shapeless or shulker_box or shapeless_chemistry:
632
- recipe_id: string
632
+ recipe_id: LatinString
633
633
  input: RecipeIngredient[]varint
634
634
  output: ItemLegacy[]varint
635
635
  uuid: uuid
@@ -637,7 +637,7 @@ Recipes: []varint
637
637
  priority: zigzag32
638
638
  network_id: varint
639
639
  if shaped or shaped_chemistry:
640
- recipe_id: string
640
+ recipe_id: LatinString
641
641
  width: zigzag32
642
642
  height: zigzag32
643
643
  # 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
@@ -1358,7 +1358,7 @@
1358
1358
  [
1359
1359
  {
1360
1360
  "name": "recipe_id",
1361
- "type": "string"
1361
+ "type": "LatinString"
1362
1362
  },
1363
1363
  {
1364
1364
  "name": "input",
@@ -1403,7 +1403,7 @@
1403
1403
  [
1404
1404
  {
1405
1405
  "name": "recipe_id",
1406
- "type": "string"
1406
+ "type": "LatinString"
1407
1407
  },
1408
1408
  {
1409
1409
  "name": "input",
@@ -1448,7 +1448,7 @@
1448
1448
  [
1449
1449
  {
1450
1450
  "name": "recipe_id",
1451
- "type": "string"
1451
+ "type": "LatinString"
1452
1452
  },
1453
1453
  {
1454
1454
  "name": "input",
@@ -1493,7 +1493,7 @@
1493
1493
  [
1494
1494
  {
1495
1495
  "name": "recipe_id",
1496
- "type": "string"
1496
+ "type": "LatinString"
1497
1497
  },
1498
1498
  {
1499
1499
  "name": "width",
@@ -1552,7 +1552,7 @@
1552
1552
  [
1553
1553
  {
1554
1554
  "name": "recipe_id",
1555
- "type": "string"
1555
+ "type": "LatinString"
1556
1556
  },
1557
1557
  {
1558
1558
  "name": "width",
@@ -9369,6 +9369,13 @@
9369
9369
  "countType": "li32"
9370
9370
  }
9371
9371
  ],
9372
+ "LatinString": [
9373
+ "pstring",
9374
+ {
9375
+ "countType": "varint",
9376
+ "encoding": "latin1"
9377
+ }
9378
+ ],
9372
9379
  "ShortArray": [
9373
9380
  "buffer",
9374
9381
  {
@@ -629,7 +629,7 @@ Recipes: []varint
629
629
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
630
630
  recipe: type?
631
631
  if shapeless or shulker_box or shapeless_chemistry:
632
- recipe_id: string
632
+ recipe_id: LatinString
633
633
  input: RecipeIngredient[]varint
634
634
  output: ItemLegacy[]varint
635
635
  uuid: uuid
@@ -637,7 +637,7 @@ Recipes: []varint
637
637
  priority: zigzag32
638
638
  network_id: varint
639
639
  if shaped or shaped_chemistry:
640
- recipe_id: string
640
+ recipe_id: LatinString
641
641
  width: zigzag32
642
642
  height: zigzag32
643
643
  # 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
@@ -1358,7 +1358,7 @@
1358
1358
  [
1359
1359
  {
1360
1360
  "name": "recipe_id",
1361
- "type": "string"
1361
+ "type": "LatinString"
1362
1362
  },
1363
1363
  {
1364
1364
  "name": "input",
@@ -1403,7 +1403,7 @@
1403
1403
  [
1404
1404
  {
1405
1405
  "name": "recipe_id",
1406
- "type": "string"
1406
+ "type": "LatinString"
1407
1407
  },
1408
1408
  {
1409
1409
  "name": "input",
@@ -1448,7 +1448,7 @@
1448
1448
  [
1449
1449
  {
1450
1450
  "name": "recipe_id",
1451
- "type": "string"
1451
+ "type": "LatinString"
1452
1452
  },
1453
1453
  {
1454
1454
  "name": "input",
@@ -1493,7 +1493,7 @@
1493
1493
  [
1494
1494
  {
1495
1495
  "name": "recipe_id",
1496
- "type": "string"
1496
+ "type": "LatinString"
1497
1497
  },
1498
1498
  {
1499
1499
  "name": "width",
@@ -1552,7 +1552,7 @@
1552
1552
  [
1553
1553
  {
1554
1554
  "name": "recipe_id",
1555
- "type": "string"
1555
+ "type": "LatinString"
1556
1556
  },
1557
1557
  {
1558
1558
  "name": "width",
@@ -9431,6 +9431,13 @@
9431
9431
  "countType": "li32"
9432
9432
  }
9433
9433
  ],
9434
+ "LatinString": [
9435
+ "pstring",
9436
+ {
9437
+ "countType": "varint",
9438
+ "encoding": "latin1"
9439
+ }
9440
+ ],
9434
9441
  "ShortArray": [
9435
9442
  "buffer",
9436
9443
  {
@@ -629,7 +629,7 @@ Recipes: []varint
629
629
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
630
630
  recipe: type?
631
631
  if shapeless or shulker_box or shapeless_chemistry:
632
- recipe_id: string
632
+ recipe_id: LatinString
633
633
  input: RecipeIngredient[]varint
634
634
  output: ItemLegacy[]varint
635
635
  uuid: uuid
@@ -637,7 +637,7 @@ Recipes: []varint
637
637
  priority: zigzag32
638
638
  network_id: varint
639
639
  if shaped or shaped_chemistry:
640
- recipe_id: string
640
+ recipe_id: LatinString
641
641
  width: zigzag32
642
642
  height: zigzag32
643
643
  # 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
@@ -1358,7 +1358,7 @@
1358
1358
  [
1359
1359
  {
1360
1360
  "name": "recipe_id",
1361
- "type": "string"
1361
+ "type": "LatinString"
1362
1362
  },
1363
1363
  {
1364
1364
  "name": "input",
@@ -1403,7 +1403,7 @@
1403
1403
  [
1404
1404
  {
1405
1405
  "name": "recipe_id",
1406
- "type": "string"
1406
+ "type": "LatinString"
1407
1407
  },
1408
1408
  {
1409
1409
  "name": "input",
@@ -1448,7 +1448,7 @@
1448
1448
  [
1449
1449
  {
1450
1450
  "name": "recipe_id",
1451
- "type": "string"
1451
+ "type": "LatinString"
1452
1452
  },
1453
1453
  {
1454
1454
  "name": "input",
@@ -1493,7 +1493,7 @@
1493
1493
  [
1494
1494
  {
1495
1495
  "name": "recipe_id",
1496
- "type": "string"
1496
+ "type": "LatinString"
1497
1497
  },
1498
1498
  {
1499
1499
  "name": "width",
@@ -1552,7 +1552,7 @@
1552
1552
  [
1553
1553
  {
1554
1554
  "name": "recipe_id",
1555
- "type": "string"
1555
+ "type": "LatinString"
1556
1556
  },
1557
1557
  {
1558
1558
  "name": "width",
@@ -9687,6 +9687,13 @@
9687
9687
  "countType": "li32"
9688
9688
  }
9689
9689
  ],
9690
+ "LatinString": [
9691
+ "pstring",
9692
+ {
9693
+ "countType": "varint",
9694
+ "encoding": "latin1"
9695
+ }
9696
+ ],
9690
9697
  "ShortArray": [
9691
9698
  "buffer",
9692
9699
  {
@@ -633,7 +633,7 @@ Recipes: []varint
633
633
  7: shaped_chemistry #'ENTRY_SHAPED_CHEMISTRY', //TODO
634
634
  recipe: type?
635
635
  if shapeless or shulker_box or shapeless_chemistry:
636
- recipe_id: string
636
+ recipe_id: LatinString
637
637
  input: RecipeIngredient[]varint
638
638
  output: ItemLegacy[]varint
639
639
  uuid: uuid
@@ -641,7 +641,7 @@ Recipes: []varint
641
641
  priority: zigzag32
642
642
  network_id: varint
643
643
  if shaped or shaped_chemistry:
644
- recipe_id: string
644
+ recipe_id: LatinString
645
645
  width: zigzag32
646
646
  height: zigzag32
647
647
  # 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