minecraft-data 3.91.0 → 3.92.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 (131) hide show
  1. package/data.js +27 -0
  2. package/doc/history.md +4 -0
  3. package/index.d.ts +5 -2
  4. package/minecraft-data/data/dataPaths.json +27 -0
  5. package/minecraft-data/data/pc/1.10/proto.yml +29 -35
  6. package/minecraft-data/data/pc/1.10/protocol.json +101 -86
  7. package/minecraft-data/data/pc/1.10-pre1/proto.yml +29 -35
  8. package/minecraft-data/data/pc/1.10-pre1/protocol.json +101 -86
  9. package/minecraft-data/data/pc/1.11/proto.yml +29 -35
  10. package/minecraft-data/data/pc/1.11/protocol.json +101 -86
  11. package/minecraft-data/data/pc/1.12/proto.yml +29 -35
  12. package/minecraft-data/data/pc/1.12/protocol.json +101 -86
  13. package/minecraft-data/data/pc/1.12-pre4/proto.yml +29 -35
  14. package/minecraft-data/data/pc/1.12-pre4/protocol.json +101 -86
  15. package/minecraft-data/data/pc/1.12.1/proto.yml +29 -35
  16. package/minecraft-data/data/pc/1.12.1/protocol.json +101 -86
  17. package/minecraft-data/data/pc/1.12.2/proto.yml +29 -35
  18. package/minecraft-data/data/pc/1.12.2/protocol.json +101 -86
  19. package/minecraft-data/data/pc/1.13/proto.yml +29 -35
  20. package/minecraft-data/data/pc/1.13/protocol.json +101 -86
  21. package/minecraft-data/data/pc/1.13.1/proto.yml +29 -35
  22. package/minecraft-data/data/pc/1.13.1/protocol.json +101 -86
  23. package/minecraft-data/data/pc/1.13.2/proto.yml +29 -35
  24. package/minecraft-data/data/pc/1.13.2/protocol.json +101 -86
  25. package/minecraft-data/data/pc/1.13.2-pre1/proto.yml +29 -35
  26. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +101 -86
  27. package/minecraft-data/data/pc/1.13.2-pre2/proto.yml +29 -35
  28. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +101 -86
  29. package/minecraft-data/data/pc/1.14/proto.yml +29 -35
  30. package/minecraft-data/data/pc/1.14/protocol.json +101 -86
  31. package/minecraft-data/data/pc/1.14.1/proto.yml +29 -35
  32. package/minecraft-data/data/pc/1.14.1/protocol.json +101 -86
  33. package/minecraft-data/data/pc/1.14.3/proto.yml +29 -35
  34. package/minecraft-data/data/pc/1.14.3/protocol.json +101 -86
  35. package/minecraft-data/data/pc/1.14.4/proto.yml +29 -35
  36. package/minecraft-data/data/pc/1.14.4/protocol.json +101 -86
  37. package/minecraft-data/data/pc/1.15/proto.yml +29 -35
  38. package/minecraft-data/data/pc/1.15/protocol.json +101 -86
  39. package/minecraft-data/data/pc/1.15.1/proto.yml +29 -35
  40. package/minecraft-data/data/pc/1.15.1/protocol.json +101 -86
  41. package/minecraft-data/data/pc/1.15.2/proto.yml +29 -35
  42. package/minecraft-data/data/pc/1.15.2/protocol.json +101 -86
  43. package/minecraft-data/data/pc/1.16/proto.yml +29 -35
  44. package/minecraft-data/data/pc/1.16/protocol.json +101 -86
  45. package/minecraft-data/data/pc/1.16-rc1/proto.yml +29 -35
  46. package/minecraft-data/data/pc/1.16-rc1/protocol.json +101 -86
  47. package/minecraft-data/data/pc/1.16.1/proto.yml +29 -35
  48. package/minecraft-data/data/pc/1.16.1/protocol.json +101 -86
  49. package/minecraft-data/data/pc/1.16.2/proto.yml +29 -35
  50. package/minecraft-data/data/pc/1.16.2/protocol.json +101 -86
  51. package/minecraft-data/data/pc/1.17/proto.yml +30 -36
  52. package/minecraft-data/data/pc/1.17/protocol.json +102 -87
  53. package/minecraft-data/data/pc/1.17.1/proto.yml +30 -36
  54. package/minecraft-data/data/pc/1.17.1/protocol.json +102 -87
  55. package/minecraft-data/data/pc/1.18/proto.yml +30 -36
  56. package/minecraft-data/data/pc/1.18/protocol.json +102 -87
  57. package/minecraft-data/data/pc/1.18.2/proto.yml +30 -36
  58. package/minecraft-data/data/pc/1.18.2/protocol.json +102 -87
  59. package/minecraft-data/data/pc/1.19/proto.yml +34 -67
  60. package/minecraft-data/data/pc/1.19/protocol.json +123 -127
  61. package/minecraft-data/data/pc/1.19.2/proto.yml +35 -68
  62. package/minecraft-data/data/pc/1.19.2/protocol.json +123 -127
  63. package/minecraft-data/data/pc/1.19.3/proto.yml +39 -309
  64. package/minecraft-data/data/pc/1.19.3/protocol.json +65 -324
  65. package/minecraft-data/data/pc/1.19.4/proto.yml +39 -309
  66. package/minecraft-data/data/pc/1.19.4/protocol.json +65 -324
  67. package/minecraft-data/data/pc/1.20/proto.yml +40 -310
  68. package/minecraft-data/data/pc/1.20/protocol.json +65 -324
  69. package/minecraft-data/data/pc/1.20.2/proto.yml +40 -310
  70. package/minecraft-data/data/pc/1.20.2/protocol.json +65 -324
  71. package/minecraft-data/data/pc/1.20.3/proto.yml +156 -327
  72. package/minecraft-data/data/pc/1.20.3/protocol.json +186 -369
  73. package/minecraft-data/data/pc/1.20.5/proto.yml +427 -845
  74. package/minecraft-data/data/pc/1.20.5/protocol.json +669 -931
  75. package/minecraft-data/data/pc/1.21.1/proto.yml +415 -898
  76. package/minecraft-data/data/pc/1.21.1/protocol.json +585 -1058
  77. package/minecraft-data/data/pc/1.21.3/proto.yml +429 -572
  78. package/minecraft-data/data/pc/1.21.3/protocol.json +760 -920
  79. package/minecraft-data/data/pc/1.21.4/protocol.json +766 -917
  80. package/minecraft-data/data/pc/1.21.6/attributes.json +247 -0
  81. package/minecraft-data/data/pc/1.21.6/biomes.json +652 -0
  82. package/minecraft-data/data/pc/1.21.6/blockCollisionShapes.json +142541 -0
  83. package/minecraft-data/data/pc/1.21.6/blocks.json +41360 -0
  84. package/minecraft-data/data/pc/1.21.6/effects.json +236 -0
  85. package/minecraft-data/data/pc/1.21.6/enchantments.json +959 -0
  86. package/minecraft-data/data/pc/1.21.6/entities.json +1512 -0
  87. package/minecraft-data/data/pc/1.21.6/foods.json +402 -0
  88. package/minecraft-data/data/pc/1.21.6/instruments.json +94 -0
  89. package/minecraft-data/data/pc/1.21.6/items.json +9278 -0
  90. package/minecraft-data/data/pc/1.21.6/language.json +7389 -0
  91. package/minecraft-data/data/pc/1.21.6/materials.json +206 -0
  92. package/minecraft-data/data/pc/1.21.6/particles.json +458 -0
  93. package/minecraft-data/data/pc/1.21.6/recipes.json +30473 -0
  94. package/minecraft-data/data/pc/1.21.6/sounds.json +6910 -0
  95. package/minecraft-data/data/pc/1.21.6/tints.json +465 -0
  96. package/minecraft-data/data/pc/1.21.6/version.json +6 -0
  97. package/minecraft-data/data/pc/1.7/proto.yml +3 -6
  98. package/minecraft-data/data/pc/1.7/protocol.json +7 -0
  99. package/minecraft-data/data/pc/1.8/proto.yml +29 -35
  100. package/minecraft-data/data/pc/1.8/protocol.json +101 -86
  101. package/minecraft-data/data/pc/1.9/proto.yml +29 -35
  102. package/minecraft-data/data/pc/1.9/protocol.json +101 -86
  103. package/minecraft-data/data/pc/1.9.1-pre2/proto.yml +29 -35
  104. package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +101 -86
  105. package/minecraft-data/data/pc/1.9.2/proto.yml +29 -35
  106. package/minecraft-data/data/pc/1.9.2/protocol.json +101 -86
  107. package/minecraft-data/data/pc/1.9.4/proto.yml +29 -35
  108. package/minecraft-data/data/pc/1.9.4/protocol.json +101 -86
  109. package/minecraft-data/data/pc/15w40b/proto.yml +29 -35
  110. package/minecraft-data/data/pc/15w40b/protocol.json +101 -86
  111. package/minecraft-data/data/pc/16w20a/proto.yml +29 -35
  112. package/minecraft-data/data/pc/16w20a/protocol.json +101 -86
  113. package/minecraft-data/data/pc/16w35a/proto.yml +29 -35
  114. package/minecraft-data/data/pc/16w35a/protocol.json +101 -86
  115. package/minecraft-data/data/pc/17w15a/proto.yml +29 -35
  116. package/minecraft-data/data/pc/17w15a/protocol.json +101 -86
  117. package/minecraft-data/data/pc/17w18b/proto.yml +29 -35
  118. package/minecraft-data/data/pc/17w18b/protocol.json +101 -86
  119. package/minecraft-data/data/pc/17w50a/proto.yml +29 -35
  120. package/minecraft-data/data/pc/17w50a/protocol.json +101 -86
  121. package/minecraft-data/data/pc/20w13b/proto.yml +29 -35
  122. package/minecraft-data/data/pc/20w13b/protocol.json +101 -86
  123. package/minecraft-data/data/pc/21w07a/proto.yml +29 -35
  124. package/minecraft-data/data/pc/21w07a/protocol.json +101 -86
  125. package/minecraft-data/data/pc/common/features.json +7 -2
  126. package/minecraft-data/data/pc/common/protocolVersions.json +9 -1
  127. package/minecraft-data/data/pc/latest/proto.yml +427 -572
  128. package/minecraft-data/doc/history.md +6 -0
  129. package/minecraft-data/doc/protocol.md +6 -4
  130. package/package.json +1 -1
  131. package/test/load.js +8 -0
