minecraft-data 3.90.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 (149) hide show
  1. package/data.js +54 -0
  2. package/doc/history.md +8 -0
  3. package/index.d.ts +5 -2
  4. package/minecraft-data/data/dataPaths.json +54 -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.5/attributes.json +226 -0
  81. package/minecraft-data/data/pc/1.21.5/biomes.json +652 -0
  82. package/minecraft-data/data/pc/1.21.5/blockCollisionShapes.json +142530 -0
  83. package/minecraft-data/data/pc/1.21.5/blocks.json +41307 -0
  84. package/minecraft-data/data/pc/1.21.5/effects.json +236 -0
  85. package/minecraft-data/data/pc/1.21.5/enchantments.json +959 -0
  86. package/minecraft-data/data/pc/1.21.5/entities.json +1502 -0
  87. package/minecraft-data/data/pc/1.21.5/foods.json +402 -0
  88. package/minecraft-data/data/pc/1.21.5/instruments.json +94 -0
  89. package/minecraft-data/data/pc/1.21.5/items.json +9164 -0
  90. package/minecraft-data/data/pc/1.21.5/language.json +7163 -0
  91. package/minecraft-data/data/pc/1.21.5/materials.json +206 -0
  92. package/minecraft-data/data/pc/1.21.5/particles.json +458 -0
  93. package/minecraft-data/data/pc/1.21.5/recipes.json +29948 -0
  94. package/minecraft-data/data/pc/1.21.5/sounds.json +6810 -0
  95. package/minecraft-data/data/pc/1.21.5/tints.json +465 -0
  96. package/minecraft-data/data/pc/1.21.5/version.json +6 -0
  97. package/minecraft-data/data/pc/1.21.6/attributes.json +247 -0
  98. package/minecraft-data/data/pc/1.21.6/biomes.json +652 -0
  99. package/minecraft-data/data/pc/1.21.6/blockCollisionShapes.json +142541 -0
  100. package/minecraft-data/data/pc/1.21.6/blocks.json +41360 -0
  101. package/minecraft-data/data/pc/1.21.6/effects.json +236 -0
  102. package/minecraft-data/data/pc/1.21.6/enchantments.json +959 -0
  103. package/minecraft-data/data/pc/1.21.6/entities.json +1512 -0
  104. package/minecraft-data/data/pc/1.21.6/foods.json +402 -0
  105. package/minecraft-data/data/pc/1.21.6/instruments.json +94 -0
  106. package/minecraft-data/data/pc/1.21.6/items.json +9278 -0
  107. package/minecraft-data/data/pc/1.21.6/language.json +7389 -0
  108. package/minecraft-data/data/pc/1.21.6/materials.json +206 -0
  109. package/minecraft-data/data/pc/1.21.6/particles.json +458 -0
  110. package/minecraft-data/data/pc/1.21.6/recipes.json +30473 -0
  111. package/minecraft-data/data/pc/1.21.6/sounds.json +6910 -0
  112. package/minecraft-data/data/pc/1.21.6/tints.json +465 -0
  113. package/minecraft-data/data/pc/1.21.6/version.json +6 -0
  114. package/minecraft-data/data/pc/1.7/proto.yml +3 -6
  115. package/minecraft-data/data/pc/1.7/protocol.json +7 -0
  116. package/minecraft-data/data/pc/1.8/proto.yml +29 -35
  117. package/minecraft-data/data/pc/1.8/protocol.json +101 -86
  118. package/minecraft-data/data/pc/1.9/proto.yml +29 -35
  119. package/minecraft-data/data/pc/1.9/protocol.json +101 -86
  120. package/minecraft-data/data/pc/1.9.1-pre2/proto.yml +29 -35
  121. package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +101 -86
  122. package/minecraft-data/data/pc/1.9.2/proto.yml +29 -35
  123. package/minecraft-data/data/pc/1.9.2/protocol.json +101 -86
  124. package/minecraft-data/data/pc/1.9.4/proto.yml +29 -35
  125. package/minecraft-data/data/pc/1.9.4/protocol.json +101 -86
  126. package/minecraft-data/data/pc/15w40b/proto.yml +29 -35
  127. package/minecraft-data/data/pc/15w40b/protocol.json +101 -86
  128. package/minecraft-data/data/pc/16w20a/proto.yml +29 -35
  129. package/minecraft-data/data/pc/16w20a/protocol.json +101 -86
  130. package/minecraft-data/data/pc/16w35a/proto.yml +29 -35
  131. package/minecraft-data/data/pc/16w35a/protocol.json +101 -86
  132. package/minecraft-data/data/pc/17w15a/proto.yml +29 -35
  133. package/minecraft-data/data/pc/17w15a/protocol.json +101 -86
  134. package/minecraft-data/data/pc/17w18b/proto.yml +29 -35
  135. package/minecraft-data/data/pc/17w18b/protocol.json +101 -86
  136. package/minecraft-data/data/pc/17w50a/proto.yml +29 -35
  137. package/minecraft-data/data/pc/17w50a/protocol.json +101 -86
  138. package/minecraft-data/data/pc/20w13b/proto.yml +29 -35
  139. package/minecraft-data/data/pc/20w13b/protocol.json +101 -86
  140. package/minecraft-data/data/pc/21w07a/proto.yml +29 -35
  141. package/minecraft-data/data/pc/21w07a/protocol.json +101 -86
  142. package/minecraft-data/data/pc/common/features.json +7 -2
  143. package/minecraft-data/data/pc/common/protocolVersions.json +203 -36
  144. package/minecraft-data/data/pc/common/versions.json +2 -1
  145. package/minecraft-data/data/pc/latest/proto.yml +427 -572
  146. package/minecraft-data/doc/history.md +12 -0
  147. package/minecraft-data/doc/protocol.md +6 -4
  148. package/package.json +2 -2
  149. 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,197 @@
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"
1561
+ },
1562
+ {
1563
+ "name": "translationKey",
1564
+ "type": "string"
1565
+ }
1566
+ ]
1567
+ ],
1568
+ "BannerPatternLayer": [
1569
+ "container",
1570
+ [
1571
+ {
1572
+ "name": "pattern",
1573
+ "type": "ItemSoundHolder"
1862
1574
  },
1863
1575
  {
1864
- "name": "maxValue",
1865
- "type": [
1866
- "option",
1867
- "string"
1868
- ]
1576
+ "name": "colorId",
1577
+ "type": "varint"
1869
1578
  }
1870
1579
  ]
1871
1580
  ],
