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
@@ -83,58 +83,62 @@
83
83
  ]
84
84
  ],
85
85
  "particleData": [
86
- "switch",
87
- {
88
- "compareTo": "$compareTo",
89
- "fields": {
90
- "3": [
91
- "container", [
92
- {
93
- "name": "blockState",
94
- "type": "varint"
95
- }
96
- ]
97
- ],
98
- "11": [
99
- "container", [
100
- {
101
- "name": "red",
102
- "type": "f32"
103
- },
104
- {
105
- "name": "green",
106
- "type": "f32"
107
- },
108
- {
109
- "name": "blue",
110
- "type": "f32"
111
- },
112
- {
113
- "name": "scale",
114
- "type": "f32"
115
- }
116
- ]
117
- ],
118
- "20": [
119
- "container", [
120
- {
121
- "name": "blockState",
122
- "type": "varint"
123
- }
124
- ]
125
- ],
126
- "27": [
127
- "container", [
128
- {
129
- "name": "item",
130
- "type": "slot"
131
- }
132
- ]
86
+ "switch",
87
+ {
88
+ "compareTo": "$compareTo",
89
+ "fields": {
90
+ "3": [
91
+ "container",
92
+ [
93
+ {
94
+ "name": "blockState",
95
+ "type": "varint"
96
+ }
133
97
  ]
134
- },
135
- "default": "void"
136
- }
137
- ],
98
+ ],
99
+ "11": [
100
+ "container",
101
+ [
102
+ {
103
+ "name": "red",
104
+ "type": "f32"
105
+ },
106
+ {
107
+ "name": "green",
108
+ "type": "f32"
109
+ },
110
+ {
111
+ "name": "blue",
112
+ "type": "f32"
113
+ },
114
+ {
115
+ "name": "scale",
116
+ "type": "f32"
117
+ }
118
+ ]
119
+ ],
120
+ "20": [
121
+ "container",
122
+ [
123
+ {
124
+ "name": "blockState",
125
+ "type": "varint"
126
+ }
127
+ ]
128
+ ],
129
+ "27": [
130
+ "container",
131
+ [
132
+ {
133
+ "name": "item",
134
+ "type": "slot"
135
+ }
136
+ ]
137
+ ]
138
+ },
139
+ "default": "void"
140
+ }
141
+ ],
138
142
  "ingredient": [
139
143
  "array",
140
144
  {
@@ -1044,21 +1048,21 @@
1044
1048
  ]
1045
1049
  ],
1046
1050
  "packet_login_plugin_response": [
1047
- "container",
1048
- [
1049
- {
1050
- "name": "messageId",
1051
- "type": "varint"
1052
- },
1053
- {
1054
- "name": "data",
1055
- "type": [
1056
- "option",
1057
- "restBuffer"
1058
- ]
1059
- }
1060
- ]
1061
- ],
1051
+ "container",
1052
+ [
1053
+ {
1054
+ "name": "messageId",
1055
+ "type": "varint"
1056
+ },
1057
+ {
1058
+ "name": "data",
1059
+ "type": [
1060
+ "option",
1061
+ "restBuffer"
1062
+ ]
1063
+ }
1064
+ ]
1065
+ ],
1062
1066
  "packet": [
1063
1067
  "container",
1064
1068
  [
@@ -1424,10 +1428,26 @@
1424
1428
  "type": [
1425
1429
  "bitfield",
1426
1430
  [
1427
- { "name": "_unused", "size": 29, "signed": false },
1428
- { "name": "hidden", "size": 1, "signed": false },
1429
- { "name": "show_toast", "size": 1, "signed": false },
1430
- { "name": "has_background_texture", "size": 1, "signed": false }
1431
+ {
1432
+ "name": "_unused",
1433
+ "size": 29,
1434
+ "signed": false
1435
+ },
1436
+ {
1437
+ "name": "hidden",
1438
+ "size": 1,
1439
+ "signed": false
1440
+ },
1441
+ {
1442
+ "name": "show_toast",
1443
+ "size": 1,
1444
+ "signed": false
1445
+ },
1446
+ {
1447
+ "name": "has_background_texture",
1448
+ "size": 1,
1449
+ "signed": false
1450
+ }
1431
1451
  ]
1432
1452
  ]
1433
1453
  },
@@ -1738,19 +1758,22 @@
1738
1758
  "array",
1739
1759
  {
1740
1760
  "countType": "varint",
1741
- "type": ["container",[
1742
- {
1743
- "name": "match",
1744
- "type": "string"
1745
- },
1746
- {
1747
- "name": "tooltip",
1748
- "type": [
1749
- "option",
1750
- "string"
1751
- ]
1752
- }
1753
- ]]
1761
+ "type": [
1762
+ "container",
1763
+ [
1764
+ {
1765
+ "name": "match",
1766
+ "type": "string"
1767
+ },
1768
+ {
1769
+ "name": "tooltip",
1770
+ "type": [
1771
+ "option",
1772
+ "string"
1773
+ ]
1774
+ }
1775
+ ]
1776
+ ]
1754
1777
  }
1755
1778
  ]
