minecraft-data 3.67.0 → 3.69.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 (159) hide show
  1. package/data.js +147 -52
  2. package/doc/history.md +8 -0
  3. package/index.d.ts +30 -24
  4. package/minecraft-data/README.md +1 -1
  5. package/minecraft-data/data/bedrock/1.16.201/protocol.json +33 -66
  6. package/minecraft-data/data/bedrock/1.16.210/protocol.json +39 -78
  7. package/minecraft-data/data/bedrock/1.16.220/protocol.json +46 -92
  8. package/minecraft-data/data/bedrock/1.17.0/protocol.json +46 -92
  9. package/minecraft-data/data/bedrock/1.17.10/protocol.json +46 -92
  10. package/minecraft-data/data/bedrock/1.17.30/protocol.json +48 -96
  11. package/minecraft-data/data/bedrock/1.17.40/protocol.json +48 -96
  12. package/minecraft-data/data/bedrock/1.18.0/protocol.json +50 -100
  13. package/minecraft-data/data/bedrock/1.18.11/protocol.json +52 -104
  14. package/minecraft-data/data/bedrock/1.18.30/protocol.json +52 -104
  15. package/minecraft-data/data/bedrock/1.19.1/protocol.json +52 -104
  16. package/minecraft-data/data/bedrock/1.19.10/protocol.json +52 -104
  17. package/minecraft-data/data/bedrock/1.19.20/protocol.json +54 -108
  18. package/minecraft-data/data/bedrock/1.19.21/protocol.json +54 -108
  19. package/minecraft-data/data/bedrock/1.19.30/protocol.json +55 -110
  20. package/minecraft-data/data/bedrock/1.19.40/protocol.json +55 -110
  21. package/minecraft-data/data/bedrock/1.19.50/protocol.json +55 -110
  22. package/minecraft-data/data/bedrock/1.19.60/protocol.json +55 -110
  23. package/minecraft-data/data/bedrock/1.19.62/protocol.json +55 -110
  24. package/minecraft-data/data/bedrock/1.19.70/protocol.json +55 -110
  25. package/minecraft-data/data/bedrock/1.19.80/protocol.json +55 -110
  26. package/minecraft-data/data/bedrock/1.20.0/protocol.json +55 -110
  27. package/minecraft-data/data/bedrock/1.20.10/protocol.json +55 -110
  28. package/minecraft-data/data/bedrock/1.20.30/protocol.json +55 -110
  29. package/minecraft-data/data/bedrock/1.20.40/protocol.json +55 -110
  30. package/minecraft-data/data/bedrock/1.20.50/protocol.json +55 -110
  31. package/minecraft-data/data/bedrock/1.20.61/protocol.json +56 -112
  32. package/minecraft-data/data/bedrock/1.20.71/protocol.json +56 -112
  33. package/minecraft-data/data/bedrock/1.20.80/proto.yml +3 -0
  34. package/minecraft-data/data/bedrock/1.20.80/protocol.json +70 -114
  35. package/minecraft-data/data/bedrock/1.21.0/proto.yml +3 -0
  36. package/minecraft-data/data/bedrock/1.21.0/protocol.json +71 -116
  37. package/minecraft-data/data/bedrock/1.21.2/proto.yml +4195 -0
  38. package/minecraft-data/data/bedrock/1.21.2/protocol.json +71 -116
  39. package/minecraft-data/data/bedrock/1.21.2/types.yml +2373 -0
  40. package/minecraft-data/data/bedrock/1.21.20/proto.yml +4263 -0
  41. package/minecraft-data/data/bedrock/1.21.20/protocol.json +12646 -0
  42. package/minecraft-data/data/bedrock/1.21.20/types.yml +2406 -0
  43. package/minecraft-data/data/bedrock/1.21.20/version.json +6 -0
  44. package/minecraft-data/data/bedrock/1.21.30/protocol.json +12689 -0
  45. package/minecraft-data/data/bedrock/1.21.30/version.json +6 -0
  46. package/minecraft-data/data/bedrock/common/protocolVersions.json +12 -0
  47. package/minecraft-data/data/bedrock/common/versions.json +3 -1
  48. package/minecraft-data/data/bedrock/latest/proto.yml +113 -14
  49. package/minecraft-data/data/bedrock/latest/types.yml +44 -11
  50. package/minecraft-data/data/dataPaths.json +148 -53
  51. package/minecraft-data/data/pc/0.30c/proto.yml +138 -0
  52. package/minecraft-data/data/pc/0.30c/protocol.json +6 -6
  53. package/minecraft-data/data/pc/1.10/proto.yml +1101 -0
  54. package/minecraft-data/data/pc/1.10/protocol.json +34 -13
  55. package/minecraft-data/data/pc/1.10-pre1/proto.yml +1101 -0
  56. package/minecraft-data/data/pc/1.10-pre1/protocol.json +34 -13
  57. package/minecraft-data/data/pc/1.11/proto.yml +1103 -0
  58. package/minecraft-data/data/pc/1.11/protocol.json +34 -13
  59. package/minecraft-data/data/pc/1.12/proto.yml +1202 -0
  60. package/minecraft-data/data/pc/1.12/protocol.json +71 -34
  61. package/minecraft-data/data/pc/1.12-pre4/proto.yml +1174 -0
  62. package/minecraft-data/data/pc/1.12-pre4/protocol.json +51 -30
  63. package/minecraft-data/data/pc/1.12.1/proto.yml +1200 -0
  64. package/minecraft-data/data/pc/1.12.1/protocol.json +68 -31
  65. package/minecraft-data/data/pc/1.12.2/proto.yml +1200 -0
  66. package/minecraft-data/data/pc/1.12.2/protocol.json +68 -31
  67. package/minecraft-data/data/pc/1.13/proto.yml +1631 -0
  68. package/minecraft-data/data/pc/1.13/protocol.json +531 -463
  69. package/minecraft-data/data/pc/1.13.1/proto.yml +1632 -0
  70. package/minecraft-data/data/pc/1.13.1/protocol.json +535 -467
  71. package/minecraft-data/data/pc/1.13.2/proto.yml +1633 -0
  72. package/minecraft-data/data/pc/1.13.2/protocol.json +241 -174
  73. package/minecraft-data/data/pc/1.13.2-pre1/proto.yml +1633 -0
  74. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +241 -174
  75. package/minecraft-data/data/pc/1.13.2-pre2/proto.yml +1633 -0
  76. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +241 -174
  77. package/minecraft-data/data/pc/1.14/proto.yml +1717 -0
  78. package/minecraft-data/data/pc/1.14/protocol.json +304 -226
  79. package/minecraft-data/data/pc/1.14.1/proto.yml +1717 -0
  80. package/minecraft-data/data/pc/1.14.1/protocol.json +304 -226
  81. package/minecraft-data/data/pc/1.14.3/proto.yml +1718 -0
  82. package/minecraft-data/data/pc/1.14.3/protocol.json +304 -226
  83. package/minecraft-data/data/pc/1.14.4/proto.yml +1726 -0
  84. package/minecraft-data/data/pc/1.14.4/protocol.json +308 -230
  85. package/minecraft-data/data/pc/1.15/proto.yml +1730 -0
  86. package/minecraft-data/data/pc/1.15/protocol.json +315 -234
  87. package/minecraft-data/data/pc/1.15.1/proto.yml +1730 -0
  88. package/minecraft-data/data/pc/1.15.1/protocol.json +315 -234
  89. package/minecraft-data/data/pc/1.15.2/proto.yml +1730 -0
  90. package/minecraft-data/data/pc/1.15.2/protocol.json +315 -234
  91. package/minecraft-data/data/pc/1.16/proto.yml +1762 -0
  92. package/minecraft-data/data/pc/1.16/protocol.json +357 -264
  93. package/minecraft-data/data/pc/1.16-rc1/proto.yml +1762 -0
  94. package/minecraft-data/data/pc/1.16-rc1/protocol.json +357 -264
  95. package/minecraft-data/data/pc/1.16.1/proto.yml +1762 -0
  96. package/minecraft-data/data/pc/1.16.1/protocol.json +357 -264
  97. package/minecraft-data/data/pc/1.16.2/proto.yml +1776 -0
  98. package/minecraft-data/data/pc/1.16.2/protocol.json +354 -260
  99. package/minecraft-data/data/pc/1.17/proto.yml +1796 -0
  100. package/minecraft-data/data/pc/1.17/protocol.json +5 -5
  101. package/minecraft-data/data/pc/1.17.1/proto.yml +1800 -0
  102. package/minecraft-data/data/pc/1.17.1/protocol.json +5 -5
  103. package/minecraft-data/data/pc/1.18/proto.yml +1836 -0
  104. package/minecraft-data/data/pc/1.18/protocol.json +5 -5
  105. package/minecraft-data/data/pc/1.18.2/proto.yml +1836 -0
  106. package/minecraft-data/data/pc/1.18.2/protocol.json +5 -5
  107. package/minecraft-data/data/pc/1.19/proto.yml +1990 -0
  108. package/minecraft-data/data/pc/1.19/protocol.json +5 -5
  109. package/minecraft-data/data/pc/1.19.2/proto.yml +2085 -0
  110. package/minecraft-data/data/pc/1.19.2/protocol.json +5 -5
  111. package/minecraft-data/data/pc/1.19.3/proto.yml +2322 -0
  112. package/minecraft-data/data/pc/1.19.3/protocol.json +215 -119
  113. package/minecraft-data/data/pc/1.19.4/proto.yml +2413 -0
  114. package/minecraft-data/data/pc/1.20/proto.yml +2409 -0
  115. package/minecraft-data/data/pc/1.20.2/proto.yml +2508 -0
  116. package/minecraft-data/data/pc/1.20.2/protocol.json +1 -1
  117. package/minecraft-data/data/pc/1.20.3/protocol.json +1 -1
  118. package/minecraft-data/data/pc/1.7/proto.yml +922 -0
  119. package/minecraft-data/data/pc/1.7/protocol.json +1 -1
  120. package/minecraft-data/data/pc/1.8/proto.yml +1035 -0
  121. package/minecraft-data/data/pc/1.8/protocol.json +28 -8
  122. package/minecraft-data/data/pc/1.9/proto.yml +1109 -0
  123. package/minecraft-data/data/pc/1.9/protocol.json +30 -10
  124. package/minecraft-data/data/pc/1.9.1-pre2/proto.yml +1109 -0
  125. package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +30 -10
  126. package/minecraft-data/data/pc/1.9.2/proto.yml +1109 -0
  127. package/minecraft-data/data/pc/1.9.2/protocol.json +30 -10
  128. package/minecraft-data/data/pc/1.9.4/proto.yml +1102 -0
  129. package/minecraft-data/data/pc/1.9.4/protocol.json +34 -13
  130. package/minecraft-data/data/pc/15w40b/proto.yml +1070 -0
  131. package/minecraft-data/data/pc/15w40b/protocol.json +107 -87
  132. package/minecraft-data/data/pc/16w20a/proto.yml +1102 -0
  133. package/minecraft-data/data/pc/16w20a/protocol.json +34 -13
  134. package/minecraft-data/data/pc/16w35a/proto.yml +1102 -0
  135. package/minecraft-data/data/pc/16w35a/protocol.json +34 -13
  136. package/minecraft-data/data/pc/17w15a/proto.yml +1165 -0
  137. package/minecraft-data/data/pc/17w15a/protocol.json +44 -23
  138. package/minecraft-data/data/pc/17w18b/proto.yml +1163 -0
  139. package/minecraft-data/data/pc/17w18b/protocol.json +52 -31
  140. package/minecraft-data/data/pc/17w50a/proto.yml +1418 -0
  141. package/minecraft-data/data/pc/17w50a/protocol.json +535 -346
  142. package/minecraft-data/data/pc/20w13b/proto.yml +1732 -0
  143. package/minecraft-data/data/pc/20w13b/protocol.json +315 -235
  144. package/minecraft-data/data/pc/21w07a/proto.yml +1785 -0
  145. package/minecraft-data/data/pc/21w07a/protocol.json +408 -295
  146. package/minecraft-data/data/pc/common/protocolVersions.json +64 -0
  147. package/minecraft-data/data/pc/latest/proto.yml +2762 -0
  148. package/minecraft-data/doc/add-data-new-version.md +3 -0
  149. package/minecraft-data/doc/history.md +11 -0
  150. package/minecraft-data/doc/protocol.md +154 -0
  151. package/minecraft-data/tools/js/compileProtocol.js +67 -45
  152. package/minecraft-data/tools/js/convertMcpcProtocolJsonToYaml.js +65 -0
  153. package/minecraft-data/tools/js/incrementVersion.js +63 -48
  154. package/minecraft-data/tools/js/package.json +3 -1
  155. package/minecraft-data/tools/js/test/protocolSync.js +1 -1
  156. package/package.json +3 -3
  157. package/tsconfig.json +1 -1
  158. package/typings/index-template.d.ts +30 -24
  159. package/typings/test-typings.ts +5 -0
