@vaitosoi/minejs 0.5.1 → 0.6.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 (67) hide show
  1. package/README.md +4 -0
  2. package/assets/minecraft/26.2/components.json +113 -0
  3. package/assets/minecraft/26.2/packets.json +8 -16
  4. package/assets/minecraft/26.3/packets.json +4767 -0
  5. package/assets/minecraft/versionMapping.json +16 -0
  6. package/dist/binary/decoder.d.ts +35 -0
  7. package/dist/binary/decoder.d.ts.map +1 -1
  8. package/dist/binary/decoder.js +665 -2
  9. package/dist/binary/decoder.js.map +1 -1
  10. package/dist/binary/encoder.d.ts +3 -3
  11. package/dist/binary/encoder.d.ts.map +1 -1
  12. package/dist/binary/encoder.js.map +1 -1
  13. package/dist/client/client.d.ts +58 -1
  14. package/dist/client/client.d.ts.map +1 -1
  15. package/dist/client/client.js +38 -0
  16. package/dist/client/client.js.map +1 -1
  17. package/dist/net/tcp.d.ts +6 -2
  18. package/dist/net/tcp.d.ts.map +1 -1
  19. package/dist/net/tcp.js +5 -2
  20. package/dist/net/tcp.js.map +1 -1
  21. package/dist/packet/listener.d.ts +5 -0
  22. package/dist/packet/listener.d.ts.map +1 -1
  23. package/dist/packet/listener.js +78 -5
  24. package/dist/packet/listener.js.map +1 -1
  25. package/dist/packet/sender.d.ts +3 -1
  26. package/dist/packet/sender.d.ts.map +1 -1
  27. package/dist/packet/sender.js +15 -0
  28. package/dist/packet/sender.js.map +1 -1
  29. package/dist/physics/aabb.js +7 -7
  30. package/dist/physics/aabb.js.map +1 -1
  31. package/dist/physics/player.js +1 -5
  32. package/dist/physics/player.js.map +1 -1
  33. package/dist/version/codec.d.ts.map +1 -1
  34. package/dist/version/codec.js +25 -14
  35. package/dist/version/codec.js.map +1 -1
  36. package/dist/version/registry.d.ts +21 -5
  37. package/dist/version/registry.d.ts.map +1 -1
  38. package/dist/version/registry.js +55 -18
  39. package/dist/version/registry.js.map +1 -1
  40. package/dist/world/block.d.ts +10 -8
  41. package/dist/world/block.d.ts.map +1 -1
  42. package/dist/world/block.js +17 -11
  43. package/dist/world/block.js.map +1 -1
  44. package/dist/world/container.d.ts +106 -0
  45. package/dist/world/container.d.ts.map +1 -0
  46. package/dist/world/container.js +240 -0
  47. package/dist/world/container.js.map +1 -0
  48. package/dist/world/state.d.ts +8 -5
  49. package/dist/world/state.d.ts.map +1 -1
  50. package/dist/world/state.js +2 -0
  51. package/dist/world/state.js.map +1 -1
  52. package/package.json +2 -2
  53. package/src/binary/decoder.ts +691 -2
  54. package/src/binary/encoder.ts +3 -3
  55. package/src/client/client.ts +81 -4
  56. package/src/net/tcp.ts +16 -5
  57. package/src/packet/listener.ts +103 -6
  58. package/src/packet/sender.ts +26 -2
  59. package/src/physics/aabb.ts +7 -7
  60. package/src/physics/player.ts +5 -5
  61. package/src/version/codec.ts +24 -14
  62. package/src/version/registry.ts +61 -17
  63. package/src/world/block.ts +19 -17
  64. package/src/world/container.ts +180 -0
  65. package/src/world/state.ts +11 -6
  66. package/test/client/index.ts +49 -21
  67. package/test/client/registry.json +1735 -0