1756
1779
  }
@@ -1776,68 +1799,68 @@
1776
1799
  ]
1777
1800
  ],
1778
1801
  "packet_face_player": [
1779
- "container",
1780
- [
1781
- {
1782
- "name": "feet_eyes",
1783
- "type": "varint"
1784
- },
1785
- {
1786
- "name": "x",
1787
- "type": "f64"
1788
- },
1789
- {
1790
- "name": "y",
1791
- "type": "f64"
1792
- },
1793
- {
1794
- "name": "z",
1795
- "type": "f64"
1796
- },
1797
- {
1798
- "name": "isEntity",
1799
- "type": "bool"
1800
- },
1801
- {
1802
- "name": "entityId",
1803
- "type": [
1804
- "switch",
1805
- {
1806
- "compareTo": "isEntity",
1807
- "fields": {
1808
- "true": "varint"
1809
- },
1810
- "default": "void"
1811
- }
1812
- ]
1813
- },
1814
- {
1815
- "name": "entity_feet_eyes",
1816
- "type": [
1817
- "switch",
1818
- {
1819
- "compareTo": "isEntity",
1820
- "fields": {
1821
- "true": "string"
1822
- },
1823
- "default": "void"
1824
- }
1825
- ]
1826
- }
1827
- ]
1802
+ "container",
1803
+ [
1804
+ {
1805
+ "name": "feet_eyes",
1806
+ "type": "varint"
1807
+ },
1808
+ {
1809
+ "name": "x",
1810
+ "type": "f64"
1811
+ },
1812
+ {
1813
+ "name": "y",
1814
+ "type": "f64"
1815
+ },
1816
+ {
1817
+ "name": "z",
1818
+ "type": "f64"
1819
+ },
1820
+ {
1821
+ "name": "isEntity",
1822
+ "type": "bool"
1823
+ },
1824
+ {
1825
+ "name": "entityId",
1826
+ "type": [
1827
+ "switch",
1828
+ {
1829
+ "compareTo": "isEntity",
1830
+ "fields": {
1831
+ "true": "varint"
1832
+ },
1833
+ "default": "void"
1834
+ }
1835
+ ]
1836
+ },
1837
+ {
1838
+ "name": "entity_feet_eyes",
1839
+ "type": [
1840
+ "switch",
1841
+ {
1842
+ "compareTo": "isEntity",
1843
+ "fields": {
1844
+ "true": "string"
1845
+ },
1846
+ "default": "void"
1847
+ }
1848
+ ]
1849
+ }
1850
+ ]
1828
1851
  ],
1829
1852
  "packet_nbt_query_response": [
1830
- "container",
1831
- [
1832
- {
1833
- "name": "transactionId",
1834
- "type": "varint"
1835
- },
1836
- {
1837
- "name": "nbt",
1838
- "type": "optionalNbt"
1839
- }
1840
- ]
1853
+ "container",
1854
+ [
1855
+ {
1856
+ "name": "transactionId",
1857
+ "type": "varint"
1858
+ },
1859
+ {
1860
+ "name": "nbt",
1861
+ "type": "optionalNbt"
1862
+ }
1863
+ ]
1841
1864
  ],
