minecraft-data 3.67.0 → 3.68.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 (155) hide show
  1. package/data.js +124 -51
  2. package/doc/history.md +4 -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 +58 -116
  39. package/minecraft-data/data/bedrock/1.21.2/types.yml +2373 -0
  40. package/minecraft-data/data/bedrock/1.21.20/protocol.json +12554 -0
  41. package/minecraft-data/data/bedrock/1.21.20/version.json +6 -0
  42. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  43. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  44. package/minecraft-data/data/bedrock/latest/proto.yml +33 -6
  45. package/minecraft-data/data/bedrock/latest/types.yml +31 -0
  46. package/minecraft-data/data/dataPaths.json +124 -51
  47. package/minecraft-data/data/pc/0.30c/proto.yml +138 -0
  48. package/minecraft-data/data/pc/0.30c/protocol.json +6 -6
  49. package/minecraft-data/data/pc/1.10/proto.yml +1101 -0
  50. package/minecraft-data/data/pc/1.10/protocol.json +34 -13
  51. package/minecraft-data/data/pc/1.10-pre1/proto.yml +1101 -0
  52. package/minecraft-data/data/pc/1.10-pre1/protocol.json +34 -13
  53. package/minecraft-data/data/pc/1.11/proto.yml +1103 -0
  54. package/minecraft-data/data/pc/1.11/protocol.json +34 -13
  55. package/minecraft-data/data/pc/1.12/proto.yml +1202 -0
  56. package/minecraft-data/data/pc/1.12/protocol.json +71 -34
  57. package/minecraft-data/data/pc/1.12-pre4/proto.yml +1174 -0
  58. package/minecraft-data/data/pc/1.12-pre4/protocol.json +51 -30
  59. package/minecraft-data/data/pc/1.12.1/proto.yml +1200 -0
  60. package/minecraft-data/data/pc/1.12.1/protocol.json +68 -31
  61. package/minecraft-data/data/pc/1.12.2/proto.yml +1200 -0
  62. package/minecraft-data/data/pc/1.12.2/protocol.json +68 -31
  63. package/minecraft-data/data/pc/1.13/proto.yml +1631 -0
  64. package/minecraft-data/data/pc/1.13/protocol.json +531 -463
  65. package/minecraft-data/data/pc/1.13.1/proto.yml +1632 -0
  66. package/minecraft-data/data/pc/1.13.1/protocol.json +535 -467
  67. package/minecraft-data/data/pc/1.13.2/proto.yml +1633 -0
  68. package/minecraft-data/data/pc/1.13.2/protocol.json +241 -174
  69. package/minecraft-data/data/pc/1.13.2-pre1/proto.yml +1633 -0
  70. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +241 -174
  71. package/minecraft-data/data/pc/1.13.2-pre2/proto.yml +1633 -0
  72. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +241 -174
  73. package/minecraft-data/data/pc/1.14/proto.yml +1717 -0
  74. package/minecraft-data/data/pc/1.14/protocol.json +304 -226
  75. package/minecraft-data/data/pc/1.14.1/proto.yml +1717 -0
  76. package/minecraft-data/data/pc/1.14.1/protocol.json +304 -226
  77. package/minecraft-data/data/pc/1.14.3/proto.yml +1718 -0
  78. package/minecraft-data/data/pc/1.14.3/protocol.json +304 -226
  79. package/minecraft-data/data/pc/1.14.4/proto.yml +1726 -0
  80. package/minecraft-data/data/pc/1.14.4/protocol.json +308 -230
  81. package/minecraft-data/data/pc/1.15/proto.yml +1730 -0
  82. package/minecraft-data/data/pc/1.15/protocol.json +315 -234
  83. package/minecraft-data/data/pc/1.15.1/proto.yml +1730 -0
  84. package/minecraft-data/data/pc/1.15.1/protocol.json +315 -234
  85. package/minecraft-data/data/pc/1.15.2/proto.yml +1730 -0
  86. package/minecraft-data/data/pc/1.15.2/protocol.json +315 -234
  87. package/minecraft-data/data/pc/1.16/proto.yml +1762 -0
  88. package/minecraft-data/data/pc/1.16/protocol.json +357 -264
  89. package/minecraft-data/data/pc/1.16-rc1/proto.yml +1762 -0
  90. package/minecraft-data/data/pc/1.16-rc1/protocol.json +357 -264
  91. package/minecraft-data/data/pc/1.16.1/proto.yml +1762 -0
  92. package/minecraft-data/data/pc/1.16.1/protocol.json +357 -264
  93. package/minecraft-data/data/pc/1.16.2/proto.yml +1776 -0
  94. package/minecraft-data/data/pc/1.16.2/protocol.json +354 -260
  95. package/minecraft-data/data/pc/1.17/proto.yml +1796 -0
  96. package/minecraft-data/data/pc/1.17/protocol.json +5 -5
  97. package/minecraft-data/data/pc/1.17.1/proto.yml +1800 -0
  98. package/minecraft-data/data/pc/1.17.1/protocol.json +5 -5
  99. package/minecraft-data/data/pc/1.18/proto.yml +1836 -0
  100. package/minecraft-data/data/pc/1.18/protocol.json +5 -5
  101. package/minecraft-data/data/pc/1.18.2/proto.yml +1836 -0
  102. package/minecraft-data/data/pc/1.18.2/protocol.json +5 -5
  103. package/minecraft-data/data/pc/1.19/proto.yml +1990 -0
  104. package/minecraft-data/data/pc/1.19/protocol.json +5 -5
  105. package/minecraft-data/data/pc/1.19.2/proto.yml +2085 -0
  106. package/minecraft-data/data/pc/1.19.2/protocol.json +5 -5
  107. package/minecraft-data/data/pc/1.19.3/proto.yml +2322 -0
  108. package/minecraft-data/data/pc/1.19.3/protocol.json +215 -119
  109. package/minecraft-data/data/pc/1.19.4/proto.yml +2413 -0
  110. package/minecraft-data/data/pc/1.20/proto.yml +2409 -0
  111. package/minecraft-data/data/pc/1.20.2/proto.yml +2508 -0
  112. package/minecraft-data/data/pc/1.20.2/protocol.json +1 -1
  113. package/minecraft-data/data/pc/1.20.3/protocol.json +1 -1
  114. package/minecraft-data/data/pc/1.7/proto.yml +922 -0
  115. package/minecraft-data/data/pc/1.7/protocol.json +1 -1
  116. package/minecraft-data/data/pc/1.8/proto.yml +1035 -0
  117. package/minecraft-data/data/pc/1.8/protocol.json +28 -8
  118. package/minecraft-data/data/pc/1.9/proto.yml +1109 -0
  119. package/minecraft-data/data/pc/1.9/protocol.json +30 -10
  120. package/minecraft-data/data/pc/1.9.1-pre2/proto.yml +1109 -0
  121. package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +30 -10
  122. package/minecraft-data/data/pc/1.9.2/proto.yml +1109 -0
  123. package/minecraft-data/data/pc/1.9.2/protocol.json +30 -10
  124. package/minecraft-data/data/pc/1.9.4/proto.yml +1102 -0
  125. package/minecraft-data/data/pc/1.9.4/protocol.json +34 -13
  126. package/minecraft-data/data/pc/15w40b/proto.yml +1070 -0
  127. package/minecraft-data/data/pc/15w40b/protocol.json +107 -87
  128. package/minecraft-data/data/pc/16w20a/proto.yml +1102 -0
  129. package/minecraft-data/data/pc/16w20a/protocol.json +34 -13
  130. package/minecraft-data/data/pc/16w35a/proto.yml +1102 -0
  131. package/minecraft-data/data/pc/16w35a/protocol.json +34 -13
  132. package/minecraft-data/data/pc/17w15a/proto.yml +1165 -0
  133. package/minecraft-data/data/pc/17w15a/protocol.json +44 -23
  134. package/minecraft-data/data/pc/17w18b/proto.yml +1163 -0
  135. package/minecraft-data/data/pc/17w18b/protocol.json +52 -31
  136. package/minecraft-data/data/pc/17w50a/proto.yml +1418 -0
  137. package/minecraft-data/data/pc/17w50a/protocol.json +535 -346
  138. package/minecraft-data/data/pc/20w13b/proto.yml +1732 -0
  139. package/minecraft-data/data/pc/20w13b/protocol.json +315 -235
  140. package/minecraft-data/data/pc/21w07a/proto.yml +1785 -0
  141. package/minecraft-data/data/pc/21w07a/protocol.json +408 -295
  142. package/minecraft-data/data/pc/common/protocolVersions.json +24 -0
  143. package/minecraft-data/data/pc/latest/proto.yml +2762 -0
  144. package/minecraft-data/doc/add-data-new-version.md +3 -0
  145. package/minecraft-data/doc/history.md +4 -0
  146. package/minecraft-data/doc/protocol.md +154 -0
  147. package/minecraft-data/tools/js/compileProtocol.js +67 -45
  148. package/minecraft-data/tools/js/convertMcpcProtocolJsonToYaml.js +65 -0
  149. package/minecraft-data/tools/js/incrementVersion.js +63 -48
  150. package/minecraft-data/tools/js/package.json +3 -1
  151. package/minecraft-data/tools/js/test/protocolSync.js +1 -1
  152. package/package.json +3 -3
  153. package/tsconfig.json +1 -1
  154. package/typings/index-template.d.ts +30 -24
  155. package/typings/test-typings.ts +4 -0