@@ -125,256 +125,6 @@
125
125
  }
126
126
  ],
127
127
  "ContainerID": "varint",
128
- "SoundEvent": [
129
- "container",
130
- [
131
- {
132
- "name": "soundName",
133
- "type": "string"
134
- },
135
- {
136
- "name": "fixedRange",
137
- "type": [
138
- "option",
139
- "f32"
140
- ]
141
- }
142
- ]
143
- ],
144
- "RecipeDisplay": [
145
- "container",
146
- [
147
- {
148
- "name": "type",
149
- "type": [
150
- "mapper",
151
- {
152
- "type": "varint",
153
- "mappings": {
154
- "0": "crafting_shapeless",
155
- "1": "crafting_shaped",
156
- "2": "furnace",
157
- "3": "stonecutter",
158
- "4": "smithing"
159
- }
160
- }
161
- ]
162
- },
163
- {
164
- "name": "data",
165
- "type": [
166
- "switch",
167
- {
168
- "compareTo": "type",
169
- "fields": {
170
- "crafting_shapeless": [
171
- "container",
172
- [
173
- {
174
- "name": "ingredients",
175
- "type": [
176
- "array",
177
- {
178
- "countType": "varint",
179
- "type": "SlotDisplay"
180
- }
181
- ]
182
- },
183
- {
184
- "name": "result",
185
- "type": "SlotDisplay"
186
- },
187
- {
188
- "name": "craftingStation",
189
- "type": "SlotDisplay"
190
- }
191
- ]
192
- ],
193
- "crafting_shaped": [
194
- "container",
195
- [
196
- {
197
- "name": "width",
198
- "type": "varint"
199
- },
200
- {
201
- "name": "height",
202
- "type": "varint"
203
- },
204
- {
205
- "name": "ingredients",
206
- "type": [
207
- "array",
208
- {
209
- "countType": "varint",
210
- "type": "SlotDisplay"
211
- }
212
- ]
213
- },
214
- {
215
- "name": "result",
216
- "type": "SlotDisplay"
217
- },
218
- {
219
- "name": "craftingStation",
220
- "type": "SlotDisplay"
221
- }
222
- ]
223
- ],
224
- "furnace": [
225
- "container",
226
- [
227
- {
228
- "name": "ingredient",
229
- "type": "SlotDisplay"
230
- },
231
- {
232
- "name": "fuel",
233
- "type": "SlotDisplay"
234
- },
235
- {
236
- "name": "result",
237
- "type": "SlotDisplay"
238
- },
239
- {
240
- "name": "craftingStation",
241
- "type": "SlotDisplay"
242
- },
243
- {
244
- "name": "duration",
245
- "type": "varint"
246
- },
247
- {
248
- "name": "experience",
249
- "type": "f32"
250
- }
251
- ]
252
- ],
253
- "stonecutter": [
254
- "container",
255
- [
256
- {
257
- "name": "ingredient",
258
- "type": "SlotDisplay"
259
- },
260
- {
261
- "name": "result",
262
- "type": "SlotDisplay"
263
- },
264
- {
265
- "name": "craftingStation",
266
- "type": "SlotDisplay"
267
- }
268
- ]
269
- ],
270
- "smithing": [
271
- "container",
272
- [
273
- {
274
- "name": "template",
275
- "type": "SlotDisplay"
276
- },
277
- {
278
- "name": "base",
279
- "type": "SlotDisplay"
280
- },
281
- {
282
- "name": "addition",
283
- "type": "SlotDisplay"
284
- },
285
- {
286
- "name": "result",
287
- "type": "SlotDisplay"
288
- },
289
- {
290
- "name": "craftingStation",
291
- "type": "SlotDisplay"
292
- }
293
- ]
294
- ]
295
- }
296
- }
297
- ]
298
- }
299
- ]
300
- ],
301
- "SlotDisplay": [
302
- "container",
303
- [
304
- {
305
- "name": "type",
306
- "type": [
307
- "mapper",
308
- {
309
- "type": "varint",
310
- "mappings": {
311
- "0": "empty",
312
- "1": "any_fuel",
313
- "2": "item",
314
- "3": "item_stack",
315
- "4": "tag",
316
- "5": "smithing_trim",
317
- "6": "with_remainder",
318
- "7": "composite"
319
- }
320
- }
321
- ]
322
- },
323
- {
324
- "name": "data",
325
- "type": [
326
- "switch",
327
- {
328
- "compareTo": "type",
329
- "fields": {
330
- "empty": "void",
331
- "any_fuel": "void",
332
- "item": "varint",
333
- "item_stack": "Slot",
334
- "tag": "string",
335
- "simthing_trim": [
336
- "container",
337
- [
338
- {
339
- "name": "base",
340
- "type": "SlotDisplay"
341
- },
342
- {
343
- "name": "material",
344
- "type": "SlotDisplay"
345
- },
346
- {
347
- "name": "pattern",
348
- "type": "SlotDisplay"
349
- }
350
- ]
351
- ],
352
- "with_remainder": [
353
- "container",
354
- [
355
- {
356
- "name": "input",
357
- "type": "SlotDisplay"
358
- },
359
- {
360
- "name": "remainder",
361
- "type": "SlotDisplay"
362
- }
363
- ]
364
- ],
365
- "composite": [
366
- "array",
367
- {
368
- "countType": "varint",
369
- "type": "SlotDisplay"
370
- }
371
- ]
372
- }
373
- }
374
- ]
375
- }
376
- ]
377
- ],
378
128
  "SlotComponentType": [
379
129
  "mapper",
380
130
  {
@@ -531,7 +281,7 @@
531
281
  "array",
532
282
  {
533
283
  "countType": "varint",
534
- "type": "BlockPredicate"
284
+ "type": "ItemBlockPredicate"
535
285
  }
536
286
  ]
537
287
  },
