@vaitosoi/minejs 0.2.1 → 0.3.1

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