1842
1865
  "packet_chat": [
1843
1866
  "container",
@@ -2210,9 +2233,10 @@
2210
2233
  {
2211
2234
  "name": "blockEntities",
2212
2235
  "type": [
2213
- "array",{
2214
- "countType":"varint",
2215
- "type":"nbt"
2236
+ "array",
2237
+ {
2238
+ "countType": "varint",
2239
+ "type": "nbt"
2216
2240
  }
2217
2241
  ]
2218
2242
  }
@@ -2285,10 +2309,10 @@
2285
2309
  {
2286
2310
  "name": "data",
2287
2311
  "type": [
2288
- "particleData",
2289
- {
2290
- "compareTo": "particleId"
2291
- }
2312
+ "particleData",
2313
+ {
2314
+ "compareTo": "particleId"
2315
+ }
2292
2316
  ]
2293
2317
  }
2294
2318
  ]
@@ -2368,7 +2392,10 @@
2368
2392
  },
2369
2393
  {
2370
2394
  "name": "displayName",
2371
- "type": ["option", "string"]
2395
+ "type": [
2396
+ "option",
2397
+ "string"
2398
+ ]
2372
2399
  }
2373
2400
  ]
2374
2401
  ]
@@ -2848,18 +2875,18 @@
2848
2875
  "type": "bool"
2849
2876
  },
