@vaitosoi/minejs 0.2.2 → 0.4.0

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