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
@@ -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
  }
@@ -2251,10 +2287,13 @@
2251
2287
  "compareTo": "groundUp",
2252
2288
  "fields": {
2253
2289
  "false": "void",
2254
- "true": ["array", {
2255
- "count": 1024,
2256
- "type": "i32"
2257
- }]
2290
+ "true": [
2291
+ "array",
2292
+ {
2293
+ "count": "1024",
2294
+ "type": "i32"
2295
+ }
2296
+ ]
2258
2297
  }
2259
2298
  }
2260
2299
  ]
@@ -2271,9 +2310,10 @@
2271
2310
  {
2272
2311
  "name": "blockEntities",
2273
2312
  "type": [
2274
- "array",{
2275
- "countType":"varint",
2276
- "type":"nbt"
2313
+ "array",
2314
+ {
2315
+ "countType": "varint",
2316
+ "type": "nbt"
2277
2317
  }
2278
2318
  ]
2279
2319
  }
@@ -2408,10 +2448,13 @@
2408
2448
  },
2409
2449
  {
2410
2450
  "name": "worldNames",
2411
- "type": ["array", {
2412
- "countType": "varint",
2413
- "type": "string"
2414
- }]
2451
+ "type": [
2452
+ "array",
2453
+ {
2454
+ "countType": "varint",
2455
+ "type": "string"
2456
+ }
2457
+ ]
2415
2458
  },
2416
2459
  {
2417
2460
  "name": "dimensionCodec",
@@ -2501,7 +2544,10 @@
2501
2544
  },
2502
2545
  {
2503
2546
  "name": "displayName",
2504
- "type": ["option", "string"]
2547
+ "type": [
2548
+ "option",
2549
+ "string"
2550
+ ]
2505
2551
  }
2506
2552
  ]
2507
2553
  ]
@@ -2584,48 +2630,54 @@
2584
2630
  "array",
2585
2631
  {
2586
2632
  "countType": "u8",
2587
- "type": ["container", [
2588
- {
2589
- "name": "inputItem1",
2590
- "type": "slot"
2591
- },
2592
- {
2593
- "name": "outputItem",
2594
- "type": "slot"
2595
- },
2596
- {
2597
- "name": "inputItem2",
2598
- "type": ["option", "slot"]
2599
- },
2600
- {
2601
- "name": "tradeDisabled",
2602
- "type": "bool"
2603
- },
2604
- {
2605
- "name": "nbTradeUses",
2606
- "type": "i32"
2607
- },
2608
- {
2609
- "name": "maximumNbTradeUses",
2610
- "type": "i32"
2611
- },
2612
- {
2613
- "name": "xp",
2614
- "type": "i32"
2615
- },
2616
- {
2617
- "name": "specialPrice",
2618
- "type": "i32"
2619
- },
2620
- {
2621
- "name": "priceMultiplier",
2622
- "type": "f32"
2623
- },
2624
- {
2625
- "name": "demand",
2626
- "type": "i32"
2627
- }
2628
- ]]
2633
+ "type": [
2634
+ "container",
2635
+ [
2636
+ {
2637
+ "name": "inputItem1",
2638
+ "type": "slot"
2639
+ },
2640
+ {
2641
+ "name": "outputItem",
2642
+ "type": "slot"
2643
+ },
2644
+ {
2645
+ "name": "inputItem2",
2646
+ "type": [
2647
+ "option",
2648
+ "slot"
2649
+ ]
2650
+ },
2651
+ {
2652
+ "name": "tradeDisabled",
2653
+ "type": "bool"
2654
+ },
2655
+ {
2656
+ "name": "nbTradeUses",
2657
+ "type": "i32"
2658
+ },
2659
+ {
2660
+ "name": "maximumNbTradeUses",
2661
+ "type": "i32"
2662
+ },
2663
+ {
2664
+ "name": "xp",
2665
+ "type": "i32"
2666
+ },
2667
+ {
2668
+ "name": "specialPrice",
2669
+ "type": "i32"
2670
+ },
2671
+ {
2672
+ "name": "priceMultiplier",
2673
+ "type": "f32"
2674
+ },
2675
+ {
2676
+ "name": "demand",
2677
+ "type": "i32"
2678
+ }
2679
+ ]
2680
+ ]
2629
2681
  }