1872
- "BlockPredicate": [
1581
+ "Slot": [
1873
1582
  "container",
1874
1583
  [
1875
1584
  {
1876
- "name": "blockSet",
1877
- "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
- }
1890
- }
1891
- ]
1892
- ]
1585
+ "name": "itemCount",
1586
+ "type": "varint"
1893
1587
  },
1894
1588
  {
1895
- "name": "properties",
1589
+ "anon": true,
1896
1590
  "type": [
1897
- "option",
1898
- [
1899
- "array",
1900
- {
1901
- "countType": "varint",
1902
- "type": "BlockProperty"
1903
- }
1904
- ]
1591
+ "switch",
1592
+ {
1593
+ "compareTo": "itemCount",
1594
+ "fields": {
1595
+ "0": "void"
1596
+ },
1597
+ "default": [
1598
+ "container",
1599
+ [
1600
+ {
1601
+ "name": "itemId",
1602
+ "type": "varint"
1603
+ },
1604
+ {
1605
+ "name": "addedComponentCount",
1606
+ "type": "varint"
1607
+ },
1608
+ {
1609
+ "name": "removedComponentCount",
1610
+ "type": "varint"
1611
+ },
1612
+ {
1613
+ "name": "components",
1614
+ "type": [
1615
+ "array",
1616
+ {
1617
+ "count": "addedComponentCount",
1618
+ "type": "SlotComponent"
1619
+ }
1620
+ ]
1621
+ },
1622
+ {
1623
+ "name": "removeComponents",
1624
+ "type": [
1625
+ "array",
1626
+ {
1627
+ "count": "removedComponentCount",
1628
+ "type": [
1629
+ "container",
1630
+ [
1631
+ {
1632
+ "name": "type",
1633
+ "type": "SlotComponentType"
1634
+ }
1635
+ ]
1636
+ ]
1637
+ }
1638
+ ]
1639
+ }
1640
+ ]
1641
+ ]
1642
+ }
1905
1643
  ]
1906
- },
1907
- {
1908
- "name": "nbt",
1909
- "type": "anonOptionalNbt"
1910
1644
  }