@@ -94,7 +94,8 @@
94
94
  "compareTo": "$compareTo",
95
95
  "fields": {
96
96
  "3": [
97
- "container", [
97
+ "container",
98
+ [
98
99
  {
99
100
  "name": "blockState",
100
101
  "type": "varint"
@@ -102,7 +103,8 @@
102
103
  ]
103
104
  ],
104
105
  "14": [
105
- "container", [
106
+ "container",
107
+ [
106
108
  {
107
109
  "name": "red",
108
110
  "type": "f32"
@@ -122,15 +124,17 @@
122
124
  ]
123
125
  ],
124
126
  "23": [
125
- "container", [
127
+ "container",
128
+ [
126
129
  {
127
130
  "name": "blockState",
128
131
  "type": "varint"
129
132
  }
130
133
  ]
131
134
  ],
132
- "34": [
133
- "container", [
135
+ "34": [
136
+ "container",
137
+ [
134
138
  {
135
139
  "name": "item",
136
140
  "type": "slot"
@@ -215,7 +219,8 @@
215
219
  "14": "nbt",
216
220
  "15": "particle",
217
221
  "16": [
218
- "container",[
222
+ "container",
223
+ [
219
224
  {
220
225
  "name": "villagerType",
221
226
  "type": "varint"
@@ -271,44 +276,56 @@
271
276
  ]
272
277
  }
273
278
  ],
274
- "minecraft_smelting_format": ["container",[
275
- {
276
- "name": "group",
277
- "type": "string"
278
- },
279
- {
280
- "name": "ingredient",
281
- "type": "ingredient"
282
- },
283
- {
284
- "name": "result",
285
- "type": "slot"
286
- },
287
- {
288
- "name": "experience",
289
- "type": "f32"
290
- },
291
- {
292
- "name": "cookTime",
293
- "type": "varint"
294
- }
295
- ]],
296
- "tags":["array",{
297
- "countType": "varint",
298
- "type": ["container", [
279
+ "minecraft_smelting_format": [
280
+ "container",
281
+ [
299
282
  {
300
- "name": "tagName",
283
+ "name": "group",
301
284
  "type": "string"
302
285
  },
303
286
  {
304
- "name": "entries",
305
- "type": ["array",{
306
- "countType": "varint",
307
- "type": "varint"
308
- }]
287
+ "name": "ingredient",
288
+ "type": "ingredient"
289
+ },
290
+ {
291
+ "name": "result",
292
+ "type": "slot"
293
+ },
294
+ {
295
+ "name": "experience",
296
+ "type": "f32"
297
+ },
298
+ {
299
+ "name": "cookTime",
300
+ "type": "varint"
309
301
  }
310
- ]]
311
- }],
302
+ ]
303
+ ],
304
+ "tags": [
305
+ "array",
306
+ {
307
+ "countType": "varint",
308
+ "type": [
309
+ "container",
310
+ [
311
+ {
312
+ "name": "tagName",
313
+ "type": "string"
314
+ },
315
+ {
316
+ "name": "entries",
317
+ "type": [
318
+ "array",
319
+ {
320
+ "countType": "varint",
321
+ "type": "varint"
322
+ }
323
+ ]
324
+ }
325
+ ]
326
+ ]
327
+ }
328
+ ],
312
329
  "command_node": [
313
330
  "container",
314
331
  [
@@ -1453,10 +1470,26 @@
1453
1470
  "type": [
1454
1471
  "bitfield",
1455
1472
  [
1456
- { "name": "_unused", "size": 29, "signed": false },
1457
- { "name": "hidden", "size": 1, "signed": false },
1458
- { "name": "show_toast", "size": 1, "signed": false },
1459
- { "name": "has_background_texture", "size": 1, "signed": false }
1473
+ {
1474
+ "name": "_unused",
1475
+ "size": 29,
1476
+ "signed": false
1477
+ },
1478
+ {
1479
+ "name": "hidden",
1480
+ "size": 1,
1481
+ "signed": false
1482
+ },
1483
+ {
1484
+ "name": "show_toast",
1485
+ "size": 1,
1486
+ "signed": false
1487
+ },
1488
+ {
1489
+ "name": "has_background_texture",
1490
+ "size": 1,
1491
+ "signed": false
1492
+ }
1460
1493
  ]
1461
1494
  ]
1462
1495
  },
@@ -1771,19 +1804,22 @@
1771
1804
  "array",
1772
1805
  {
1773
1806
  "countType": "varint",
1774
- "type": ["container",[
1775
- {
1776
- "name": "match",
1777
- "type": "string"
1778
- },
1779
- {
1780
- "name": "tooltip",
1781
- "type": [
1782
- "option",
1783
- "string"
1784
- ]
1785
- }
1786
- ]]
1807
+ "type": [
1808
+ "container",
1809
+ [
1810
+ {
1811
+ "name": "match",
1812
+ "type": "string"
1813
+ },
1814
+ {
1815
+ "name": "tooltip",
1816
+ "type": [
1817
+ "option",
1818
+ "string"
1819
+ ]
1820
+ }
1821
+ ]
1822
+ ]
1787
1823
  }
1788
1824
  ]
1789
1825
  }
@@ -1894,7 +1930,8 @@
1894
1930
  [
1895
1931
  {
1896
1932
  "name": "chunkCoordinates",
1897
- "type": ["bitfield",
1933
+ "type": [
1934
+ "bitfield",
1898
1935
  [
1899
1936
  {
1900
1937
  "name": "x",
@@ -2249,10 +2286,13 @@
2249
2286
  "compareTo": "groundUp",
2250
2287
  "fields": {
2251
2288
  "false": "void",
2252
- "true": ["array", {
2253
- "countType": "varint",
2254
- "type": "varint"
2255
- }]
2289
+ "true": [
2290
+ "array",
2291
+ {
2292
+ "countType": "varint",
2293
+ "type": "varint"
2294
+ }
2295
+ ]
2256
2296
  }
2257
2297
  }
2258
2298
  ]
@@ -2269,9 +2309,10 @@
2269
2309
  {
2270
2310
  "name": "blockEntities",
2271
2311
  "type": [
2272
- "array",{
2273
- "countType":"varint",
2274
- "type":"nbt"
2312
+ "array",
2313
+ {
2314
+ "countType": "varint",
2315
+ "type": "nbt"
2275
2316
  }
2276
2317
  ]
2277
2318
  }
@@ -2410,10 +2451,13 @@
2410
2451
  },
2411
2452
  {
2412
2453
  "name": "worldNames",
2413
- "type": ["array", {
2414
- "countType": "varint",
2415
- "type": "string"
2416
- }]
2454
+ "type": [
2455
+ "array",
2456
+ {
2457
+ "countType": "varint",
2458
+ "type": "string"
2459
+ }
2460
+ ]
2417
2461
  },
2418
2462
  {
2419
2463
  "name": "dimensionCodec",
@@ -2503,7 +2547,10 @@
2503
2547
  },
2504
2548
  {
2505
2549
  "name": "displayName",
2506
- "type": ["option", "string"]
2550
+ "type": [
2551
+ "option",
2552
+ "string"
2553
+ ]
2507
2554
  }
2508
2555
  ]
2509
2556
  ]
@@ -2586,48 +2633,54 @@
2586
2633
  "array",
2587
2634
  {
2588
2635
  "countType": "u8",
2589
- "type": ["container", [
2590
- {
2591
- "name": "inputItem1",
2592
- "type": "slot"
2593
- },
2594
- {
2595
- "name": "outputItem",
2596
- "type": "slot"
2597
- },
2598
- {
2599
- "name": "inputItem2",
2600
- "type": ["option", "slot"]
2601
- },
2602
- {
2603
- "name": "tradeDisabled",
2604
- "type": "bool"
2605
- },
2606
- {
2607
- "name": "nbTradeUses",
2608
- "type": "i32"
2609
- },
2610
- {
2611
- "name": "maximumNbTradeUses",
2612
- "type": "i32"
2613
- },
2614
- {
2615
- "name": "xp",
2616
- "type": "i32"
2617
- },
2618
- {
2619
- "name": "specialPrice",
2620
- "type": "i32"
2621
- },
2622
- {
2623
- "name": "priceMultiplier",
2624
- "type": "f32"
2625
- },
2626
- {
2627
- "name": "demand",
2628
- "type": "i32"
2629
- }
2630
- ]]
2636
+ "type": [
2637
+ "container",
2638
+ [
2639
+ {
2640
+ "name": "inputItem1",
2641
+ "type": "slot"
2642
+ },
2643
+ {
2644
+ "name": "outputItem",
2645
+ "type": "slot"
2646
+ },
2647
+ {
2648
+ "name": "inputItem2",
2649
+ "type": [
2650
+ "option",
2651
+ "slot"
2652
+ ]
2653
+ },
2654
+ {
2655
+ "name": "tradeDisabled",
2656
+ "type": "bool"
2657
+ },
2658
+ {
2659
+ "name": "nbTradeUses",
2660
+ "type": "i32"
2661
+ },
2662
+ {
2663
+ "name": "maximumNbTradeUses",
2664
+ "type": "i32"
2665
+ },
2666
+ {
2667
+ "name": "xp",
2668
+ "type": "i32"
2669
+ },
2670
+ {
2671
+ "name": "specialPrice",
2672
+ "type": "i32"
2673
+ },
2674
+ {
2675
+ "name": "priceMultiplier",
2676
+ "type": "f32"
2677
+ },
2678
+ {
2679
+ "name": "demand",
2680
+ "type": "i32"
2681
+ }
2682
+ ]
2683
+ ]
2631
2684
  }
2632
2685
  ]
2633
2686
  },
@@ -3071,18 +3124,18 @@
3071
3124
  "type": "bool"
3072
3125
  },
3073
3126
  {
3074
- "name":"recipes1",
3075
- "type":[
3127
+ "name": "recipes1",
3128
+ "type": [
3076
3129
  "array",
3077
3130
  {
3078
- "countType":"varint",
3079
- "type":"string"
3131
+ "countType": "varint",
3132
+ "type": "string"
3080
3133
  }
3081
3134
  ]
3082
3135
  },
3083
3136
  {
3084
- "name":"recipes2",
3085
- "type":[
3137
+ "name": "recipes2",
3138
+ "type": [
3086
3139
  "switch",
3087
3140
  {
3088
3141
  "compareTo": "action",
@@ -3090,8 +3143,8 @@
3090
3143
  "0": [
3091
3144
  "array",
3092
3145
  {
3093
- "countType":"varint",
3094
- "type":"string"
3146
+ "countType": "varint",
3147
+ "type": "string"
3095
3148
  }
3096
3149
  ]
3097
3150
  },
@@ -3434,18 +3487,24 @@
3434
3487
  },
3435
3488
  {
3436
3489
  "name": "equipments",
3437
- "type": ["topBitSetTerminatedArray", {
3438
- "type": ["container", [
3439
- {
3440
- "name": "slot",
3441
- "type": "i8"
3442
- },
3443
- {
3444
- "name": "item",
3445
- "type": "slot"
3446
- }
3447
- ]]
3448
- }]
3490
+ "type": [
3491
+ "topBitSetTerminatedArray",
3492
+ {
3493
+ "type": [
3494
+ "container",
3495
+ [
3496
+ {
3497
+ "name": "slot",
3498
+ "type": "i8"
3499
+ },
3500
+ {
3501
+ "name": "item",
3502
+ "type": "slot"
3503
+ }
3504
+ ]
3505
+ ]
3506
+ }
3507
+ ]
3449
3508
  }
3450
3509
  ]
3451
3510
  ],
@@ -3836,25 +3895,31 @@
3836
3895
  },
3837
3896
  {
3838
3897
  "name": "source",
3839
- "type": ["switch",{
3840
- "compareTo":"flags",
3841
- "fields": {
3842
- "3": "varint",
3843
- "1": "varint"
3844
- },
3845
- "default": "void"
3846
- }]
3898
+ "type": [
3899
+ "switch",
3900
+ {
3901
+ "compareTo": "flags",
3902
+ "fields": {
3903
+ "1": "varint",
3904
+ "3": "varint"
3905
+ },
3906
+ "default": "void"
3907
+ }
3908
+ ]
3847
3909
  },
3848
3910
  {
3849
3911
  "name": "sound",
3850
- "type": ["switch",{
3851
- "compareTo":"flags",
3852
- "fields": {
3853
- "3": "string",
3854
- "2": "string"
3855
- },
3856
- "default": "void"
3857
- }]
3912
+ "type": [
3913
+ "switch",
3914
+ {
3915
+ "compareTo": "flags",
3916
+ "fields": {
3917
+ "2": "string",
3918
+ "3": "string"
3919
+ },
3920
+ "default": "void"
3921
+ }
3922
+ ]
3858
3923
  }
3859
3924
  ]
3860
3925
  ],
@@ -4053,118 +4118,148 @@
4053
4118
  [
4054
4119
  {
4055
4120
  "name": "recipes",
4056
- "type": ["array",{
4057
- "countType": "varint",
4058
- "type":["container",[
4059
- {
4060
- "name": "type",
4061
- "type": "string"
4062
- },
4063
- {
4064
- "name": "recipeId",
4065
- "type": "string"
4066
- },
4067
- {
4068
- "name": "data",
4069
- "type": ["switch", {
4070
- "compareTo": "type",
4071
- "fields": {
4072
- "minecraft:crafting_shapeless": ["container",[
4073
- {
4074
- "name": "group",
4075
- "type": "string"
4076
- },
4077
- {
4078
- "name": "ingredients",
4079
- "type": ["array",{
4080
- "countType": "varint",
4081
- "type": "ingredient"
4082
- }]
4083
- },
4084
- {
4085
- "name": "result",
4086
- "type": "slot"
4087
- }
4088
- ]],
4089
- "minecraft:crafting_shaped": ["container",[
4090
- {
4091
- "name": "width",
4092
- "type": "varint"
4093
- },
4094
- {
4095
- "name": "height",
4096
- "type": "varint"
4097
- },
4098
- {
4099
- "name": "group",
4100
- "type": "string"
4101
- },
4102
- {
4103
- "name": "ingredients",
4104
- "type": ["array",{
4105
- "count": "height",
4106
- "type": ["array",{
4107
- "count": "width",
4108
- "type": "ingredient"
4109
- }]
4110
- }]
4111
- },
4112
- {
4113
- "name": "result",
4114
- "type": "slot"
4115
- }
4116
- ]],
4117
- "minecraft:crafting_special_armordye": "void",
4118
- "minecraft:crafting_special_bookcloning": "void",
4119
- "minecraft:crafting_special_mapcloning": "void",
4120
- "minecraft:crafting_special_mapextending": "void",
4121
- "minecraft:crafting_special_firework_rocket": "void",
4122
- "minecraft:crafting_special_firework_star": "void",
4123
- "minecraft:crafting_special_firework_star_fade": "void",
4124
- "minecraft:crafting_special_repairitem": "void",
4125
- "minecraft:crafting_special_tippedarrow": "void",
4126
- "minecraft:crafting_special_bannerduplicate": "void",
4127
- "minecraft:crafting_special_banneraddpattern": "void",
4128
- "minecraft:crafting_special_shielddecoration": "void",
4129
- "minecraft:crafting_special_shulkerboxcoloring": "void",
4130
- "minecraft:crafting_special_suspiciousstew": "void",
4131
- "minecraft:smelting": "minecraft_smelting_format",
4132
- "minecraft:blasting": "minecraft_smelting_format",
4133
- "minecraft:smoking": "minecraft_smelting_format",
4134
- "minecraft:campfire_cooking": "minecraft_smelting_format",
4135
- "minecraft:stonecutting": ["container",[
4136
- {
4137
- "name": "group",
4138
- "type": "string"
4139
- },
4140
- {
4141
- "name": "ingredient",
4142
- "type": "ingredient"
4143
- },
4144
- {
4145
- "name": "result",
4146
- "type": "slot"
4147
- }
4148
- ]],
4149
- "minecraft:smithing": ["container",[
4150
- {
4151
- "name": "base",
4152
- "type": "ingredient"
4153
- },
4154
- {
4155
- "name": "addition",
4156
- "type": "ingredient"
4157
- },
4121
+ "type": [
4122
+ "array",
4123
+ {
4124
+ "countType": "varint",
4125
+ "type": [
4126
+ "container",
4127
+ [
4128
+ {
4129
+ "name": "type",
4130
+ "type": "string"
4131
+ },
4132
+ {
4133
+ "name": "recipeId",
4134
+ "type": "string"
4135
+ },
4136
+ {
4137
+ "name": "data",
4138
+ "type": [
4139
+ "switch",
4158
4140
  {
4159
- "name": "result",
4160
- "type": "slot"
4141
+ "compareTo": "type",
4142
+ "fields": {
4143
+ "minecraft:crafting_shapeless": [
4144
+ "container",
4145
+ [
4146
+ {
4147
+ "name": "group",
4148
+ "type": "string"
4149
+ },
4150
+ {
4151
+ "name": "ingredients",
4152
+ "type": [
4153
+ "array",
4154
+ {
4155
+ "countType": "varint",
4156
+ "type": "ingredient"
4157
+ }
4158
+ ]
4159
+ },
4160
+ {
4161
+ "name": "result",
4162
+ "type": "slot"
4163
+ }
4164
+ ]
4165
+ ],
4166
+ "minecraft:crafting_shaped": [
4167
+ "container",
4168
+ [
4169
+ {
4170
+ "name": "width",
4171
+ "type": "varint"
4172
+ },
4173
+ {
4174
+ "name": "height",
4175
+ "type": "varint"
4176
+ },
4177
+ {
4178
+ "name": "group",
4179
+ "type": "string"
4180
+ },
4181
+ {
4182
+ "name": "ingredients",
4183
+ "type": [
4184
+ "array",
4185
+ {
4186
+ "count": "height",
4187
+ "type": [
4188
+ "array",
4189
+ {
4190
+ "count": "width",
4191
+ "type": "ingredient"
4192
+ }
4193
+ ]
4194
+ }
4195
+ ]
4196
+ },
4197
+ {
4198
+ "name": "result",
4199
+ "type": "slot"
4200
+ }
4201
+ ]
4202
+ ],
4203
+ "minecraft:crafting_special_armordye": "void",
4204
+ "minecraft:crafting_special_bookcloning": "void",
4205
+ "minecraft:crafting_special_mapcloning": "void",
4206
+ "minecraft:crafting_special_mapextending": "void",
4207
+ "minecraft:crafting_special_firework_rocket": "void",
4208
+ "minecraft:crafting_special_firework_star": "void",
4209
+ "minecraft:crafting_special_firework_star_fade": "void",
4210
+ "minecraft:crafting_special_repairitem": "void",
4211
+ "minecraft:crafting_special_tippedarrow": "void",
4212
+ "minecraft:crafting_special_bannerduplicate": "void",
4213
+ "minecraft:crafting_special_banneraddpattern": "void",
4214
+ "minecraft:crafting_special_shielddecoration": "void",
4215
+ "minecraft:crafting_special_shulkerboxcoloring": "void",
4216
+ "minecraft:crafting_special_suspiciousstew": "void",
4217
+ "minecraft:smelting": "minecraft_smelting_format",
4218
+ "minecraft:blasting": "minecraft_smelting_format",
4219
+ "minecraft:smoking": "minecraft_smelting_format",
4220
+ "minecraft:campfire_cooking": "minecraft_smelting_format",
4221
+ "minecraft:stonecutting": [
4222
+ "container",
4223
+ [
4224
+ {
4225
+ "name": "group",
4226
+ "type": "string"
4227
+ },
4228
+ {
4229
+ "name": "ingredient",
4230
+ "type": "ingredient"
4231
+ },
4232
+ {
4233
+ "name": "result",
4234
+ "type": "slot"
4235
+ }
4236
+ ]
4237
+ ],
4238
+ "minecraft:smithing": [
4239
+ "container",
4240
+ [
4241
+ {
4242
+ "name": "base",
4243
+ "type": "ingredient"
4244
+ },
4245
+ {
4246
+ "name": "addition",
4247
+ "type": "ingredient"
4248
+ },
4249
+ {
4250
+ "name": "result",
4251
+ "type": "slot"
4252
+ }
4253
+ ]
4254
+ ]
4255
+ }
4161
4256
  }
4162
- ]]
4257
+ ]
4163
4258
  }
4164
- }]
4165
- }
4166
- ]]
4167
- }]
4259
+ ]
4260
+ ]
4261
+ }
4262
+ ]
4168
4263
  }
4169
4264
  ]
4170
4265
  ],
@@ -4557,8 +4652,7 @@
4557
4652
  {
4558
4653
  "name": "command",
4559
4654
  "type": "string"
4560
- }
4561
- ,
4655
+ },
4562
4656
  {
4563
4657
  "name": "track_output",
4564
4658
  "type": "bool"
@@ -5254,7 +5348,7 @@
5254
5348
  "type": [
5255
5349
  "switch",
5256
5350
  {
5257
- "compareTo":"action",
5351
+ "compareTo": "action",
5258
5352
  "fields": {
5259
5353
  "0": "string",
5260
5354
  "1": "void"
@@ -5390,4 +5484,4 @@
5390
5484
  }
5391
5485
  }
5392
5486
  }
5393
- }
5487
+ }