2630
2682
  ]
2631
2683
  },
@@ -3053,18 +3105,18 @@
3053
3105
  "type": "bool"
3054
3106
  },
3055
3107
  {
3056
- "name":"recipes1",
3057
- "type":[
3108
+ "name": "recipes1",
3109
+ "type": [
3058
3110
  "array",
3059
3111
  {
3060
- "countType":"varint",
3061
- "type":"string"
3112
+ "countType": "varint",
3113
+ "type": "string"
3062
3114
  }
3063
3115
  ]
3064
3116
  },
3065
3117
  {
3066
- "name":"recipes2",
3067
- "type":[
3118
+ "name": "recipes2",
3119
+ "type": [
3068
3120
  "switch",
3069
3121
  {
3070
3122
  "compareTo": "action",
@@ -3072,8 +3124,8 @@
3072
3124
  "0": [
3073
3125
  "array",
3074
3126
  {
3075
- "countType":"varint",
3076
- "type":"string"
3127
+ "countType": "varint",
3128
+ "type": "string"
3077
3129
  }
3078
3130
  ]
3079
3131
  },
@@ -3416,18 +3468,24 @@
3416
3468
  },
3417
3469
  {
3418
3470
  "name": "equipments",
3419
- "type": ["topBitSetTerminatedArray", {
3420
- "type": ["container", [
3421
- {
3422
- "name": "slot",
3423
- "type": "i8"
3424
- },
3425
- {
3426
- "name": "item",
3427
- "type": "slot"
3428
- }
3429
- ]]
3430
- }]
3471
+ "type": [
3472
+ "topBitSetTerminatedArray",
3473
+ {
3474
+ "type": [
3475
+ "container",
3476
+ [
3477
+ {
3478
+ "name": "slot",
3479
+ "type": "i8"
3480
+ },
3481
+ {
3482
+ "name": "item",
3483
+ "type": "slot"
3484
+ }
3485
+ ]
3486
+ ]
3487
+ }
3488
+ ]
3431
3489
  }
3432
3490
  ]
3433
3491
  ],
@@ -3818,25 +3876,31 @@
3818
3876
  },
3819
3877
  {
3820
3878
  "name": "source",
3821
- "type": ["switch",{
3822
- "compareTo":"flags",
3823
- "fields": {
3824
- "3": "varint",
3825
- "1": "varint"
3826
- },
3827
- "default": "void"
3828
- }]
3879
+ "type": [
3880
+ "switch",
3881
+ {
3882
+ "compareTo": "flags",
3883
+ "fields": {
3884
+ "1": "varint",
3885
+ "3": "varint"
3886
+ },
3887
+ "default": "void"
3888
+ }
3889
+ ]
3829
3890
  },
3830
3891
  {
3831
3892
  "name": "sound",
3832
- "type": ["switch",{
3833
- "compareTo":"flags",
3834
- "fields": {
3835
- "3": "string",
3836
- "2": "string"
3837
- },
3838
- "default": "void"
3839
- }]
3893
+ "type": [
3894
+ "switch",
3895
+ {
3896
+ "compareTo": "flags",
3897
+ "fields": {
3898
+ "2": "string",
3899
+ "3": "string"
3900
+ },
3901
+ "default": "void"
3902
+ }
3903
+ ]
3840
3904
  }
3841
3905
  ]
3842
3906
  ],