@@ -93,7 +93,8 @@
93
93
  "compareTo": "$compareTo",
94
94
  "fields": {
95
95
  "3": [
96
- "container", [
96
+ "container",
97
+ [
97
98
  {
98
99
  "name": "blockState",
99
100
  "type": "varint"
@@ -101,7 +102,8 @@
101
102
  ]
102
103
  ],
103
104
  "14": [
104
- "container", [
105
+ "container",
106
+ [
105
107
  {
106
108
  "name": "red",
107
109
  "type": "f32"
@@ -121,15 +123,17 @@
121
123
  ]
122
124
  ],
123
125
  "23": [
124
- "container", [
126
+ "container",
127
+ [
125
128
  {
126
129
  "name": "blockState",
127
130
  "type": "varint"
128
131
  }
129
132
  ]
130
133
  ],
131
- "32": [
132
- "container", [
134
+ "32": [
135
+ "container",
136
+ [
133
137
  {
134
138
  "name": "item",
135
139
  "type": "slot"
@@ -214,7 +218,8 @@
214
218
  "14": "nbt",
215
219
  "15": "particle",
216
220
  "16": [
217
- "container",[
221
+ "container",
222
+ [
218
223
  {
219
224
  "name": "villagerType",
220
225
  "type": "varint"
@@ -270,44 +275,56 @@
270
275
  ]
271
276
  }
272
277
  ],
273
- "minecraft_smelting_format": ["container",[
274
- {
275
- "name": "group",
276
- "type": "string"
277
- },
278
- {
279
- "name": "ingredient",
280
- "type": "ingredient"
281
- },
282
- {
283
- "name": "result",
284
- "type": "slot"
285
- },
286
- {
287
- "name": "experience",
288
- "type": "f32"
289
- },
290
- {
291
- "name": "cookTime",
292
- "type": "varint"
293
- }
294
- ]],
295
- "tags":["array",{
296
- "countType": "varint",
297
- "type": ["container", [
278
+ "minecraft_smelting_format": [
279
+ "container",
280
+ [
298
281
  {
299
- "name": "tagName",
282
+ "name": "group",
300
283
  "type": "string"
301
284
  },
302
285
  {
303
- "name": "entries",
304
- "type": ["array",{
305
- "countType": "varint",
306
- "type": "varint"
307
- }]
286
+ "name": "ingredient",
287
+ "type": "ingredient"
288
+ },
289
+ {
290
+ "name": "result",
291
+ "type": "slot"
292
+ },
293
+ {
294
+ "name": "experience",
295
+ "type": "f32"
296
+ },
297
+ {
298
+ "name": "cookTime",
299
+ "type": "varint"
308
300
  }
309
- ]]
310
- }],
301
+ ]
302
+ ],
303
+ "tags": [
304
+ "array",
305
+ {
306
+ "countType": "varint",
307
+ "type": [
308
+ "container",
309
+ [
310
+ {
311
+ "name": "tagName",
312
+ "type": "string"
313
+ },
314
+ {
315
+ "name": "entries",
316
+ "type": [
317
+ "array",
318
+ {
319
+ "countType": "varint",
320
+ "type": "varint"
321
+ }
322
+ ]
323
+ }
324
+ ]
325
+ ]
326
+ }
327
+ ],
311
328
  "command_node": [
312
329
  "container",
313
330
  [
@@ -1477,10 +1494,26 @@
1477
1494
  "type": [
1478
1495
  "bitfield",
1479
1496
  [
1480
- { "name": "_unused", "size": 29, "signed": false },
1481
- { "name": "hidden", "size": 1, "signed": false },
1482
- { "name": "show_toast", "size": 1, "signed": false },
1483
- { "name": "has_background_texture", "size": 1, "signed": false }
1497
+ {
1498
+ "name": "_unused",
1499
+ "size": 29,
1500
+ "signed": false
1501
+ },
1502
+ {
1503
+ "name": "hidden",
1504
+ "size": 1,
1505
+ "signed": false
1506
+ },
1507
+ {
1508
+ "name": "show_toast",
1509
+ "size": 1,
1510
+ "signed": false
1511
+ },
1512
+ {
1513
+ "name": "has_background_texture",
1514
+ "size": 1,
1515
+ "signed": false
1516
+ }
1484
1517
  ]
1485
1518
  ]
1486
1519
  },
@@ -1795,19 +1828,22 @@
1795
1828
  "array",
1796
1829
  {
1797
1830
  "countType": "varint",
1798
- "type": ["container",[
1799
- {
1800
- "name": "match",
1801
- "type": "string"
1802
- },
1803
- {
1804
- "name": "tooltip",
1805
- "type": [
1806
- "option",
1807
- "string"
1808
- ]
1809
- }
1810
- ]]
1831
+ "type": [
1832
+ "container",
1833
+ [
1834
+ {
1835
+ "name": "match",
1836
+ "type": "string"
1837
+ },
1838
+ {
1839
+ "name": "tooltip",
1840
+ "type": [
1841
+ "option",
1842
+ "string"
1843
+ ]
1844
+ }
1845
+ ]
1846
+ ]
1811
1847
  }
1812
1848
  ]
1813
1849
  }
@@ -2267,10 +2303,13 @@
2267
2303
  "compareTo": "groundUp",
2268
2304
  "fields": {
2269
2305
  "false": "void",
2270
- "true": ["array", {
2271
- "count": 1024,
2272
- "type": "i32"
2273
- }]
2306
+ "true": [
2307
+ "array",
2308
+ {
2309
+ "count": "1024",
2310
+ "type": "i32"
2311
+ }
2312
+ ]
2274
2313
  }
2275
2314
  }
2276
2315
  ]
@@ -2287,9 +2326,10 @@
2287
2326
  {
2288
2327
  "name": "blockEntities",
2289
2328
  "type": [
2290
- "array",{
2291
- "countType":"varint",
2292
- "type":"nbt"
2329
+ "array",
2330
+ {
2331
+ "countType": "varint",
2332
+ "type": "nbt"
2293
2333
  }
2294
2334
  ]
2295
2335
  }
@@ -2490,7 +2530,10 @@
2490
2530
  },
2491
2531
  {
2492
2532
  "name": "displayName",
2493
- "type": ["option", "string"]
2533
+ "type": [
2534
+ "option",
2535
+ "string"
2536
+ ]
2494
2537
  }
2495
2538
  ]
2496
2539
  ]
@@ -2573,48 +2616,54 @@
2573
2616
  "array",
2574
2617
  {
2575
2618
  "countType": "u8",
2576
- "type": ["container", [
2577
- {
2578
- "name": "inputItem1",
2579
- "type": "slot"
2580
- },
2581
- {
2582
- "name": "outputItem",
2583
- "type": "slot"
2584
- },
2585
- {
2586
- "name": "inputItem2",
2587
- "type": ["option", "slot"]
2588
- },
2589
- {
2590
- "name": "tradeDisabled",
2591
- "type": "bool"
2592
- },
2593
- {
2594
- "name": "nbTradeUses",
2595
- "type": "i32"
2596
- },
2597
- {
2598
- "name": "maximumNbTradeUses",
2599
- "type": "i32"
2600
- },
2601
- {
2602
- "name": "xp",
2603
- "type": "i32"
2604
- },
2605
- {
2606
- "name": "specialPrice",
2607
- "type": "i32"
2608
- },
2609
- {
2610
- "name": "priceMultiplier",
2611
- "type": "f32"
2612
- },
2613
- {
2614
- "name": "demand",
2615
- "type": "i32"
2616
- }
2617
- ]]
2619
+ "type": [
2620
+ "container",
2621
+ [
2622
+ {
2623
+ "name": "inputItem1",
2624
+ "type": "slot"
2625
+ },
2626
+ {
2627
+ "name": "outputItem",
2628
+ "type": "slot"
2629
+ },
2630
+ {
2631
+ "name": "inputItem2",
2632
+ "type": [
2633
+ "option",
2634
+ "slot"
2635
+ ]
2636
+ },
2637
+ {
2638
+ "name": "tradeDisabled",
2639
+ "type": "bool"
2640
+ },
2641
+ {
2642
+ "name": "nbTradeUses",
2643
+ "type": "i32"
2644
+ },
2645
+ {
2646
+ "name": "maximumNbTradeUses",
2647
+ "type": "i32"
2648
+ },
2649
+ {
2650
+ "name": "xp",
2651
+ "type": "i32"
2652
+ },
2653
+ {
2654
+ "name": "specialPrice",
2655
+ "type": "i32"
2656
+ },
2657
+ {
2658
+ "name": "priceMultiplier",
2659
+ "type": "f32"
2660
+ },
2661
+ {
2662
+ "name": "demand",
2663
+ "type": "i32"
2664
+ }
2665
+ ]
2666
+ ]
2618
2667
  }
2619
2668
  ]
2620
2669
  },
@@ -3042,18 +3091,18 @@
3042
3091
  "type": "bool"
3043
3092
  },
3044
3093
  {
3045
- "name":"recipes1",
3046
- "type":[
3094
+ "name": "recipes1",
3095
+ "type": [
3047
3096
  "array",
3048
3097
  {
3049
- "countType":"varint",
3050
- "type":"string"
3098
+ "countType": "varint",
3099
+ "type": "string"
3051
3100
  }
3052
3101
  ]
3053
3102
  },
3054
3103
  {
3055
- "name":"recipes2",
3056
- "type":[
3104
+ "name": "recipes2",
3105
+ "type": [
3057
3106
  "switch",
3058
3107
  {
3059
3108
  "compareTo": "action",
@@ -3061,8 +3110,8 @@
3061
3110
  "0": [
3062
3111
  "array",
3063
3112
  {
3064
- "countType":"varint",
3065
- "type":"string"
3113
+ "countType": "varint",
3114
+ "type": "string"
3066
3115
  }
3067
3116
  ]
3068
3117
  },
@@ -3784,25 +3833,31 @@
3784
3833
  },
3785
3834
  {
3786
3835
  "name": "source",
3787
- "type": ["switch",{
3788
- "compareTo":"flags",
3789
- "fields": {
3790
- "3": "varint",
3791
- "1": "varint"
3792
- },
3793
- "default": "void"
3794
- }]
3836
+ "type": [
3837
+ "switch",
3838
+ {
3839
+ "compareTo": "flags",
3840
+ "fields": {
3841
+ "1": "varint",
3842
+ "3": "varint"
3843
+ },
3844
+ "default": "void"
3845
+ }
3846
+ ]
3795
3847
  },
3796
3848
  {
3797
3849
  "name": "sound",
3798
- "type": ["switch",{
3799
- "compareTo":"flags",
3800
- "fields": {
3801
- "3": "string",
3802
- "2": "string"
3803
- },
3804
- "default": "void"
3805
- }]
3850
+ "type": [
3851
+ "switch",
3852
+ {
3853
+ "compareTo": "flags",
3854
+ "fields": {
3855
+ "2": "string",
3856
+ "3": "string"
3857
+ },
3858
+ "default": "void"
3859
+ }
3860
+ ]
3806
3861
  }
3807
3862
  ]
3808
3863
  ],
@@ -4001,104 +4056,131 @@
4001
4056
  [
4002
4057
  {
4003
4058
  "name": "recipes",
4004
- "type": ["array",{
4005
- "countType": "varint",
4006
- "type":["container",[
4007
- {
4008
- "name": "type",
4009
- "type": "string"
4010
- },
4011
- {
4012
- "name": "recipeId",
4013
- "type": "string"
4014
- },
4015
- {
4016
- "name": "data",
4017
- "type": ["switch", {
4018
- "compareTo": "type",
4019
- "fields": {
4020
- "minecraft:crafting_shapeless": ["container",[
4021
- {
4022
- "name": "group",
4023
- "type": "string"
4024
- },
4025
- {
4026
- "name": "ingredients",
4027
- "type": ["array",{
4028
- "countType": "varint",
4029
- "type": "ingredient"
4030
- }]
4031
- },
4032
- {
4033
- "name": "result",
4034
- "type": "slot"
4035
- }
4036
- ]],
4037
- "minecraft:crafting_shaped": ["container",[
4038
- {
4039
- "name": "width",
4040
- "type": "varint"
4041
- },
4042
- {
4043
- "name": "height",
4044
- "type": "varint"
4045
- },
4046
- {
4047
- "name": "group",
4048
- "type": "string"
4049
- },
4050
- {
4051
- "name": "ingredients",
4052
- "type": ["array",{
4053
- "count": "width",
4054
- "type": ["array",{
4055
- "count": "height",
4056
- "type": "ingredient"
4057
- }]
4058
- }]
4059
- },
4060
- {
4061
- "name": "result",
4062
- "type": "slot"
4063
- }
4064
- ]],
4065
- "minecraft:crafting_special_armordye": "void",
4066
- "minecraft:crafting_special_bookcloning": "void",
4067
- "minecraft:crafting_special_mapcloning": "void",
4068
- "minecraft:crafting_special_mapextending": "void",
4069
- "minecraft:crafting_special_firework_rocket": "void",
4070
- "minecraft:crafting_special_firework_star": "void",
4071
- "minecraft:crafting_special_firework_star_fade": "void",
4072
- "minecraft:crafting_special_repairitem": "void",
4073
- "minecraft:crafting_special_tippedarrow": "void",
4074
- "minecraft:crafting_special_bannerduplicate": "void",
4075
- "minecraft:crafting_special_banneraddpattern": "void",
4076
- "minecraft:crafting_special_shielddecoration": "void",
4077
- "minecraft:crafting_special_shulkerboxcoloring": "void",
4078
- "minecraft:crafting_special_suspiciousstew": "void",
4079
- "minecraft:smelting": "minecraft_smelting_format",
4080
- "minecraft:blasting": "minecraft_smelting_format",
4081
- "minecraft:smoking": "minecraft_smelting_format",
4082
- "minecraft:campfire_cooking": "minecraft_smelting_format",
4083
- "minecraft:stonecutting": ["container",[
4084
- {
4085
- "name": "group",
4086
- "type": "string"
4087
- },
4088
- {
4089
- "name": "ingredient",
4090
- "type": "ingredient"
4091
- },
4059
+ "type": [
4060
+ "array",
4061
+ {
4062
+ "countType": "varint",
4063
+ "type": [
4064
+ "container",
4065
+ [
4066
+ {
4067
+ "name": "type",
4068
+ "type": "string"
4069
+ },
4070
+ {
4071
+ "name": "recipeId",
4072
+ "type": "string"
4073
+ },
4074
+ {
4075
+ "name": "data",
4076
+ "type": [
4077
+ "switch",
4092
4078
  {
4093
- "name": "result",
4094
- "type": "slot"
4079
+ "compareTo": "type",
4080
+ "fields": {
4081
+ "minecraft:crafting_shapeless": [
4082
+ "container",
4083
+ [
4084
+ {
4085
+ "name": "group",
4086
+ "type": "string"
4087
+ },
4088
+ {
4089
+ "name": "ingredients",
4090
+ "type": [
4091
+ "array",
4092
+ {
4093
+ "countType": "varint",
4094
+ "type": "ingredient"
4095
+ }
4096
+ ]
4097
+ },
4098
+ {
4099
+ "name": "result",
4100
+ "type": "slot"
4101
+ }
4102
+ ]
4103
+ ],
4104
+ "minecraft:crafting_shaped": [
4105
+ "container",
4106
+ [
4107
+ {
4108
+ "name": "width",
4109
+ "type": "varint"
4110
+ },
4111
+ {
4112
+ "name": "height",
4113
+ "type": "varint"
4114
+ },
4115
+ {
4116
+ "name": "group",
4117
+ "type": "string"
4118
+ },
4119
+ {
4120
+ "name": "ingredients",
4121
+ "type": [
4122
+ "array",
4123
+ {
4124
+ "count": "width",
4125
+ "type": [
4126
+ "array",
4127
+ {
4128
+ "count": "height",
4129
+ "type": "ingredient"
4130
+ }
4131
+ ]
4132
+ }
4133
+ ]
4134
+ },
4135
+ {
4136
+ "name": "result",
4137
+ "type": "slot"
4138
+ }
4139
+ ]
4140
+ ],
4141
+ "minecraft:crafting_special_armordye": "void",
4142
+ "minecraft:crafting_special_bookcloning": "void",
4143
+ "minecraft:crafting_special_mapcloning": "void",
4144
+ "minecraft:crafting_special_mapextending": "void",
4145
+ "minecraft:crafting_special_firework_rocket": "void",
4146
+ "minecraft:crafting_special_firework_star": "void",
4147
+ "minecraft:crafting_special_firework_star_fade": "void",
4148
+ "minecraft:crafting_special_repairitem": "void",
4149
+ "minecraft:crafting_special_tippedarrow": "void",
4150
+ "minecraft:crafting_special_bannerduplicate": "void",
4151
+ "minecraft:crafting_special_banneraddpattern": "void",
4152
+ "minecraft:crafting_special_shielddecoration": "void",
4153
+ "minecraft:crafting_special_shulkerboxcoloring": "void",
4154
+ "minecraft:crafting_special_suspiciousstew": "void",
4155
+ "minecraft:smelting": "minecraft_smelting_format",
4156
+ "minecraft:blasting": "minecraft_smelting_format",
4157
+ "minecraft:smoking": "minecraft_smelting_format",
4158
+ "minecraft:campfire_cooking": "minecraft_smelting_format",
4159
+ "minecraft:stonecutting": [
4160
+ "container",
4161
+ [
4162
+ {
4163
+ "name": "group",
4164
+ "type": "string"
4165
+ },
4166
+ {
4167
+ "name": "ingredient",
4168
+ "type": "ingredient"
4169
+ },
4170
+ {
4171
+ "name": "result",
4172
+ "type": "slot"
4173
+ }
4174
+ ]
4175
+ ]
4176
+ }
4095
4177
  }
4096
- ]]
4178
+ ]
4097
4179
  }
4098
- }]
4099
- }
4100
- ]]
4101
- }]
4180
+ ]
4181
+ ]
4182
+ }
4183
+ ]
4102
4184
  }
4103
4185
  ]
4104
4186
  ],
@@ -4493,8 +4575,7 @@
4493
4575
  {
4494
4576
  "name": "command",
4495
4577
  "type": "string"
4496
- }
4497
- ,
4578
+ },
4498
4579
  {
4499
4580
  "name": "track_output",
4500
4581
  "type": "bool"
@@ -5002,13 +5083,13 @@
5002
5083
  "type": "varint"
5003
5084
  },
5004
5085
  {
5005
- "anon":true,
5006
- "type":[
5086
+ "anon": true,
5087
+ "type": [
5007
5088
  "switch",
5008
5089
  {
5009
- "compareTo":"type",
5010
- "fields":{
5011
- "0":[
5090
+ "compareTo": "type",
5091
+ "fields": {
5092
+ "0": [
5012
5093
  "container",
5013
5094
  [
5014
5095
  {
@@ -5209,7 +5290,7 @@
5209
5290
  "type": [
5210
5291
  "switch",
5211
5292
  {
5212
- "compareTo":"action",
5293
+ "compareTo": "action",
5213
5294
  "fields": {
5214
5295
  "0": "string",
5215
5296
  "1": "void"
@@ -5341,4 +5422,4 @@
5341
5422
  }
5342
5423
  }
5343
5424
  }
5344
- }
5425
+ }