1911
1645
  ]
1912
1646
  ],
@@ -2109,7 +1843,7 @@
2109
1843
  "container",
2110
1844
  [
2111
1845
  {
2112
- "name": "position_type",
1846
+ "name": "positionType",
2113
1847
  "type": [
2114
1848
  "mapper",
2115
1849
  {
@@ -2126,7 +1860,7 @@
2126
1860
  "type": [
2127
1861
  "switch",
2128
1862
  {
2129
- "compareTo": "position_type",
1863
+ "compareTo": "positionType",
2130
1864
  "fields": {
2131
1865
  "block": "position",
2132
1866
  "entity": [
@@ -2137,7 +1871,7 @@
2137
1871
  "type": "varint"
2138
1872
  },
2139
1873
  {
2140
- "name": "entity_eye_height",
1874
+ "name": "entityEyeHeight",
2141
1875
  "type": "f32"
2142
1876
  }
2143
1877
  ]
@@ -2601,7 +2335,7 @@
2601
2335
  "container",
2602
2336
  [
2603
2337
  {
2604
- "name": "key",
2338
+ "name": "name",
2605
2339
  "type": "string"
2606
2340
  },
2607
2341
  {
@@ -3145,6 +2879,57 @@
3145
2879
  }
3146
2880
  ]
3147
2881
  ],
2882
+ "packet_common_settings": [
2883
+ "container",
2884
+ [
2885
+ {
2886
+ "name": "locale",
2887
+ "type": "string"
2888
+ },
2889
+ {
2890
+ "name": "viewDistance",
2891
+ "type": "i8"
2892
+ },
2893
+ {
2894
+ "name": "chatFlags",
2895
+ "type": "varint"
2896
+ },
2897
+ {
2898
+ "name": "chatColors",
2899
+ "type": "bool"
2900
+ },
2901
+ {
2902
+ "name": "skinParts",
2903
+ "type": "u8"
2904
+ },
2905
+ {
2906
+ "name": "mainHand",
2907
+ "type": "varint"
2908
+ },
2909
+ {
2910
+ "name": "enableTextFiltering",
2911
+ "type": "bool"
2912
+ },
2913
+ {
2914
+ "name": "enableServerListing",
2915
+ "type": "bool"
2916
+ },
2917
+ {
2918
+ "name": "particleStatus",
2919
+ "type": [
2920
+ "mapper",
2921
+ {
2922
+ "type": "varint",
2923
+ "mappings": {
2924
+ "0": "all",
2925
+ "1": "decreased",
2926
+ "2": "minimal"
2927
+ }
2928
+ }
2929
+ ]
2930
+ }
2931
+ ]
2932
+ ],
3148
2933
  "packet_common_cookie_request": [
3149
2934
  "container",
3150
2935
  [
@@ -4002,47 +3787,6 @@
4002
3787
  },
4003
3788
  "toServer": {
4004
3789
  "types": {
4005
- "packet_settings": [
4006
- "container",
4007
- [
4008
- {
4009
- "name": "locale",
4010
- "type": "string"
4011
- },
4012
- {
4013
- "name": "viewDistance",
4014
- "type": "i8"
4015
- },
4016
- {
4017
- "name": "chatFlags",
4018
- "type": "varint"
4019
- },
4020
- {
4021
- "name": "chatColors",
4022
- "type": "bool"
4023
- },
4024
- {
4025
- "name": "skinParts",
4026
- "type": "u8"
4027
- },
4028
- {
4029
- "name": "mainHand",
4030
- "type": "varint"
4031
- },
4032
- {
4033
- "name": "enableTextFiltering",
4034
- "type": "bool"
4035
- },
4036
- {
4037
- "name": "enableServerListing",
4038
- "type": "bool"
4039
- },
4040
- {
4041
- "name": "particles",
4042
- "type": "varint"
4043
- }
4044
- ]
4045
- ],
4046
3790
  "packet_custom_payload": [
4047
3791
  "container",
4048
3792
  [
@@ -4122,7 +3866,7 @@
4122
3866
  {
4123
3867
  "compareTo": "name",
4124
3868
  "fields": {
4125
- "settings": "packet_settings",
3869
+ "settings": "packet_common_settings",
4126
3870
  "cookie_response": "packet_common_cookie_response",
4127
3871
  "custom_payload": "packet_custom_payload",
4128
3872
  "finish_configuration": "packet_finish_configuration",
@@ -4137,13 +3881,247 @@
4137
3881
  ]
4138
3882
  }
4139
3883
  ]
4140
- ]
4141
- }
4142
- }
4143
- },
4144
- "play": {
4145
- "toClient": {
4146
- "types": {
3884
+ ]
3885
+ }
3886
+ }
3887
+ },
3888
+ "play": {
3889
+ "toClient": {
3890
+ "types": {
3891
+ "SlotDisplay": [
3892
+ "container",
3893
+ [
3894
+ {
3895
+ "name": "type",
3896
+ "type": [
3897
+ "mapper",
3898
+ {
3899
+ "type": "varint",
3900
+ "mappings": {
3901
+ "0": "empty",
3902
+ "1": "any_fuel",
3903
+ "2": "item",
3904
+ "3": "item_stack",
3905
+ "4": "tag",
3906
+ "5": "smithing_trim",
3907
+ "6": "with_remainder",
3908
+ "7": "composite"
3909
+ }
3910
+ }
3911
+ ]
3912
+ },
3913
+ {
3914
+ "name": "data",
3915
+ "type": [
3916
+ "switch",
3917
+ {
3918
+ "compareTo": "type",
3919
+ "fields": {
3920
+ "empty": "void",
3921
+ "any_fuel": "void",
3922
+ "item": "varint",
3923
+ "item_stack": "Slot",
3924
+ "tag": "string",
3925
+ "simthing_trim": [
3926
+ "container",
3927
+ [
3928
+ {
3929
+ "name": "base",
3930
+ "type": "SlotDisplay"
3931
+ },
3932
+ {
3933
+ "name": "material",
3934
+ "type": "SlotDisplay"
3935
+ },
3936
+ {
3937
+ "name": "pattern",
3938
+ "type": "SlotDisplay"
3939
+ }
3940
+ ]
3941
+ ],
3942
+ "with_remainder": [
3943
+ "container",
3944
+ [
3945
+ {
3946
+ "name": "input",
3947
+ "type": "SlotDisplay"
3948
+ },
3949
+ {
3950
+ "name": "remainder",
3951
+ "type": "SlotDisplay"
3952
+ }
3953
+ ]
3954
+ ],
3955
+ "composite": [
3956
+ "array",
3957
+ {
3958
+ "countType": "varint",
3959
+ "type": "SlotDisplay"
3960
+ }
3961
+ ]
3962
+ }
3963
+ }
3964
+ ]
3965
+ }
3966
+ ]
3967
+ ],
3968
+ "RecipeDisplay": [
3969
+ "container",
3970
+ [
3971
+ {
3972
+ "name": "type",
3973
+ "type": [
3974
+ "mapper",
3975
+ {
3976
+ "type": "varint",
3977
+ "mappings": {
3978
+ "0": "crafting_shapeless",
3979
+ "1": "crafting_shaped",
3980
+ "2": "furnace",
3981
+ "3": "stonecutter",
3982
+ "4": "smithing"
3983
+ }
3984
+ }
3985
+ ]
3986
+ },
3987
+ {
3988
+ "name": "data",
3989
+ "type": [
3990
+ "switch",
3991
+ {
3992
+ "compareTo": "type",
3993
+ "fields": {
3994
+ "crafting_shapeless": [
3995
+ "container",
3996
+ [
3997
+ {
3998
+ "name": "ingredients",
3999
+ "type": [
4000
+ "array",
4001
+ {
4002
+ "countType": "varint",
4003
+ "type": "SlotDisplay"
4004
+ }
4005
+ ]
4006
+ },
4007
+ {
4008
+ "name": "result",
4009
+ "type": "SlotDisplay"
4010
+ },
4011
+ {
4012
+ "name": "craftingStation",
4013
+ "type": "SlotDisplay"
4014
+ }
4015
+ ]
4016
+ ],
4017
+ "crafting_shaped": [
4018
+ "container",
4019
+ [
4020
+ {
4021
+ "name": "width",
4022
+ "type": "varint"
4023
+ },
4024
+ {
4025
+ "name": "height",
4026
+ "type": "varint"
4027
+ },
4028
+ {
4029
+ "name": "ingredients",
4030
+ "type": [
4031
+ "array",
4032
+ {
4033
+ "countType": "varint",
4034
+ "type": "SlotDisplay"
4035
+ }
4036
+ ]
4037
+ },
4038
+ {
4039
+ "name": "result",
4040
+ "type": "SlotDisplay"
4041
+ },
4042
+ {
4043
+ "name": "craftingStation",
4044
+ "type": "SlotDisplay"
4045
+ }
4046
+ ]
4047
+ ],
4048
+ "furnace": [
4049
+ "container",
4050
+ [
4051
+ {
4052
+ "name": "ingredient",
4053
+ "type": "SlotDisplay"
4054
+ },
4055
+ {
4056
+ "name": "fuel",
4057
+ "type": "SlotDisplay"
4058
+ },
4059
+ {
4060
+ "name": "result",
4061
+ "type": "SlotDisplay"
4062
+ },
4063
+ {
4064
+ "name": "craftingStation",
4065
+ "type": "SlotDisplay"
4066
+ },
4067
+ {
4068
+ "name": "duration",
4069
+ "type": "varint"
4070
+ },
4071
+ {
4072
+ "name": "experience",
4073
+ "type": "f32"
4074
+ }
4075
+ ]
4076
+ ],
4077
+ "stonecutter": [
4078
+ "container",
4079
+ [
4080
+ {
4081
+ "name": "ingredient",
4082
+ "type": "SlotDisplay"
4083
+ },
4084
+ {
4085
+ "name": "result",
4086
+ "type": "SlotDisplay"
4087
+ },
4088
+ {
4089
+ "name": "craftingStation",
4090
+ "type": "SlotDisplay"
4091
+ }
4092
+ ]
4093
+ ],
4094
+ "smithing": [
4095
+ "container",
4096
+ [
4097
+ {
4098
+ "name": "template",
4099
+ "type": "SlotDisplay"
4100
+ },
4101
+ {
4102
+ "name": "base",
4103
+ "type": "SlotDisplay"
4104
+ },
4105
+ {
4106
+ "name": "addition",
4107
+ "type": "SlotDisplay"
4108
+ },
4109
+ {
4110
+ "name": "result",
4111
+ "type": "SlotDisplay"
4112
+ },
4113
+ {
4114
+ "name": "craftingStation",
4115
+ "type": "SlotDisplay"
4116
+ }
4117
+ ]
4118
+ ]
4119
+ }
4120
+ }
4121
+ ]
4122
+ }
4123
+ ]
4124
+ ],
4147
4125
  "SpawnInfo": [
4148
4126
  "container",
4149
4127
  [
@@ -4864,36 +4842,25 @@
4864
4842
  "container",
4865
4843
  [
4866
4844
  {
4867
- "name": "registryIndex",
4868
- "type": "varint"
4845
+ "name": "chat",
4846
+ "type": "ChatType"
4869
4847
  },
4870
4848
  {
4871
- "anon": true,
4872
- "type": [
4873
- "switch",
4874
- {
4875
- "compareTo": "registryIndex",
4876
- "fields": {
4877
- "0": [
4878
- "container",
4879
- [
4880
- {
4881
- "name": "chat",
4882
- "type": "ChatType"
4883
- },
4884
- {
4885
- "name": "narration",
4886
- "type": "ChatType"
4887
- }
4888
- ]
4889
- ]
4890
- },
4891
- "default": "void"
4892
- }
4893
- ]
4849
+ "name": "narration",
4850
+ "type": "ChatType"
4894
4851
  }
4895
4852
  ]
4896
4853
  ],
4854
+ "ChatTypesHolder": [
4855
+ "registryEntryHolder",
4856
+ {
4857
+ "baseName": "chatType",
4858
+ "otherwise": {
4859
+ "name": "data",
4860
+ "type": "ChatTypes"
4861
+ }
4862
+ }
4863
+ ],
4897
4864
  "packet_profileless_chat": [
4898
4865
  "container",
4899
4866
  [
@@ -4903,7 +4870,7 @@
4903
4870
  },
4904
4871
  {
4905
4872
  "name": "type",
4906
- "type": "ChatTypes"
4873
+ "type": "ChatTypesHolder"
4907
4874
  },
4908
4875
  {
4909
4876
  "name": "name",
@@ -4980,8 +4947,16 @@
4980
4947
  "container",
4981
4948
  [
4982
4949
  {
4983
- "name": "center",
4984
- "type": "vec3f"
4950
+ "name": "x",
4951
+ "type": "f64"
4952
+ },
4953
+ {
4954
+ "name": "y",
4955
+ "type": "f64"
4956
+ },
4957
+ {
4958
+ "name": "z",
4959
+ "type": "f64"
4985
4960
  },
4986
4961
  {
4987
4962
  "name": "playerKnockback",
@@ -4995,39 +4970,8 @@
4995
4970
  "type": "Particle"
4996
4971
  },
4997
4972
  {
4998
- "name": "soundId",
4999
- "type": "varint"
5000
- },
5001
- {
5002
- "anon": true,
5003
- "type": [
5004
- "switch",
5005
- {
5006
- "compareTo": "soundId",
5007
- "fields": {
5008
- "0": [
5009
- "container",
5010
- [
5011
- {
5012
- "name": "soundName",
5013
- "type": "string"
5014
- },
5015
- {
5016
- "name": "range",
5017
- "type": [
5018
- "option",
5019
- "f32"
5020
- ]
5021
- }
5022
- ]
5023
- ]
5024
- },
5025
- "default": [
5026
- "container",
5027
- []
5028
- ]
5029
- }
5030
- ]
4973
+ "name": "sound",
4974
+ "type": "ItemSoundHolder"
5031
4975
  }
5032
4976
  ]
5033
4977
  ],
@@ -6004,7 +5948,7 @@
6004
5948
  },
6005
5949
  {
6006
5950
  "name": "type",
6007
- "type": "ChatTypes"
5951
+ "type": "ChatTypesHolder"
6008
5952
  },
6009
5953
  {
6010
5954
  "name": "networkName",
@@ -6076,7 +6020,7 @@
6076
6020
  "update_listed",
6077
6021
  "update_latency",
6078
6022
  "update_display_name",
6079
- "update_priority"
6023
+ "update_list_order"
6080
6024
  ]
6081
6025
  }
6082
6026
  ]
@@ -6166,7 +6110,10 @@
6166
6110
  {
6167
6111
  "compareTo": "../action/update_display_name",
6168
6112
  "fields": {
6169
- "true": "anonOptionalNbt"
6113
+ "true": [
6114
+ "option",
6115
+ "anonymousNbt"
6116
+ ]
6170
6117
  },
6171
6118
  "default": "void"
6172
6119
  }
@@ -6177,7 +6124,7 @@
6177
6124
  "type": [
6178
6125
  "switch",
6179
6126
  {
6180
- "compareTo": "../action/update_priority",
6127
+ "compareTo": "../action/update_list_order",
6181
6128
  "fields": {
6182
6129
  "true": "varint"
6183
6130
  },
@@ -7238,36 +7185,8 @@
7238
7185
  "container",
7239
7186
  [
7240
7187
  {
7241
- "name": "soundId",
7242
- "type": "varint"
7243
- },
7244
- {
7245
- "name": "soundEvent",
7246
- "type": [
7247
- "switch",
7248
- {
7249
- "compareTo": "soundId",
7250
- "fields": {
7251
- "0": [
7252
- "container",
7253
- [
7254
- {
7255
- "name": "resource",
7256
- "type": "string"
7257
- },
7258
- {
7259
- "name": "range",
7260
- "type": [
7261
- "option",
7262
- "f32"
7263
- ]
7264
- }
7265
- ]
7266
- ]
7267
- },
7268
- "default": "void"
7269
- }
7270
- ]
7188
+ "name": "sound",
7189
+ "type": "ItemSoundHolder"
7271
7190
  },
7272
7191
  {
7273
7192
  "name": "soundCategory",
@@ -7295,36 +7214,8 @@
7295
7214
  "container",
7296
7215
  [
7297
7216
  {
7298
- "name": "soundId",
7299
- "type": "varint"
7300
- },
7301
- {
7302
- "name": "soundEvent",
7303
- "type": [
7304
- "switch",
7305
- {
7306
- "compareTo": "soundId",
7307
- "fields": {
7308
- "0": [
7309
- "container",
7310
- [
7311
- {
7312
- "name": "resource",
7313
- "type": "string"
7314
- },
7315
- {
7316
- "name": "range",
7317
- "type": [
7318
- "option",
7319
- "f32"
7320
- ]
7321
- }
7322
- ]
7323
- ]
7324
- },
7325
- "default": "void"
7326
- }
7327
- ]
7217
+ "name": "sound",
7218
+ "type": "ItemSoundHolder"
7328
7219
  },
7329
7220
  {
7330
7221
  "name": "soundCategory",
@@ -8402,57 +8293,6 @@
8402
8293
  "container",
8403
8294
  []
8404
8295
  ],
8405
- "packet_settings": [
8406
- "container",
8407
- [
8408
- {
8409
- "name": "locale",
8410
- "type": "string"
8411
- },
8412
- {
8413
- "name": "viewDistance",
8414
- "type": "i8"
8415
- },
8416
- {
8417
- "name": "chatFlags",
8418
- "type": "varint"
8419
- },
8420
- {
8421
- "name": "chatColors",
8422
- "type": "bool"
8423
- },
8424
- {
8425
- "name": "skinParts",
8426
- "type": "u8"
8427
- },
8428
- {
8429
- "name": "mainHand",
8430
- "type": "varint"
8431
- },
8432
- {
8433
- "name": "enableTextFiltering",
8434
- "type": "bool"
8435
- },
8436
- {
8437
- "name": "enableServerListing",
8438
- "type": "bool"
8439
- },
8440
- {
8441
- "name": "particleStatus",
8442
- "type": [
8443
- "mapper",
8444
- {
8445
- "type": "varint",
8446
- "mappings": {
8447
- "0": "all",
8448
- "1": "decreased",
8449
- "2": "minimal"
8450
- }
8451
- }
8452
- ]
8453
- }
8454
- ]
8455
- ],
8456
8296
  "packet_tab_complete": [
8457
8297
  "container",
8458
8298
  [
@@ -9426,7 +9266,7 @@
9426
9266
  "chunk_batch_received": "packet_chunk_batch_received",
9427
9267
  "client_command": "packet_client_command",
9428
9268
  "tick_end": "packet_tick_end",
9429
- "settings": "packet_settings",
9269
+ "settings": "packet_common_settings",
9430
9270
  "tab_complete": "packet_tab_complete",
9431
9271
  "configuration_acknowledged": "packet_configuration_acknowledged",
9432
9272
  "enchant_item": "packet_enchant_item",