@@ -4035,118 +4099,148 @@
4035
4099
  [
4036
4100
  {
4037
4101
  "name": "recipes",
4038
- "type": ["array",{
4039
- "countType": "varint",
4040
- "type":["container",[
4041
- {
4042
- "name": "type",
4043
- "type": "string"
4044
- },
4045
- {
4046
- "name": "recipeId",
4047
- "type": "string"
4048
- },
4049
- {
4050
- "name": "data",
4051
- "type": ["switch", {
4052
- "compareTo": "type",
4053
- "fields": {
4054
- "minecraft:crafting_shapeless": ["container",[
4055
- {
4056
- "name": "group",
4057
- "type": "string"
4058
- },
4059
- {
4060
- "name": "ingredients",
4061
- "type": ["array",{
4062
- "countType": "varint",
4063
- "type": "ingredient"
4064
- }]
4065
- },
4066
- {
4067
- "name": "result",
4068
- "type": "slot"
4069
- }
4070
- ]],
4071
- "minecraft:crafting_shaped": ["container",[
4072
- {
4073
- "name": "width",
4074
- "type": "varint"
4075
- },
4076
- {
4077
- "name": "height",
4078
- "type": "varint"
4079
- },
4080
- {
4081
- "name": "group",
4082
- "type": "string"
4083
- },
4084
- {
4085
- "name": "ingredients",
4086
- "type": ["array",{
4087
- "count": "width",
4088
- "type": ["array",{
4089
- "count": "height",
4090
- "type": "ingredient"
4091
- }]
4092
- }]
4093
- },
4094
- {
4095
- "name": "result",
4096
- "type": "slot"
4097
- }
4098
- ]],
4099
- "minecraft:crafting_special_armordye": "void",
4100
- "minecraft:crafting_special_bookcloning": "void",
4101
- "minecraft:crafting_special_mapcloning": "void",
4102
- "minecraft:crafting_special_mapextending": "void",
4103
- "minecraft:crafting_special_firework_rocket": "void",
4104
- "minecraft:crafting_special_firework_star": "void",
4105
- "minecraft:crafting_special_firework_star_fade": "void",
4106
- "minecraft:crafting_special_repairitem": "void",
4107
- "minecraft:crafting_special_tippedarrow": "void",
4108
- "minecraft:crafting_special_bannerduplicate": "void",
4109
- "minecraft:crafting_special_banneraddpattern": "void",
4110
- "minecraft:crafting_special_shielddecoration": "void",
4111
- "minecraft:crafting_special_shulkerboxcoloring": "void",
4112
- "minecraft:crafting_special_suspiciousstew": "void",
4113
- "minecraft:smelting": "minecraft_smelting_format",
4114
- "minecraft:blasting": "minecraft_smelting_format",
4115
- "minecraft:smoking": "minecraft_smelting_format",
4116
- "minecraft:campfire_cooking": "minecraft_smelting_format",
4117
- "minecraft:stonecutting": ["container",[
4118
- {
4119
- "name": "group",
4120
- "type": "string"
4121
- },
4122
- {
4123
- "name": "ingredient",
4124
- "type": "ingredient"
4125
- },
4126
- {
4127
- "name": "result",
4128
- "type": "slot"
4129
- }
4130
- ]],
4131
- "minecraft:smithing": ["container",[
4132
- {
4133
- "name": "base",
4134
- "type": "ingredient"
4135
- },
4136
- {
4137
- "name": "addition",
4138
- "type": "ingredient"
4139
- },
4102
+ "type": [
4103
+ "array",
4104
+ {
4105
+ "countType": "varint",
4106
+ "type": [
4107
+ "container",
4108
+ [
4109
+ {
4110
+ "name": "type",
4111
+ "type": "string"
4112
+ },
4113
+ {
4114
+ "name": "recipeId",
4115
+ "type": "string"
4116
+ },
4117
+ {
4118
+ "name": "data",
4119
+ "type": [
4120
+ "switch",
4140
4121
  {
4141
- "name": "result",
4142
- "type": "slot"
4122
+ "compareTo": "type",
4123
+ "fields": {
4124
+ "minecraft:crafting_shapeless": [
4125
+ "container",
4126
+ [
4127
+ {
4128
+ "name": "group",
4129
+ "type": "string"
4130
+ },
4131
+ {
4132
+ "name": "ingredients",
4133
+ "type": [
4134
+ "array",
4135
+ {
4136
+ "countType": "varint",
4137
+ "type": "ingredient"
4138
+ }
4139
+ ]
4140
+ },
4141
+ {
4142
+ "name": "result",
4143
+ "type": "slot"
4144
+ }
4145
+ ]
4146
+ ],
4147
+ "minecraft:crafting_shaped": [
4148
+ "container",
4149
+ [
4150
+ {
4151
+ "name": "width",
4152
+ "type": "varint"
4153
+ },
4154
+ {
4155
+ "name": "height",
4156
+ "type": "varint"
4157
+ },
4158
+ {
4159
+ "name": "group",
4160
+ "type": "string"
4161
+ },
4162
+ {
4163
+ "name": "ingredients",
4164
+ "type": [
4165
+ "array",
4166
+ {
4167
+ "count": "width",
4168
+ "type": [
4169
+ "array",
4170
+ {
4171
+ "count": "height",
4172
+ "type": "ingredient"
4173
+ }
4174
+ ]
4175
+ }
4176
+ ]
4177
+ },
4178
+ {
4179
+ "name": "result",
4180
+ "type": "slot"
4181
+ }
4182
+ ]
4183
+ ],
4184
+ "minecraft:crafting_special_armordye": "void",
4185
+ "minecraft:crafting_special_bookcloning": "void",
4186
+ "minecraft:crafting_special_mapcloning": "void",
4187
+ "minecraft:crafting_special_mapextending": "void",
4188
+ "minecraft:crafting_special_firework_rocket": "void",
4189
+ "minecraft:crafting_special_firework_star": "void",
4190
+ "minecraft:crafting_special_firework_star_fade": "void",
4191
+ "minecraft:crafting_special_repairitem": "void",
4192
+ "minecraft:crafting_special_tippedarrow": "void",
4193
+ "minecraft:crafting_special_bannerduplicate": "void",
4194
+ "minecraft:crafting_special_banneraddpattern": "void",
4195
+ "minecraft:crafting_special_shielddecoration": "void",
4196
+ "minecraft:crafting_special_shulkerboxcoloring": "void",
4197
+ "minecraft:crafting_special_suspiciousstew": "void",
4198
+ "minecraft:smelting": "minecraft_smelting_format",
4199
+ "minecraft:blasting": "minecraft_smelting_format",
4200
+ "minecraft:smoking": "minecraft_smelting_format",
4201
+ "minecraft:campfire_cooking": "minecraft_smelting_format",
4202
+ "minecraft:stonecutting": [
4203
+ "container",
4204
+ [
4205
+ {
4206
+ "name": "group",
4207
+ "type": "string"
4208
+ },
4209
+ {
4210
+ "name": "ingredient",
4211
+ "type": "ingredient"
4212
+ },
4213
+ {
4214
+ "name": "result",
4215
+ "type": "slot"
4216
+ }
4217
+ ]
4218
+ ],
4219
+ "minecraft:smithing": [
4220
+ "container",
4221
+ [
4222
+ {
4223
+ "name": "base",
4224
+ "type": "ingredient"
4225
+ },
4226
+ {
4227
+ "name": "addition",
4228
+ "type": "ingredient"
4229
+ },
4230
+ {
4231
+ "name": "result",
4232
+ "type": "slot"
4233
+ }
4234
+ ]
4235
+ ]
4236
+ }
4143
4237
  }
4144
- ]]
4238
+ ]
4145
4239
  }
4146
- }]
4147
- }
4148
- ]]
4149
- }]
4240
+ ]
4241
+ ]
4242
+ }
4243
+ ]
4150
4244
  }
4151
4245
  ]
4152
4246
  ],
@@ -4539,8 +4633,7 @@
4539
4633
  {
4540
4634
  "name": "command",
4541
4635
  "type": "string"
4542
- }
4543
- ,
4636
+ },
4544
4637
  {
4545
4638
  "name": "track_output",
4546
4639
  "type": "bool"
@@ -5061,13 +5154,13 @@
5061
5154
  "type": "varint"
5062
5155
  },
5063
5156
  {
5064
- "anon":true,
5065
- "type":[
5157
+ "anon": true,
5158
+ "type": [
5066
5159
  "switch",
5067
5160
  {
5068
- "compareTo":"type",
5069
- "fields":{
5070
- "0":[
5161
+ "compareTo": "type",
5162
+ "fields": {
5163
+ "0": [
5071
5164
  "container",
5072
5165
  [
5073
5166
  {
@@ -5276,7 +5369,7 @@
5276
5369
  "type": [
5277
5370
  "switch",
5278
5371
  {
5279
- "compareTo":"action",
5372
+ "compareTo": "action",
5280
5373
  "fields": {
5281
5374
  "0": "string",
5282
5375
  "1": "void"
@@ -5410,4 +5503,4 @@
5410
5503
  }
5411
5504
  }
5412
5505
  }
5413
- }
5506
+ }