2850
2877
  {
2851
- "name":"recipes1",
2852
- "type":[
2878
+ "name": "recipes1",
2879
+ "type": [
2853
2880
  "array",
2854
2881
  {
2855
- "countType":"varint",
2856
- "type":"string"
2882
+ "countType": "varint",
2883
+ "type": "string"
2857
2884
  }
2858
2885
  ]
2859
2886
  },
2860
2887
  {
2861
- "name":"recipes2",
2862
- "type":[
2888
+ "name": "recipes2",
2889
+ "type": [
2863
2890
  "switch",
2864
2891
  {
2865
2892
  "compareTo": "action",
@@ -2867,8 +2894,8 @@
2867
2894
  "0": [
2868
2895
  "array",
2869
2896
  {
2870
- "countType":"varint",
2871
- "type":"string"
2897
+ "countType": "varint",
2898
+ "type": "string"
2872
2899
  }
2873
2900
  ]
2874
2901
  },
@@ -3543,25 +3570,31 @@
3543
3570
  },
3544
3571
  {
3545
3572
  "name": "source",
3546
- "type": ["switch",{
3547
- "compareTo":"flags",
3548
- "fields": {
3549
- "3": "varint",
3550
- "1": "varint"
3551
- },
3552
- "default": "void"
3553
- }]
3573
+ "type": [
3574
+ "switch",
3575
+ {
3576
+ "compareTo": "flags",
3577
+ "fields": {
3578
+ "1": "varint",
3579
+ "3": "varint"
3580
+ },
3581
+ "default": "void"
3582
+ }
3583
+ ]
3554
3584
  },
3555
3585
  {
3556
3586
  "name": "sound",
3557
- "type": ["switch",{
3558
- "compareTo":"flags",
3559
- "fields": {
3560
- "3": "string",
3561
- "2": "string"
3562
- },
3563
- "default": "void"
3564
- }]
3587
+ "type": [
3588
+ "switch",
3589
+ {
3590
+ "compareTo": "flags",
3591
+ "fields": {
3592
+ "2": "string",
3593
+ "3": "string"
3594
+ },
3595
+ "default": "void"
3596
+ }
3597
+ ]
3565
3598
  }
3566
3599
  ]
3567
3600
  ],
@@ -3760,126 +3793,162 @@
3760
3793
  [
3761
3794
  {
3762
3795
  "name": "recipes",
3763
- "type": ["array",{
3764
- "countType": "varint",
3765
- "type":["container",[
3766
- {
3767
- "name": "recipeId",
3768
- "type": "string"
3769
- },
3770
- {
3771
- "name": "type",
3772
- "type": "string"
3773
- },
3774
- {
3775
- "name": "data",
3776
- "type": ["switch", {
3777
- "compareTo": "type",
3778
- "fields": {
3779
- "crafting_shapeless": ["container",[
3796
+ "type": [
3797
+ "array",
3798
+ {
3799
+ "countType": "varint",
3800
+ "type": [
3801
+ "container",
3802
+ [
3803
+ {
3804
+ "name": "recipeId",
3805
+ "type": "string"
3806
+ },
3807
+ {
3808
+ "name": "type",
3809
+ "type": "string"
3810
+ },
3811
+ {
3812
+ "name": "data",
3813
+ "type": [
3814
+ "switch",
3780
3815
  {
3781
- "name": "group",
3782
- "type": "string"
3783
- },
3784
- {
3785
- "name": "ingredients",
3786
- "type": ["array",{
3787
- "countType": "varint",
3788
- "type": "ingredient"
3789
- }]
3790
- },
3791
- {
3792
- "name": "result",
3793
- "type": "slot"
3794
- }
3795
- ]],
3796
- "crafting_shaped": ["container",[
3797
- {
3798
- "name": "width",
3799
- "type": "varint"
3800
- },
3801
- {
3802
- "name": "height",
3803
- "type": "varint"
3804
- },
3805
- {
3806
- "name": "group",
3807
- "type": "string"
3808
- },
3809
- {
3810
- "name": "ingredients",
3811
- "type": ["array",{
3812
- "count": "width",
3813
- "type": ["array",{
3814
- "count": "height",
3815
- "type": "ingredient"
3816
- }]
3817
- }]
3818
- },
3819
- {
3820
- "name": "result",
3821
- "type": "slot"
3822
- }
3823
- ]],
3824
- "crafting_special_armordye": "void",
3825
- "crafting_special_bookcloning": "void",
3826
- "crafting_special_mapcloning": "void",
3827
- "crafting_special_mapextending": "void",
3828
- "crafting_special_firework_rocket": "void",
3829
- "crafting_special_firework_star": "void",
3830
- "crafting_special_firework_star_fade": "void",
3831
- "crafting_special_repairitem": "void",
3832
- "crafting_special_tippedarrow": "void",
3833
- "crafting_special_bannerduplicate": "void",
3834
- "crafting_special_banneraddpattern": "void",
3835
- "crafting_special_shielddecoration": "void",
3836
- "crafting_special_shulkerboxcoloring": "void",
3837
- "smelting": ["container",[
3838
- {
3839
- "name": "group",
3840
- "type": "string"
3841
- },
3842
- {
3843
- "name": "ingredient",
3844
- "type": "ingredient"
3845
- },
3846
- {
3847
- "name": "result",
3848
- "type": "slot"
3849
- },
3850
- {
3851
- "name": "experience",
3852
- "type": "f32"
3853
- },
3854
- {
3855
- "name": "cookTime",
3856
- "type": "varint"
3816
+ "compareTo": "type",
3817
+ "fields": {
3818
+ "crafting_shapeless": [
3819
+ "container",
3820
+ [
3821
+ {
3822
+ "name": "group",
3823
+ "type": "string"
3824
+ },
3825
+ {
3826
+ "name": "ingredients",
3827
+ "type": [
3828
+ "array",
3829
+ {
3830
+ "countType": "varint",
3831
+ "type": "ingredient"
3832
+ }
3833
+ ]
3834
+ },
3835
+ {
3836
+ "name": "result",
3837
+ "type": "slot"
3838
+ }
3839
+ ]
3840
+ ],
3841
+ "crafting_shaped": [
3842
+ "container",
3843
+ [
3844
+ {
3845
+ "name": "width",
3846
+ "type": "varint"
3847
+ },
3848
+ {
3849
+ "name": "height",
3850
+ "type": "varint"
3851
+ },
3852
+ {
3853
+ "name": "group",
3854
+ "type": "string"
3855
+ },
3856
+ {
3857
+ "name": "ingredients",
3858
+ "type": [
3859
+ "array",
3860
+ {
3861
+ "count": "width",
3862
+ "type": [
3863
+ "array",
3864
+ {
3865
+ "count": "height",
3866
+ "type": "ingredient"
3867
+ }
3868
+ ]
3869
+ }
3870
+ ]
3871
+ },
3872
+ {
3873
+ "name": "result",
3874
+ "type": "slot"
3875
+ }
3876
+ ]
3877
+ ],
3878
+ "crafting_special_armordye": "void",
3879
+ "crafting_special_bookcloning": "void",
3880
+ "crafting_special_mapcloning": "void",
3881
+ "crafting_special_mapextending": "void",
3882
+ "crafting_special_firework_rocket": "void",
3883
+ "crafting_special_firework_star": "void",
3884
+ "crafting_special_firework_star_fade": "void",
3885
+ "crafting_special_repairitem": "void",
3886
+ "crafting_special_tippedarrow": "void",
3887
+ "crafting_special_bannerduplicate": "void",
3888
+ "crafting_special_banneraddpattern": "void",
3889
+ "crafting_special_shielddecoration": "void",
3890
+ "crafting_special_shulkerboxcoloring": "void",
3891
+ "smelting": [
3892
+ "container",
3893
+ [
3894
+ {
3895
+ "name": "group",
3896
+ "type": "string"
3897
+ },
3898
+ {
3899
+ "name": "ingredient",
3900
+ "type": "ingredient"
3901
+ },
3902
+ {
3903
+ "name": "result",
3904
+ "type": "slot"
3905
+ },
3906
+ {
3907
+ "name": "experience",
3908
+ "type": "f32"
3909
+ },
3910
+ {
3911
+ "name": "cookTime",
3912
+ "type": "varint"
3913
+ }
3914
+ ]
3915
+ ]
3857
3916
  }
3858
- ]]
3917
+ }
3918
+ ]
3859
3919
  }
3860
- }]
3861
- }
3862
- ]]
3863
- }]
3920
+ ]
3921
+ ]
3922
+ }
3923
+ ]
3864
3924
  }
3865
3925
  ]
3866
3926
  ],
3867
- "tags":["array",{
3868
- "countType": "varint",
3869
- "type": ["container", [
3870
- {
3871
- "name": "tagName",
3872
- "type": "string"
3873
- },
3874
- {
3875
- "name": "entries",
3876
- "type": ["array",{
3877
- "countType": "varint",
3878
- "type": "varint"
3879
- }]
3880
- }
3881
- ]]
3882
- }],
3927
+ "tags": [
3928
+ "array",
3929
+ {
3930
+ "countType": "varint",
3931
+ "type": [
3932
+ "container",
3933
+ [
3934
+ {
3935
+ "name": "tagName",
3936
+ "type": "string"
3937
+ },
3938
+ {
3939
+ "name": "entries",
3940
+ "type": [
3941
+ "array",
3942
+ {
3943
+ "countType": "varint",
3944
+ "type": "varint"
3945
+ }
3946
+ ]
3947
+ }
3948
+ ]
3949
+ ]
3950
+ }
3951
+ ],
3883
3952
  "packet_tags": [
3884
3953
  "container",
3885
3954
  [
@@ -4110,191 +4179,190 @@
4110
4179
  ]
4111
4180
  ],
4112
4181
  "packet_query_block_nbt": [
4113
- "container",
4114
- [
4115
- {
4116
- "name": "transactionId",
4117
- "type": "varint"
4118
- },
4119
- {
4120
- "name": "location",
4121
- "type": "position"
4122
- }
4123
- ]
4182
+ "container",
4183
+ [
4184
+ {
4185
+ "name": "transactionId",
4186
+ "type": "varint"
4187
+ },
4188
+ {
4189
+ "name": "location",
4190
+ "type": "position"
4191
+ }
4192
+ ]
4124
4193
  ],
4125
4194
  "packet_edit_book": [
4126
- "container",
4127
- [
4128
- {
4129
- "name": "new_book",
4130
- "type": "slot"
4131
- },
4132
- {
4133
- "name": "signing",
4134
- "type": "bool"
4135
- }
4136
- ]
4195
+ "container",
4196
+ [
4197
+ {
4198
+ "name": "new_book",
4199
+ "type": "slot"
4200
+ },
4201
+ {
4202
+ "name": "signing",
4203
+ "type": "bool"
4204
+ }
4205
+ ]
4137
4206
  ],
4138
4207
  "packet_query_entity_nbt": [
4139
- "container",
4140
- [
4141
- {
4142
- "name": "transactionId",
4143
- "type": "varint"
4144
- },
4145
- {
4146
- "name": "entityId",
4147
- "type": "varint"
4148
- }
4149
- ]
4208
+ "container",
4209
+ [
4210
+ {
4211
+ "name": "transactionId",
4212
+ "type": "varint"
4213
+ },
4214
+ {
4215
+ "name": "entityId",
4216
+ "type": "varint"
4217
+ }
4218
+ ]
4150
4219
  ],
4151
4220
  "packet_pick_item": [
4152
- "container",
4153
- [
4154
- {
4155
- "name": "slot",
4156
- "type": "varint"
4157
- }
4158
- ]
4221
+ "container",
4222
+ [
4223
+ {
4224
+ "name": "slot",
4225
+ "type": "varint"
4226
+ }
4227
+ ]
4159
4228
  ],
4160
4229
  "packet_name_item": [
4161
- "container",
4162
- [
4163
- {
4164
- "name": "name",
4165
- "type": "string"
4166
- }
4167
- ]
4230
+ "container",
4231
+ [
4232
+ {
4233
+ "name": "name",
4234
+ "type": "string"
4235
+ }
4236
+ ]
4168
4237
  ],
4169
4238
  "packet_select_trade": [
4170
- "container",
4171
- [
4172
- {
4173
- "name": "slot",
4174
- "type": "varint"
4175
- }
4176
- ]
4239
+ "container",
4240
+ [
4241
+ {
4242
+ "name": "slot",
4243
+ "type": "varint"
4244
+ }
4245
+ ]
4177
4246
  ],
4178
4247
  "packet_set_beacon_effect": [
4179
- "container",
4180
- [
4181
- {
4182
- "name": "primary_effect",
4183
- "type": "varint"
4184
- },
4185
- {
4186
- "name": "secondary_effect",
4187
- "type": "varint"
4188
- }
4189
- ]
4248
+ "container",
4249
+ [
4250
+ {
4251
+ "name": "primary_effect",
4252
+ "type": "varint"
4253
+ },
4254
+ {
4255
+ "name": "secondary_effect",
4256
+ "type": "varint"
4257
+ }
4258
+ ]
4190
4259
  ],
4191
4260
  "packet_update_command_block": [
4192
- "container",
4193
- [
4194
- {
4195
- "name": "location",
4196
- "type": "position"
4197
- },
4198
- {
4199
- "name": "command",
4200
- "type": "string"
4201
- },
4202
- {
4203
- "name": "mode",
4204
- "type": "varint"
4205
- },
4206
- {
4207
- "name": "flags",
4208
- "type": "u8"
4209
- }
4210
- ]
4261
+ "container",
4262
+ [
4263
+ {
4264
+ "name": "location",
4265
+ "type": "position"
4266
+ },
4267
+ {
4268
+ "name": "command",
4269
+ "type": "string"
4270
+ },
4271
+ {
4272
+ "name": "mode",
4273
+ "type": "varint"
4274
+ },
4275
+ {
4276
+ "name": "flags",
4277
+ "type": "u8"
4278
+ }
4279
+ ]
4211
4280
  ],
4212
4281
  "packet_update_command_block_minecart": [
4213
- "container",
4214
- [
4215
- {
4216
- "name": "entityId",
4217
- "type": "varint"
4218
- },
4219
- {
4220
- "name": "command",
4221
- "type": "string"
4222
- }
4223
- ,
4224
- {
4225
- "name": "track_output",
4226
- "type": "bool"
4227
- }
4228
- ]
4282
+ "container",
4283
+ [
4284
+ {
4285
+ "name": "entityId",
4286
+ "type": "varint"
4287
+ },
4288
+ {
4289
+ "name": "command",
4290
+ "type": "string"
4291
+ },
4292
+ {
4293
+ "name": "track_output",
4294
+ "type": "bool"
4295
+ }
4296
+ ]
4229
4297
  ],
4230
4298
  "packet_update_structure_block": [
4231
- "container",
4232
- [
4233
- {
4234
- "name": "location",
4235
- "type": "position"
4236
- },
4237
- {
4238
- "name": "action",
4239
- "type": "varint"
4240
- },
4241
- {
4242
- "name": "mode",
4243
- "type": "varint"
4244
- },
4245
- {
4246
- "name": "name",
4247
- "type": "string"
4248
- },
4249
- {
4250
- "name": "offset_x",
4251
- "type": "i8"
4252
- },
4253
- {
4254
- "name": "offset_y",
4255
- "type": "i8"
4256
- },
4257
- {
4258
- "name": "offset_z",
4259
- "type": "i8"
4260
- },
4261
- {
4262
- "name": "size_x",
4263
- "type": "i8"
4264
- },
4265
- {
4266
- "name": "size_y",
4267
- "type": "i8"
4268
- },
4269
- {
4270
- "name": "size_z",
4271
- "type": "i8"
4272
- },
4273
- {
4274
- "name": "mirror",
4275
- "type": "varint"
4276
- },
4277
- {
4278
- "name": "rotation",
4279
- "type": "varint"
4280
- },
4281
- {
4282
- "name": "metadata",
4283
- "type": "string"
4284
- },
4285
- {
4286
- "name": "integrity",
4287
- "type": "f32"
4288
- },
4289
- {
4290
- "name": "seed",
4291
- "type": "varlong"
4292
- },
4293
- {
4294
- "name": "flags",
4295
- "type": "u8"
4296
- }
4297
- ]
4299
+ "container",
4300
+ [
4301
+ {
4302
+ "name": "location",
4303
+ "type": "position"
4304
+ },
4305
+ {
4306
+ "name": "action",
4307
+ "type": "varint"
4308
+ },
4309
+ {
4310
+ "name": "mode",
4311
+ "type": "varint"
4312
+ },
4313
+ {
4314
+ "name": "name",
4315
+ "type": "string"
4316
+ },
4317
+ {
4318
+ "name": "offset_x",
4319
+ "type": "i8"
4320
+ },
4321
+ {
4322
+ "name": "offset_y",
4323
+ "type": "i8"
4324
+ },
4325
+ {
4326
+ "name": "offset_z",
4327
+ "type": "i8"
4328
+ },
4329
+ {
4330
+ "name": "size_x",
4331
+ "type": "i8"
4332
+ },
4333
+ {
4334
+ "name": "size_y",
4335
+ "type": "i8"
4336
+ },
4337
+ {
4338
+ "name": "size_z",
4339
+ "type": "i8"
4340
+ },
4341
+ {
4342
+ "name": "mirror",
4343
+ "type": "varint"
4344
+ },
4345
+ {
4346
+ "name": "rotation",
4347
+ "type": "varint"
4348
+ },
4349
+ {
4350
+ "name": "metadata",
4351
+ "type": "string"
4352
+ },
4353
+ {
4354
+ "name": "integrity",
4355
+ "type": "f32"
4356
+ },
4357
+ {
4358
+ "name": "seed",
4359
+ "type": "varlong"
4360
+ },
4361
+ {
4362
+ "name": "flags",
4363
+ "type": "u8"
4364
+ }
4365
+ ]
4298
4366
  ],
4299
4367
  "packet_tab_complete": [
4300
4368
  "container",
@@ -4719,13 +4787,13 @@
4719
4787
  "type": "varint"
4720
4788
  },
4721
4789
  {
4722
- "anon":true,
4723
- "type":[
4790
+ "anon": true,
4791
+ "type": [
4724
4792
  "switch",
4725
4793
  {
4726
- "compareTo":"type",
4727
- "fields":{
4728
- "0":[
4794
+ "compareTo": "type",
4795
+ "fields": {
4796
+ "0": [
4729
4797
  "container",
4730
4798
  [
4731
4799
  {
@@ -4885,7 +4953,7 @@
4885
4953
  "type": [
4886
4954
  "switch",
4887
4955
  {
4888
- "compareTo":"action",
4956
+ "compareTo": "action",
4889
4957
  "fields": {
4890
4958
  "0": "string",
4891
4959
  "1": "void"
@@ -5011,4 +5079,4 @@
5011
5079
  }
5012
5080
  }
5013
5081
  }
5014
- }
5082
+ }