@@ -550,7 +300,7 @@
550
300
  "array",
551
301
  {
552
302
  "countType": "varint",
553
- "type": "BlockPredicate"
303
+ "type": "ItemBlockPredicate"
554
304
  }
555
305
  ]
556
306
  },
@@ -630,13 +380,57 @@
630
380
  }
631
381
  ]
632
382
  ],
633
- "custom_model_data": "varint",
383
+ "custom_model_data": [
384
+ "container",
385
+ [
386
+ {
387
+ "name": "floats",
388
+ "type": [
389
+ "array",
390
+ {
391
+ "countType": "varint",
392
+ "type": "f32"
393
+ }
394
+ ]
395
+ },
396
+ {
397
+ "name": "flags",
398
+ "type": [
399
+ "array",
400
+ {
401
+ "countType": "varint",
402
+ "type": "bool"
403
+ }
404
+ ]
405
+ },
406
+ {
407
+ "name": "strings",
408
+ "type": [
409
+ "array",
410
+ {
411
+ "countType": "varint",
412
+ "type": "string"
413
+ }
414
+ ]
415
+ },
416
+ {
417
+ "name": "colors",
418
+ "type": [
419
+ "array",
420
+ {
421
+ "countType": "varint",
422
+ "type": "i32"
423
+ }
424
+ ]
425
+ }
426
+ ]
427
+ ],
634
428
  "hide_additional_tooltip": "void",
635
429
  "hide_tooltip": "void",
636
430
  "repair_cost": "varint",
637
431
  "creative_slot_lock": "void",
638
432
  "enchantment_glint_override": "bool",
639
- "intangible_projectile": "void",
433
+ "intangible_projectile": "anonymousNbt",
640
434
  "food": [
641
435
  "container",
642
436
  [
@@ -684,16 +478,7 @@
684
478
  },
685
479
  {
686
480
  "name": "sound",
687
- "type": [
688
- "registryEntryHolder",
689
- {
690
- "baseName": "soundId",
691
- "otherwise": {
692
- "name": "data",
693
- "type": "SoundEvent"
694
- }
695
- }
696
- ]
481
+ "type": "ItemSoundHolder"
697
482
  },
698
483
  {
699
484
  "name": "makes_particles",
@@ -705,7 +490,7 @@
705
490
  "array",
706
491
  {
707
492
  "countType": "varint",
708
- "type": "ConsumeEffect"
493
+ "type": "ItemConsumeEffect"
709
494
  }
710
495
  ]
711
496
  }
@@ -798,16 +583,7 @@
798
583
  },
799
584
  {
800
585
  "name": "sound",
801
- "type": [
802
- "registryEntryHolder",
803
- {
804
- "baseName": "soundId",
805
- "otherwise": {
806
- "name": "data",
807
- "type": "SoundEvent"
808
- }
809
- }
810
- ]
586
+ "type": "ItemSoundHolder"
811
587
  },
812
588
  {
813
589
  "name": "model",
@@ -853,6 +629,7 @@
853
629
  }
854
630
  ]
855
631
  ],
632
+ "glider": "void",
856
633
  "tooltip_style": "string",
857
634
  "death_protection": [
858
635
  "container",
@@ -863,7 +640,7 @@
863
640
  "array",
864
641
  {
865
642
  "countType": "varint",
866
- "type": "ConsumeEffect"
643
+ "type": "ItemConsumeEffect"
867
644
  }
868
645
  ]
869
646
  }
@@ -905,7 +682,7 @@
905
682
  [
906
683
  {
907
684
  "name": "color",
908
- "type": "varint"
685
+ "type": "i32"
909
686
  },
910
687
  {
911
688
  "name": "showTooltip",
@@ -913,9 +690,9 @@
913
690
  }
914
691
  ]
915
692
  ],
916
- "map_color": "varint",
693
+ "map_color": "i32",
917
694
  "map_id": "varint",
918
- "map_decorations": "anonOptionalNbt",
695
+ "map_decorations": "anonymousNbt",
919
696
  "map_post_processing": "varint",
920
697
  "charged_projectiles": [
921
698
  "container",
@@ -961,7 +738,7 @@
961
738
  "name": "customColor",
962
739
  "type": [
963
740
  "option",
964
- "varint"
741
+ "i32"
965
742
  ]
966
743
  },
967
744
  {
@@ -970,13 +747,16 @@
970
747
  "array",
971
748
  {
972
749
  "countType": "varint",
973
- "type": "PotionEffect"
750
+ "type": "ItemPotionEffect"
974
751
  }
975
752
  ]
976
753
  },
977
754
  {
978
755
  "name": "customName",
979
- "type": "string"
756
+ "type": [
757
+ "option",
758
+ "string"
759
+ ]
980
760
  }
981
761
  ]
982
762
  ],
@@ -1016,7 +796,7 @@
1016
796
  "array",
1017
797
  {
1018
798
  "countType": "varint",
1019
- "type": "BookPage"
799
+ "type": "ItemBookPage"
1020
800
  }
1021
801
  ]
1022
802
  }
@@ -1050,7 +830,7 @@
1050
830
  "array",
1051
831
  {
1052
832
  "countType": "varint",
1053
- "type": "BookPage"
833
+ "type": "ItemWrittenBookPage"
1054
834
  }
1055
835
  ]
1056
836
  },
@@ -1064,99 +844,27 @@
1064
844
  "container",