@@ -0,0 +1,4767 @@
1
+ {
2
+ "handshaking": {
3
+ "clientbound": {},
4
+ "serverbound": {
5
+ "0x0": {
6
+ "name": "intention",
7
+ "id": 0,
8
+ "structure": {
9
+ "protocol_version": {
10
+ "type": "var_int"
11
+ },
12
+ "server_address": {
13
+ "type": "string",
14
+ "length": 255
15
+ },
16
+ "server_port": {
17
+ "type": "unsigned_short"
18
+ },
19
+ "intent": {
20
+ "type": "enum",
21
+ "subType": {
22
+ "type": "var_int"
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+ },
29
+ "status": {
30
+ "clientbound": {
31
+ "0x0": {
32
+ "name": "status_response",
33
+ "id": 0,
34
+ "structure": {
35
+ "json_response": {
36
+ "type": "string",
37
+ "length": 32767
38
+ }
39
+ }
40
+ },
41
+ "0x1": {
42
+ "name": "pong_response",
43
+ "id": 1,
44
+ "structure": {
45
+ "timestamp": {
46
+ "type": "long"
47
+ }
48
+ }
49
+ }
50
+ },
51
+ "serverbound": {
52
+ "0x0": {
53
+ "name": "status_request",
54
+ "id": 0,
55
+ "structure": {}
56
+ },
57
+ "0x1": {
58
+ "name": "ping_request",
59
+ "id": 1,
60
+ "structure": {
61
+ "timestamp": {
62
+ "type": "long"
63
+ }
64
+ }
65
+ }
66
+ }
67
+ },
68
+ "login": {
69
+ "clientbound": {
70
+ "0x0": {
71
+ "name": "login_disconnect",
72
+ "id": 0,
73
+ "structure": {
74
+ "reason": {
75
+ "type": "json_text"
76
+ }
77
+ }
78
+ },
79
+ "0x1": {
80
+ "name": "hello",
81
+ "id": 1,
82
+ "structure": {
83
+ "server_id": {
84
+ "type": "string",
85
+ "length": 20
86
+ },
87
+ "public_key": {
88
+ "type": "prefixed_array",
89
+ "subType": {
90
+ "type": "byte"
91
+ }
92
+ },
93
+ "verify_token": {
94
+ "type": "prefixed_array",
95
+ "subType": {
96
+ "type": "byte"
97
+ }
98
+ },
99
+ "should_authenticate": {
100
+ "type": "boolean"
101
+ }
102
+ }
103
+ },
104
+ "0x2": {
105
+ "name": "login_finished",
106
+ "id": 2,
107
+ "structure": {
108
+ "profile": {
109
+ "type": "game_profile"
110
+ },
111
+ "session_id": {
112
+ "type": "uuid"
113
+ }
114
+ }
115
+ },
116
+ "0x3": {
117
+ "name": "login_compression",
118
+ "id": 3,
119
+ "structure": {
120
+ "threshold": {
121
+ "type": "var_int"
122
+ }
123
+ }
124
+ },
125
+ "0x4": {
126
+ "name": "custom_query",
127
+ "id": 4,
128
+ "structure": {
129
+ "message_id": {
130
+ "type": "var_int"
131
+ },
132
+ "channel": {
133
+ "type": "string"
134
+ },
135
+ "data": {
136
+ "type": "varies"
137
+ }
138
+ }
139
+ },
140
+ "0x5": {
141
+ "name": "cookie_request",
142
+ "id": 5,
143
+ "structure": {
144
+ "key": {
145
+ "type": "string"
146
+ }
147
+ }
148
+ }
149
+ },
150
+ "serverbound": {
151
+ "0x0": {
152
+ "name": "hello",
153
+ "id": 0,
154
+ "structure": {
155
+ "name": {
156
+ "type": "string",
157
+ "length": 16
158
+ },
159
+ "player_uuid": {
160
+ "type": "uuid"
161
+ }
162
+ }
163
+ },
164
+ "0x1": {
165
+ "name": "key",
166
+ "id": 1,
167
+ "structure": {
168
+ "shared_secret": {
169
+ "type": "prefixed_array",
170
+ "subType": {
171
+ "type": "byte"
172
+ }
173
+ },
174
+ "verify_token": {
175
+ "type": "prefixed_array",
176
+ "subType": {
177
+ "type": "byte"
178
+ }
179
+ }
180
+ }
181
+ },
182
+ "0x2": {
183
+ "name": "custom_query_answer",
184
+ "id": 2,
185
+ "structure": {
186
+ "message_id": {
187
+ "type": "var_int"
188
+ },
189
+ "data": {
190
+ "type": "prefixed_optional",
191
+ "subType": {
192
+ "type": "varies"
193
+ }
194
+ }
195
+ }
196
+ },
197
+ "0x3": {
198
+ "name": "login_acknowledged",
199
+ "id": 3,
200
+ "structure": {}
201
+ },
202
+ "0x4": {
203
+ "name": "cookie_response",
204
+ "id": 4,
205
+ "structure": {
206
+ "key": {
207
+ "type": "string"
208
+ },
209
+ "payload": {
210
+ "type": "prefixed_optional",
211
+ "subType": {
212
+ "type": "prefixed_array",
213
+ "length": 5120,
214
+ "subType": {
215
+ "type": "byte"
216
+ }
217
+ }
218
+ }
219
+ }
220
+ }
221
+ }
222
+ },
223
+ "configuration": {
224
+ "clientbound": {
225
+ "0x0": {
226
+ "name": "cookie_request",
227
+ "id": 0,
228
+ "structure": {
229
+ "key": {
230
+ "type": "string"
231
+ }
232
+ }
233
+ },
234
+ "0x1": {
235
+ "name": "custom_payload",
236
+ "id": 1,
237
+ "structure": {
238
+ "channel": {
239
+ "type": "string"
240
+ },
241
+ "data": {
242
+ "type": "varies"
243
+ }
244
+ }
245
+ },
246
+ "0x2": {
247
+ "name": "disconnect",
248
+ "id": 2,
249
+ "structure": {
250
+ "reason": {
251
+ "type": "nbt"
252
+ }
253
+ }
254
+ },
255
+ "0x3": {
256
+ "name": "finish_configuration",
257
+ "id": 3,
258
+ "structure": {}
259
+ },
260
+ "0x4": {
261
+ "name": "keep_alive",
262
+ "id": 4,
263
+ "structure": {
264
+ "keep_alive_id": {
265
+ "type": "long"
266
+ }
267
+ }
268
+ },
269
+ "0x5": {
270
+ "name": "ping",
271
+ "id": 5,
272
+ "structure": {
273
+ "id": {
274
+ "type": "int"
275
+ }
276
+ }
277
+ },
278
+ "0x6": {
279
+ "name": "reset_chat",
280
+ "id": 6,
281
+ "structure": {}
282
+ },
283
+ "0x7": {
284
+ "name": "registry_data",
285
+ "id": 7,
286
+ "structure": {
287
+ "registry_id": {
288
+ "type": "string"
289
+ },
290
+ "entries": {
291
+ "type": "prefixed_array",
292
+ "subType": {
293
+ "type": "object",
294
+ "fields": {
295
+ "entry_id": {
296
+ "type": "string"
297
+ },
298
+ "data": {
299
+ "type": "prefixed_optional",
300
+ "subType": {
301
+ "type": "nbt"
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "0x8": {
310
+ "name": "resource_pack_pop",
311
+ "id": 8,
312
+ "structure": {
313
+ "uuid": {
314
+ "type": "prefixed_optional",
315
+ "subType": {
316
+ "type": "uuid"
317
+ }
318
+ }
319
+ }
320
+ },
321
+ "0x9": {
322
+ "name": "resource_pack_push",
323
+ "id": 9,
324
+ "structure": {
325
+ "uuid": {
326
+ "type": "uuid"
327
+ },
328
+ "url": {
329
+ "type": "string",
330
+ "length": 32767
331
+ },
332
+ "hash": {
333
+ "type": "string",
334
+ "length": 40
335
+ },
336
+ "forced": {
337
+ "type": "boolean"
338
+ },
339
+ "prompt_message": {
340
+ "type": "prefixed_optional",
341
+ "subType": {
342
+ "type": "nbt"
343
+ }
344
+ }
345
+ }
346
+ },
347
+ "0xA": {
348
+ "name": "post_effects",
349
+ "id": 10,
350
+ "structure": {
351
+ "post_effects": {
352
+ "type": "prefixed_array",
353
+ "subType": {
354
+ "type": "string"
355
+ }
356
+ }
357
+ }
358
+ },
359
+ "0xB": {
360
+ "name": "store_cookie",
361
+ "id": 11,
362
+ "structure": {
363
+ "key": {
364
+ "type": "string"
365
+ },
366
+ "payload": {
367
+ "type": "prefixed_array",
368
+ "length": 5120,
369
+ "subType": {
370
+ "type": "byte"
371
+ }
372
+ }
373
+ }
374
+ },
375
+ "0xC": {
376
+ "name": "transfer",
377
+ "id": 12,
378
+ "structure": {
379
+ "host": {
380
+ "type": "string",
381
+ "length": 32767
382
+ },
383
+ "port": {
384
+ "type": "var_int"
385
+ }
386
+ }
387
+ },
388
+ "0xD": {
389
+ "name": "update_enabled_features",
390
+ "id": 13,
391
+ "structure": {
392
+ "feature_flags": {
393
+ "type": "prefixed_array",
394
+ "subType": {
395
+ "type": "string"
396
+ }
397
+ }
398
+ }
399
+ },
400
+ "0xE": {
401
+ "name": "update_tags",
402
+ "id": 14,
403
+ "structure": {
404
+ "tagged_registries": {
405
+ "type": "prefixed_array",
406
+ "subType": {
407
+ "type": "object",
408
+ "fields": {
409
+ "registry": {
410
+ "type": "string"
411
+ },
412
+ "tags": {
413
+ "type": "prefixed_array",
414
+ "subType": {
415
+ "type": "not_implemented",
416
+ "comment": "Tag"
417
+ }
418
+ }
419
+ }
420
+ }
421
+ }
422
+ }
423
+ },
424
+ "0xF": {
425
+ "name": "select_known_packs",
426
+ "id": 15,
427
+ "structure": {
428
+ "known_packs": {
429
+ "type": "prefixed_array",
430
+ "subType": {
431
+ "type": "object",
432
+ "fields": {
433
+ "namespace": {
434
+ "type": "string",
435
+ "length": 32767
436
+ },
437
+ "id": {
438
+ "type": "string",
439
+ "length": 32767
440
+ },
441
+ "version": {
442
+ "type": "string",
443
+ "length": 32767
444
+ }
445
+ }
446
+ }
447
+ }
448
+ }
449
+ },
450
+ "0x10": {
451
+ "name": "custom_report_details",
452
+ "id": 16,
453
+ "structure": {
454
+ "details": {
455
+ "type": "array",
456
+ "subType": {
457
+ "type": "object",
458
+ "fields": {
459
+ "title": {
460
+ "type": "string",
461
+ "length": 128
462
+ },
463
+ "description": {
464
+ "type": "string",
465
+ "length": 4096
466
+ }
467
+ }
468
+ }
469
+ }
470
+ }
471
+ },
472
+ "0x11": {
473
+ "name": "server_links",
474
+ "id": 17,
475
+ "structure": {
476
+ "links": {
477
+ "type": "prefixed_array",
478
+ "subType": {
479
+ "type": "object",
480
+ "fields": {
481
+ "label": {
482
+ "type": "not_implemented",
483
+ "comment": "Either VarInt Enum or Text Component"
484
+ },
485
+ "url": {
486
+ "type": "string"
487
+ }
488
+ }
489
+ }
490
+ }
491
+ }
492
+ },
493
+ "0x12": {
494
+ "name": "clear_dialog",
495
+ "id": 18,
496
+ "structure": {}
497
+ },
498
+ "0x13": {
499
+ "name": "show_dialog",
500
+ "id": 19,
501
+ "structure": {
502
+ "dialog": {
503
+ "type": "nbt"
504
+ }
505
+ }
506
+ },
507
+ "0x14": {
508
+ "name": "code_of_conduct",
509
+ "id": 20,
510
+ "structure": {
511
+ "code_of_conduct": {
512
+ "type": "string"
513
+ }
514
+ }
515
+ }
516
+ },
517
+ "serverbound": {
518
+ "0x0": {
519
+ "name": "client_information",
520
+ "id": 0,
521
+ "structure": {
522
+ "locale": {
523
+ "type": "string",
524
+ "length": 16
525
+ },
526
+ "view_distance": {
527
+ "type": "byte"
528
+ },
529
+ "chat_mode": {
530
+ "type": "enum",
531
+ "subType": {
532
+ "type": "var_int"
533
+ }
534
+ },
535
+ "chat_colors": {
536
+ "type": "boolean"
537
+ },
538
+ "displayed_skin_parts": {
539
+ "type": "unsigned_byte"
540
+ },
541
+ "main_hand": {
542
+ "type": "enum",
543
+ "subType": {
544
+ "type": "var_int"
545
+ }
546
+ },
547
+ "enable_text_filtering": {
548
+ "type": "boolean"
549
+ },
550
+ "allow_server_listings": {
551
+ "type": "boolean"
552
+ },
553
+ "particle_status": {
554
+ "type": "enum",
555
+ "subType": {
556
+ "type": "var_int"
557
+ }
558
+ }
559
+ }
560
+ },
561
+ "0x1": {
562
+ "name": "cookie_response",
563
+ "id": 1,
564
+ "structure": {
565
+ "key": {
566
+ "type": "string"
567
+ },
568
+ "payload": {
569
+ "type": "prefixed_optional",
570
+ "subType": {
571
+ "type": "prefixed_array",
572
+ "length": 5120,
573
+ "subType": {
574
+ "type": "byte"
575
+ }
576
+ }
577
+ }
578
+ }
579
+ },
580
+ "0x2": {
581
+ "name": "custom_payload",
582
+ "id": 2,
583
+ "structure": {
584
+ "channel": {
585
+ "type": "string"
586
+ },
587
+ "data": {
588
+ "type": "varies"
589
+ }
590
+ }
591
+ },
592
+ "0x3": {
593
+ "name": "finish_configuration",
594
+ "id": 3,
595
+ "structure": {}
596
+ },
597
+ "0x4": {
598
+ "name": "keep_alive",
599
+ "id": 4,
600
+ "structure": {
601
+ "keep_alive_id": {
602
+ "type": "long"
603
+ }
604
+ }
605
+ },
606
+ "0x5": {
607
+ "name": "pong",
608
+ "id": 5,
609
+ "structure": {
610
+ "id": {
611
+ "type": "int"
612
+ }
613
+ }
614
+ },
615
+ "0x6": {
616
+ "name": "resource_pack",
617
+ "id": 6,
618
+ "structure": {
619
+ "uuid": {
620
+ "type": "uuid"
621
+ },
622
+ "result": {
623
+ "type": "enum",
624
+ "subType": {
625
+ "type": "var_int"
626
+ }
627
+ }
628
+ }
629
+ },
630
+ "0x7": {
631
+ "name": "select_known_packs",
632
+ "id": 7,
633
+ "structure": {
634
+ "known_packs": {
635
+ "type": "prefixed_array",
636
+ "subType": {
637
+ "type": "object",
638
+ "fields": {
639
+ "namespace": {
640
+ "type": "string",
641
+ "length": 32767
642
+ },
643
+ "id": {
644
+ "type": "string",
645
+ "length": 32767
646
+ },
647
+ "version": {
648
+ "type": "string",
649
+ "length": 32767
650
+ }
651
+ }
652
+ }
653
+ }
654
+ }
655
+ },
656
+ "0x8": {
657
+ "name": "custom_click_action",
658
+ "id": 8,
659
+ "structure": {
660
+ "id": {
661
+ "type": "string"
662
+ },
663
+ "payload_size": {
664
+ "type": "var_int"
665
+ },
666
+ "payload": {
667
+ "type": "nbt"
668
+ }
669
+ }
670
+ },
671
+ "0x9": {
672
+ "name": "accept_code_of_conduct",
673
+ "id": 9,
674
+ "structure": {}
675
+ }
676
+ }
677
+ },
678
+ "play": {
679
+ "clientbound": {
680
+ "0x0": {
681
+ "name": "bundle_delimiter",
682
+ "id": 0,
683
+ "structure": {}
684
+ },
685
+ "0x1": {
686
+ "name": "add_entity",
687
+ "id": 1,
688
+ "structure": {
689
+ "entity_id": {
690
+ "type": "var_int"
691
+ },
692
+ "entity_uuid": {
693
+ "type": "uuid"
694
+ },
695
+ "type": {
696
+ "type": "var_int"
697
+ },
698
+ "x": {
699
+ "type": "double"
700
+ },
701
+ "y": {
702
+ "type": "double"
703
+ },
704
+ "z": {
705
+ "type": "double"
706
+ },
707
+ "velocity": {
708
+ "type": "lpvec3"
709
+ },
710
+ "pitch": {
711
+ "type": "angle"
712
+ },
713
+ "yaw": {
714
+ "type": "angle"
715
+ },
716
+ "head_yaw": {
717
+ "type": "angle"
718
+ },
719
+ "data": {
720
+ "type": "var_int"
721
+ }
722
+ }
723
+ },
724
+ "0x2": {
725
+ "name": "animate",
726
+ "id": 2,
727
+ "structure": {
728
+ "entity_id": {
729
+ "type": "var_int"
730
+ },
731
+ "animation": {
732
+ "type": "unsigned_byte"
733
+ }
734
+ }
735
+ },
736
+ "0x3": {
737
+ "name": "award_stats",
738
+ "id": 3,
739
+ "structure": {
740
+ "statistics": {
741
+ "type": "prefixed_array",
742
+ "subType": {
743
+ "type": "object",
744
+ "fields": {
745
+ "category_id": {
746
+ "type": "var_int"
747
+ },
748
+ "statistic_id": {
749
+ "type": "var_int"
750
+ },
751
+ "value": {
752
+ "type": "var_int"
753
+ }
754
+ }
755
+ }
756
+ }
757
+ }
758
+ },
759
+ "0x4": {
760
+ "name": "block_changed_ack",
761
+ "id": 4,
762
+ "structure": {
763
+ "sequence_id": {
764
+ "type": "var_int"
765
+ }
766
+ }
767
+ },
768
+ "0x5": {
769
+ "name": "block_destruction",
770
+ "id": 5,
771
+ "structure": {
772
+ "entity_id": {
773
+ "type": "var_int"
774
+ },
775
+ "location": {
776
+ "type": "position"
777
+ },
778
+ "destroy_stage": {
779
+ "type": "unsigned_byte"
780
+ }
781
+ }
782
+ },
783
+ "0x6": {
784
+ "name": "block_entity_data",
785
+ "id": 6,
786
+ "structure": {
787
+ "location": {
788
+ "type": "position"
789
+ },
790
+ "type": {
791
+ "type": "var_int"
792
+ },
793
+ "nbt_data": {
794
+ "type": "nbt"
795
+ }
796
+ }
797
+ },
798
+ "0x7": {
799
+ "name": "block_event",
800
+ "id": 7,
801
+ "structure": {
802
+ "location": {
803
+ "type": "position"
804
+ },
805
+ "action_id_byte_1": {
806
+ "type": "unsigned_byte"
807
+ },
808
+ "action_parameter_byte_2": {
809
+ "type": "unsigned_byte"
810
+ },
811
+ "block_type": {
812
+ "type": "var_int"
813
+ }
814
+ }
815
+ },
816
+ "0x8": {
817
+ "name": "block_update",
818
+ "id": 8,
819
+ "structure": {
820
+ "location": {
821
+ "type": "position"
822
+ },
823
+ "block_id": {
824
+ "type": "var_int"
825
+ }
826
+ }
827
+ },
828
+ "0xA": {
829
+ "name": "change_difficulty",
830
+ "id": 10,
831
+ "structure": {
832
+ "difficulty": {
833
+ "type": "enum",
834
+ "subType": {
835
+ "type": "unsigned_byte"
836
+ }
837
+ },
838
+ "difficulty_locked": {
839
+ "type": "boolean"
840
+ }
841
+ }
842
+ },
843
+ "0xB": {
844
+ "name": "chunk_batch_finished",
845
+ "id": 11,
846
+ "structure": {
847
+ "batch_size": {
848
+ "type": "var_int"
849
+ }
850
+ }
851
+ },
852
+ "0xC": {
853
+ "name": "chunk_batch_start",
854
+ "id": 12,
855
+ "structure": {}
856
+ },
857
+ "0xD": {
858
+ "name": "chunks_biomes",
859
+ "id": 13,
860
+ "structure": {
861
+ "chunk_biome_data": {
862
+ "type": "prefixed_array",
863
+ "subType": {
864
+ "type": "object",
865
+ "fields": {
866
+ "chunk_z": {
867
+ "type": "int"
868
+ },
869
+ "chunk_x": {
870
+ "type": "int"
871
+ },
872
+ "data": {
873
+ "type": "prefixed_array",
874
+ "subType": {
875
+ "type": "byte"
876
+ }
877
+ }
878
+ }
879
+ }
880
+ }
881
+ }
882
+ },
883
+ "0xE": {
884
+ "name": "clear_titles",
885
+ "id": 14,
886
+ "structure": {
887
+ "reset": {
888
+ "type": "boolean"
889
+ }
890
+ }
891
+ },
892
+ "0xF": {
893
+ "name": "command_suggestions",
894
+ "id": 15,
895
+ "structure": {
896
+ "id": {
897
+ "type": "var_int"
898
+ },
899
+ "start": {
900
+ "type": "var_int"
901
+ },
902
+ "length": {
903
+ "type": "var_int"
904
+ },
905
+ "matches": {
906
+ "type": "prefixed_array",
907
+ "subType": {
908
+ "type": "object",
909
+ "fields": {
910
+ "match": {
911
+ "type": "string",
912
+ "length": 32767
913
+ },
914
+ "tooltip": {
915
+ "type": "prefixed_optional",
916
+ "subType": {
917
+ "type": "nbt"
918
+ }
919
+ }
920
+ }
921
+ }
922
+ }
923
+ }
924
+ },
925
+ "0x10": {
926
+ "name": "commands",
927
+ "id": 16,
928
+ "structure": {
929
+ "nodes": {
930
+ "type": "prefixed_array",
931
+ "subType": {
932
+ "type": "not_implemented",
933
+ "comment": "Node"
934
+ }
935
+ },
936
+ "root_index": {
937
+ "type": "var_int"
938
+ }
939
+ }
940
+ },
941
+ "0x11": {
942
+ "name": "container_close",
943
+ "id": 17,
944
+ "structure": {
945
+ "window_id": {
946
+ "type": "var_int"
947
+ }
948
+ }
949
+ },
950
+ "0x12": {
951
+ "name": "container_set_content",
952
+ "id": 18,
953
+ "structure": {
954
+ "window_id": {
955
+ "type": "var_int"
956
+ },
957
+ "state_id": {
958
+ "type": "var_int"
959
+ },
960
+ "slot_data": {
961
+ "type": "prefixed_array",
962
+ "subType": {
963
+ "type": "slot"
964
+ }
965
+ },
966
+ "carried_item": {
967
+ "type": "slot"
968
+ }
969
+ }
970
+ },
971
+ "0x13": {
972
+ "name": "container_set_data",
973
+ "id": 19,
974
+ "structure": {
975
+ "window_id": {
976
+ "type": "var_int"
977
+ },
978
+ "property": {
979
+ "type": "short"
980
+ },
981
+ "value": {
982
+ "type": "short"
983
+ }
984
+ }
985
+ },
986
+ "0x14": {
987
+ "name": "container_set_slot",
988
+ "id": 20,
989
+ "structure": {
990
+ "window_id": {
991
+ "type": "var_int"
992
+ },
993
+ "state_id": {
994
+ "type": "var_int"
995
+ },
996
+ "slot": {
997
+ "type": "short"
998
+ },
999
+ "slot_data": {
1000
+ "type": "slot"
1001
+ }
1002
+ }
1003
+ },
1004
+ "0x15": {
1005
+ "name": "cookie_request",
1006
+ "id": 21,
1007
+ "structure": {
1008
+ "key": {
1009
+ "type": "string"
1010
+ }
1011
+ }
1012
+ },
1013
+ "0x16": {
1014
+ "name": "cooldown",
1015
+ "id": 22,
1016
+ "structure": {
1017
+ "cooldown_group": {
1018
+ "type": "string"
1019
+ },
1020
+ "cooldown_ticks": {
1021
+ "type": "var_int"
1022
+ }
1023
+ }
1024
+ },
1025
+ "0x17": {
1026
+ "name": "custom_chat_completions",
1027
+ "id": 23,
1028
+ "structure": {
1029
+ "action": {
1030
+ "type": "enum",
1031
+ "subType": {
1032
+ "type": "var_int"
1033
+ }
1034
+ },
1035
+ "entries": {
1036
+ "type": "prefixed_array",
1037
+ "subType": {
1038
+ "type": "string",
1039
+ "length": 32767
1040
+ }
1041
+ }
1042
+ }
1043
+ },
1044
+ "0x18": {
1045
+ "name": "custom_payload",
1046
+ "id": 24,
1047
+ "structure": {
1048
+ "channel": {
1049
+ "type": "string"
1050
+ },
1051
+ "data": {
1052
+ "type": "varies"
1053
+ }
1054
+ }
1055
+ },
1056
+ "0x19": {
1057
+ "name": "damage_event",
1058
+ "id": 25,
1059
+ "structure": {
1060
+ "entity_id": {
1061
+ "type": "var_int"
1062
+ },
1063
+ "source_type_id": {
1064
+ "type": "var_int"
1065
+ },
1066
+ "source_cause_id": {
1067
+ "type": "var_int"
1068
+ },
1069
+ "source_direct_id": {
1070
+ "type": "var_int"
1071
+ },
1072
+ "source_position": {
1073
+ "type": "prefixed_optional",
1074
+ "subType": {
1075
+ "type": "object",
1076
+ "fields": {
1077
+ "x": {
1078
+ "type": "double"
1079
+ },
1080
+ "y": {
1081
+ "type": "double"
1082
+ },
1083
+ "z": {
1084
+ "type": "double"
1085
+ }
1086
+ }
1087
+ }
1088
+ }
1089
+ }
1090
+ },
1091
+ "0x1A": {
1092
+ "name": "debug_block_value",
1093
+ "id": 26,
1094
+ "structure": {
1095
+ "location": {
1096
+ "type": "position"
1097
+ },
1098
+ "update": {
1099
+ "type": "not_implemented",
1100
+ "comment": "Debug Subscription Update"
1101
+ }
1102
+ }
1103
+ },
1104
+ "0x1B": {
1105
+ "name": "debug_chunk_value",
1106
+ "id": 27,
1107
+ "structure": {
1108
+ "chunk_z": {
1109
+ "type": "int"
1110
+ },
1111
+ "chunk_x": {
1112
+ "type": "int"
1113
+ },
1114
+ "update": {
1115
+ "type": "not_implemented",
1116
+ "comment": "Debug Subscription Update"
1117
+ }
1118
+ }
1119
+ },
1120
+ "0x1C": {
1121
+ "name": "debug_entity_value",
1122
+ "id": 28,
1123
+ "structure": {
1124
+ "entity_id": {
1125
+ "type": "var_int"
1126
+ },
1127
+ "update": {
1128
+ "type": "not_implemented",
1129
+ "comment": "Debug Subscription Update"
1130
+ }
1131
+ }
1132
+ },
1133
+ "0x1D": {
1134
+ "name": "debug_event",
1135
+ "id": 29,
1136
+ "structure": {
1137
+ "event": {
1138
+ "type": "not_implemented",
1139
+ "comment": "Debug Subscription Event"
1140
+ }
1141
+ }
1142
+ },
1143
+ "0x1E": {
1144
+ "name": "debug_sample",
1145
+ "id": 30,
1146
+ "structure": {
1147
+ "sample": {
1148
+ "type": "prefixed_array",
1149
+ "subType": {
1150
+ "type": "long"
1151
+ }
1152
+ },
1153
+ "sample_type": {
1154
+ "type": "enum",
1155
+ "subType": {
1156
+ "type": "var_int"
1157
+ }
1158
+ }
1159
+ }
1160
+ },
1161
+ "0x1F": {
1162
+ "name": "delete_chat",
1163
+ "id": 31,
1164
+ "structure": {
1165
+ "message_id": {
1166
+ "type": "var_int"
1167
+ },
1168
+ "signature": {
1169
+ "type": "prefixed_optional",
1170
+ "subType": {
1171
+ "type": "array",
1172
+ "length": 256,
1173
+ "subType": {
1174
+ "type": "byte"
1175
+ }
1176
+ }
1177
+ }
1178
+ }
1179
+ },
1180
+ "0x20": {
1181
+ "name": "disconnect",
1182
+ "id": 32,
1183
+ "structure": {
1184
+ "reason": {
1185
+ "type": "nbt"
1186
+ }
1187
+ }
1188
+ },
1189
+ "0x21": {
1190
+ "name": "disguised_chat",
1191
+ "id": 33,
1192
+ "structure": {
1193
+ "message": {
1194
+ "type": "nbt"
1195
+ },
1196
+ "chat_type": {
1197
+ "type": "id_or_x",
1198
+ "subType": {
1199
+ "type": "chat_type"
1200
+ }
1201
+ },
1202
+ "sender_name": {
1203
+ "type": "nbt"
1204
+ },
1205
+ "target_name": {
1206
+ "type": "prefixed_optional",
1207
+ "subType": {
1208
+ "type": "nbt"
1209
+ }
1210
+ }
1211
+ }
1212
+ },
1213
+ "0x22": {
1214
+ "name": "entity_event",
1215
+ "id": 34,
1216
+ "structure": {
1217
+ "entity_id": {
1218
+ "type": "int"
1219
+ },
1220
+ "entity_status": {
1221
+ "type": "enum",
1222
+ "subType": {
1223
+ "type": "byte"
1224
+ }
1225
+ }
1226
+ }
1227
+ },
1228
+ "0x23": {
1229
+ "name": "entity_position_sync",
1230
+ "id": 35,
1231
+ "structure": {
1232
+ "entity_id": {
1233
+ "type": "var_int"
1234
+ },
1235
+ "position_path_type": {
1236
+ "type": "enum",
1237
+ "subType": {
1238
+ "type": "var_int"
1239
+ }
1240
+ },
1241
+ "path_type_0_linear": {
1242
+ "type": "double",
1243
+ "subType": {
1244
+ "type": "object",
1245
+ "fields": {
1246
+ "x": {
1247
+ "type": "not_implemented",
1248
+ "comment": "Absolute end position."
1249
+ },
1250
+ "path_type_0_linear": {
1251
+ "type": "not_implemented",
1252
+ "comment": "Z"
1253
+ }
1254
+ }
1255
+ }
1256
+ },
1257
+ "steps": {
1258
+ "type": "prefixed_array",
1259
+ "subType": {
1260
+ "type": "not_implemented",
1261
+ "comment": "Position Step"
1262
+ }
1263
+ },
1264
+ "yaw": {
1265
+ "type": "float"
1266
+ },
1267
+ "pitch": {
1268
+ "type": "float"
1269
+ },
1270
+ "on_ground": {
1271
+ "type": "boolean"
1272
+ }
1273
+ }
1274
+ },
1275
+ "0x24": {
1276
+ "name": "explode",
1277
+ "id": 36,
1278
+ "structure": {
1279
+ "x": {
1280
+ "type": "double"
1281
+ },
1282
+ "y": {
1283
+ "type": "double"
1284
+ },
1285
+ "z": {
1286
+ "type": "double"
1287
+ },
1288
+ "radius": {
1289
+ "type": "float"
1290
+ },
1291
+ "block_count": {
1292
+ "type": "int"
1293
+ },
1294
+ "player_delta_velocity": {
1295
+ "type": "prefixed_optional",
1296
+ "subType": {
1297
+ "type": "object",
1298
+ "fields": {
1299
+ "x": {
1300
+ "type": "double"
1301
+ },
1302
+ "y": {
1303
+ "type": "double"
1304
+ },
1305
+ "z": {
1306
+ "type": "double"
1307
+ }
1308
+ }
1309
+ }
1310
+ },
1311
+ "explosion_particle_id": {
1312
+ "type": "var_int"
1313
+ },
1314
+ "explosion_particle_data": {
1315
+ "type": "varies"
1316
+ },
1317
+ "explosion_sound": {
1318
+ "type": "id_or_x",
1319
+ "subType": {
1320
+ "type": "not_implemented",
1321
+ "comment": "Sound Event"
1322
+ }
1323
+ },
1324
+ "block_particle_alternatives": {
1325
+ "type": "prefixed_array",
1326
+ "subType": {
1327
+ "type": "object",
1328
+ "fields": {
1329
+ "particle_id": {
1330
+ "type": "var_int"
1331
+ },
1332
+ "particle_data": {
1333
+ "type": "varies"
1334
+ },
1335
+ "scaling": {
1336
+ "type": "float"
1337
+ },
1338
+ "speed": {
1339
+ "type": "float"
1340
+ },
1341
+ "weight": {
1342
+ "type": "var_int"
1343
+ }
1344
+ }
1345
+ }
1346
+ },
1347
+ "play_sound": {
1348
+ "type": "boolean"
1349
+ }
1350
+ }
1351
+ },
1352
+ "0x25": {
1353
+ "name": "add_transient_block",
1354
+ "id": 37,
1355
+ "structure": {
1356
+ "location": {
1357
+ "type": "position"
1358
+ },
1359
+ "block_state": {
1360
+ "type": "var_int"
1361
+ }
1362
+ }
1363
+ },
1364
+ "0x26": {
1365
+ "name": "forget_level_chunk",
1366
+ "id": 38,
1367
+ "structure": {
1368
+ "chunk_z": {
1369
+ "type": "int"
1370
+ },
1371
+ "chunk_x": {
1372
+ "type": "int"
1373
+ }
1374
+ }
1375
+ },
1376
+ "0x27": {
1377
+ "name": "game_event",
1378
+ "id": 39,
1379
+ "structure": {
1380
+ "event": {
1381
+ "type": "unsigned_byte"
1382
+ },
1383
+ "value": {
1384
+ "type": "float"
1385
+ }
1386
+ }
1387
+ },
1388
+ "0x28": {
1389
+ "name": "game_rule_values",
1390
+ "id": 40,
1391
+ "structure": {
1392
+ "rules": {
1393
+ "type": "prefixed_array",
1394
+ "subType": {
1395
+ "type": "object",
1396
+ "fields": {
1397
+ "name": {
1398
+ "type": "string"
1399
+ },
1400
+ "value": {
1401
+ "type": "string",
1402
+ "length": 32767
1403
+ }
1404
+ }
1405
+ }
1406
+ }
1407
+ }
1408
+ },
1409
+ "0x29": {
1410
+ "name": "game_test_highlight_pos",
1411
+ "id": 41,
1412
+ "structure": {
1413
+ "absolute_location": {
1414
+ "type": "position"
1415
+ },
1416
+ "relative_location": {
1417
+ "type": "position"
1418
+ }
1419
+ }
1420
+ },
1421
+ "0x2A": {
1422
+ "name": "mount_screen_open",
1423
+ "id": 42,
1424
+ "structure": {
1425
+ "window_id": {
1426
+ "type": "var_int"
1427
+ },
1428
+ "inventory_columns_count": {
1429
+ "type": "var_int"
1430
+ },
1431
+ "entity_id": {
1432
+ "type": "int"
1433
+ }
1434
+ }
1435
+ },
1436
+ "0x2B": {
1437
+ "name": "hurt_animation",
1438
+ "id": 43,
1439
+ "structure": {
1440
+ "entity_id": {
1441
+ "type": "var_int"
1442
+ },
1443
+ "yaw": {
1444
+ "type": "float"
1445
+ }
1446
+ }
1447
+ },
1448
+ "0x2C": {
1449
+ "name": "initialize_border",
1450
+ "id": 44,
1451
+ "structure": {
1452
+ "center_x": {
1453
+ "type": "double"
1454
+ },
1455
+ "center_z": {
1456
+ "type": "double"
1457
+ },
1458
+ "old_diameter": {
1459
+ "type": "double"
1460
+ },
1461
+ "new_diameter": {
1462
+ "type": "double"
1463
+ },
1464
+ "speed": {
1465
+ "type": "var_long"
1466
+ },
1467
+ "portal_teleport_boundary": {
1468
+ "type": "var_int"
1469
+ },
1470
+ "warning_blocks": {
1471
+ "type": "var_int"
1472
+ },
1473
+ "warning_time": {
1474
+ "type": "var_int"
1475
+ }
1476
+ }
1477
+ },
1478
+ "0x2D": {
1479
+ "name": "keep_alive",
1480
+ "id": 45,
1481
+ "structure": {
1482
+ "keep_alive_id": {
1483
+ "type": "long"
1484
+ }
1485
+ }
1486
+ },
1487
+ "0x2E": {
1488
+ "name": "level_chunk_with_light",
1489
+ "id": 46,
1490
+ "structure": {
1491
+ "chunk_x": {
1492
+ "type": "int"
1493
+ },
1494
+ "chunk_z": {
1495
+ "type": "int"
1496
+ },
1497
+ "heightmaps": {
1498
+ "type": "prefixed_array",
1499
+ "subType": {
1500
+ "type": "heightmap"
1501
+ }
1502
+ },
1503
+ "data": {
1504
+ "type": "prefixed_array",
1505
+ "subType": {
1506
+ "type": "byte"
1507
+ }
1508
+ },
1509
+ "block_entities": {
1510
+ "type": "prefixed_array",
1511
+ "subType": {
1512
+ "type": "object",
1513
+ "fields": {
1514
+ "packed_xz": {
1515
+ "type": "unsigned_byte"
1516
+ },
1517
+ "y": {
1518
+ "type": "short"
1519
+ },
1520
+ "type": {
1521
+ "type": "var_int"
1522
+ },
1523
+ "data": {
1524
+ "type": "nbt"
1525
+ }
1526
+ }
1527
+ }
1528
+ },
1529
+ "light": {
1530
+ "type": "not_implemented",
1531
+ "comment": "Light Data"
1532
+ }
1533
+ }
1534
+ },
1535
+ "0x2F": {
1536
+ "name": "level_event",
1537
+ "id": 47,
1538
+ "structure": {
1539
+ "event": {
1540
+ "type": "int"
1541
+ },
1542
+ "location": {
1543
+ "type": "position"
1544
+ },
1545
+ "data": {
1546
+ "type": "int"
1547
+ },
1548
+ "disable_relative_volume": {
1549
+ "type": "boolean"
1550
+ }
1551
+ }
1552
+ },
1553
+ "0x30": {
1554
+ "name": "level_particles",
1555
+ "id": 48,
1556
+ "structure": {
1557
+ "particle_id": {
1558
+ "type": "var_int"
1559
+ },
1560
+ "data": {
1561
+ "type": "varies"
1562
+ },
1563
+ "override_limiter": {
1564
+ "type": "boolean"
1565
+ },
1566
+ "always_visible": {
1567
+ "type": "boolean"
1568
+ },
1569
+ "x": {
1570
+ "type": "double"
1571
+ },
1572
+ "y": {
1573
+ "type": "double"
1574
+ },
1575
+ "z": {
1576
+ "type": "double"
1577
+ },
1578
+ "x_distance": {
1579
+ "type": "float"
1580
+ },
1581
+ "y_distance": {
1582
+ "type": "float"
1583
+ },
1584
+ "z_distance": {
1585
+ "type": "float"
1586
+ },
1587
+ "x_max_speed": {
1588
+ "type": "float"
1589
+ },
1590
+ "y_max_speed": {
1591
+ "type": "float"
1592
+ },
1593
+ "z_max_speed": {
1594
+ "type": "float"
1595
+ },
1596
+ "particle_count": {
1597
+ "type": "var_int"
1598
+ },
1599
+ "randomization_type": {
1600
+ "type": "enum",
1601
+ "subType": {
1602
+ "type": "var_int"
1603
+ }
1604
+ }
1605
+ }
1606
+ },
1607
+ "0x31": {
1608
+ "name": "light_update",
1609
+ "id": 49,
1610
+ "structure": {
1611
+ "chunk_x": {
1612
+ "type": "var_int"
1613
+ },
1614
+ "chunk_z": {
1615
+ "type": "var_int"
1616
+ },
1617
+ "data": {
1618
+ "type": "not_implemented",
1619
+ "comment": "Light Data"
1620
+ }
1621
+ }
1622
+ },
1623
+ "0x32": {
1624
+ "name": "login",
1625
+ "id": 50,
1626
+ "structure": {
1627
+ "entity_id": {
1628
+ "type": "int"
1629
+ },
1630
+ "is_hardcore": {
1631
+ "type": "boolean"
1632
+ },
1633
+ "dimension_names": {
1634
+ "type": "prefixed_array",
1635
+ "subType": {
1636
+ "type": "string"
1637
+ }
1638
+ },
1639
+ "max_players": {
1640
+ "type": "var_int"
1641
+ },
1642
+ "view_distance": {
1643
+ "type": "var_int"
1644
+ },
1645
+ "simulation_distance": {
1646
+ "type": "var_int"
1647
+ },
1648
+ "reduced_debug_info": {
1649
+ "type": "boolean"
1650
+ },
1651
+ "enable_respawn_screen": {
1652
+ "type": "boolean"
1653
+ },
1654
+ "do_limited_crafting": {
1655
+ "type": "boolean"
1656
+ },
1657
+ "dimension_type": {
1658
+ "type": "var_int"
1659
+ },
1660
+ "dimension_name": {
1661
+ "type": "string"
1662
+ },
1663
+ "hashed_seed": {
1664
+ "type": "long"
1665
+ },
1666
+ "game_mode": {
1667
+ "type": "enum",
1668
+ "subType": {
1669
+ "type": "var_int"
1670
+ }
1671
+ },
1672
+ "previous_game_mode": {
1673
+ "type": "enum",
1674
+ "subType": {
1675
+ "type": "var_int"
1676
+ }
1677
+ },
1678
+ "is_debug": {
1679
+ "type": "boolean"
1680
+ },
1681
+ "is_flat": {
1682
+ "type": "boolean"
1683
+ },
1684
+ "has_death_location": {
1685
+ "type": "boolean"
1686
+ },
1687
+ "death_dimension_name": {
1688
+ "type": "prefixed_optional",
1689
+ "subType": {
1690
+ "type": "string"
1691
+ }
1692
+ },
1693
+ "death_location": {
1694
+ "type": "prefixed_optional",
1695
+ "subType": {
1696
+ "type": "position"
1697
+ }
1698
+ },
1699
+ "portal_cooldown": {
1700
+ "type": "var_int"
1701
+ },
1702
+ "sea_level": {
1703
+ "type": "var_int"
1704
+ },
1705
+ "online_mode": {
1706
+ "type": "boolean"
1707
+ },
1708
+ "enforces_secure_chat": {
1709
+ "type": "boolean"
1710
+ }
1711
+ }
1712
+ },
1713
+ "0x33": {
1714
+ "name": "low_disk_space_warning",
1715
+ "id": 51,
1716
+ "structure": {}
1717
+ },
1718
+ "0x34": {
1719
+ "name": "map_item_data",
1720
+ "id": 52,
1721
+ "structure": {
1722
+ "map_id": {
1723
+ "type": "var_int"
1724
+ },
1725
+ "scale": {
1726
+ "type": "byte"
1727
+ },
1728
+ "locked": {
1729
+ "type": "boolean"
1730
+ },
1731
+ "color_patch": {
1732
+ "type": "unsigned_byte",
1733
+ "subType": {
1734
+ "type": "object",
1735
+ "fields": {
1736
+ "columns": {
1737
+ "type": "not_implemented",
1738
+ "comment": "Number of columns updated"
1739
+ },
1740
+ "rows": {
1741
+ "type": "prefixed_optional",
1742
+ "subType": {
1743
+ "type": "unsigned_byte"
1744
+ }
1745
+ },
1746
+ "x": {
1747
+ "type": "prefixed_optional",
1748
+ "subType": {
1749
+ "type": "unsigned_byte"
1750
+ }
1751
+ },
1752
+ "z": {
1753
+ "type": "prefixed_optional",
1754
+ "subType": {
1755
+ "type": "unsigned_byte"
1756
+ }
1757
+ },
1758
+ "data": {
1759
+ "type": "prefixed_optional",
1760
+ "subType": {
1761
+ "type": "prefixed_array",
1762
+ "subType": {
1763
+ "type": "unsigned_byte"
1764
+ }
1765
+ }
1766
+ }
1767
+ }
1768
+ }
1769
+ }
1770
+ }
1771
+ },
1772
+ "0x35": {
1773
+ "name": "merchant_offers",
1774
+ "id": 53,
1775
+ "structure": {
1776
+ "window_id": {
1777
+ "type": "var_int"
1778
+ },
1779
+ "trades": {
1780
+ "type": "prefixed_array",
1781
+ "subType": {
1782
+ "type": "object",
1783
+ "fields": {
1784
+ "input_item_1": {
1785
+ "type": "not_implemented",
1786
+ "comment": "Trade Item"
1787
+ },
1788
+ "output_item": {
1789
+ "type": "slot"
1790
+ },
1791
+ "input_item_2": {
1792
+ "type": "prefixed_optional",
1793
+ "subType": {
1794
+ "type": "not_implemented",
1795
+ "comment": "Trade Item"
1796
+ }
1797
+ },
1798
+ "trade_disabled": {
1799
+ "type": "boolean"
1800
+ },
1801
+ "number_of_trade_uses": {
1802
+ "type": "int"
1803
+ },
1804
+ "maximum_number_of_trade_uses": {
1805
+ "type": "int"
1806
+ },
1807
+ "xp": {
1808
+ "type": "int"
1809
+ },
1810
+ "special_price": {
1811
+ "type": "int"
1812
+ },
1813
+ "price_multiplier": {
1814
+ "type": "float"
1815
+ },
1816
+ "demand": {
1817
+ "type": "int"
1818
+ }
1819
+ }
1820
+ }
1821
+ },
1822
+ "villager_level": {
1823
+ "type": "var_int"
1824
+ },
1825
+ "experience": {
1826
+ "type": "var_int"
1827
+ },
1828
+ "is_regular_villager": {
1829
+ "type": "boolean"
1830
+ },
1831
+ "can_restock": {
1832
+ "type": "boolean"
1833
+ }
1834
+ }
1835
+ },
1836
+ "0x36": {
1837
+ "name": "move_entity_pos",
1838
+ "id": 54,
1839
+ "structure": {}
1840
+ },
1841
+ "0x37": {
1842
+ "name": "move_entity_pos_rot",
1843
+ "id": 55,
1844
+ "structure": {}
1845
+ },
1846
+ "0x38": {
1847
+ "name": "move_minecart_along_track",
1848
+ "id": 56,
1849
+ "structure": {
1850
+ "entity_id": {
1851
+ "type": "var_int"
1852
+ },
1853
+ "steps": {
1854
+ "type": "prefixed_array",
1855
+ "subType": {
1856
+ "type": "object",
1857
+ "fields": {
1858
+ "x": {
1859
+ "type": "double"
1860
+ },
1861
+ "y": {
1862
+ "type": "double"
1863
+ },
1864
+ "z": {
1865
+ "type": "double"
1866
+ },
1867
+ "velocity_x": {
1868
+ "type": "double"
1869
+ },
1870
+ "velocity_y": {
1871
+ "type": "double"
1872
+ },
1873
+ "velocity_z": {
1874
+ "type": "double"
1875
+ },
1876
+ "yaw": {
1877
+ "type": "angle"
1878
+ },
1879
+ "pitch": {
1880
+ "type": "angle"
1881
+ },
1882
+ "weight": {
1883
+ "type": "float"
1884
+ }
1885
+ }
1886
+ }
1887
+ }
1888
+ }
1889
+ },
1890
+ "0x39": {
1891
+ "name": "move_entity_rot",
1892
+ "id": 57,
1893
+ "structure": {
1894
+ "entity_id": {
1895
+ "type": "var_int"
1896
+ },
1897
+ "on_ground": {
1898
+ "type": "boolean"
1899
+ },
1900
+ "yaw": {
1901
+ "type": "angle"
1902
+ },
1903
+ "pitch": {
1904
+ "type": "angle"
1905
+ }
1906
+ }
1907
+ },
1908
+ "0x3A": {
1909
+ "name": "move_vehicle",
1910
+ "id": 58,
1911
+ "structure": {
1912
+ "x": {
1913
+ "type": "double"
1914
+ },
1915
+ "y": {
1916
+ "type": "double"
1917
+ },
1918
+ "z": {
1919
+ "type": "double"
1920
+ },
1921
+ "yaw": {
1922
+ "type": "float"
1923
+ },
1924
+ "pitch": {
1925
+ "type": "float"
1926
+ }
1927
+ }
1928
+ },
1929
+ "0x3B": {
1930
+ "name": "open_book",
1931
+ "id": 59,
1932
+ "structure": {
1933
+ "hand": {
1934
+ "type": "enum",
1935
+ "subType": {
1936
+ "type": "var_int"
1937
+ }
1938
+ }
1939
+ }
1940
+ },
1941
+ "0x3C": {
1942
+ "name": "open_screen",
1943
+ "id": 60,
1944
+ "structure": {
1945
+ "window_id": {
1946
+ "type": "var_int"
1947
+ },
1948
+ "window_type": {
1949
+ "type": "var_int"
1950
+ },
1951
+ "window_title": {
1952
+ "type": "nbt"
1953
+ }
1954
+ }
1955
+ },
1956
+ "0x3D": {
1957
+ "name": "open_sign_editor",
1958
+ "id": 61,
1959
+ "structure": {
1960
+ "location": {
1961
+ "type": "position"
1962
+ },
1963
+ "text_slot": {
1964
+ "type": "enum",
1965
+ "subType": {
1966
+ "type": "var_int"
1967
+ }
1968
+ }
1969
+ }
1970
+ },
1971
+ "0x3E": {
1972
+ "name": "ping",
1973
+ "id": 62,
1974
+ "structure": {
1975
+ "id": {
1976
+ "type": "int"
1977
+ }
1978
+ }
1979
+ },
1980
+ "0x3F": {
1981
+ "name": "pong_response",
1982
+ "id": 63,
1983
+ "structure": {}
1984
+ },
1985
+ "0x40": {
1986
+ "name": "place_ghost_recipe",
1987
+ "id": 64,
1988
+ "structure": {
1989
+ "window_id": {
1990
+ "type": "var_int"
1991
+ },
1992
+ "recipe_display": {
1993
+ "type": "not_implemented",
1994
+ "comment": "Recipe Display"
1995
+ }
1996
+ }
1997
+ },
1998
+ "0x41": {
1999
+ "name": "player_abilities",
2000
+ "id": 65,
2001
+ "structure": {
2002
+ "flags": {
2003
+ "type": "byte"
2004
+ },
2005
+ "flying_speed": {
2006
+ "type": "float"
2007
+ },
2008
+ "field_of_view_modifier": {
2009
+ "type": "float"
2010
+ }
2011
+ }
2012
+ },
2013
+ "0x42": {
2014
+ "name": "player_chat",
2015
+ "id": 66,
2016
+ "structure": {
2017
+ "global_index": {
2018
+ "type": "var_int"
2019
+ },
2020
+ "sender": {
2021
+ "type": "uuid"
2022
+ },
2023
+ "index": {
2024
+ "type": "var_int"
2025
+ },
2026
+ "message_signature_bytes": {
2027
+ "type": "prefixed_optional",
2028
+ "subType": {
2029
+ "type": "array",
2030
+ "length": 256,
2031
+ "subType": {
2032
+ "type": "byte"
2033
+ }
2034
+ }
2035
+ },
2036
+ "message": {
2037
+ "type": "string",
2038
+ "length": 256
2039
+ },
2040
+ "timestamp": {
2041
+ "type": "long"
2042
+ },
2043
+ "salt": {
2044
+ "type": "long"
2045
+ },
2046
+ "message_id": {
2047
+ "type": "var_int"
2048
+ },
2049
+ "signature": {
2050
+ "type": "prefixed_optional",
2051
+ "subType": {
2052
+ "type": "array",
2053
+ "length": 256,
2054
+ "subType": {
2055
+ "type": "byte"
2056
+ }
2057
+ }
2058
+ },
2059
+ "unsigned_content": {
2060
+ "type": "prefixed_optional",
2061
+ "subType": {
2062
+ "type": "nbt"
2063
+ }
2064
+ },
2065
+ "filter_type": {
2066
+ "type": "enum",
2067
+ "subType": {
2068
+ "type": "var_int"
2069
+ }
2070
+ },
2071
+ "filter_type_bits": {
2072
+ "type": "prefixed_optional",
2073
+ "subType": {
2074
+ "type": "bitset"
2075
+ }
2076
+ },
2077
+ "chat_type": {
2078
+ "type": "id_or_x",
2079
+ "subType": {
2080
+ "type": "chat_type"
2081
+ }
2082
+ },
2083
+ "sender_name": {
2084
+ "type": "nbt"
2085
+ },
2086
+ "target_name": {
2087
+ "type": "prefixed_optional",
2088
+ "subType": {
2089
+ "type": "nbt"
2090
+ }
2091
+ }
2092
+ }
2093
+ },
2094
+ "0x43": {
2095
+ "name": "player_combat_end",
2096
+ "id": 67,
2097
+ "structure": {
2098
+ "duration": {
2099
+ "type": "var_int"
2100
+ }
2101
+ }
2102
+ },
2103
+ "0x44": {
2104
+ "name": "player_combat_enter",
2105
+ "id": 68,
2106
+ "structure": {}
2107
+ },
2108
+ "0x45": {
2109
+ "name": "player_combat_kill",
2110
+ "id": 69,
2111
+ "structure": {
2112
+ "player_id": {
2113
+ "type": "var_int"
2114
+ },
2115
+ "message": {
2116
+ "type": "nbt"
2117
+ }
2118
+ }
2119
+ },
2120
+ "0x46": {
2121
+ "name": "player_info_remove",
2122
+ "id": 70,
2123
+ "structure": {
2124
+ "uui_ds": {
2125
+ "type": "prefixed_array",
2126
+ "subType": {
2127
+ "type": "uuid"
2128
+ }
2129
+ }
2130
+ }
2131
+ },
2132
+ "0x47": {
2133
+ "name": "player_info_update",
2134
+ "id": 71,
2135
+ "structure": {
2136
+ "actions": {
2137
+ "type": "unsigned_byte"
2138
+ },
2139
+ "players": {
2140
+ "type": "prefixed_array",
2141
+ "subType": {
2142
+ "type": "object",
2143
+ "fields": {
2144
+ "uuid": {
2145
+ "type": "uuid"
2146
+ },
2147
+ "player_actions": {
2148
+ "type": "not_implemented",
2149
+ "comment": "Array of Player Actions"
2150
+ }
2151
+ }
2152
+ }
2153
+ }
2154
+ }
2155
+ },
2156
+ "0x48": {
2157
+ "name": "player_look_at",
2158
+ "id": 72,
2159
+ "structure": {
2160
+ "feet_eyes": {
2161
+ "type": "enum",
2162
+ "subType": {
2163
+ "type": "var_int"
2164
+ }
2165
+ },
2166
+ "target_x": {
2167
+ "type": "double"
2168
+ },
2169
+ "target_y": {
2170
+ "type": "double"
2171
+ },
2172
+ "target_z": {
2173
+ "type": "double"
2174
+ },
2175
+ "is_entity": {
2176
+ "type": "boolean"
2177
+ },
2178
+ "entity_id": {
2179
+ "type": "prefixed_optional",
2180
+ "subType": {
2181
+ "type": "var_int"
2182
+ }
2183
+ },
2184
+ "entity_feet_eyes": {
2185
+ "type": "prefixed_optional",
2186
+ "subType": {
2187
+ "type": "enum",
2188
+ "subType": {
2189
+ "type": "var_int"
2190
+ }
2191
+ }
2192
+ }
2193
+ }
2194
+ },
2195
+ "0x49": {
2196
+ "name": "player_position",
2197
+ "id": 73,
2198
+ "structure": {
2199
+ "teleport_id": {
2200
+ "type": "var_int"
2201
+ },
2202
+ "x": {
2203
+ "type": "double"
2204
+ },
2205
+ "y": {
2206
+ "type": "double"
2207
+ },
2208
+ "z": {
2209
+ "type": "double"
2210
+ },
2211
+ "velocity_x": {
2212
+ "type": "double"
2213
+ },
2214
+ "velocity_y": {
2215
+ "type": "double"
2216
+ },
2217
+ "velocity_z": {
2218
+ "type": "double"
2219
+ },
2220
+ "yaw": {
2221
+ "type": "float"
2222
+ },
2223
+ "pitch": {
2224
+ "type": "float"
2225
+ },
2226
+ "flags": {
2227
+ "type": "teleport_flag"
2228
+ }
2229
+ }
2230
+ },
2231
+ "0x4A": {
2232
+ "name": "player_rotation",
2233
+ "id": 74,
2234
+ "structure": {
2235
+ "yaw": {
2236
+ "type": "float"
2237
+ },
2238
+ "relative_yaw": {
2239
+ "type": "boolean"
2240
+ },
2241
+ "pitch": {
2242
+ "type": "float"
2243
+ },
2244
+ "relative_pitch": {
2245
+ "type": "boolean"
2246
+ }
2247
+ }
2248
+ },
2249
+ "0x4B": {
2250
+ "name": "recipe_book_add",
2251
+ "id": 75,
2252
+ "structure": {
2253
+ "recipes": {
2254
+ "type": "prefixed_array",
2255
+ "subType": {
2256
+ "type": "object",
2257
+ "fields": {
2258
+ "recipe_id": {
2259
+ "type": "var_int"
2260
+ },
2261
+ "display": {
2262
+ "type": "not_implemented",
2263
+ "comment": "Recipe Display"
2264
+ },
2265
+ "group_id": {
2266
+ "type": "var_int"
2267
+ },
2268
+ "category_id": {
2269
+ "type": "var_int"
2270
+ },
2271
+ "ingredients": {
2272
+ "type": "prefixed_optional",
2273
+ "subType": {
2274
+ "type": "prefixed_array",
2275
+ "subType": {
2276
+ "type": "not_implemented",
2277
+ "comment": "ID Set"
2278
+ }
2279
+ }
2280
+ },
2281
+ "flags": {
2282
+ "type": "byte"
2283
+ }
2284
+ }
2285
+ }
2286
+ },
2287
+ "replace": {
2288
+ "type": "boolean"
2289
+ }
2290
+ }
2291
+ },
2292
+ "0x4C": {
2293
+ "name": "recipe_book_remove",
2294
+ "id": 76,
2295
+ "structure": {
2296
+ "recipes": {
2297
+ "type": "prefixed_array",
2298
+ "subType": {
2299
+ "type": "var_int"
2300
+ }
2301
+ }
2302
+ }
2303
+ },
2304
+ "0x4D": {
2305
+ "name": "recipe_book_settings",
2306
+ "id": 77,
2307
+ "structure": {
2308
+ "crafting_recipe_book_open": {
2309
+ "type": "boolean"
2310
+ },
2311
+ "crafting_recipe_book_filter_active": {
2312
+ "type": "boolean"
2313
+ },
2314
+ "smelting_recipe_book_open": {
2315
+ "type": "boolean"
2316
+ },
2317
+ "smelting_recipe_book_filter_active": {
2318
+ "type": "boolean"
2319
+ },
2320
+ "blast_furnace_recipe_book_open": {
2321
+ "type": "boolean"
2322
+ },
2323
+ "blast_furnace_recipe_book_filter_active": {
2324
+ "type": "boolean"
2325
+ },
2326
+ "smoker_recipe_book_open": {
2327
+ "type": "boolean"
2328
+ },
2329
+ "smoker_recipe_book_filter_active": {
2330
+ "type": "boolean"
2331
+ }
2332
+ }
2333
+ },
2334
+ "0x4E": {
2335
+ "name": "remove_entities",
2336
+ "id": 78,
2337
+ "structure": {
2338
+ "entity_i_ds": {
2339
+ "type": "prefixed_array",
2340
+ "subType": {
2341
+ "type": "var_int"
2342
+ }
2343
+ }
2344
+ }
2345
+ },
2346
+ "0x4F": {
2347
+ "name": "remove_mob_effect",
2348
+ "id": 79,
2349
+ "structure": {
2350
+ "entity_id": {
2351
+ "type": "var_int"
2352
+ },
2353
+ "effect_id": {
2354
+ "type": "var_int"
2355
+ }
2356
+ }
2357
+ },
2358
+ "0x50": {
2359
+ "name": "reset_score",
2360
+ "id": 80,
2361
+ "structure": {
2362
+ "entity_name": {
2363
+ "type": "string",
2364
+ "length": 32767
2365
+ },
2366
+ "objective_name": {
2367
+ "type": "prefixed_optional",
2368
+ "subType": {
2369
+ "type": "string",
2370
+ "length": 32767
2371
+ }
2372
+ }
2373
+ }
2374
+ },
2375
+ "0x51": {
2376
+ "name": "resource_pack_pop",
2377
+ "id": 81,
2378
+ "structure": {
2379
+ "uuid": {
2380
+ "type": "prefixed_optional",
2381
+ "subType": {
2382
+ "type": "uuid"
2383
+ }
2384
+ }
2385
+ }
2386
+ },
2387
+ "0x52": {
2388
+ "name": "resource_pack_push",
2389
+ "id": 82,
2390
+ "structure": {
2391
+ "uuid": {
2392
+ "type": "uuid"
2393
+ },
2394
+ "url": {
2395
+ "type": "string",
2396
+ "length": 32767
2397
+ },
2398
+ "hash": {
2399
+ "type": "string",
2400
+ "length": 40
2401
+ },
2402
+ "forced": {
2403
+ "type": "boolean"
2404
+ },
2405
+ "prompt_message": {
2406
+ "type": "prefixed_optional",
2407
+ "subType": {
2408
+ "type": "nbt"
2409
+ }
2410
+ }
2411
+ }
2412
+ },
2413
+ "0x53": {
2414
+ "name": "post_effects",
2415
+ "id": 83,
2416
+ "structure": {
2417
+ "post_effects": {
2418
+ "type": "prefixed_array",
2419
+ "subType": {
2420
+ "type": "string"
2421
+ }
2422
+ }
2423
+ }
2424
+ },
2425
+ "0x54": {
2426
+ "name": "respawn",
2427
+ "id": 84,
2428
+ "structure": {
2429
+ "dimension_type": {
2430
+ "type": "var_int"
2431
+ },
2432
+ "dimension_name": {
2433
+ "type": "string"
2434
+ },
2435
+ "hashed_seed": {
2436
+ "type": "long"
2437
+ },
2438
+ "game_mode": {
2439
+ "type": "enum",
2440
+ "subType": {
2441
+ "type": "var_int"
2442
+ }
2443
+ },
2444
+ "previous_game_mode": {
2445
+ "type": "enum",
2446
+ "subType": {
2447
+ "type": "var_int"
2448
+ }
2449
+ },
2450
+ "is_debug": {
2451
+ "type": "boolean"
2452
+ },
2453
+ "is_flat": {
2454
+ "type": "boolean"
2455
+ },
2456
+ "has_death_location": {
2457
+ "type": "boolean"
2458
+ },
2459
+ "death_dimension_name": {
2460
+ "type": "prefixed_optional",
2461
+ "subType": {
2462
+ "type": "string"
2463
+ }
2464
+ },
2465
+ "death_location": {
2466
+ "type": "prefixed_optional",
2467
+ "subType": {
2468
+ "type": "position"
2469
+ }
2470
+ },
2471
+ "portal_cooldown": {
2472
+ "type": "var_int"
2473
+ },
2474
+ "sea_level": {
2475
+ "type": "var_int"
2476
+ },
2477
+ "data_kept": {
2478
+ "type": "byte"
2479
+ }
2480
+ }
2481
+ },
2482
+ "0x55": {
2483
+ "name": "rotate_head",
2484
+ "id": 85,
2485
+ "structure": {
2486
+ "entity_id": {
2487
+ "type": "var_int"
2488
+ },
2489
+ "head_yaw": {
2490
+ "type": "angle"
2491
+ }
2492
+ }
2493
+ },
2494
+ "0x56": {
2495
+ "name": "section_blocks_update",
2496
+ "id": 86,
2497
+ "structure": {
2498
+ "chunk_section_position": {
2499
+ "type": "long"
2500
+ },
2501
+ "blocks": {
2502
+ "type": "prefixed_array",
2503
+ "subType": {
2504
+ "type": "var_long"
2505
+ }
2506
+ }
2507
+ }
2508
+ },
2509
+ "0x57": {
2510
+ "name": "select_advancements_tab",
2511
+ "id": 87,
2512
+ "structure": {
2513
+ "identifier": {
2514
+ "type": "prefixed_optional",
2515
+ "subType": {
2516
+ "type": "string"
2517
+ }
2518
+ }
2519
+ }
2520
+ },
2521
+ "0x58": {
2522
+ "name": "server_data",
2523
+ "id": 88,
2524
+ "structure": {
2525
+ "motd": {
2526
+ "type": "nbt"
2527
+ },
2528
+ "icon": {
2529
+ "type": "prefixed_optional",
2530
+ "subType": {
2531
+ "type": "prefixed_array",
2532
+ "subType": {
2533
+ "type": "byte"
2534
+ }
2535
+ }
2536
+ }
2537
+ }
2538
+ },
2539
+ "0x59": {
2540
+ "name": "set_action_bar_text",
2541
+ "id": 89,
2542
+ "structure": {
2543
+ "action_bar_text": {
2544
+ "type": "nbt"
2545
+ }
2546
+ }
2547
+ },
2548
+ "0x5A": {
2549
+ "name": "set_border_center",
2550
+ "id": 90,
2551
+ "structure": {
2552
+ "x": {
2553
+ "type": "double"
2554
+ },
2555
+ "z": {
2556
+ "type": "double"
2557
+ }
2558
+ }
2559
+ },
2560
+ "0x5B": {
2561
+ "name": "set_border_lerp_size",
2562
+ "id": 91,
2563
+ "structure": {
2564
+ "old_diameter": {
2565
+ "type": "double"
2566
+ },
2567
+ "new_diameter": {
2568
+ "type": "double"
2569
+ },
2570
+ "speed": {
2571
+ "type": "var_long"
2572
+ }
2573
+ }
2574
+ },
2575
+ "0x5C": {
2576
+ "name": "set_border_size",
2577
+ "id": 92,
2578
+ "structure": {
2579
+ "diameter": {
2580
+ "type": "double"
2581
+ }
2582
+ }
2583
+ },
2584
+ "0x5D": {
2585
+ "name": "set_border_warning_delay",
2586
+ "id": 93,
2587
+ "structure": {
2588
+ "warning_time": {
2589
+ "type": "var_int"
2590
+ }
2591
+ }
2592
+ },
2593
+ "0x5E": {
2594
+ "name": "set_border_warning_distance",
2595
+ "id": 94,
2596
+ "structure": {
2597
+ "warning_blocks": {
2598
+ "type": "var_int"
2599
+ }
2600
+ }
2601
+ },
2602
+ "0x5F": {
2603
+ "name": "set_camera",
2604
+ "id": 95,
2605
+ "structure": {
2606
+ "camera_id": {
2607
+ "type": "var_int"
2608
+ }
2609
+ }
2610
+ },
2611
+ "0x60": {
2612
+ "name": "set_chunk_cache_center",
2613
+ "id": 96,
2614
+ "structure": {
2615
+ "chunk_x": {
2616
+ "type": "var_int"
2617
+ },
2618
+ "chunk_z": {
2619
+ "type": "var_int"
2620
+ }
2621
+ }
2622
+ },
2623
+ "0x61": {
2624
+ "name": "set_chunk_cache_radius",
2625
+ "id": 97,
2626
+ "structure": {
2627
+ "view_distance": {
2628
+ "type": "var_int"
2629
+ }
2630
+ }
2631
+ },
2632
+ "0x62": {
2633
+ "name": "set_cursor_item",
2634
+ "id": 98,
2635
+ "structure": {
2636
+ "carried_item": {
2637
+ "type": "slot"
2638
+ }
2639
+ }
2640
+ },
2641
+ "0x63": {
2642
+ "name": "set_default_spawn_position",
2643
+ "id": 99,
2644
+ "structure": {
2645
+ "dimension_name": {
2646
+ "type": "string"
2647
+ },
2648
+ "location": {
2649
+ "type": "position"
2650
+ },
2651
+ "yaw": {
2652
+ "type": "float"
2653
+ },
2654
+ "pitch": {
2655
+ "type": "float"
2656
+ }
2657
+ }
2658
+ },
2659
+ "0x64": {
2660
+ "name": "set_display_objective",
2661
+ "id": 100,
2662
+ "structure": {
2663
+ "position": {
2664
+ "type": "var_int"
2665
+ },
2666
+ "score_name": {
2667
+ "type": "string",
2668
+ "length": 32767
2669
+ }
2670
+ }
2671
+ },
2672
+ "0x65": {
2673
+ "name": "set_entity_data",
2674
+ "id": 101,
2675
+ "structure": {
2676
+ "entity_id": {
2677
+ "type": "var_int"
2678
+ },
2679
+ "metadata": {
2680
+ "type": "not_implemented",
2681
+ "comment": "Entity Metadata"
2682
+ }
2683
+ }
2684
+ },
2685
+ "0x66": {
2686
+ "name": "set_entity_link",
2687
+ "id": 102,
2688
+ "structure": {
2689
+ "attached_entity_id": {
2690
+ "type": "int"
2691
+ },
2692
+ "holding_entity_id": {
2693
+ "type": "int"
2694
+ }
2695
+ }
2696
+ },
2697
+ "0x67": {
2698
+ "name": "set_entity_motion",
2699
+ "id": 103,
2700
+ "structure": {
2701
+ "entity_id": {
2702
+ "type": "var_int"
2703
+ },
2704
+ "velocity": {
2705
+ "type": "lpvec3"
2706
+ }
2707
+ }
2708
+ },
2709
+ "0x68": {
2710
+ "name": "set_equipment",
2711
+ "id": 104,
2712
+ "structure": {
2713
+ "entity_id": {
2714
+ "type": "var_int"
2715
+ },
2716
+ "equipment": {
2717
+ "type": "not_implemented",
2718
+ "subType": {
2719
+ "type": "object",
2720
+ "fields": {
2721
+ "slot": {
2722
+ "type": "enum",
2723
+ "subType": {
2724
+ "type": "byte"
2725
+ }
2726
+ },
2727
+ "item": {
2728
+ "type": "slot"
2729
+ }
2730
+ }
2731
+ }
2732
+ }
2733
+ }
2734
+ },
2735
+ "0x69": {
2736
+ "name": "set_experience",
2737
+ "id": 105,
2738
+ "structure": {
2739
+ "experience_bar": {
2740
+ "type": "float"
2741
+ },
2742
+ "level": {
2743
+ "type": "var_int"
2744
+ },
2745
+ "total_experience": {
2746
+ "type": "var_int"
2747
+ }
2748
+ }
2749
+ },
2750
+ "0x6A": {
2751
+ "name": "set_health",
2752
+ "id": 106,
2753
+ "structure": {
2754
+ "health": {
2755
+ "type": "float"
2756
+ },
2757
+ "food": {
2758
+ "type": "var_int"
2759
+ },
2760
+ "food_saturation": {
2761
+ "type": "float"
2762
+ }
2763
+ }
2764
+ },
2765
+ "0x6B": {
2766
+ "name": "set_held_slot",
2767
+ "id": 107,
2768
+ "structure": {
2769
+ "slot": {
2770
+ "type": "var_int"
2771
+ }
2772
+ }
2773
+ },
2774
+ "0x6D": {
2775
+ "name": "set_passengers",
2776
+ "id": 109,
2777
+ "structure": {
2778
+ "entity_id": {
2779
+ "type": "var_int"
2780
+ },
2781
+ "passengers": {
2782
+ "type": "prefixed_array",
2783
+ "subType": {
2784
+ "type": "var_int"
2785
+ }
2786
+ }
2787
+ }
2788
+ },
2789
+ "0x6E": {
2790
+ "name": "set_player_inventory",
2791
+ "id": 110,
2792
+ "structure": {
2793
+ "slot": {
2794
+ "type": "var_int"
2795
+ },
2796
+ "slot_data": {
2797
+ "type": "slot"
2798
+ }
2799
+ }
2800
+ },
2801
+ "0x6F": {
2802
+ "name": "set_player_team",
2803
+ "id": 111,
2804
+ "structure": {
2805
+ "team_name": {
2806
+ "type": "string",
2807
+ "length": 32767
2808
+ },
2809
+ "method": {
2810
+ "type": "byte"
2811
+ },
2812
+ "0_create_team": {
2813
+ "type": "nbt",
2814
+ "subType": {
2815
+ "type": "object",
2816
+ "fields": {
2817
+ "team_display_name": {
2818
+ "type": "not_implemented",
2819
+ "comment": ""
2820
+ },
2821
+ "team_prefix": {
2822
+ "type": "nbt"
2823
+ },
2824
+ "team_suffix": {
2825
+ "type": "nbt"
2826
+ },
2827
+ "name_tag_visibility": {
2828
+ "type": "enum",
2829
+ "subType": {
2830
+ "type": "var_int"
2831
+ }
2832
+ },
2833
+ "collision_rule": {
2834
+ "type": "enum",
2835
+ "subType": {
2836
+ "type": "var_int"
2837
+ }
2838
+ },
2839
+ "team_color": {
2840
+ "type": "enum",
2841
+ "subType": {
2842
+ "type": "var_int"
2843
+ }
2844
+ },
2845
+ "friendly_flags": {
2846
+ "type": "byte"
2847
+ },
2848
+ "entities": {
2849
+ "type": "prefixed_array",
2850
+ "subType": {
2851
+ "type": "string",
2852
+ "length": 32767
2853
+ }
2854
+ }
2855
+ }
2856
+ }
2857
+ },
2858
+ "no_fields": {
2859
+ "type": "not_implemented",
2860
+ "comment": "no fields"
2861
+ },
2862
+ "2_update_team_info": {
2863
+ "type": "nbt",
2864
+ "subType": {
2865
+ "type": "object",
2866
+ "fields": {
2867
+ "team_display_name": {
2868
+ "type": "not_implemented",
2869
+ "comment": ""
2870
+ },
2871
+ "team_prefix": {
2872
+ "type": "nbt"
2873
+ },
2874
+ "team_suffix": {
2875
+ "type": "nbt"
2876
+ },
2877
+ "name_tag_visibility": {
2878
+ "type": "enum",
2879
+ "subType": {
2880
+ "type": "var_int"
2881
+ }
2882
+ },
2883
+ "collision_rule": {
2884
+ "type": "enum",
2885
+ "subType": {
2886
+ "type": "var_int"
2887
+ }
2888
+ },
2889
+ "team_color": {
2890
+ "type": "enum",
2891
+ "subType": {
2892
+ "type": "var_int"
2893
+ }
2894
+ },
2895
+ "friendly_flags": {
2896
+ "type": "byte"
2897
+ }
2898
+ }
2899
+ }
2900
+ },
2901
+ "entities": {
2902
+ "type": "prefixed_array",
2903
+ "subType": {
2904
+ "type": "string",
2905
+ "length": 32767
2906
+ }
2907
+ }
2908
+ }
2909
+ },
2910
+ "0x71": {
2911
+ "name": "set_simulation_distance",
2912
+ "id": 113,
2913
+ "structure": {
2914
+ "simulation_distance": {
2915
+ "type": "var_int"
2916
+ }
2917
+ }
2918
+ },
2919
+ "0x72": {
2920
+ "name": "set_subtitle_text",
2921
+ "id": 114,
2922
+ "structure": {
2923
+ "subtitle_text": {
2924
+ "type": "nbt"
2925
+ }
2926
+ }
2927
+ },
2928
+ "0x73": {
2929
+ "name": "set_time",
2930
+ "id": 115,
2931
+ "structure": {
2932
+ "world_age": {
2933
+ "type": "long"
2934
+ },
2935
+ "clocks": {
2936
+ "type": "prefixed_array",
2937
+ "subType": {
2938
+ "type": "object",
2939
+ "fields": {
2940
+ "clock_id": {
2941
+ "type": "var_int"
2942
+ },
2943
+ "time": {
2944
+ "type": "var_long"
2945
+ },
2946
+ "fractional_time": {
2947
+ "type": "float"
2948
+ },
2949
+ "rate": {
2950
+ "type": "float"
2951
+ }
2952
+ }
2953
+ }
2954
+ }
2955
+ }
2956
+ },
2957
+ "0x74": {
2958
+ "name": "set_title_text",
2959
+ "id": 116,
2960
+ "structure": {
2961
+ "title_text": {
2962
+ "type": "nbt"
2963
+ }
2964
+ }
2965
+ },
2966
+ "0x75": {
2967
+ "name": "set_titles_animation",
2968
+ "id": 117,
2969
+ "structure": {
2970
+ "fade_in": {
2971
+ "type": "int"
2972
+ },
2973
+ "stay": {
2974
+ "type": "int"
2975
+ },
2976
+ "fade_out": {
2977
+ "type": "int"
2978
+ }
2979
+ }
2980
+ },
2981
+ "0x76": {
2982
+ "name": "sound_entity",
2983
+ "id": 118,
2984
+ "structure": {
2985
+ "sound_event": {
2986
+ "type": "id_or_x",
2987
+ "subType": {
2988
+ "type": "not_implemented",
2989
+ "comment": "Sound Event"
2990
+ }
2991
+ },
2992
+ "sound_category": {
2993
+ "type": "enum",
2994
+ "subType": {
2995
+ "type": "var_int"
2996
+ }
2997
+ },
2998
+ "entity_id": {
2999
+ "type": "var_int"
3000
+ },
3001
+ "volume": {
3002
+ "type": "float"
3003
+ },
3004
+ "pitch": {
3005
+ "type": "float"
3006
+ },
3007
+ "seed": {
3008
+ "type": "long"
3009
+ }
3010
+ }
3011
+ },
3012
+ "0x77": {
3013
+ "name": "sound",
3014
+ "id": 119,
3015
+ "structure": {
3016
+ "sound_event": {
3017
+ "type": "id_or_x",
3018
+ "subType": {
3019
+ "type": "not_implemented",
3020
+ "comment": "Sound Event"
3021
+ }
3022
+ },
3023
+ "sound_category": {
3024
+ "type": "enum",
3025
+ "subType": {
3026
+ "type": "var_int"
3027
+ }
3028
+ },
3029
+ "effect_position_x": {
3030
+ "type": "int"
3031
+ },
3032
+ "effect_position_y": {
3033
+ "type": "int"
3034
+ },
3035
+ "effect_position_z": {
3036
+ "type": "int"
3037
+ },
3038
+ "volume": {
3039
+ "type": "float"
3040
+ },
3041
+ "pitch": {
3042
+ "type": "float"
3043
+ },
3044
+ "seed": {
3045
+ "type": "long"
3046
+ }
3047
+ }
3048
+ },
3049
+ "0x78": {
3050
+ "name": "start_configuration",
3051
+ "id": 120,
3052
+ "structure": {}
3053
+ },
3054
+ "0x79": {
3055
+ "name": "stop_sound",
3056
+ "id": 121,
3057
+ "structure": {
3058
+ "flags": {
3059
+ "type": "byte"
3060
+ },
3061
+ "source": {
3062
+ "type": "prefixed_optional",
3063
+ "subType": {
3064
+ "type": "enum",
3065
+ "subType": {
3066
+ "type": "var_int"
3067
+ }
3068
+ }
3069
+ },
3070
+ "sound": {
3071
+ "type": "prefixed_optional",
3072
+ "subType": {
3073
+ "type": "string"
3074
+ }
3075
+ }
3076
+ }
3077
+ },
3078
+ "0x7A": {
3079
+ "name": "store_cookie",
3080
+ "id": 122,
3081
+ "structure": {
3082
+ "key": {
3083
+ "type": "string"
3084
+ },
3085
+ "payload": {
3086
+ "type": "prefixed_array",
3087
+ "length": 5120,
3088
+ "subType": {
3089
+ "type": "byte"
3090
+ }
3091
+ }
3092
+ }
3093
+ },
3094
+ "0x7B": {
3095
+ "name": "swing_animation",
3096
+ "id": 123,
3097
+ "structure": {
3098
+ "entity_id": {
3099
+ "type": "var_int"
3100
+ },
3101
+ "hand": {
3102
+ "type": "enum",
3103
+ "subType": {
3104
+ "type": "var_int"
3105
+ }
3106
+ },
3107
+ "animation_type": {
3108
+ "type": "enum",
3109
+ "subType": {
3110
+ "type": "var_int"
3111
+ }
3112
+ },
3113
+ "duration": {
3114
+ "type": "var_int"
3115
+ }
3116
+ }
3117
+ },
3118
+ "0x7C": {
3119
+ "name": "system_chat",
3120
+ "id": 124,
3121
+ "structure": {
3122
+ "content": {
3123
+ "type": "nbt"
3124
+ },
3125
+ "overlay": {
3126
+ "type": "boolean"
3127
+ }
3128
+ }
3129
+ },
3130
+ "0x7D": {
3131
+ "name": "tab_list",
3132
+ "id": 125,
3133
+ "structure": {
3134
+ "header": {
3135
+ "type": "nbt"
3136
+ },
3137
+ "footer": {
3138
+ "type": "nbt"
3139
+ }
3140
+ }
3141
+ },
3142
+ "0x7E": {
3143
+ "name": "tag_query",
3144
+ "id": 126,
3145
+ "structure": {
3146
+ "transaction_id": {
3147
+ "type": "var_int"
3148
+ },
3149
+ "nbt": {
3150
+ "type": "nbt"
3151
+ }
3152
+ }
3153
+ },
3154
+ "0x7F": {
3155
+ "name": "take_item_entity",
3156
+ "id": 127,
3157
+ "structure": {
3158
+ "collected_entity_id": {
3159
+ "type": "var_int"
3160
+ },
3161
+ "collector_entity_id": {
3162
+ "type": "var_int"
3163
+ },
3164
+ "pickup_item_count": {
3165
+ "type": "var_int"
3166
+ }
3167
+ }
3168
+ },
3169
+ "0x80": {
3170
+ "name": "teleport_entity",
3171
+ "id": 128,
3172
+ "structure": {
3173
+ "entity_id": {
3174
+ "type": "var_int"
3175
+ },
3176
+ "x": {
3177
+ "type": "double"
3178
+ },
3179
+ "y": {
3180
+ "type": "double"
3181
+ },
3182
+ "z": {
3183
+ "type": "double"
3184
+ },
3185
+ "velocity_x": {
3186
+ "type": "double"
3187
+ },
3188
+ "velocity_y": {
3189
+ "type": "double"
3190
+ },
3191
+ "velocity_z": {
3192
+ "type": "double"
3193
+ },
3194
+ "yaw": {
3195
+ "type": "float"
3196
+ },
3197
+ "pitch": {
3198
+ "type": "float"
3199
+ },
3200
+ "flags": {
3201
+ "type": "teleport_flag"
3202
+ },
3203
+ "on_ground": {
3204
+ "type": "boolean"
3205
+ }
3206
+ }
3207
+ },
3208
+ "0x81": {
3209
+ "name": "test_instance_block_status",
3210
+ "id": 129,
3211
+ "structure": {
3212
+ "status": {
3213
+ "type": "nbt"
3214
+ },
3215
+ "has_size": {
3216
+ "type": "boolean"
3217
+ },
3218
+ "size_x": {
3219
+ "type": "prefixed_optional",
3220
+ "subType": {
3221
+ "type": "double"
3222
+ }
3223
+ },
3224
+ "size_y": {
3225
+ "type": "prefixed_optional",
3226
+ "subType": {
3227
+ "type": "double"
3228
+ }
3229
+ },
3230
+ "size_z": {
3231
+ "type": "prefixed_optional",
3232
+ "subType": {
3233
+ "type": "double"
3234
+ }
3235
+ }
3236
+ }
3237
+ },
3238
+ "0x82": {
3239
+ "name": "ticking_state",
3240
+ "id": 130,
3241
+ "structure": {
3242
+ "tick_rate": {
3243
+ "type": "float"
3244
+ },
3245
+ "is_frozen": {
3246
+ "type": "boolean"
3247
+ }
3248
+ }
3249
+ },
3250
+ "0x83": {
3251
+ "name": "ticking_step",
3252
+ "id": 131,
3253
+ "structure": {
3254
+ "tick_steps": {
3255
+ "type": "var_int"
3256
+ }
3257
+ }
3258
+ },
3259
+ "0x84": {
3260
+ "name": "transfer",
3261
+ "id": 132,
3262
+ "structure": {
3263
+ "host": {
3264
+ "type": "string",
3265
+ "length": 32767
3266
+ },
3267
+ "port": {
3268
+ "type": "var_int"
3269
+ }
3270
+ }
3271
+ },
3272
+ "0x85": {
3273
+ "name": "update_advancements",
3274
+ "id": 133,
3275
+ "structure": {
3276
+ "reset_clear": {
3277
+ "type": "boolean"
3278
+ },
3279
+ "advancement_mapping": {
3280
+ "type": "prefixed_array",
3281
+ "subType": {
3282
+ "type": "object",
3283
+ "fields": {
3284
+ "key": {
3285
+ "type": "string"
3286
+ },
3287
+ "value": {
3288
+ "type": "not_implemented",
3289
+ "comment": "Advancement"
3290
+ }
3291
+ }
3292
+ }
3293
+ },
3294
+ "identifiers": {
3295
+ "type": "prefixed_array",
3296
+ "subType": {
3297
+ "type": "string"
3298
+ }
3299
+ },
3300
+ "progress_mapping": {
3301
+ "type": "prefixed_array",
3302
+ "subType": {
3303
+ "type": "object",
3304
+ "fields": {
3305
+ "key": {
3306
+ "type": "string"
3307
+ },
3308
+ "value": {
3309
+ "type": "not_implemented",
3310
+ "comment": "Advancement progress"
3311
+ }
3312
+ }
3313
+ }
3314
+ },
3315
+ "show_advancements": {
3316
+ "type": "boolean"
3317
+ }
3318
+ }
3319
+ },
3320
+ "0x86": {
3321
+ "name": "update_attributes",
3322
+ "id": 134,
3323
+ "structure": {
3324
+ "entity_id": {
3325
+ "type": "var_int"
3326
+ },
3327
+ "property": {
3328
+ "type": "prefixed_array",
3329
+ "subType": {
3330
+ "type": "object",
3331
+ "fields": {
3332
+ "id": {
3333
+ "type": "var_int"
3334
+ },
3335
+ "value": {
3336
+ "type": "double"
3337
+ },
3338
+ "modifiers": {
3339
+ "type": "prefixed_array",
3340
+ "subType": {
3341
+ "type": "not_implemented",
3342
+ "comment": "Modifier Data"
3343
+ }
3344
+ }
3345
+ }
3346
+ }
3347
+ }
3348
+ }
3349
+ },
3350
+ "0x87": {
3351
+ "name": "update_mob_effect",
3352
+ "id": 135,
3353
+ "structure": {
3354
+ "entity_id": {
3355
+ "type": "var_int"
3356
+ },
3357
+ "effect_id": {
3358
+ "type": "var_int"
3359
+ },
3360
+ "amplifier": {
3361
+ "type": "var_int"
3362
+ },
3363
+ "duration": {
3364
+ "type": "var_int"
3365
+ },
3366
+ "flags": {
3367
+ "type": "byte"
3368
+ }
3369
+ }
3370
+ },
3371
+ "0x88": {
3372
+ "name": "update_recipes",
3373
+ "id": 136,
3374
+ "structure": {
3375
+ "stonecutter_recipes": {
3376
+ "type": "prefixed_array",
3377
+ "subType": {
3378
+ "type": "object",
3379
+ "fields": {
3380
+ "ingredients": {
3381
+ "type": "not_implemented",
3382
+ "comment": "ID Set"
3383
+ },
3384
+ "slot_display": {
3385
+ "type": "not_implemented",
3386
+ "comment": "Slot Display"
3387
+ }
3388
+ }
3389
+ }
3390
+ }
3391
+ }
3392
+ },
3393
+ "0x89": {
3394
+ "name": "update_tags",
3395
+ "id": 137,
3396
+ "structure": {
3397
+ "tagged_registries": {
3398
+ "type": "prefixed_array",
3399
+ "subType": {
3400
+ "type": "object",
3401
+ "fields": {
3402
+ "registry": {
3403
+ "type": "string"
3404
+ },
3405
+ "tags": {
3406
+ "type": "prefixed_array",
3407
+ "subType": {
3408
+ "type": "not_implemented",
3409
+ "comment": "Tag"
3410
+ }
3411
+ }
3412
+ }
3413
+ }
3414
+ }
3415
+ }
3416
+ },
3417
+ "0x8A": {
3418
+ "name": "projectile_power",
3419
+ "id": 138,
3420
+ "structure": {
3421
+ "entity_id": {
3422
+ "type": "var_int"
3423
+ },
3424
+ "power": {
3425
+ "type": "double"
3426
+ }
3427
+ }
3428
+ },
3429
+ "0x8B": {
3430
+ "name": "custom_report_details",
3431
+ "id": 139,
3432
+ "structure": {
3433
+ "details": {
3434
+ "type": "array",
3435
+ "subType": {
3436
+ "type": "object",
3437
+ "fields": {
3438
+ "title": {
3439
+ "type": "string",
3440
+ "length": 128
3441
+ },
3442
+ "description": {
3443
+ "type": "string",
3444
+ "length": 4096
3445
+ }
3446
+ }
3447
+ }
3448
+ }
3449
+ }
3450
+ },
3451
+ "0x8C": {
3452
+ "name": "server_links",
3453
+ "id": 140,
3454
+ "structure": {
3455
+ "links": {
3456
+ "type": "prefixed_array",
3457
+ "subType": {
3458
+ "type": "object",
3459
+ "fields": {
3460
+ "label": {
3461
+ "type": "not_implemented",
3462
+ "comment": "Either VarInt Enum or Text Component"
3463
+ },
3464
+ "url": {
3465
+ "type": "string"
3466
+ }
3467
+ }
3468
+ }
3469
+ }
3470
+ }
3471
+ },
3472
+ "0x8D": {
3473
+ "name": "waypoint",
3474
+ "id": 141,
3475
+ "structure": {
3476
+ "operation": {
3477
+ "type": "enum",
3478
+ "subType": {
3479
+ "type": "var_int"
3480
+ }
3481
+ },
3482
+ "identifier": {
3483
+ "type": "not_implemented",
3484
+ "comment": "Either Uuid or String"
3485
+ },
3486
+ "icon_style": {
3487
+ "type": "string"
3488
+ },
3489
+ "red": {
3490
+ "type": "unsigned_byte",
3491
+ "subType": {
3492
+ "type": "object",
3493
+ "fields": {
3494
+ "prefixed_optional": {
3495
+ "type": "not_implemented",
3496
+ "comment": "The color of the waypoint icon."
3497
+ },
3498
+ "green": {
3499
+ "type": "unsigned_byte"
3500
+ },
3501
+ "blue": {
3502
+ "type": "unsigned_byte"
3503
+ }
3504
+ }
3505
+ }
3506
+ },
3507
+ "waypoint_type": {
3508
+ "type": "enum",
3509
+ "subType": {
3510
+ "type": "var_int"
3511
+ }
3512
+ },
3513
+ "2_chunk": {
3514
+ "type": "var_int",
3515
+ "subType": {
3516
+ "type": "object",
3517
+ "fields": {
3518
+ "x": {
3519
+ "type": "not_implemented",
3520
+ "comment": "The chunk coordinates that the waypoint will point to."
3521
+ },
3522
+ "z": {
3523
+ "type": "var_int"
3524
+ }
3525
+ }
3526
+ }
3527
+ },
3528
+ "angle": {
3529
+ "type": "float"
3530
+ }
3531
+ }
3532
+ },
3533
+ "0x8E": {
3534
+ "name": "clear_dialog",
3535
+ "id": 142,
3536
+ "structure": {}
3537
+ },
3538
+ "0x8F": {
3539
+ "name": "show_dialog",
3540
+ "id": 143,
3541
+ "structure": {
3542
+ "dialog": {
3543
+ "type": "id_or_x",
3544
+ "subType": {
3545
+ "type": "nbt"
3546
+ }
3547
+ }
3548
+ }
3549
+ }
3550
+ },
3551
+ "serverbound": {
3552
+ "0x0": {
3553
+ "name": "accept_teleportation",
3554
+ "id": 0,
3555
+ "structure": {
3556
+ "teleport_id": {
3557
+ "type": "var_int"
3558
+ },
3559
+ "x": {
3560
+ "type": "double"
3561
+ },
3562
+ "y": {
3563
+ "type": "double"
3564
+ },
3565
+ "z": {
3566
+ "type": "double"
3567
+ },
3568
+ "yaw": {
3569
+ "type": "float"
3570
+ },
3571
+ "pitch": {
3572
+ "type": "float"
3573
+ }
3574
+ }
3575
+ },
3576
+ "0x1": {
3577
+ "name": "attack",
3578
+ "id": 1,
3579
+ "structure": {
3580
+ "entity_id": {
3581
+ "type": "var_int"
3582
+ }
3583
+ }
3584
+ },
3585
+ "0x2": {
3586
+ "name": "block_entity_tag_query",
3587
+ "id": 2,
3588
+ "structure": {
3589
+ "transaction_id": {
3590
+ "type": "var_int"
3591
+ },
3592
+ "location": {
3593
+ "type": "position"
3594
+ }
3595
+ }
3596
+ },
3597
+ "0x3": {
3598
+ "name": "bundle_item_selected",
3599
+ "id": 3,
3600
+ "structure": {
3601
+ "slot_of_bundle": {
3602
+ "type": "var_int"
3603
+ },
3604
+ "slot_in_bundle": {
3605
+ "type": "var_int"
3606
+ }
3607
+ }
3608
+ },
3609
+ "0x4": {
3610
+ "name": "change_difficulty",
3611
+ "id": 4,
3612
+ "structure": {
3613
+ "difficulty": {
3614
+ "type": "enum",
3615
+ "subType": {
3616
+ "type": "unsigned_byte"
3617
+ }
3618
+ },
3619
+ "difficulty_locked": {
3620
+ "type": "boolean"
3621
+ }
3622
+ }
3623
+ },
3624
+ "0x5": {
3625
+ "name": "change_game_mode",
3626
+ "id": 5,
3627
+ "structure": {
3628
+ "game_mode": {
3629
+ "type": "enum",
3630
+ "subType": {
3631
+ "type": "var_int"
3632
+ }
3633
+ }
3634
+ }
3635
+ },
3636
+ "0x6": {
3637
+ "name": "chat_ack",
3638
+ "id": 6,
3639
+ "structure": {
3640
+ "message_count": {
3641
+ "type": "var_int"
3642
+ }
3643
+ }
3644
+ },
3645
+ "0x7": {
3646
+ "name": "chat_command",
3647
+ "id": 7,
3648
+ "structure": {
3649
+ "command": {
3650
+ "type": "string",
3651
+ "length": 32767
3652
+ }
3653
+ }
3654
+ },
3655
+ "0x8": {
3656
+ "name": "chat_command_signed",
3657
+ "id": 8,
3658
+ "structure": {
3659
+ "command": {
3660
+ "type": "string",
3661
+ "length": 32767
3662
+ },
3663
+ "timestamp": {
3664
+ "type": "long"
3665
+ },
3666
+ "salt": {
3667
+ "type": "long"
3668
+ },
3669
+ "array_of_argument_signatures": {
3670
+ "type": "array",
3671
+ "subType": {
3672
+ "type": "object",
3673
+ "fields": {
3674
+ "argument_name": {
3675
+ "type": "string",
3676
+ "length": 16
3677
+ },
3678
+ "signature": {
3679
+ "type": "array",
3680
+ "length": 256,
3681
+ "subType": {
3682
+ "type": "byte"
3683
+ }
3684
+ }
3685
+ }
3686
+ }
3687
+ },
3688
+ "message_count": {
3689
+ "type": "var_int"
3690
+ },
3691
+ "acknowledged": {
3692
+ "type": "not_implemented",
3693
+ "length": 20
3694
+ },
3695
+ "checksum": {
3696
+ "type": "byte"
3697
+ }
3698
+ }
3699
+ },
3700
+ "0x9": {
3701
+ "name": "chat",
3702
+ "id": 9,
3703
+ "structure": {
3704
+ "message": {
3705
+ "type": "string",
3706
+ "length": 256
3707
+ },
3708
+ "timestamp": {
3709
+ "type": "long"
3710
+ },
3711
+ "salt": {
3712
+ "type": "long"
3713
+ },
3714
+ "signature": {
3715
+ "type": "prefixed_optional",
3716
+ "subType": {
3717
+ "type": "array",
3718
+ "length": 256,
3719
+ "subType": {
3720
+ "type": "byte"
3721
+ }
3722
+ }
3723
+ },
3724
+ "message_count": {
3725
+ "type": "var_int"
3726
+ },
3727
+ "acknowledged": {
3728
+ "type": "not_implemented",
3729
+ "length": 20
3730
+ },
3731
+ "checksum": {
3732
+ "type": "byte"
3733
+ }
3734
+ }
3735
+ },
3736
+ "0xA": {
3737
+ "name": "chat_session_update",
3738
+ "id": 10,
3739
+ "structure": {
3740
+ "session_id": {
3741
+ "type": "uuid"
3742
+ },
3743
+ "public_key": {
3744
+ "type": "long",
3745
+ "subType": {
3746
+ "type": "object",
3747
+ "fields": {
3748
+ "expires_at": {
3749
+ "type": "not_implemented",
3750
+ "comment": "The time the play session key expires in epoch milliseconds."
3751
+ },
3752
+ "public_key": {
3753
+ "type": "prefixed_array",
3754
+ "length": 512,
3755
+ "subType": {
3756
+ "type": "byte"
3757
+ }
3758
+ },
3759
+ "key_signature": {
3760
+ "type": "prefixed_array",
3761
+ "length": 4096,
3762
+ "subType": {
3763
+ "type": "byte"
3764
+ }
3765
+ }
3766
+ }
3767
+ }
3768
+ }
3769
+ }
3770
+ },
3771
+ "0xB": {
3772
+ "name": "chunk_batch_received",
3773
+ "id": 11,
3774
+ "structure": {
3775
+ "chunks_per_tick": {
3776
+ "type": "float"
3777
+ }
3778
+ }
3779
+ },
3780
+ "0xC": {
3781
+ "name": "client_command",
3782
+ "id": 12,
3783
+ "structure": {
3784
+ "action_id": {
3785
+ "type": "enum",
3786
+ "subType": {
3787
+ "type": "var_int"
3788
+ }
3789
+ }
3790
+ }
3791
+ },
3792
+ "0xD": {
3793
+ "name": "client_tick_end",
3794
+ "id": 13,
3795
+ "structure": {}
3796
+ },
3797
+ "0xE": {
3798
+ "name": "client_information",
3799
+ "id": 14,
3800
+ "structure": {
3801
+ "locale": {
3802
+ "type": "string",
3803
+ "length": 16
3804
+ },
3805
+ "view_distance": {
3806
+ "type": "byte"
3807
+ },
3808
+ "chat_mode": {
3809
+ "type": "enum",
3810
+ "subType": {
3811
+ "type": "var_int"
3812
+ }
3813
+ },
3814
+ "chat_colors": {
3815
+ "type": "boolean"
3816
+ },
3817
+ "displayed_skin_parts": {
3818
+ "type": "unsigned_byte"
3819
+ },
3820
+ "main_hand": {
3821
+ "type": "enum",
3822
+ "subType": {
3823
+ "type": "var_int"
3824
+ }
3825
+ },
3826
+ "enable_text_filtering": {
3827
+ "type": "boolean"
3828
+ },
3829
+ "allow_server_listings": {
3830
+ "type": "boolean"
3831
+ },
3832
+ "particle_status": {
3833
+ "type": "enum",
3834
+ "subType": {
3835
+ "type": "var_int"
3836
+ }
3837
+ }
3838
+ }
3839
+ },
3840
+ "0xF": {
3841
+ "name": "command_suggestion",
3842
+ "id": 15,
3843
+ "structure": {
3844
+ "transaction_id": {
3845
+ "type": "var_int"
3846
+ },
3847
+ "text": {
3848
+ "type": "string",
3849
+ "length": 32500
3850
+ }
3851
+ }
3852
+ },
3853
+ "0x10": {
3854
+ "name": "configuration_acknowledged",
3855
+ "id": 16,
3856
+ "structure": {}
3857
+ },
3858
+ "0x11": {
3859
+ "name": "container_button_click",
3860
+ "id": 17,
3861
+ "structure": {
3862
+ "window_id": {
3863
+ "type": "var_int"
3864
+ },
3865
+ "button_id": {
3866
+ "type": "var_int"
3867
+ }
3868
+ }
3869
+ },
3870
+ "0x12": {
3871
+ "name": "container_click",
3872
+ "id": 18,
3873
+ "structure": {
3874
+ "window_id": {
3875
+ "type": "var_int"
3876
+ },
3877
+ "state_id": {
3878
+ "type": "var_int"
3879
+ },
3880
+ "slot": {
3881
+ "type": "short"
3882
+ },
3883
+ "button": {
3884
+ "type": "byte"
3885
+ },
3886
+ "mode": {
3887
+ "type": "enum",
3888
+ "subType": {
3889
+ "type": "var_int"
3890
+ }
3891
+ },
3892
+ "array_of_changed_slots": {
3893
+ "type": "array",
3894
+ "subType": {
3895
+ "type": "object",
3896
+ "fields": {
3897
+ "slot_number": {
3898
+ "type": "short"
3899
+ },
3900
+ "slot_data": {
3901
+ "type": "not_implemented",
3902
+ "comment": "Hashed Slot"
3903
+ }
3904
+ }
3905
+ }
3906
+ },
3907
+ "carried_item": {
3908
+ "type": "not_implemented",
3909
+ "comment": "Hashed Slot"
3910
+ }
3911
+ }
3912
+ },
3913
+ "0x13": {
3914
+ "name": "container_close",
3915
+ "id": 19,
3916
+ "structure": {
3917
+ "window_id": {
3918
+ "type": "var_int"
3919
+ }
3920
+ }
3921
+ },
3922
+ "0x14": {
3923
+ "name": "container_slot_state_changed",
3924
+ "id": 20,
3925
+ "structure": {
3926
+ "slot_id": {
3927
+ "type": "var_int"
3928
+ },
3929
+ "window_id": {
3930
+ "type": "var_int"
3931
+ },
3932
+ "state": {
3933
+ "type": "boolean"
3934
+ }
3935
+ }
3936
+ },
3937
+ "0x15": {
3938
+ "name": "cookie_response",
3939
+ "id": 21,
3940
+ "structure": {
3941
+ "key": {
3942
+ "type": "string"
3943
+ },
3944
+ "payload": {
3945
+ "type": "prefixed_optional",
3946
+ "subType": {
3947
+ "type": "prefixed_array",
3948
+ "length": 5120,
3949
+ "subType": {
3950
+ "type": "byte"
3951
+ }
3952
+ }
3953
+ }
3954
+ }
3955
+ },
3956
+ "0x16": {
3957
+ "name": "custom_payload",
3958
+ "id": 22,
3959
+ "structure": {
3960
+ "channel": {
3961
+ "type": "string"
3962
+ },
3963
+ "data": {
3964
+ "type": "varies"
3965
+ }
3966
+ }
3967
+ },
3968
+ "0x17": {
3969
+ "name": "debug_subscription_request",
3970
+ "id": 23,
3971
+ "structure": {
3972
+ "subscriptions": {
3973
+ "type": "prefixed_array",
3974
+ "subType": {
3975
+ "type": "var_int"
3976
+ }
3977
+ }
3978
+ }
3979
+ },
3980
+ "0x18": {
3981
+ "name": "edit_book",
3982
+ "id": 24,
3983
+ "structure": {
3984
+ "slot": {
3985
+ "type": "var_int"
3986
+ },
3987
+ "entries": {
3988
+ "type": "prefixed_array",
3989
+ "length": 100,
3990
+ "subType": {
3991
+ "type": "string",
3992
+ "length": 1024
3993
+ }
3994
+ },
3995
+ "title": {
3996
+ "type": "prefixed_optional",
3997
+ "subType": {
3998
+ "type": "string",
3999
+ "length": 32
4000
+ }
4001
+ }
4002
+ }
4003
+ },
4004
+ "0x19": {
4005
+ "name": "entity_tag_query",
4006
+ "id": 25,
4007
+ "structure": {
4008
+ "transaction_id": {
4009
+ "type": "var_int"
4010
+ },
4011
+ "entity_id": {
4012
+ "type": "var_int"
4013
+ }
4014
+ }
4015
+ },
4016
+ "0x1A": {
4017
+ "name": "interact",
4018
+ "id": 26,
4019
+ "structure": {
4020
+ "entity_id": {
4021
+ "type": "var_int"
4022
+ },
4023
+ "hand": {
4024
+ "type": "enum",
4025
+ "subType": {
4026
+ "type": "var_int"
4027
+ }
4028
+ },
4029
+ "target_offset": {
4030
+ "type": "lpvec3"
4031
+ },
4032
+ "sneak_key_pressed": {
4033
+ "type": "boolean"
4034
+ }
4035
+ }
4036
+ },
4037
+ "0x1B": {
4038
+ "name": "jigsaw_generate",
4039
+ "id": 27,
4040
+ "structure": {
4041
+ "location": {
4042
+ "type": "position"
4043
+ },
4044
+ "levels": {
4045
+ "type": "var_int"
4046
+ },
4047
+ "keep_jigsaws": {
4048
+ "type": "boolean"
4049
+ }
4050
+ }
4051
+ },
4052
+ "0x1C": {
4053
+ "name": "keep_alive",
4054
+ "id": 28,
4055
+ "structure": {
4056
+ "keep_alive_id": {
4057
+ "type": "long"
4058
+ }
4059
+ }
4060
+ },
4061
+ "0x1D": {
4062
+ "name": "lock_difficulty",
4063
+ "id": 29,
4064
+ "structure": {
4065
+ "locked": {
4066
+ "type": "boolean"
4067
+ }
4068
+ }
4069
+ },
4070
+ "0x1E": {
4071
+ "name": "move_player_pos",
4072
+ "id": 30,
4073
+ "structure": {
4074
+ "x": {
4075
+ "type": "double"
4076
+ },
4077
+ "feet_y": {
4078
+ "type": "double"
4079
+ },
4080
+ "z": {
4081
+ "type": "double"
4082
+ },
4083
+ "flags": {
4084
+ "type": "byte"
4085
+ }
4086
+ }
4087
+ },
4088
+ "0x1F": {
4089
+ "name": "move_player_pos_rot",
4090
+ "id": 31,
4091
+ "structure": {
4092
+ "x": {
4093
+ "type": "double"
4094
+ },
4095
+ "feet_y": {
4096
+ "type": "double"
4097
+ },
4098
+ "z": {
4099
+ "type": "double"
4100
+ },
4101
+ "yaw": {
4102
+ "type": "float"
4103
+ },
4104
+ "pitch": {
4105
+ "type": "float"
4106
+ },
4107
+ "flags": {
4108
+ "type": "byte"
4109
+ }
4110
+ }
4111
+ },
4112
+ "0x20": {
4113
+ "name": "move_player_rot",
4114
+ "id": 32,
4115
+ "structure": {
4116
+ "yaw": {
4117
+ "type": "float"
4118
+ },
4119
+ "pitch": {
4120
+ "type": "float"
4121
+ },
4122
+ "flags": {
4123
+ "type": "byte"
4124
+ }
4125
+ }
4126
+ },
4127
+ "0x21": {
4128
+ "name": "move_player_status_only",
4129
+ "id": 33,
4130
+ "structure": {
4131
+ "flags": {
4132
+ "type": "byte"
4133
+ }
4134
+ }
4135
+ },
4136
+ "0x22": {
4137
+ "name": "move_vehicle",
4138
+ "id": 34,
4139
+ "structure": {
4140
+ "x": {
4141
+ "type": "double"
4142
+ },
4143
+ "y": {
4144
+ "type": "double"
4145
+ },
4146
+ "z": {
4147
+ "type": "double"
4148
+ },
4149
+ "yaw": {
4150
+ "type": "float"
4151
+ },
4152
+ "pitch": {
4153
+ "type": "float"
4154
+ },
4155
+ "on_ground": {
4156
+ "type": "boolean"
4157
+ }
4158
+ }
4159
+ },
4160
+ "0x23": {
4161
+ "name": "paddle_boat",
4162
+ "id": 35,
4163
+ "structure": {
4164
+ "left_paddle_turning": {
4165
+ "type": "boolean"
4166
+ },
4167
+ "right_paddle_turning": {
4168
+ "type": "boolean"
4169
+ }
4170
+ }
4171
+ },
4172
+ "0x24": {
4173
+ "name": "pick_item_from_block",
4174
+ "id": 36,
4175
+ "structure": {
4176
+ "location": {
4177
+ "type": "position"
4178
+ },
4179
+ "include_data": {
4180
+ "type": "boolean"
4181
+ }
4182
+ }
4183
+ },
4184
+ "0x25": {
4185
+ "name": "pick_item_from_entity",
4186
+ "id": 37,
4187
+ "structure": {
4188
+ "entity_id": {
4189
+ "type": "var_int"
4190
+ },
4191
+ "include_data": {
4192
+ "type": "boolean"
4193
+ }
4194
+ }
4195
+ },
4196
+ "0x26": {
4197
+ "name": "ping_request",
4198
+ "id": 38,
4199
+ "structure": {}
4200
+ },
4201
+ "0x27": {
4202
+ "name": "place_recipe",
4203
+ "id": 39,
4204
+ "structure": {
4205
+ "window_id": {
4206
+ "type": "var_int"
4207
+ },
4208
+ "recipe_id": {
4209
+ "type": "var_int"
4210
+ },
4211
+ "make_all": {
4212
+ "type": "boolean"
4213
+ }
4214
+ }
4215
+ },
4216
+ "0x28": {
4217
+ "name": "player_abilities",
4218
+ "id": 40,
4219
+ "structure": {
4220
+ "flags": {
4221
+ "type": "byte"
4222
+ }
4223
+ }
4224
+ },
4225
+ "0x29": {
4226
+ "name": "player_action",
4227
+ "id": 41,
4228
+ "structure": {
4229
+ "status": {
4230
+ "type": "enum",
4231
+ "subType": {
4232
+ "type": "var_int"
4233
+ }
4234
+ },
4235
+ "location": {
4236
+ "type": "position"
4237
+ },
4238
+ "face": {
4239
+ "type": "enum",
4240
+ "subType": {
4241
+ "type": "byte"
4242
+ }
4243
+ },
4244
+ "sequence": {
4245
+ "type": "var_int"
4246
+ }
4247
+ }
4248
+ },
4249
+ "0x2A": {
4250
+ "name": "player_command",
4251
+ "id": 42,
4252
+ "structure": {
4253
+ "entity_id": {
4254
+ "type": "var_int"
4255
+ },
4256
+ "action_id": {
4257
+ "type": "enum",
4258
+ "subType": {
4259
+ "type": "var_int"
4260
+ }
4261
+ },
4262
+ "jump_boost": {
4263
+ "type": "var_int"
4264
+ }
4265
+ }
4266
+ },
4267
+ "0x2B": {
4268
+ "name": "player_input",
4269
+ "id": 43,
4270
+ "structure": {
4271
+ "flags": {
4272
+ "type": "unsigned_byte"
4273
+ }
4274
+ }
4275
+ },
4276
+ "0x2C": {
4277
+ "name": "player_loaded",
4278
+ "id": 44,
4279
+ "structure": {}
4280
+ },
4281
+ "0x2D": {
4282
+ "name": "pong",
4283
+ "id": 45,
4284
+ "structure": {
4285
+ "id": {
4286
+ "type": "int"
4287
+ }
4288
+ }
4289
+ },
4290
+ "0x2E": {
4291
+ "name": "punch",
4292
+ "id": 46,
4293
+ "structure": {}
4294
+ },
4295
+ "0x2F": {
4296
+ "name": "recipe_book_change_settings",
4297
+ "id": 47,
4298
+ "structure": {
4299
+ "book_id": {
4300
+ "type": "enum",
4301
+ "subType": {
4302
+ "type": "var_int"
4303
+ }
4304
+ },
4305
+ "book_open": {
4306
+ "type": "boolean"
4307
+ },
4308
+ "filter_active": {
4309
+ "type": "boolean"
4310
+ }
4311
+ }
4312
+ },
4313
+ "0x30": {
4314
+ "name": "recipe_book_seen_recipe",
4315
+ "id": 48,
4316
+ "structure": {
4317
+ "recipe_id": {
4318
+ "type": "var_int"
4319
+ }
4320
+ }
4321
+ },
4322
+ "0x31": {
4323
+ "name": "rename_item",
4324
+ "id": 49,
4325
+ "structure": {
4326
+ "item_name": {
4327
+ "type": "string",
4328
+ "length": 32767
4329
+ }
4330
+ }
4331
+ },
4332
+ "0x32": {
4333
+ "name": "resource_pack",
4334
+ "id": 50,
4335
+ "structure": {
4336
+ "uuid": {
4337
+ "type": "uuid"
4338
+ },
4339
+ "result": {
4340
+ "type": "enum",
4341
+ "subType": {
4342
+ "type": "var_int"
4343
+ }
4344
+ }
4345
+ }
4346
+ },
4347
+ "0x33": {
4348
+ "name": "seen_advancements",
4349
+ "id": 51,
4350
+ "structure": {
4351
+ "action": {
4352
+ "type": "enum",
4353
+ "subType": {
4354
+ "type": "var_int"
4355
+ }
4356
+ },
4357
+ "tab_id": {
4358
+ "type": "prefixed_optional",
4359
+ "subType": {
4360
+ "type": "string"
4361
+ }
4362
+ }
4363
+ }
4364
+ },
4365
+ "0x34": {
4366
+ "name": "select_trade",
4367
+ "id": 52,
4368
+ "structure": {
4369
+ "selected_slot": {
4370
+ "type": "var_int"
4371
+ }
4372
+ }
4373
+ },
4374
+ "0x35": {
4375
+ "name": "set_beacon",
4376
+ "id": 53,
4377
+ "structure": {
4378
+ "primary_effect": {
4379
+ "type": "prefixed_optional",
4380
+ "subType": {
4381
+ "type": "var_int"
4382
+ }
4383
+ },
4384
+ "secondary_effect": {
4385
+ "type": "prefixed_optional",
4386
+ "subType": {
4387
+ "type": "var_int"
4388
+ }
4389
+ }
4390
+ }
4391
+ },
4392
+ "0x36": {
4393
+ "name": "set_carried_item",
4394
+ "id": 54,
4395
+ "structure": {
4396
+ "slot": {
4397
+ "type": "short"
4398
+ }
4399
+ }
4400
+ },
4401
+ "0x37": {
4402
+ "name": "set_command_block",
4403
+ "id": 55,
4404
+ "structure": {
4405
+ "location": {
4406
+ "type": "position"
4407
+ },
4408
+ "command": {
4409
+ "type": "string",
4410
+ "length": 32767
4411
+ },
4412
+ "mode": {
4413
+ "type": "enum",
4414
+ "subType": {
4415
+ "type": "var_int"
4416
+ }
4417
+ },
4418
+ "flags": {
4419
+ "type": "byte"
4420
+ }
4421
+ }
4422
+ },
4423
+ "0x38": {
4424
+ "name": "set_command_minecart",
4425
+ "id": 56,
4426
+ "structure": {
4427
+ "entity_id": {
4428
+ "type": "var_int"
4429
+ },
4430
+ "command": {
4431
+ "type": "string",
4432
+ "length": 32767
4433
+ },
4434
+ "track_output": {
4435
+ "type": "boolean"
4436
+ }
4437
+ }
4438
+ },
4439
+ "0x39": {
4440
+ "name": "set_creative_mode_slot",
4441
+ "id": 57,
4442
+ "structure": {
4443
+ "slot": {
4444
+ "type": "short"
4445
+ },
4446
+ "clicked_item": {
4447
+ "type": "slot"
4448
+ }
4449
+ }
4450
+ },
4451
+ "0x3A": {
4452
+ "name": "set_game_rule",
4453
+ "id": 58,
4454
+ "structure": {
4455
+ "rules": {
4456
+ "type": "prefixed_array",
4457
+ "subType": {
4458
+ "type": "object",
4459
+ "fields": {
4460
+ "name": {
4461
+ "type": "string"
4462
+ },
4463
+ "value": {
4464
+ "type": "string",
4465
+ "length": 32767
4466
+ }
4467
+ }
4468
+ }
4469
+ }
4470
+ }
4471
+ },
4472
+ "0x3B": {
4473
+ "name": "set_jigsaw_block",
4474
+ "id": 59,
4475
+ "structure": {
4476
+ "location": {
4477
+ "type": "position"
4478
+ },
4479
+ "name": {
4480
+ "type": "string"
4481
+ },
4482
+ "target": {
4483
+ "type": "string"
4484
+ },
4485
+ "pool": {
4486
+ "type": "string"
4487
+ },
4488
+ "final_state": {
4489
+ "type": "string",
4490
+ "length": 32767
4491
+ },
4492
+ "joint_type": {
4493
+ "type": "string",
4494
+ "length": 32767
4495
+ },
4496
+ "selection_priority": {
4497
+ "type": "var_int"
4498
+ },
4499
+ "placement_priority": {
4500
+ "type": "var_int"
4501
+ }
4502
+ }
4503
+ },
4504
+ "0x3C": {
4505
+ "name": "set_structure_block",
4506
+ "id": 60,
4507
+ "structure": {
4508
+ "location": {
4509
+ "type": "position"
4510
+ },
4511
+ "action": {
4512
+ "type": "enum",
4513
+ "subType": {
4514
+ "type": "var_int"
4515
+ }
4516
+ },
4517
+ "mode": {
4518
+ "type": "enum",
4519
+ "subType": {
4520
+ "type": "var_int"
4521
+ }
4522
+ },
4523
+ "name": {
4524
+ "type": "string",
4525
+ "length": 32767
4526
+ },
4527
+ "offset_x": {
4528
+ "type": "byte"
4529
+ },
4530
+ "offset_y": {
4531
+ "type": "byte"
4532
+ },
4533
+ "offset_z": {
4534
+ "type": "byte"
4535
+ },
4536
+ "size_x": {
4537
+ "type": "byte"
4538
+ },
4539
+ "size_y": {
4540
+ "type": "byte"
4541
+ },
4542
+ "size_z": {
4543
+ "type": "byte"
4544
+ },
4545
+ "mirror": {
4546
+ "type": "enum",
4547
+ "subType": {
4548
+ "type": "var_int"
4549
+ }
4550
+ },
4551
+ "rotation": {
4552
+ "type": "enum",
4553
+ "subType": {
4554
+ "type": "var_int"
4555
+ }
4556
+ },
4557
+ "metadata": {
4558
+ "type": "string",
4559
+ "length": 128
4560
+ },
4561
+ "integrity": {
4562
+ "type": "float"
4563
+ },
4564
+ "seed": {
4565
+ "type": "var_long"
4566
+ },
4567
+ "flags": {
4568
+ "type": "byte"
4569
+ }
4570
+ }
4571
+ },
4572
+ "0x3D": {
4573
+ "name": "set_test_block",
4574
+ "id": 61,
4575
+ "structure": {
4576
+ "position": {
4577
+ "type": "position"
4578
+ },
4579
+ "mode": {
4580
+ "type": "enum",
4581
+ "subType": {
4582
+ "type": "var_int"
4583
+ }
4584
+ },
4585
+ "message": {
4586
+ "type": "string"
4587
+ }
4588
+ }
4589
+ },
4590
+ "0x3E": {
4591
+ "name": "sign_update",
4592
+ "id": 62,
4593
+ "structure": {
4594
+ "location": {
4595
+ "type": "position"
4596
+ },
4597
+ "line_1": {
4598
+ "type": "string",
4599
+ "length": 384
4600
+ },
4601
+ "line_2": {
4602
+ "type": "string",
4603
+ "length": 384
4604
+ },
4605
+ "line_3": {
4606
+ "type": "string",
4607
+ "length": 384
4608
+ },
4609
+ "line_4": {
4610
+ "type": "string",
4611
+ "length": 384
4612
+ },
4613
+ "text_slot": {
4614
+ "type": "enum",
4615
+ "subType": {
4616
+ "type": "var_int"
4617
+ }
4618
+ }
4619
+ }
4620
+ },
4621
+ "0x3F": {
4622
+ "name": "spectator_action",
4623
+ "id": 63,
4624
+ "structure": {
4625
+ "entity_id": {
4626
+ "type": "var_int"
4627
+ }
4628
+ }
4629
+ },
4630
+ "0x40": {
4631
+ "name": "teleport_to_entity",
4632
+ "id": 64,
4633
+ "structure": {
4634
+ "target_player": {
4635
+ "type": "uuid"
4636
+ }
4637
+ }
4638
+ },
4639
+ "0x41": {
4640
+ "name": "test_instance_block_action",
4641
+ "id": 65,
4642
+ "structure": {
4643
+ "position": {
4644
+ "type": "position"
4645
+ },
4646
+ "action": {
4647
+ "type": "enum",
4648
+ "subType": {
4649
+ "type": "var_int"
4650
+ }
4651
+ },
4652
+ "test": {
4653
+ "type": "prefixed_optional",
4654
+ "subType": {
4655
+ "type": "string"
4656
+ }
4657
+ },
4658
+ "size_x": {
4659
+ "type": "var_int"
4660
+ },
4661
+ "size_y": {
4662
+ "type": "var_int"
4663
+ },
4664
+ "size_z": {
4665
+ "type": "var_int"
4666
+ },
4667
+ "rotation": {
4668
+ "type": "enum",
4669
+ "subType": {
4670
+ "type": "var_int"
4671
+ }
4672
+ },
4673
+ "ignore_entities": {
4674
+ "type": "boolean"
4675
+ },
4676
+ "status": {
4677
+ "type": "enum",
4678
+ "subType": {
4679
+ "type": "var_int"
4680
+ }
4681
+ },
4682
+ "error_message": {
4683
+ "type": "prefixed_optional",
4684
+ "subType": {
4685
+ "type": "nbt"
4686
+ }
4687
+ }
4688
+ }
4689
+ },
4690
+ "0x42": {
4691
+ "name": "use_item_on",
4692
+ "id": 66,
4693
+ "structure": {
4694
+ "hand": {
4695
+ "type": "enum",
4696
+ "subType": {
4697
+ "type": "var_int"
4698
+ }
4699
+ },
4700
+ "location": {
4701
+ "type": "position"
4702
+ },
4703
+ "face": {
4704
+ "type": "enum",
4705
+ "subType": {
4706
+ "type": "var_int"
4707
+ }
4708
+ },
4709
+ "cursor_position_x": {
4710
+ "type": "float"
4711
+ },
4712
+ "cursor_position_y": {
4713
+ "type": "float"
4714
+ },
4715
+ "cursor_position_z": {
4716
+ "type": "float"
4717
+ },
4718
+ "inside_block": {
4719
+ "type": "boolean"
4720
+ },
4721
+ "world_border_hit": {
4722
+ "type": "boolean"
4723
+ },
4724
+ "sequence": {
4725
+ "type": "var_int"
4726
+ }
4727
+ }
4728
+ },
4729
+ "0x43": {
4730
+ "name": "use_item",
4731
+ "id": 67,
4732
+ "structure": {
4733
+ "hand": {
4734
+ "type": "enum",
4735
+ "subType": {
4736
+ "type": "var_int"
4737
+ }
4738
+ },
4739
+ "sequence": {
4740
+ "type": "var_int"
4741
+ },
4742
+ "yaw": {
4743
+ "type": "float"
4744
+ },
4745
+ "pitch": {
4746
+ "type": "float"
4747
+ }
4748
+ }
4749
+ },
4750
+ "0x44": {
4751
+ "name": "custom_click_action",
4752
+ "id": 68,
4753
+ "structure": {
4754
+ "id": {
4755
+ "type": "string"
4756
+ },
4757
+ "payload_size": {
4758
+ "type": "var_int"
4759
+ },
4760
+ "payload": {
4761
+ "type": "nbt"
4762
+ }
4763
+ }
4764
+ }
4765
+ }
4766
+ }
4767
+ }