1065
845
  [
1066
846
  {
1067
- "name": "materialType",
1068
- "type": "varint"
847
+ "name": "material",
848
+ "type": [
849
+ "registryEntryHolder",
850
+ {
851
+ "baseName": "materialId",
852
+ "otherwise": {
853
+ "name": "data",
854
+ "type": "ArmorTrimMaterial"
855
+ }
856
+ }
857
+ ]
1069
858
  },
1070
859
  {
1071
- "anon": true,
860
+ "name": "pattern",
1072
861
  "type": [
1073
- "switch",
862
+ "registryEntryHolder",
1074
863
  {
1075
- "compareTo": "materialType",
1076
- "fields": {
1077
- "0": [
1078
- "container",
1079
- [
1080
- {
1081
- "name": "assetName",
1082
- "type": "string"
1083
- },
1084
- {
1085
- "name": "ingredientId",
1086
- "type": "varint"
1087
- },
1088
- {
1089
- "name": "itemModelIndex",
1090
- "type": "f32"
1091
- },
1092
- {
1093
- "name": "numberOfOverrides",
1094
- "type": "optvarint"
1095
- },
1096
- {
1097
- "name": "override",
1098
- "type": [
1099
- "array",
1100
- {
1101
- "countType": "varint",
1102
- "type": [
1103
- "container",
1104
- [
1105
- {
1106
- "name": "armorMaterialType",
1107
- "type": "varint"
1108
- },
1109
- {
1110
- "name": "overridenAssetName",
1111
- "type": "string"
1112
- }
1113
- ]
1114
- ]
1115
- }
1116
- ]
1117
- },
1118
- {
1119
- "name": "description",
1120
- "type": "string"
1121
- }
1122
- ]
1123
- ]
1124
- }
1125
- }
1126
- ]
1127
- },
1128
- {
1129
- "name": "trimPatternType",
1130
- "type": "varint"
1131
- },
1132
- {
1133
- "anon": true,
1134
- "type": [
1135
- "switch",
1136
- {
1137
- "compareTo": "trimPatternType",
1138
- "fields": {
1139
- "0": [
1140
- "container",
1141
- [
1142
- {
1143
- "name": "assetName",
1144
- "type": "string"
1145
- },
1146
- {
1147
- "name": "templateItem",
1148
- "type": "varint"
1149
- },
1150
- {
1151
- "name": "description",
1152
- "type": "string"
1153
- },
1154
- {
1155
- "name": "decal",
1156
- "type": "bool"
1157
- }
1158
- ]
1159
- ]
864
+ "baseName": "patternId",
865
+ "otherwise": {
866
+ "name": "data",
867
+ "type": "ArmorTrimPattern"
1160
868
  }
1161
869
  }
1162
870
  ]
@@ -1172,146 +880,41 @@
1172
880
  "bucket_entity_data": "anonymousNbt",
1173
881
  "block_entity_data": "anonymousNbt",
1174
882
  "instrument": [
1175
- "container",
1176
- [
1177
- {
1178
- "name": "instrumentType",
1179
- "type": "varint"
1180
- },
1181
- {
1182
- "anon": true,
1183
- "type": [
1184
- "switch",
1185
- {
1186
- "compareTo": "instrumentType",
1187
- "fields": {
1188
- "0": [
1189
- "container",
1190
- [
1191
- {
1192
- "name": "soundEvent",
1193
- "type": "string"
1194
- },
1195
- {
1196
- "name": "useDuration",
1197
- "type": "f32"
1198
- },
1199
- {
1200
- "name": "range",
1201
- "type": "f32"
1202
- }
1203
- ]
1204
- ]
1205
- }
1206
- }
1207
- ]
883
+ "registryEntryHolder",
884
+ {
885
+ "baseName": "instrumentId",
886
+ "otherwise": {
887
+ "name": "data",
888
+ "type": "InstrumentData"
1208
889
  }
1209
- ]
890
+ }
1210
891
  ],
1211
892
  "ominous_bottle_amplifier": "varint",
1212
893
  "jukebox_playable": [
1213
894
  "container",
1214
895
  [
1215
896
  {
1216
- "name": "directMode",
897
+ "name": "hasHolder",
1217
898
  "type": "bool"
1218
899
  },
1219
900
  {
1220
- "anon": true,
901
+ "name": "song",
1221
902
  "type": [
1222
903
  "switch",
1223
904
  {
1224
- "compareTo": "directMode",
905
+ "compareTo": "hasHolder",
1225
906
  "fields": {
1226
907
  "true": [
1227
- "container",
1228
- [
1229
- {
1230
- "name": "jukeboxSongName",
1231
- "type": "string"
1232
- },
1233
- {
1234
- "name": "jukeboxSongType",
1235
- "type": "varint"
1236
- },
1237
- {
1238
- "anon": true,
1239
- "type": [
1240
- "switch",
1241
- {
1242
- "compareTo": "jukeboxSongType",
1243
- "fields": {
1244
- "0": [
1245
- "container",
1246
- [
1247
- {
1248
- "name": "soundEvent",
1249
- "type": [
1250
- "container",
1251
- [
1252
- {
1253
- "name": "soundEventType",
1254
- "type": "varint"
1255
- },
1256
- {
1257
- "anon": true,
1258
- "type": [
1259
- "switch",
1260
- {
1261
- "compareTo": "soundEventType",
1262
- "fields": {
1263
- "0": [
1264
- "container",
1265
- [
1266
- {
1267
- "name": "soundName",
1268
- "type": "string"
1269
- },
1270
- {
1271
- "name": "fixedRange",
1272
- "type": [
1273
- "option",
1274
- "f32"
1275
- ]
1276
- }
1277
- ]
1278
- ]
1279
- }
1280
- }
1281
- ]
1282
- }
1283
- ]
1284
- ]
1285
- }
1286
- ]
1287
- ]
1288
- }
1289
- }
1290
- ]
1291
- },
1292
- {
1293
- "name": "description",
1294
- "type": "anonymousNbt"
1295
- },
1296
- {
1297
- "name": "duration",
1298
- "type": "f32"
1299
- },
1300
- {
1301
- "name": "output",
1302
- "type": "varint"
908
+ "registryEntryHolder",
909
+ {
910
+ "baseName": "songId",
911
+ "otherwise": {
912
+ "name": "data",
913
+ "type": "JukeboxSongData"
1303
914
  }
1304
- ]
915
+ }
1305
916
  ],
1306
- "false": [
1307
- "container",
1308
- [
1309
- {
1310
- "name": "songLocation",
1311
- "type": "string"
1312
- }
1313
- ]
1314
- ]
917
+ "false": "string"
1315
918
  }
1316
919
  }
1317
920
  ]
@@ -1351,7 +954,7 @@
1351
954
  }
1352
955
  ]
1353
956
  ],
1354
- "firework_explosion": "FireworkExplosion",
957
+ "firework_explosion": "ItemFireworkExplosion",
1355
958
  "fireworks": [
1356
959
  "container",
1357
960
  [
@@ -1365,7 +968,7 @@
1365
968
  "array",
1366
969
  {
1367
970
  "countType": "varint",
1368
- "type": "FireworkExplosion"
971
+ "type": "ItemFireworkExplosion"
1369
972
  }
1370
973
  ]
1371
974
  }
@@ -1374,21 +977,19 @@
1374
977
  "profile": [
1375
978
  "container",
1376
979
  [
1377
- {
1378
- "name": "hasName",
1379
- "type": "bool"
1380
- },
1381
980
  {
1382
981
  "name": "name",
1383
- "type": "string"
1384
- },
1385
- {
1386
- "name": "hasUniqueId",
1387
- "type": "bool"
982
+ "type": [
983
+ "option",
984
+ "string"
985
+ ]
1388
986
  },
1389
987
  {
1390
- "name": "uniqueId",
1391
- "type": "UUID"
988
+ "name": "uuid",
989
+ "type": [
990
+ "option",
991
+ "UUID"
992
+ ]
1392
993
  },
1393
994
  {
1394
995
  "name": "properties",
@@ -1400,20 +1001,19 @@
1400
1001
  "container",
1401
1002
  [
1402
1003
  {
1403
- "name": "property",
1004
+ "name": "name",
1404
1005
  "type": "string"
1405
1006
  },
1406
1007
  {
1407
1008
  "name": "value",
1408
1009
  "type": "string"
1409
1010
  },
1410
- {
1411
- "name": "hasSignature",
1412
- "type": "bool"
1413
- },
1414
1011
  {
1415
1012
  "name": "signature",
1416
- "type": "string"
1013
+ "type": [
1014
+ "option",
1015
+ "string"
1016
+ ]
1417
1017
  }
1418
1018
  ]
1419
1019
  ]
@@ -1432,43 +1032,7 @@
1432
1032
  "array",
1433
1033
  {
1434
1034
  "countType": "varint",
1435
- "type": [
1436
- "container",
1437
- [
1438
- {
1439
- "name": "patternType",
1440
- "type": "varint"
1441
- },
1442
- {
1443
- "anon": true,
1444
- "type": [
1445
- "switch",
1446
- {
1447
- "compareTo": "patternType",
1448
- "fields": {
1449
- "0": [
1450
- "container",
1451
- [
1452
- {
1453
- "name": "assetId",
1454
- "type": "string"
1455
- },
1456
- {
1457
- "name": "translationKey",
1458
- "type": "string"
1459
- }
1460
- ]
1461
- ]
1462
- }
1463
- }
1464
- ]
1465
- },
1466
- {
1467
- "name": "color",
1468
- "type": "varint"
1469
- }
1470
- ]
1471
- ]
1035
+ "type": "BannerPatternLayer"
1472
1036
  }
1473
1037
  ]
1474
1038
  }
@@ -1518,7 +1082,7 @@
1518
1082
  "container",
1519
1083
  [
1520
1084
  {
1521
- "name": "property",
1085
+ "name": "name",
1522
1086
  "type": "string"
1523
1087
  },
1524
1088
  {
@@ -1571,73 +1135,33 @@
1571
1135
  }
1572
1136
  ]
1573
1137
  ],
1574
- "Slot": [
1138
+ "ItemSoundEvent": [
1575
1139
  "container",
1576
1140
  [
1577
1141
  {
1578
- "name": "itemCount",
1579
- "type": "varint"
1142
+ "name": "soundName",
1143
+ "type": "string"
1580
1144
  },
1581
1145
  {
1582
- "anon": true,
1146
+ "name": "fixedRange",
1583
1147
  "type": [
1584
- "switch",
1585
- {
1586
- "compareTo": "itemCount",
1587
- "fields": {
1588
- "0": "void"
1589
- },
1590
- "default": [
1591
- "container",
1592
- [
1593
- {
1594
- "name": "itemId",
1595
- "type": "varint"
1596
- },
1597
- {
1598
- "name": "addedComponentCount",
1599
- "type": "varint"
1600
- },
1601
- {
1602
- "name": "removedComponentCount",
1603
- "type": "varint"
1604
- },
1605
- {
1606
- "name": "components",
1607
- "type": [
1608
- "array",
1609
- {
1610
- "count": "addedComponentCount",
1611
- "type": "SlotComponent"
1612
- }
1613
- ]
1614
- },
1615
- {
1616
- "name": "removeComponents",
1617
- "type": [
1618
- "array",
1619
- {
1620
- "count": "removedComponentCount",
1621
- "type": [
1622
- "container",
1623
- [
1624
- {
1625
- "name": "type",
1626
- "type": "SlotComponentType"
1627
- }
1628
- ]
1629
- ]
1630
- }
1631
- ]
1632
- }
1633
- ]
1634
- ]
1635
- }
1148
+ "option",
1149
+ "f32"
1636
1150
  ]
1637
1151
  }
1638
1152
  ]
1639
1153
  ],
1640
- "FireworkExplosion": [
1154
+ "ItemSoundHolder": [
1155
+ "registryEntryHolder",
1156
+ {
1157
+ "baseName": "soundId",
1158
+ "otherwise": {
1159
+ "name": "data",
1160
+ "type": "ItemSoundEvent"
1161
+ }
1162
+ }
1163
+ ],
1164
+ "ItemFireworkExplosion": [
1641
1165
  "container",
1642
1166
  [
1643
1167
  {
@@ -1686,23 +1210,7 @@
1686
1210
  }
1687
1211
  ]
1688
1212
  ],
1689
- "BookPage": [
1690
- "container",
1691
- [
1692
- {
1693
- "name": "content",
1694
- "type": "string"
1695
- },
1696
- {
1697
- "name": "filteredContent",
1698
- "type": [
1699
- "option",
1700
- "string"
1701
- ]
1702
- }
1703
- ]
1704
- ],
1705
- "EffectDetail": [
1213
+ "ItemEffectDetail": [
1706
1214
  "container",
1707
1215
  [
1708
1216
  {
@@ -1729,12 +1237,12 @@
1729
1237
  "name": "hiddenEffect",
1730
1238
  "type": [
1731
1239
  "option",
1732
- "EffectDetail"
1240
+ "ItemEffectDetail"
1733
1241
  ]
1734
1242
  }
1735
1243
  ]
1736
1244
  ],
1737
- "PotionEffect": [
1245
+ "ItemPotionEffect": [
1738
1246
  "container",
1739
1247
  [
1740
1248
  {
@@ -1743,11 +1251,127 @@
1743
1251
  },
1744
1252
  {
1745
1253
  "name": "details",
1746
- "type": "EffectDetail"
1254
+ "type": "ItemEffectDetail"
1255
+ }
1256
+ ]
1257
+ ],
1258
+ "ItemBlockProperty": [
1259
+ "container",
1260
+ [
1261
+ {
1262
+ "name": "name",
1263
+ "type": "string"
1264
+ },
1265
+ {
1266
+ "name": "isExactMatch",
1267
+ "type": "bool"
1268
+ },
1269
+ {
1270
+ "name": "value",
1271
+ "type": [
1272
+ "switch",
1273
+ {
1274
+ "compareTo": "isExactMatch",
1275
+ "fields": {
1276
+ "true": [
1277
+ "container",
1278
+ [
1279
+ {
1280
+ "name": "exactValue",
1281
+ "type": "string"
1282
+ }
1283
+ ]
1284
+ ],
1285
+ "false": [
1286
+ "container",
1287
+ [
1288
+ {
1289
+ "name": "minValue",
1290
+ "type": "string"
1291
+ },
1292
+ {
1293
+ "name": "maxValue",
1294
+ "type": "string"
1295
+ }
1296
+ ]
1297
+ ]
1298
+ }
1299
+ }
1300
+ ]
1301
+ }
1302
+ ]
1303
+ ],
1304
+ "ItemBlockPredicate": [
1305
+ "container",
1306
+ [
1307
+ {
1308
+ "name": "blockSet",
1309
+ "type": [
1310
+ "option",
1311
+ [
1312
+ "registryEntryHolderSet",
1313
+ {
1314
+ "base": {
1315
+ "name": "name",
1316
+ "type": "string"
1317
+ },
1318
+ "otherwise": {
1319
+ "name": "blockIds",
1320
+ "type": "varint"
1321
+ }
1322
+ }
1323
+ ]
1324
+ ]
1325
+ },
1326
+ {
1327
+ "name": "properties",
1328
+ "type": [
1329
+ "option",
1330
+ [
1331
+ "array",
1332
+ {
1333
+ "countType": "varint",
1334
+ "type": "ItemBlockProperty"
1335
+ }
1336
+ ]
1337
+ ]
1338
+ },
1339
+ {
1340
+ "name": "nbt",
1341
+ "type": "anonOptionalNbt"
1342
+ }
1343
+ ]
1344
+ ],
1345
+ "ItemBookPage": [
1346
+ "container",
1347
+ [
1348
+ {
1349
+ "name": "content",
1350
+ "type": "string"
1351
+ },
1352
+ {
1353
+ "name": "filteredContent",
1354
+ "type": [
1355
+ "option",
1356
+ "string"
1357
+ ]
1358
+ }
1359
+ ]
1360
+ ],
1361
+ "ItemWrittenBookPage": [
1362
+ "container",
1363
+ [
1364
+ {
1365
+ "name": "content",
1366
+ "type": "anonymousNbt"
1367
+ },
1368
+ {
1369
+ "name": "filteredContent",
1370
+ "type": "anonOptionalNbt"
1747
1371
  }
1748
1372
  ]
1749
1373
  ],
1750
- "ConsumeEffect": [
1374
+ "ItemConsumeEffect": [
1751
1375
  "container",
1752
1376
  [
1753
1377
  {
@@ -1782,7 +1406,7 @@
1782
1406
  "array",
1783
1407
  {
1784
1408
  "countType": "varint",
1785
- "type": "PotionEffect"
1409
+ "type": "ItemPotionEffect"
1786
1410
  }
1787
1411
  ]
1788
1412
  },
@@ -1816,16 +1440,7 @@
1816
1440
  [
1817
1441
  {
1818
1442
  "name": "sound",
1819
- "type": [
1820
- "registryEntryHolder",
1821
- {
1822
- "baseName": "soundId",
1823
- "otherwise": {
1824
- "name": "data",
1825
- "type": "SoundEvent"
1826
- }
1827
- }
1828
- ]
1443
+ "type": "ItemSoundHolder"
1829
1444
  }
1830
1445
  ]
1831
1446
  ]
@@ -1835,78 +1450,206 @@
1835
1450
  }
1836
1451
  ]
1837
1452
  ],
1838
- "BlockProperty": [
1453
+ "ArmorTrimMaterial": [
1839
1454
  "container",
1840
1455
  [
1841
1456
  {
1842
- "name": "name",
1457
+ "name": "assetName",
1843
1458
  "type": "string"
1844
1459
  },
1845
1460
  {
1846
- "name": "isExactMatch",
1847
- "type": "bool"
1461
+ "name": "ingredientId",
1462
+ "type": "varint"
1848
1463
  },
1849
1464
  {
1850
- "name": "exactValue",
1465
+ "name": "overrideArmorAssets",
1851
1466
  "type": [
1852
- "option",
1853
- "string"
1467
+ "array",
1468
+ {
1469
+ "countType": "varint",
1470
+ "type": [
1471
+ "container",
1472
+ [
1473
+ {
1474
+ "name": "key",
1475
+ "type": "string"
1476
+ },
1477
+ {
1478
+ "name": "value",
1479
+ "type": "string"
1480
+ }
1481
+ ]
1482
+ ]
1483
+ }
1854
1484
  ]
1855
1485
  },
1856
1486
  {
1857
- "name": "minValue",
1858
- "type": [
1859
- "option",
1860
- "string"
1861
- ]
1487
+ "name": "description",
1488
+ "type": "anonymousNbt"
1489
+ }
1490
+ ]
1491
+ ],
1492
+ "ArmorTrimPattern": [
1493
+ "container",
1494
+ [
1495
+ {
1496
+ "name": "assetId",
1497
+ "type": "string"
1498
+ },
1499
+ {
1500
+ "name": "templateItemId",
1501
+ "type": "varint"
1502
+ },
1503
+ {
1504
+ "name": "description",
1505
+ "type": "anonymousNbt"
1506
+ },
1507
+ {
1508
+ "name": "decal",
1509
+ "type": "bool"
1510
+ }
1511
+ ]
1512
+ ],
1513
+ "InstrumentData": [
1514
+ "container",
1515
+ [
1516
+ {
1517
+ "name": "soundEvent",
1518
+ "type": "ItemSoundHolder"
1519
+ },
1520
+ {
1521
+ "name": "useDuration",
1522
+ "type": "f32"
1523
+ },
1524
+ {
1525
+ "name": "range",
1526
+ "type": "f32"
1527
+ },
1528
+ {
1529
+ "name": "description",
1530
+ "type": "anonymousNbt"
1531
+ }
1532
+ ]
1533
+ ],
1534
+ "JukeboxSongData": [
1535
+ "container",
1536
+ [
1537
+ {
1538
+ "name": "soundEvent",
1539
+ "type": "ItemSoundHolder"
1540
+ },
1541
+ {
1542
+ "name": "description",
1543
+ "type": "anonymousNbt"
1544
+ },
1545
+ {
1546
+ "name": "lengthInSeconds",
1547
+ "type": "f32"
1548
+ },
1549
+ {
1550
+ "name": "comparatorOutput",
1551
+ "type": "varint"
1552
+ }
1553
+ ]
1554
+ ],
1555
+ "BannerPattern": [
1556
+ "container",
1557
+ [
1558
+ {
1559
+ "name": "assetId",
1560
+ "type": "string"
1862
1561
  },
1863
1562
  {
1864
- "name": "maxValue",
1865
- "type": [
1866
- "option",
1867
- "string"
1868
- ]
1563
+ "name": "translationKey",
1564
+ "type": "string"
1869
1565
  }
1870
1566
  ]
1871
1567
  ],
1872
- "BlockPredicate": [
1568
+ "BannerPatternLayer": [
1873
1569
  "container",
1874
1570
  [
1875
1571
  {
1876
- "name": "blockSet",
1572
+ "name": "pattern",
1877
1573
  "type": [
1878
- "option",
1879
- [
1880
- "registryEntryHolderSet",
1881
- {
1882
- "base": {
1883
- "name": "name",
1884
- "type": "string"
1885
- },
1886
- "otherwise": {
1887
- "name": "blockIds",
1888
- "type": "varint"
1889
- }
1574
+ "registryEntryHolder",
1575
+ {
1576
+ "baseName": "patternId",
1577
+ "otherwise": {
1578
+ "name": "data",
1579
+ "type": "BannerPattern"
1890
1580
  }
1891
- ]
1581
+ }
1892
1582
  ]
1893
1583
  },
1894
1584
  {
1895
- "name": "properties",
1896
- "type": [
1897
- "option",
1898
- [
1899
- "array",
1900
- {
1901
- "countType": "varint",
1902
- "type": "BlockProperty"
1903
- }
1904
- ]
1905
- ]
1585
+ "name": "colorId",
1586
+ "type": "varint"
1587
+ }
1588
+ ]
1589
+ ],
1590
+ "Slot": [
1591
+ "container",
1592
+ [
1593
+ {
1594
+ "name": "itemCount",
1595
+ "type": "varint"
1906
1596
  },
1907
1597
  {
1908
- "name": "nbt",
1909
- "type": "anonOptionalNbt"
1598
+ "anon": true,
1599
+ "type": [
1600
+ "switch",
1601
+ {
1602
+ "compareTo": "itemCount",
1603
+ "fields": {
1604
+ "0": "void"
1605
+ },
1606
+ "default": [
1607
+ "container",
1608
+ [
1609
+ {
1610
+ "name": "itemId",
1611
+ "type": "varint"
1612
+ },
1613
+ {
1614
+ "name": "addedComponentCount",
1615
+ "type": "varint"
1616
+ },
1617
+ {
1618
+ "name": "removedComponentCount",
1619
+ "type": "varint"
1620
+ },
1621
+ {
1622
+ "name": "components",
1623
+ "type": [
1624
+ "array",
1625
+ {
1626
+ "count": "addedComponentCount",
1627
+ "type": "SlotComponent"
1628
+ }
1629
+ ]
1630
+ },
1631
+ {
1632
+ "name": "removeComponents",
1633
+ "type": [
1634
+ "array",
1635
+ {
1636
+ "count": "removedComponentCount",
1637
+ "type": [
1638
+ "container",
1639
+ [
1640
+ {
1641
+ "name": "type",
1642
+ "type": "SlotComponentType"
1643
+ }
1644
+ ]
1645
+ ]
1646
+ }
1647
+ ]
1648
+ }
1649
+ ]
1650
+ ]
1651
+ }
1652
+ ]
1910
1653
  }
1911
1654
  ]
1912
1655
  ],
@@ -2110,7 +1853,7 @@
2110
1853
  "container",
2111
1854
  [
2112
1855
  {
2113
- "name": "position_type",
1856
+ "name": "positionType",
2114
1857
  "type": [
2115
1858
  "mapper",
2116
1859
  {
@@ -2127,7 +1870,7 @@
2127
1870
  "type": [
2128
1871
  "switch",
2129
1872
  {
2130
- "compareTo": "position_type",
1873
+ "compareTo": "positionType",
2131
1874
  "fields": {
2132
1875
  "block": "position",
2133
1876
  "entity": [
@@ -2138,7 +1881,7 @@
2138
1881
  "type": "varint"
2139
1882
  },
2140
1883
  {
2141
- "name": "entity_eye_height",
1884
+ "name": "entityEyeHeight",
2142
1885
  "type": "f32"
2143
1886
  }
2144
1887
  ]
@@ -2602,7 +2345,7 @@
2602
2345
  "container",
2603
2346
  [
2604
2347
  {
2605
- "name": "key",
2348
+ "name": "name",
2606
2349
  "type": "string"
2607
2350
  },
2608
2351
  {
@@ -3146,6 +2889,57 @@
3146
2889
  }
3147
2890
  ]
3148
2891
  ],
2892
+ "packet_common_settings": [
2893
+ "container",
2894
+ [
2895
+ {
2896
+ "name": "locale",
2897
+ "type": "string"
2898
+ },
2899
+ {
2900
+ "name": "viewDistance",
2901
+ "type": "i8"
2902
+ },
2903
+ {
2904
+ "name": "chatFlags",
2905
+ "type": "varint"
2906
+ },
2907
+ {
2908
+ "name": "chatColors",
2909
+ "type": "bool"
2910
+ },
2911
+ {
2912
+ "name": "skinParts",
2913
+ "type": "u8"
2914
+ },
2915
+ {
2916
+ "name": "mainHand",
2917
+ "type": "varint"
2918
+ },
2919
+ {
2920
+ "name": "enableTextFiltering",
2921
+ "type": "bool"
2922
+ },
2923
+ {
2924
+ "name": "enableServerListing",
2925
+ "type": "bool"
2926
+ },
2927
+ {
2928
+ "name": "particleStatus",
2929
+ "type": [
2930
+ "mapper",
2931
+ {
2932
+ "type": "varint",
2933
+ "mappings": {
2934
+ "0": "all",
2935
+ "1": "decreased",
2936
+ "2": "minimal"
2937
+ }
2938
+ }
2939
+ ]
2940
+ }
2941
+ ]
2942
+ ],
3149
2943
  "packet_common_cookie_request": [
3150
2944
  "container",
3151
2945
  [
@@ -4003,47 +3797,6 @@
4003
3797
  },
4004
3798
  "toServer": {
4005
3799
  "types": {
4006
- "packet_settings": [
4007
- "container",
4008
- [
4009
- {
4010
- "name": "locale",
4011
- "type": "string"
4012
- },
4013
- {
4014
- "name": "viewDistance",
4015
- "type": "i8"
4016
- },
4017
- {
4018
- "name": "chatFlags",
4019
- "type": "varint"
4020
- },
4021
- {
4022
- "name": "chatColors",
4023
- "type": "bool"
4024
- },
4025
- {
4026
- "name": "skinParts",
4027
- "type": "u8"
4028
- },
4029
- {
4030
- "name": "mainHand",
4031
- "type": "varint"
4032
- },
4033
- {
4034
- "name": "enableTextFiltering",
4035
- "type": "bool"
4036
- },
4037
- {
4038
- "name": "enableServerListing",
4039
- "type": "bool"
4040
- },
4041
- {
4042
- "name": "particles",
4043
- "type": "varint"
4044
- }
4045
- ]
4046
- ],
4047
3800
  "packet_custom_payload": [
4048
3801
  "container",
4049
3802
  [
@@ -4123,7 +3876,7 @@
4123
3876
  {
4124
3877
  "compareTo": "name",
4125
3878
  "fields": {
4126
- "settings": "packet_settings",
3879
+ "settings": "packet_common_settings",
4127
3880
  "cookie_response": "packet_common_cookie_response",
4128
3881
  "custom_payload": "packet_custom_payload",
4129
3882
  "finish_configuration": "packet_finish_configuration",
@@ -4138,13 +3891,247 @@
4138
3891
  ]
4139
3892
  }
4140
3893
  ]
4141
- ]
4142
- }
4143
- }
4144
- },
4145
- "play": {
4146
- "toClient": {
4147
- "types": {
3894
+ ]
3895
+ }
3896
+ }
3897
+ },
3898
+ "play": {
3899
+ "toClient": {
3900
+ "types": {
3901
+ "SlotDisplay": [
3902
+ "container",
3903
+ [
3904
+ {
3905
+ "name": "type",
3906
+ "type": [
3907
+ "mapper",
3908
+ {
3909
+ "type": "varint",
3910
+ "mappings": {
3911
+ "0": "empty",
3912
+ "1": "any_fuel",
3913
+ "2": "item",
3914
+ "3": "item_stack",
3915
+ "4": "tag",
3916
+ "5": "smithing_trim",
3917
+ "6": "with_remainder",
3918
+ "7": "composite"
3919
+ }
3920
+ }
3921
+ ]
3922
+ },
3923
+ {
3924
+ "name": "data",
3925
+ "type": [
3926
+ "switch",
3927
+ {
3928
+ "compareTo": "type",
3929
+ "fields": {
3930
+ "empty": "void",
3931
+ "any_fuel": "void",
3932
+ "item": "varint",
3933
+ "item_stack": "Slot",
3934
+ "tag": "string",
3935
+ "simthing_trim": [
3936
+ "container",
3937
+ [
3938
+ {
3939
+ "name": "base",
3940
+ "type": "SlotDisplay"
3941
+ },
3942
+ {
3943
+ "name": "material",
3944
+ "type": "SlotDisplay"
3945
+ },
3946
+ {
3947
+ "name": "pattern",
3948
+ "type": "SlotDisplay"
3949
+ }
3950
+ ]
3951
+ ],
3952
+ "with_remainder": [
3953
+ "container",
3954
+ [
3955
+ {
3956
+ "name": "input",
3957
+ "type": "SlotDisplay"
3958
+ },
3959
+ {
3960
+ "name": "remainder",
3961
+ "type": "SlotDisplay"
3962
+ }
3963
+ ]
3964
+ ],
3965
+ "composite": [
3966
+ "array",
3967
+ {
3968
+ "countType": "varint",
3969
+ "type": "SlotDisplay"
3970
+ }
3971
+ ]
3972
+ }
3973
+ }
3974
+ ]
3975
+ }
3976
+ ]
3977
+ ],
3978
+ "RecipeDisplay": [
3979
+ "container",
3980
+ [
3981
+ {
3982
+ "name": "type",
3983
+ "type": [
3984
+ "mapper",
3985
+ {
3986
+ "type": "varint",
3987
+ "mappings": {
3988
+ "0": "crafting_shapeless",
3989
+ "1": "crafting_shaped",
3990
+ "2": "furnace",
3991
+ "3": "stonecutter",
3992
+ "4": "smithing"
3993
+ }
3994
+ }
3995
+ ]
3996
+ },
3997
+ {
3998
+ "name": "data",
3999
+ "type": [
4000
+ "switch",
4001
+ {
4002
+ "compareTo": "type",
4003
+ "fields": {
4004
+ "crafting_shapeless": [
4005
+ "container",
4006
+ [
4007
+ {
4008
+ "name": "ingredients",
4009
+ "type": [
4010
+ "array",
4011
+ {
4012
+ "countType": "varint",
4013
+ "type": "SlotDisplay"
4014
+ }
4015
+ ]
4016
+ },
4017
+ {
4018
+ "name": "result",
4019
+ "type": "SlotDisplay"
4020
+ },
4021
+ {
4022
+ "name": "craftingStation",
4023
+ "type": "SlotDisplay"
4024
+ }
4025
+ ]
4026
+ ],
4027
+ "crafting_shaped": [
4028
+ "container",
4029
+ [
4030
+ {
4031
+ "name": "width",
4032
+ "type": "varint"
4033
+ },
4034
+ {
4035
+ "name": "height",
4036
+ "type": "varint"
4037
+ },
4038
+ {
4039
+ "name": "ingredients",
4040
+ "type": [
4041
+ "array",
4042
+ {
4043
+ "countType": "varint",
4044
+ "type": "SlotDisplay"
4045
+ }
4046
+ ]
4047
+ },
4048
+ {
4049
+ "name": "result",
4050
+ "type": "SlotDisplay"
4051
+ },
4052
+ {
4053
+ "name": "craftingStation",
4054
+ "type": "SlotDisplay"
4055
+ }
4056
+ ]
4057
+ ],
4058
+ "furnace": [
4059
+ "container",
4060
+ [
4061
+ {
4062
+ "name": "ingredient",
4063
+ "type": "SlotDisplay"
4064
+ },
4065
+ {
4066
+ "name": "fuel",
4067
+ "type": "SlotDisplay"
4068
+ },
4069
+ {
4070
+ "name": "result",
4071
+ "type": "SlotDisplay"
4072
+ },
4073
+ {
4074
+ "name": "craftingStation",
4075
+ "type": "SlotDisplay"
4076
+ },
4077
+ {
4078
+ "name": "duration",
4079
+ "type": "varint"
4080
+ },
4081
+ {
4082
+ "name": "experience",
4083
+ "type": "f32"
4084
+ }
4085
+ ]
4086
+ ],
4087
+ "stonecutter": [
4088
+ "container",
4089
+ [
4090
+ {
4091
+ "name": "ingredient",
4092
+ "type": "SlotDisplay"
4093
+ },
4094
+ {
4095
+ "name": "result",
4096
+ "type": "SlotDisplay"
4097
+ },
4098
+ {
4099
+ "name": "craftingStation",
4100
+ "type": "SlotDisplay"
4101
+ }
4102
+ ]
4103
+ ],
4104
+ "smithing": [
4105
+ "container",
4106
+ [
4107
+ {
4108
+ "name": "template",
4109
+ "type": "SlotDisplay"
4110
+ },
4111
+ {
4112
+ "name": "base",
4113
+ "type": "SlotDisplay"
4114
+ },
4115
+ {
4116
+ "name": "addition",
4117
+ "type": "SlotDisplay"
4118
+ },
4119
+ {
4120
+ "name": "result",
4121
+ "type": "SlotDisplay"
4122
+ },
4123
+ {
4124
+ "name": "craftingStation",
4125
+ "type": "SlotDisplay"
4126
+ }
4127
+ ]
4128
+ ]
4129
+ }
4130
+ }
4131
+ ]
4132
+ }
4133
+ ]
4134
+ ],
4148
4135
  "SpawnInfo": [
4149
4136
  "container",
4150
4137
  [
@@ -4865,36 +4852,25 @@
4865
4852
  "container",
4866
4853
  [
4867
4854
  {
4868
- "name": "registryIndex",
4869
- "type": "varint"
4855
+ "name": "chat",
4856
+ "type": "ChatType"
4870
4857
  },
4871
4858
  {
4872
- "anon": true,
4873
- "type": [
4874
- "switch",
4875
- {
4876
- "compareTo": "registryIndex",
4877
- "fields": {
4878
- "0": [
4879
- "container",
4880
- [
4881
- {
4882
- "name": "chat",
4883
- "type": "ChatType"
4884
- },
4885
- {
4886
- "name": "narration",
4887
- "type": "ChatType"
4888
- }
4889
- ]
4890
- ]
4891
- },
4892
- "default": "void"
4893
- }
4894
- ]
4859
+ "name": "narration",
4860
+ "type": "ChatType"
4895
4861
  }
4896
4862
  ]
4897
4863
  ],
4864
+ "ChatTypesHolder": [
4865
+ "registryEntryHolder",
4866
+ {
4867
+ "baseName": "chatType",
4868
+ "otherwise": {
4869
+ "name": "data",
4870
+ "type": "ChatTypes"
4871
+ }
4872
+ }
4873
+ ],
4898
4874
  "packet_profileless_chat": [
4899
4875
  "container",
4900
4876
  [
@@ -4904,7 +4880,7 @@
4904
4880
  },
4905
4881
  {
4906
4882
  "name": "type",
4907
- "type": "ChatTypes"
4883
+ "type": "ChatTypesHolder"
4908
4884
  },
4909
4885
  {
4910
4886
  "name": "name",
@@ -4981,8 +4957,16 @@
4981
4957
  "container",
4982
4958
  [
4983
4959
  {
4984
- "name": "center",
4985
- "type": "vec3f"
4960
+ "name": "x",
4961
+ "type": "f64"
4962
+ },
4963
+ {
4964
+ "name": "y",
4965
+ "type": "f64"
4966
+ },
4967
+ {
4968
+ "name": "z",
4969
+ "type": "f64"
4986
4970
  },
4987
4971
  {
4988
4972
  "name": "playerKnockback",
@@ -4996,39 +4980,8 @@
4996
4980
  "type": "Particle"
4997
4981
  },
4998
4982
  {
4999
- "name": "soundId",
5000
- "type": "varint"
5001
- },
5002
- {
5003
- "anon": true,
5004
- "type": [
5005
- "switch",
5006
- {
5007
- "compareTo": "soundId",
5008
- "fields": {
5009
- "0": [
5010
- "container",
5011
- [
5012
- {
5013
- "name": "soundName",
5014
- "type": "string"
5015
- },
5016
- {
5017
- "name": "range",
5018
- "type": [
5019
- "option",
5020
- "f32"
5021
- ]
5022
- }
5023
- ]
5024
- ]
5025
- },
5026
- "default": [
5027
- "container",
5028
- []
5029
- ]
5030
- }
5031
- ]
4983
+ "name": "sound",
4984
+ "type": "ItemSoundHolder"
5032
4985
  }
5033
4986
  ]
5034
4987
  ],
@@ -6009,7 +5962,7 @@
6009
5962
  },
6010
5963
  {
6011
5964
  "name": "type",
6012
- "type": "ChatTypes"
5965
+ "type": "ChatTypesHolder"
6013
5966
  },
6014
5967
  {
6015
5968
  "name": "networkName",
@@ -6082,7 +6035,7 @@
6082
6035
  "update_latency",
6083
6036
  "update_display_name",
6084
6037
  "update_hat",
6085
- "update_priority"
6038
+ "update_list_order"
6086
6039
  ]
6087
6040
  }
6088
6041
  ]
@@ -6172,7 +6125,10 @@
6172
6125
  {
6173
6126
  "compareTo": "../action/update_display_name",
6174
6127
  "fields": {
6175
- "true": "anonOptionalNbt"
6128
+ "true": [
6129
+ "option",
6130
+ "anonymousNbt"
6131
+ ]
6176
6132
  },
6177
6133
  "default": "void"
6178
6134
  }
@@ -6183,7 +6139,7 @@
6183
6139
  "type": [
6184
6140
  "switch",
6185
6141
  {
6186
- "compareTo": "../action/update_priority",
6142
+ "compareTo": "../action/update_list_order",
6187
6143
  "fields": {
6188
6144
  "true": "varint"
6189
6145
  },
@@ -7257,36 +7213,8 @@
7257
7213
  "container",
7258
7214
  [
7259
7215
  {
7260
- "name": "soundId",
7261
- "type": "varint"
7262
- },
7263
- {
7264
- "name": "soundEvent",
7265
- "type": [
7266
- "switch",
7267
- {
7268
- "compareTo": "soundId",
7269
- "fields": {
7270
- "0": [
7271
- "container",
7272
- [
7273
- {
7274
- "name": "resource",
7275
- "type": "string"
7276
- },
7277
- {
7278
- "name": "range",
7279
- "type": [
7280
- "option",
7281
- "f32"
7282
- ]
7283
- }
7284
- ]
7285
- ]
7286
- },
7287
- "default": "void"
7288
- }
7289
- ]
7216
+ "name": "sound",
7217
+ "type": "ItemSoundHolder"
7290
7218
  },
7291
7219
  {
7292
7220
  "name": "soundCategory",
@@ -7314,36 +7242,8 @@
7314
7242
  "container",
7315
7243
  [
7316
7244
  {
7317
- "name": "soundId",
7318
- "type": "varint"
7319
- },
7320
- {
7321
- "name": "soundEvent",
7322
- "type": [
7323
- "switch",
7324
- {
7325
- "compareTo": "soundId",
7326
- "fields": {
7327
- "0": [
7328
- "container",
7329
- [
7330
- {
7331
- "name": "resource",
7332
- "type": "string"
7333
- },
7334
- {
7335
- "name": "range",
7336
- "type": [
7337
- "option",
7338
- "f32"
7339
- ]
7340
- }
7341
- ]
7342
- ]
7343
- },
7344
- "default": "void"
7345
- }
7346
- ]
7245
+ "name": "sound",
7246
+ "type": "ItemSoundHolder"
7347
7247
  },
7348
7248
  {
7349
7249
  "name": "soundCategory",
@@ -8421,57 +8321,6 @@
8421
8321
  "container",
8422
8322
  []
8423
8323
  ],
8424
- "packet_settings": [
8425
- "container",
8426
- [
8427
- {
8428
- "name": "locale",
8429
- "type": "string"
8430
- },
8431
- {
8432
- "name": "viewDistance",
8433
- "type": "i8"
8434
- },
8435
- {
8436
- "name": "chatFlags",
8437
- "type": "varint"
8438
- },
8439
- {
8440
- "name": "chatColors",
8441
- "type": "bool"
8442
- },
8443
- {
8444
- "name": "skinParts",
8445
- "type": "u8"
8446
- },
8447
- {
8448
- "name": "mainHand",
8449
- "type": "varint"
8450
- },
8451
- {
8452
- "name": "enableTextFiltering",
8453
- "type": "bool"
8454
- },
8455
- {
8456
- "name": "enableServerListing",
8457
- "type": "bool"
8458
- },
8459
- {
8460
- "name": "particleStatus",
8461
- "type": [
8462
- "mapper",
8463
- {
8464
- "type": "varint",
8465
- "mappings": {
8466
- "0": "all",
8467
- "1": "decreased",
8468
- "2": "minimal"
8469
- }
8470
- }
8471
- ]
8472
- }
8473
- ]
8474
- ],
8475
8324
  "packet_tab_complete": [
8476
8325
  "container",
8477
8326
  [
@@ -9472,7 +9321,7 @@
9472
9321
  "chunk_batch_received": "packet_chunk_batch_received",
9473
9322
  "client_command": "packet_client_command",
9474
9323
  "tick_end": "packet_tick_end",
9475
- "settings": "packet_settings",
9324
+ "settings": "packet_common_settings",
9476
9325
  "tab_complete": "packet_tab_complete",
9477
9326
  "configuration_acknowledged": "packet_configuration_acknowledged",
9478
9327
  "enchant_item": "packet_enchant_item",