minecraft-data 3.67.0 → 3.68.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 (155) hide show
  1. package/data.js +124 -51
  2. package/doc/history.md +4 -0
  3. package/index.d.ts +30 -24
  4. package/minecraft-data/README.md +1 -1
  5. package/minecraft-data/data/bedrock/1.16.201/protocol.json +33 -66
  6. package/minecraft-data/data/bedrock/1.16.210/protocol.json +39 -78
  7. package/minecraft-data/data/bedrock/1.16.220/protocol.json +46 -92
  8. package/minecraft-data/data/bedrock/1.17.0/protocol.json +46 -92
  9. package/minecraft-data/data/bedrock/1.17.10/protocol.json +46 -92
  10. package/minecraft-data/data/bedrock/1.17.30/protocol.json +48 -96
  11. package/minecraft-data/data/bedrock/1.17.40/protocol.json +48 -96
  12. package/minecraft-data/data/bedrock/1.18.0/protocol.json +50 -100
  13. package/minecraft-data/data/bedrock/1.18.11/protocol.json +52 -104
  14. package/minecraft-data/data/bedrock/1.18.30/protocol.json +52 -104
  15. package/minecraft-data/data/bedrock/1.19.1/protocol.json +52 -104
  16. package/minecraft-data/data/bedrock/1.19.10/protocol.json +52 -104
  17. package/minecraft-data/data/bedrock/1.19.20/protocol.json +54 -108
  18. package/minecraft-data/data/bedrock/1.19.21/protocol.json +54 -108
  19. package/minecraft-data/data/bedrock/1.19.30/protocol.json +55 -110
  20. package/minecraft-data/data/bedrock/1.19.40/protocol.json +55 -110
  21. package/minecraft-data/data/bedrock/1.19.50/protocol.json +55 -110
  22. package/minecraft-data/data/bedrock/1.19.60/protocol.json +55 -110
  23. package/minecraft-data/data/bedrock/1.19.62/protocol.json +55 -110
  24. package/minecraft-data/data/bedrock/1.19.70/protocol.json +55 -110
  25. package/minecraft-data/data/bedrock/1.19.80/protocol.json +55 -110
  26. package/minecraft-data/data/bedrock/1.20.0/protocol.json +55 -110
  27. package/minecraft-data/data/bedrock/1.20.10/protocol.json +55 -110
  28. package/minecraft-data/data/bedrock/1.20.30/protocol.json +55 -110
  29. package/minecraft-data/data/bedrock/1.20.40/protocol.json +55 -110
  30. package/minecraft-data/data/bedrock/1.20.50/protocol.json +55 -110
  31. package/minecraft-data/data/bedrock/1.20.61/protocol.json +56 -112
  32. package/minecraft-data/data/bedrock/1.20.71/protocol.json +56 -112
  33. package/minecraft-data/data/bedrock/1.20.80/proto.yml +3 -0
  34. package/minecraft-data/data/bedrock/1.20.80/protocol.json +70 -114
  35. package/minecraft-data/data/bedrock/1.21.0/proto.yml +3 -0
  36. package/minecraft-data/data/bedrock/1.21.0/protocol.json +71 -116
  37. package/minecraft-data/data/bedrock/1.21.2/proto.yml +4195 -0
  38. package/minecraft-data/data/bedrock/1.21.2/protocol.json +58 -116
  39. package/minecraft-data/data/bedrock/1.21.2/types.yml +2373 -0
  40. package/minecraft-data/data/bedrock/1.21.20/protocol.json +12554 -0
  41. package/minecraft-data/data/bedrock/1.21.20/version.json +6 -0
  42. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  43. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  44. package/minecraft-data/data/bedrock/latest/proto.yml +33 -6
  45. package/minecraft-data/data/bedrock/latest/types.yml +31 -0
  46. package/minecraft-data/data/dataPaths.json +124 -51
  47. package/minecraft-data/data/pc/0.30c/proto.yml +138 -0
  48. package/minecraft-data/data/pc/0.30c/protocol.json +6 -6
  49. package/minecraft-data/data/pc/1.10/proto.yml +1101 -0
  50. package/minecraft-data/data/pc/1.10/protocol.json +34 -13
  51. package/minecraft-data/data/pc/1.10-pre1/proto.yml +1101 -0
  52. package/minecraft-data/data/pc/1.10-pre1/protocol.json +34 -13
  53. package/minecraft-data/data/pc/1.11/proto.yml +1103 -0
  54. package/minecraft-data/data/pc/1.11/protocol.json +34 -13
  55. package/minecraft-data/data/pc/1.12/proto.yml +1202 -0
  56. package/minecraft-data/data/pc/1.12/protocol.json +71 -34
  57. package/minecraft-data/data/pc/1.12-pre4/proto.yml +1174 -0
  58. package/minecraft-data/data/pc/1.12-pre4/protocol.json +51 -30
  59. package/minecraft-data/data/pc/1.12.1/proto.yml +1200 -0
  60. package/minecraft-data/data/pc/1.12.1/protocol.json +68 -31
  61. package/minecraft-data/data/pc/1.12.2/proto.yml +1200 -0
  62. package/minecraft-data/data/pc/1.12.2/protocol.json +68 -31
  63. package/minecraft-data/data/pc/1.13/proto.yml +1631 -0
  64. package/minecraft-data/data/pc/1.13/protocol.json +531 -463
  65. package/minecraft-data/data/pc/1.13.1/proto.yml +1632 -0
  66. package/minecraft-data/data/pc/1.13.1/protocol.json +535 -467
  67. package/minecraft-data/data/pc/1.13.2/proto.yml +1633 -0
  68. package/minecraft-data/data/pc/1.13.2/protocol.json +241 -174
  69. package/minecraft-data/data/pc/1.13.2-pre1/proto.yml +1633 -0
  70. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +241 -174
  71. package/minecraft-data/data/pc/1.13.2-pre2/proto.yml +1633 -0
  72. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +241 -174
  73. package/minecraft-data/data/pc/1.14/proto.yml +1717 -0
  74. package/minecraft-data/data/pc/1.14/protocol.json +304 -226
  75. package/minecraft-data/data/pc/1.14.1/proto.yml +1717 -0
  76. package/minecraft-data/data/pc/1.14.1/protocol.json +304 -226
  77. package/minecraft-data/data/pc/1.14.3/proto.yml +1718 -0
  78. package/minecraft-data/data/pc/1.14.3/protocol.json +304 -226
  79. package/minecraft-data/data/pc/1.14.4/proto.yml +1726 -0
  80. package/minecraft-data/data/pc/1.14.4/protocol.json +308 -230
  81. package/minecraft-data/data/pc/1.15/proto.yml +1730 -0
  82. package/minecraft-data/data/pc/1.15/protocol.json +315 -234
  83. package/minecraft-data/data/pc/1.15.1/proto.yml +1730 -0
  84. package/minecraft-data/data/pc/1.15.1/protocol.json +315 -234
  85. package/minecraft-data/data/pc/1.15.2/proto.yml +1730 -0
  86. package/minecraft-data/data/pc/1.15.2/protocol.json +315 -234
  87. package/minecraft-data/data/pc/1.16/proto.yml +1762 -0
  88. package/minecraft-data/data/pc/1.16/protocol.json +357 -264
  89. package/minecraft-data/data/pc/1.16-rc1/proto.yml +1762 -0
  90. package/minecraft-data/data/pc/1.16-rc1/protocol.json +357 -264
  91. package/minecraft-data/data/pc/1.16.1/proto.yml +1762 -0
  92. package/minecraft-data/data/pc/1.16.1/protocol.json +357 -264
  93. package/minecraft-data/data/pc/1.16.2/proto.yml +1776 -0
  94. package/minecraft-data/data/pc/1.16.2/protocol.json +354 -260
  95. package/minecraft-data/data/pc/1.17/proto.yml +1796 -0
  96. package/minecraft-data/data/pc/1.17/protocol.json +5 -5
  97. package/minecraft-data/data/pc/1.17.1/proto.yml +1800 -0
  98. package/minecraft-data/data/pc/1.17.1/protocol.json +5 -5
  99. package/minecraft-data/data/pc/1.18/proto.yml +1836 -0
  100. package/minecraft-data/data/pc/1.18/protocol.json +5 -5
  101. package/minecraft-data/data/pc/1.18.2/proto.yml +1836 -0
  102. package/minecraft-data/data/pc/1.18.2/protocol.json +5 -5
  103. package/minecraft-data/data/pc/1.19/proto.yml +1990 -0
  104. package/minecraft-data/data/pc/1.19/protocol.json +5 -5
  105. package/minecraft-data/data/pc/1.19.2/proto.yml +2085 -0
  106. package/minecraft-data/data/pc/1.19.2/protocol.json +5 -5
  107. package/minecraft-data/data/pc/1.19.3/proto.yml +2322 -0
  108. package/minecraft-data/data/pc/1.19.3/protocol.json +215 -119
  109. package/minecraft-data/data/pc/1.19.4/proto.yml +2413 -0
  110. package/minecraft-data/data/pc/1.20/proto.yml +2409 -0
  111. package/minecraft-data/data/pc/1.20.2/proto.yml +2508 -0
  112. package/minecraft-data/data/pc/1.20.2/protocol.json +1 -1
  113. package/minecraft-data/data/pc/1.20.3/protocol.json +1 -1
  114. package/minecraft-data/data/pc/1.7/proto.yml +922 -0
  115. package/minecraft-data/data/pc/1.7/protocol.json +1 -1
  116. package/minecraft-data/data/pc/1.8/proto.yml +1035 -0
  117. package/minecraft-data/data/pc/1.8/protocol.json +28 -8
  118. package/minecraft-data/data/pc/1.9/proto.yml +1109 -0
  119. package/minecraft-data/data/pc/1.9/protocol.json +30 -10
  120. package/minecraft-data/data/pc/1.9.1-pre2/proto.yml +1109 -0
  121. package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +30 -10
  122. package/minecraft-data/data/pc/1.9.2/proto.yml +1109 -0
  123. package/minecraft-data/data/pc/1.9.2/protocol.json +30 -10
  124. package/minecraft-data/data/pc/1.9.4/proto.yml +1102 -0
  125. package/minecraft-data/data/pc/1.9.4/protocol.json +34 -13
  126. package/minecraft-data/data/pc/15w40b/proto.yml +1070 -0
  127. package/minecraft-data/data/pc/15w40b/protocol.json +107 -87
  128. package/minecraft-data/data/pc/16w20a/proto.yml +1102 -0
  129. package/minecraft-data/data/pc/16w20a/protocol.json +34 -13
  130. package/minecraft-data/data/pc/16w35a/proto.yml +1102 -0
  131. package/minecraft-data/data/pc/16w35a/protocol.json +34 -13
  132. package/minecraft-data/data/pc/17w15a/proto.yml +1165 -0
  133. package/minecraft-data/data/pc/17w15a/protocol.json +44 -23
  134. package/minecraft-data/data/pc/17w18b/proto.yml +1163 -0
  135. package/minecraft-data/data/pc/17w18b/protocol.json +52 -31
  136. package/minecraft-data/data/pc/17w50a/proto.yml +1418 -0
  137. package/minecraft-data/data/pc/17w50a/protocol.json +535 -346
  138. package/minecraft-data/data/pc/20w13b/proto.yml +1732 -0
  139. package/minecraft-data/data/pc/20w13b/protocol.json +315 -235
  140. package/minecraft-data/data/pc/21w07a/proto.yml +1785 -0
  141. package/minecraft-data/data/pc/21w07a/protocol.json +408 -295
  142. package/minecraft-data/data/pc/common/protocolVersions.json +24 -0
  143. package/minecraft-data/data/pc/latest/proto.yml +2762 -0
  144. package/minecraft-data/doc/add-data-new-version.md +3 -0
  145. package/minecraft-data/doc/history.md +4 -0
  146. package/minecraft-data/doc/protocol.md +154 -0
  147. package/minecraft-data/tools/js/compileProtocol.js +67 -45
  148. package/minecraft-data/tools/js/convertMcpcProtocolJsonToYaml.js +65 -0
  149. package/minecraft-data/tools/js/incrementVersion.js +63 -48
  150. package/minecraft-data/tools/js/package.json +3 -1
  151. package/minecraft-data/tools/js/test/protocolSync.js +1 -1
  152. package/package.json +3 -3
  153. package/tsconfig.json +1 -1
  154. package/typings/index-template.d.ts +30 -24
  155. package/typings/test-typings.ts +4 -0
@@ -0,0 +1,1631 @@
1
+ !version: 1.13
2
+
3
+ ^types:
4
+ varint: native
5
+ varlong: native
6
+ pstring: native
7
+ u16: native
8
+ u8: native
9
+ i64: native
10
+ buffer: native
11
+ i32: native
12
+ i8: native
13
+ bool: native
14
+ i16: native
15
+ f32: native
16
+ f64: native
17
+ UUID: native
18
+ option: native
19
+ entityMetadataLoop: native
20
+ bitfield: native
21
+ container: native
22
+ switch: native
23
+ void: native
24
+ array: native
25
+ restBuffer: native
26
+ nbt: native
27
+ optionalNbt: native
28
+ string: [
29
+ "pstring",
30
+ {
31
+ "countType": "varint"
32
+ }
33
+ ]
34
+ slot:
35
+ itemId: i16
36
+ _: itemId ?
37
+ if -1: void
38
+ default:
39
+ itemCount: i8
40
+ nbtData: optionalNbt
41
+ particle:
42
+ particleId: varint
43
+ data: [
44
+ "particleData",
45
+ {
46
+ "compareTo": "particleId"
47
+ }
48
+ ]
49
+ particleData: $compareTo ?
50
+ if 3:
51
+ blockState: varint
52
+ if 11:
53
+ red: f32
54
+ green: f32
55
+ blue: f32
56
+ scale: f32
57
+ if 20:
58
+ blockState: varint
59
+ if 27:
60
+ item: slot
61
+ default: void
62
+ ingredient: slot[]varint
63
+ position: [
64
+ "bitfield",
65
+ [
66
+ {
67
+ "name": "x",
68
+ "size": 26,
69
+ "signed": true
70
+ },
71
+ {
72
+ "name": "y",
73
+ "size": 12,
74
+ "signed": true
75
+ },
76
+ {
77
+ "name": "z",
78
+ "size": 26,
79
+ "signed": true
80
+ }
81
+ ]
82
+ ]
83
+ entityMetadataItem: $compareTo ?
84
+ if 0: i8
85
+ if 1: varint
86
+ if 2: f32
87
+ if 3: string
88
+ if 4: string
89
+ if 5: [
90
+ "option",
91
+ "string"
92
+ ]
93
+ if 6: slot
94
+ if 7: bool
95
+ if 8:
96
+ pitch: f32
97
+ yaw: f32
98
+ roll: f32
99
+ if 9: position
100
+ if 10: [
101
+ "option",
102
+ "position"
103
+ ]
104
+ if 11: varint
105
+ if 12: [
106
+ "option",
107
+ "UUID"
108
+ ]
109
+ if 13: varint
110
+ if 14: nbt
111
+ if 15: particle
112
+ entityMetadata: [
113
+ "entityMetadataLoop",
114
+ {
115
+ "endVal": 255,
116
+ "type": [
117
+ "container",
118
+ [
119
+ {
120
+ "anon": true,
121
+ "type": [
122
+ "container",
123
+ [
124
+ {
125
+ "name": "key",
126
+ "type": "u8"
127
+ },
128
+ {
129
+ "name": "type",
130
+ "type": "varint"
131
+ }
132
+ ]
133
+ ]
134
+ },
135
+ {
136
+ "name": "value",
137
+ "type": [
138
+ "entityMetadataItem",
139
+ {
140
+ "compareTo": "type"
141
+ }
142
+ ]
143
+ }
144
+ ]
145
+ ]
146
+ }
147
+ ]
148
+ command_node:
149
+ flags: [
150
+ "bitfield",
151
+ [
152
+ {
153
+ "name": "unused",
154
+ "size": 3,
155
+ "signed": false
156
+ },
157
+ {
158
+ "name": "has_custom_suggestions",
159
+ "size": 1,
160
+ "signed": false
161
+ },
162
+ {
163
+ "name": "has_redirect_node",
164
+ "size": 1,
165
+ "signed": false
166
+ },
167
+ {
168
+ "name": "has_command",
169
+ "size": 1,
170
+ "signed": false
171
+ },
172
+ {
173
+ "name": "command_node_type",
174
+ "size": 2,
175
+ "signed": false
176
+ }
177
+ ]
178
+ ]
179
+ children: varint[]varint
180
+ redirectNode: flags/has_redirect_node ?
181
+ if 1: varint
182
+ default: void
183
+ extraNodeData: flags/command_node_type ?
184
+ if 0: void
185
+ if 1:
186
+ name: string
187
+ if 2:
188
+ name: string
189
+ parser: string
190
+ properties: parser ?
191
+ if brigadier:bool: void
192
+ if brigadier:float:
193
+ flags: [
194
+ "bitfield",
195
+ [
196
+ {
197
+ "name": "unused",
198
+ "size": 6,
199
+ "signed": false
200
+ },
201
+ {
202
+ "name": "max_present",
203
+ "size": 1,
204
+ "signed": false
205
+ },
206
+ {
207
+ "name": "min_present",
208
+ "size": 1,
209
+ "signed": false
210
+ }
211
+ ]
212
+ ]
213
+ min: flags/min_present ?
214
+ if 1: f32
215
+ default: void
216
+ max: flags/max_present ?
217
+ if 1: f32
218
+ default: void
219
+ if brigadier:double:
220
+ flags: [
221
+ "bitfield",
222
+ [
223
+ {
224
+ "name": "unused",
225
+ "size": 6,
226
+ "signed": false
227
+ },
228
+ {
229
+ "name": "max_present",
230
+ "size": 1,
231
+ "signed": false
232
+ },
233
+ {
234
+ "name": "min_present",
235
+ "size": 1,
236
+ "signed": false
237
+ }
238
+ ]
239
+ ]
240
+ min: flags/min_present ?
241
+ if 1: f64
242
+ default: void
243
+ max: flags/max_present ?
244
+ if 1: f64
245
+ default: void
246
+ if brigadier:integer:
247
+ flags: [
248
+ "bitfield",
249
+ [
250
+ {
251
+ "name": "unused",
252
+ "size": 6,
253
+ "signed": false
254
+ },
255
+ {
256
+ "name": "max_present",
257
+ "size": 1,
258
+ "signed": false
259
+ },
260
+ {
261
+ "name": "min_present",
262
+ "size": 1,
263
+ "signed": false
264
+ }
265
+ ]
266
+ ]
267
+ min: flags/min_present ?
268
+ if 1: i32
269
+ default: void
270
+ max: flags/max_present ?
271
+ if 1: i32
272
+ default: void
273
+ if brigadier:long:
274
+ flags: [
275
+ "bitfield",
276
+ [
277
+ {
278
+ "name": "unused",
279
+ "size": 6,
280
+ "signed": false
281
+ },
282
+ {
283
+ "name": "max_present",
284
+ "size": 1,
285
+ "signed": false
286
+ },
287
+ {
288
+ "name": "min_present",
289
+ "size": 1,
290
+ "signed": false
291
+ }
292
+ ]
293
+ ]
294
+ min: flags/min_present ?
295
+ if 1: i64
296
+ default: void
297
+ max: flags/max_present ?
298
+ if 1: i64
299
+ default: void
300
+ if brigadier:string: varint =>
301
+ 0: SINGLE_WORD
302
+ 1: QUOTABLE_PHRASE
303
+ 2: GREEDY_PHRASE
304
+ if minecraft:entity: [
305
+ "bitfield",
306
+ [
307
+ {
308
+ "name": "unused",
309
+ "size": 6,
310
+ "signed": false
311
+ },
312
+ {
313
+ "name": "onlyAllowPlayers",
314
+ "size": 1,
315
+ "signed": false
316
+ },
317
+ {
318
+ "name": "onlyAllowEntities",
319
+ "size": 1,
320
+ "signed": false
321
+ }
322
+ ]
323
+ ]
324
+ if minecraft:game_profile: void
325
+ if minecraft:block_pos: void
326
+ if minecraft:column_pos: void
327
+ if minecraft:vec3: void
328
+ if minecraft:vec2: void
329
+ if minecraft:block_state: void
330
+ if minecraft:block_predicate: void
331
+ if minecraft:item_stack: void
332
+ if minecraft:item_predicate: void
333
+ if minecraft:color: void
334
+ if minecraft:component: void
335
+ if minecraft:message: void
336
+ if minecraft:nbt: void
337
+ if minecraft:nbt_path: void
338
+ if minecraft:objective: void
339
+ if minecraft:objective_criteria: void
340
+ if minecraft:operation: void
341
+ if minecraft:particle: void
342
+ if minecraft:angle: void
343
+ if minecraft:rotation: void
344
+ if minecraft:scoreboard_slot: void
345
+ if minecraft:score_holder: [
346
+ "bitfield",
347
+ [
348
+ {
349
+ "name": "unused",
350
+ "size": 7,
351
+ "signed": false
352
+ },
353
+ {
354
+ "name": "allowMultiple",
355
+ "size": 1,
356
+ "signed": false
357
+ }
358
+ ]
359
+ ]
360
+ if minecraft:swizzle: void
361
+ if minecraft:team: void
362
+ if minecraft:item_slot: void
363
+ if minecraft:resource_location: void
364
+ if minecraft:mob_effect: void
365
+ if minecraft:function: void
366
+ if minecraft:entity_anchor: void
367
+ if minecraft:range:
368
+ allowDecimals: bool
369
+ if minecraft:int_range: void
370
+ if minecraft:float_range: void
371
+ if minecraft:item_enchantment: void
372
+ if minecraft:entity_summon: void
373
+ if minecraft:dimension: void
374
+ if minecraft:nbt_compound_tag: void
375
+ if minecraft:time: void
376
+ if minecraft:resource_or_tag:
377
+ registry: string
378
+ if minecraft:resource:
379
+ registry: string
380
+ if minecraft:uuid: void
381
+ suggestionType: ../flags/has_custom_suggestions ?
382
+ if 1: string
383
+ default: void
384
+
385
+ ^handshaking.toClient.types:
386
+ packet:
387
+ name: varint =>
388
+ params: ["switch",{"compareTo":"name","fields":{}}]
389
+
390
+ ^handshaking.toServer.types:
391
+ packet_set_protocol:
392
+ protocolVersion: varint
393
+ serverHost: string
394
+ serverPort: u16
395
+ nextState: varint
396
+ packet_legacy_server_list_ping:
397
+ payload: u8
398
+ packet:
399
+ name: varint =>
400
+ 0x00: set_protocol
401
+ 0xfe: legacy_server_list_ping
402
+ params: name ?
403
+ if set_protocol: packet_set_protocol
404
+ if legacy_server_list_ping: packet_legacy_server_list_ping
405
+
406
+ ^status.toClient.types:
407
+ packet_server_info:
408
+ response: string
409
+ packet_ping:
410
+ time: i64
411
+ packet:
412
+ name: varint =>
413
+ 0x00: server_info
414
+ 0x01: ping
415
+ params: name ?
416
+ if server_info: packet_server_info
417
+ if ping: packet_ping
418
+
419
+ ^status.toServer.types:
420
+ packet_ping_start:
421
+ # Empty
422
+ packet_ping:
423
+ time: i64
424
+ packet:
425
+ name: varint =>
426
+ 0x00: ping_start
427
+ 0x01: ping
428
+ params: name ?
429
+ if ping_start: packet_ping_start
430
+ if ping: packet_ping
431
+
432
+ ^login.toClient.types:
433
+ packet_disconnect:
434
+ reason: string
435
+ packet_encryption_begin:
436
+ serverId: string
437
+ publicKey: [
438
+ "buffer",
439
+ {
440
+ "countType": "varint"
441
+ }
442
+ ]
443
+ verifyToken: [
444
+ "buffer",
445
+ {
446
+ "countType": "varint"
447
+ }
448
+ ]
449
+ packet_success:
450
+ uuid: string
451
+ username: string
452
+ packet_compress:
453
+ threshold: varint
454
+ packet_login_plugin_request:
455
+ messageId: varint
456
+ channel: string
457
+ data: restBuffer
458
+ packet:
459
+ name: varint =>
460
+ 0x00: disconnect
461
+ 0x01: encryption_begin
462
+ 0x02: success
463
+ 0x03: compress
464
+ 0x04: login_plugin_request
465
+ params: name ?
466
+ if disconnect: packet_disconnect
467
+ if encryption_begin: packet_encryption_begin
468
+ if success: packet_success
469
+ if compress: packet_compress
470
+ if login_plugin_request: packet_login_plugin_request
471
+
472
+ ^login.toServer.types:
473
+ packet_login_start:
474
+ username: string
475
+ packet_encryption_begin:
476
+ sharedSecret: [
477
+ "buffer",
478
+ {
479
+ "countType": "varint"
480
+ }
481
+ ]
482
+ verifyToken: [
483
+ "buffer",
484
+ {
485
+ "countType": "varint"
486
+ }
487
+ ]
488
+ packet_login_plugin_response:
489
+ messageId: varint
490
+ data?: restBuffer
491
+ packet:
492
+ name: varint =>
493
+ 0x00: login_start
494
+ 0x01: encryption_begin
495
+ 0x02: login_plugin_response
496
+ params: name ?
497
+ if login_start: packet_login_start
498
+ if encryption_begin: packet_encryption_begin
499
+ if login_plugin_response: packet_login_plugin_response
500
+
501
+ ^play.toClient.types:
502
+ packet_spawn_entity:
503
+ entityId: varint
504
+ objectUUID: UUID
505
+ type: i8
506
+ x: f64
507
+ y: f64
508
+ z: f64
509
+ pitch: i8
510
+ yaw: i8
511
+ objectData: i32
512
+ velocityX: i16
513
+ velocityY: i16
514
+ velocityZ: i16
515
+ packet_spawn_entity_experience_orb:
516
+ entityId: varint
517
+ x: f64
518
+ y: f64
519
+ z: f64
520
+ count: i16
521
+ packet_spawn_entity_weather:
522
+ entityId: varint
523
+ type: i8
524
+ x: f64
525
+ y: f64
526
+ z: f64
527
+ packet_spawn_entity_living:
528
+ entityId: varint
529
+ entityUUID: UUID
530
+ type: varint
531
+ x: f64
532
+ y: f64
533
+ z: f64
534
+ yaw: i8
535
+ pitch: i8
536
+ headPitch: i8
537
+ velocityX: i16
538
+ velocityY: i16
539
+ velocityZ: i16
540
+ metadata: entityMetadata
541
+ packet_spawn_entity_painting:
542
+ entityId: varint
543
+ entityUUID: UUID
544
+ title: varint
545
+ location: position
546
+ direction: u8
547
+ packet_named_entity_spawn:
548
+ entityId: varint
549
+ playerUUID: UUID
550
+ x: f64
551
+ y: f64
552
+ z: f64
553
+ yaw: i8
554
+ pitch: i8
555
+ metadata: entityMetadata
556
+ packet_animation:
557
+ entityId: varint
558
+ animation: u8
559
+ packet_statistics:
560
+ entries: []varint
561
+ categoryId: varint
562
+ statisticId: varint
563
+ value: varint
564
+ packet_advancements:
565
+ reset: bool
566
+ advancementMapping: []varint
567
+ key: string
568
+ value:
569
+ parentId?: string
570
+ displayData?:
571
+ title: string
572
+ description: string
573
+ icon: slot
574
+ frameType: varint
575
+ flags: [
576
+ "bitfield",
577
+ [
578
+ {
579
+ "name": "_unused",
580
+ "size": 29,
581
+ "signed": false
582
+ },
583
+ {
584
+ "name": "hidden",
585
+ "size": 1,
586
+ "signed": false
587
+ },
588
+ {
589
+ "name": "show_toast",
590
+ "size": 1,
591
+ "signed": false
592
+ },
593
+ {
594
+ "name": "has_background_texture",
595
+ "size": 1,
596
+ "signed": false
597
+ }
598
+ ]
599
+ ]
600
+ backgroundTexture: flags/has_background_texture ?
601
+ if 1: string
602
+ default: void
603
+ xCord: f32
604
+ yCord: f32
605
+ criteria: []varint
606
+ key: string
607
+ value: void
608
+ requirements: []varint
609
+ _: string[]varint
610
+ identifiers: string[]varint
611
+ progressMapping: []varint
612
+ key: string
613
+ value: []varint
614
+ criterionIdentifier: string
615
+ criterionProgress?: i64
616
+ packet_block_break_animation:
617
+ entityId: varint
618
+ location: position
619
+ destroyStage: i8
620
+ packet_tile_entity_data:
621
+ location: position
622
+ action: u8
623
+ nbtData: optionalNbt
624
+ packet_block_action:
625
+ location: position
626
+ byte1: u8
627
+ byte2: u8
628
+ blockId: varint
629
+ packet_block_change:
630
+ location: position
631
+ type: varint
632
+ packet_boss_bar:
633
+ entityUUID: UUID
634
+ action: varint
635
+ title: action ?
636
+ if 0: string
637
+ if 3: string
638
+ default: void
639
+ health: action ?
640
+ if 0: f32
641
+ if 2: f32
642
+ default: void
643
+ color: action ?
644
+ if 0: varint
645
+ if 4: varint
646
+ default: void
647
+ dividers: action ?
648
+ if 0: varint
649
+ if 4: varint
650
+ default: void
651
+ flags: action ?
652
+ if 0: u8
653
+ if 5: u8
654
+ default: void
655
+ packet_difficulty:
656
+ difficulty: u8
657
+ packet_tab_complete:
658
+ transactionId: varint
659
+ start: varint
660
+ length: varint
661
+ matches: []varint
662
+ match: string
663
+ tooltip?: string
664
+ packet_declare_commands:
665
+ nodes: command_node[]varint
666
+ rootIndex: varint
667
+ packet_face_player:
668
+ feet_eyes: varint
669
+ x: f64
670
+ y: f64
671
+ z: f64
672
+ isEntity: bool
673
+ entityId: isEntity ?
674
+ if true: varint
675
+ default: void
676
+ entity_feet_eyes: isEntity ?
677
+ if true: string
678
+ default: void
679
+ packet_nbt_query_response:
680
+ transactionId: varint
681
+ nbt: optionalNbt
682
+ packet_chat:
683
+ message: string
684
+ position: i8
685
+ packet_multi_block_change:
686
+ chunkX: i32
687
+ chunkZ: i32
688
+ records: []varint
689
+ horizontalPos: u8
690
+ y: u8
691
+ blockId: varint
692
+ packet_transaction:
693
+ windowId: i8
694
+ action: i16
695
+ accepted: bool
696
+ packet_close_window:
697
+ windowId: u8
698
+ packet_open_window:
699
+ windowId: u8
700
+ inventoryType: string
701
+ windowTitle: string
702
+ slotCount: u8
703
+ entityId: inventoryType ?
704
+ if EntityHorse: i32
705
+ default: void
706
+ packet_window_items:
707
+ windowId: u8
708
+ items: slot[]i16
709
+ packet_craft_progress_bar:
710
+ windowId: u8
711
+ property: i16
712
+ value: i16
713
+ packet_set_slot:
714
+ windowId: i8
715
+ slot: i16
716
+ item: slot
717
+ packet_set_cooldown:
718
+ itemID: varint
719
+ cooldownTicks: varint
720
+ packet_custom_payload:
721
+ channel: string
722
+ data: restBuffer
723
+ packet_named_sound_effect:
724
+ soundName: string
725
+ soundCategory: varint
726
+ x: i32
727
+ y: i32
728
+ z: i32
729
+ volume: f32
730
+ pitch: f32
731
+ packet_kick_disconnect:
732
+ reason: string
733
+ packet_entity_status:
734
+ entityId: i32
735
+ entityStatus: i8
736
+ packet_explosion:
737
+ x: f32
738
+ y: f32
739
+ z: f32
740
+ radius: f32
741
+ affectedBlockOffsets: []i32
742
+ x: i8
743
+ y: i8
744
+ z: i8
745
+ playerMotionX: f32
746
+ playerMotionY: f32
747
+ playerMotionZ: f32
748
+ packet_unload_chunk:
749
+ chunkX: i32
750
+ chunkZ: i32
751
+ packet_game_state_change:
752
+ reason: u8
753
+ gameMode: f32
754
+ packet_keep_alive:
755
+ keepAliveId: i64
756
+ packet_map_chunk:
757
+ x: i32
758
+ z: i32
759
+ groundUp: bool
760
+ bitMap: varint
761
+ chunkData: [
762
+ "buffer",
763
+ {
764
+ "countType": "varint"
765
+ }
766
+ ]
767
+ blockEntities: nbt[]varint
768
+ packet_world_event:
769
+ effectId: i32
770
+ location: position
771
+ data: i32
772
+ global: bool
773
+ packet_world_particles:
774
+ particleId: i32
775
+ longDistance: bool
776
+ x: f32
777
+ y: f32
778
+ z: f32
779
+ offsetX: f32
780
+ offsetY: f32
781
+ offsetZ: f32
782
+ particleData: f32
783
+ particles: i32
784
+ data: [
785
+ "particleData",
786
+ {
787
+ "compareTo": "particleId"
788
+ }
789
+ ]
790
+ packet_login:
791
+ entityId: i32
792
+ gameMode: u8
793
+ dimension: i32
794
+ difficulty: u8
795
+ maxPlayers: u8
796
+ levelType: string
797
+ reducedDebugInfo: bool
798
+ packet_map:
799
+ itemDamage: varint
800
+ scale: i8
801
+ trackingPosition: bool
802
+ icons: []varint
803
+ type: varint
804
+ x: i8
805
+ z: i8
806
+ direction: u8
807
+ displayName?: string
808
+ columns: i8
809
+ rows: columns ?
810
+ if 0: void
811
+ default: i8
812
+ x: columns ?
813
+ if 0: void
814
+ default: i8
815
+ y: columns ?
816
+ if 0: void
817
+ default: i8
818
+ data: columns ?
819
+ if 0: void
820
+ default: [
821
+ "buffer",
822
+ {
823
+ "countType": "varint"
824
+ }
825
+ ]
826
+ packet_rel_entity_move:
827
+ entityId: varint
828
+ dX: i16
829
+ dY: i16
830
+ dZ: i16
831
+ onGround: bool
832
+ packet_entity_move_look:
833
+ entityId: varint
834
+ dX: i16
835
+ dY: i16
836
+ dZ: i16
837
+ yaw: i8
838
+ pitch: i8
839
+ onGround: bool
840
+ packet_entity_look:
841
+ entityId: varint
842
+ yaw: i8
843
+ pitch: i8
844
+ onGround: bool
845
+ packet_entity:
846
+ entityId: varint
847
+ packet_vehicle_move:
848
+ x: f64
849
+ y: f64
850
+ z: f64
851
+ yaw: f32
852
+ pitch: f32
853
+ packet_open_sign_entity:
854
+ location: position
855
+ packet_craft_recipe_response:
856
+ windowId: i8
857
+ recipe: string
858
+ packet_abilities:
859
+ flags: i8
860
+ flyingSpeed: f32
861
+ walkingSpeed: f32
862
+ packet_combat_event:
863
+ event: varint
864
+ duration: event ?
865
+ if 1: varint
866
+ default: void
867
+ playerId: event ?
868
+ if 2: varint
869
+ default: void
870
+ entityId: event ?
871
+ if 1: i32
872
+ if 2: i32
873
+ default: void
874
+ message: event ?
875
+ if 2: string
876
+ default: void
877
+ packet_player_info:
878
+ action: varint
879
+ data: []varint
880
+ UUID: UUID
881
+ name: ../action ?
882
+ if 0: string
883
+ default: void
884
+ properties: ../action ?
885
+ if 0: []varint
886
+ name: string
887
+ value: string
888
+ signature?: string
889
+ default: void
890
+ gamemode: ../action ?
891
+ if 0: varint
892
+ if 1: varint
893
+ default: void
894
+ ping: ../action ?
895
+ if 0: varint
896
+ if 2: varint
897
+ default: void
898
+ displayName: ../action ?
899
+ if 0: [
900
+ "option",
901
+ "string"
902
+ ]
903
+ if 3: [
904
+ "option",
905
+ "string"
906
+ ]
907
+ default: void
908
+ packet_position:
909
+ x: f64
910
+ y: f64
911
+ z: f64
912
+ yaw: f32
913
+ pitch: f32
914
+ flags: i8
915
+ teleportId: varint
916
+ packet_bed:
917
+ entityId: varint
918
+ location: position
919
+ packet_unlock_recipes:
920
+ action: varint
921
+ craftingBookOpen: bool
922
+ filteringCraftable: bool
923
+ smeltingBookOpen: bool
924
+ filteringSmeltable: bool
925
+ recipes1: string[]varint
926
+ recipes2: action ?
927
+ if 0: string[]varint
928
+ default: void
929
+ packet_entity_destroy:
930
+ entityIds: varint[]varint
931
+ packet_remove_entity_effect:
932
+ entityId: varint
933
+ effectId: i8
934
+ packet_resource_pack_send:
935
+ url: string
936
+ hash: string
937
+ packet_respawn:
938
+ dimension: i32
939
+ difficulty: u8
940
+ gamemode: u8
941
+ levelType: string
942
+ packet_entity_head_rotation:
943
+ entityId: varint
944
+ headYaw: i8
945
+ packet_world_border:
946
+ action: varint
947
+ radius: action ?
948
+ if 0: f64
949
+ default: void
950
+ x: action ?
951
+ if 2: f64
952
+ if 3: f64
953
+ default: void
954
+ z: action ?
955
+ if 2: f64
956
+ if 3: f64
957
+ default: void
958
+ old_radius: action ?
959
+ if 1: f64
960
+ if 3: f64
961
+ default: void
962
+ new_radius: action ?
963
+ if 1: f64
964
+ if 3: f64
965
+ default: void
966
+ speed: action ?
967
+ if 1: varlong
968
+ if 3: varlong
969
+ default: void
970
+ portalBoundary: action ?
971
+ if 3: varint
972
+ default: void
973
+ warning_time: action ?
974
+ if 3: varint
975
+ if 4: varint
976
+ default: void
977
+ warning_blocks: action ?
978
+ if 3: varint
979
+ if 5: varint
980
+ default: void
981
+ packet_camera:
982
+ cameraId: varint
983
+ packet_held_item_slot:
984
+ slot: i8
985
+ packet_scoreboard_display_objective:
986
+ position: i8
987
+ name: string
988
+ packet_entity_metadata:
989
+ entityId: varint
990
+ metadata: entityMetadata
991
+ packet_attach_entity:
992
+ entityId: i32
993
+ vehicleId: i32
994
+ packet_entity_velocity:
995
+ entityId: varint
996
+ velocityX: i16
997
+ velocityY: i16
998
+ velocityZ: i16
999
+ packet_entity_equipment:
1000
+ entityId: varint
1001
+ slot: varint
1002
+ item: slot
1003
+ packet_experience:
1004
+ experienceBar: f32
1005
+ level: varint
1006
+ totalExperience: varint
1007
+ packet_update_health:
1008
+ health: f32
1009
+ food: varint
1010
+ foodSaturation: f32
1011
+ packet_scoreboard_objective:
1012
+ name: string
1013
+ action: i8
1014
+ displayText: action ?
1015
+ if 0: string
1016
+ if 2: string
1017
+ default: void
1018
+ type: action ?
1019
+ if 0: varint
1020
+ if 2: varint
1021
+ default: void
1022
+ packet_set_passengers:
1023
+ entityId: varint
1024
+ passengers: varint[]varint
1025
+ packet_teams:
1026
+ team: string
1027
+ mode: i8
1028
+ name: mode ?
1029
+ if 0: string
1030
+ if 2: string
1031
+ default: void
1032
+ friendlyFire: mode ?
1033
+ if 0: i8
1034
+ if 2: i8
1035
+ default: void
1036
+ nameTagVisibility: mode ?
1037
+ if 0: string
1038
+ if 2: string
1039
+ default: void
1040
+ collisionRule: mode ?
1041
+ if 0: string
1042
+ if 2: string
1043
+ default: void
1044
+ formatting: mode ?
1045
+ if 0: varint
1046
+ if 2: varint
1047
+ default: void
1048
+ prefix: mode ?
1049
+ if 0: string
1050
+ if 2: string
1051
+ default: void
1052
+ suffix: mode ?
1053
+ if 0: string
1054
+ if 2: string
1055
+ default: void
1056
+ players: mode ?
1057
+ if 0: string[]varint
1058
+ if 3: string[]varint
1059
+ if 4: string[]varint
1060
+ default: void
1061
+ packet_scoreboard_score:
1062
+ itemName: string
1063
+ action: varint
1064
+ scoreName: string
1065
+ value: action ?
1066
+ if 1: void
1067
+ default: varint
1068
+ packet_spawn_position:
1069
+ location: position
1070
+ packet_update_time:
1071
+ age: i64
1072
+ time: i64
1073
+ packet_title:
1074
+ action: varint
1075
+ text: action ?
1076
+ if 0: string
1077
+ if 1: string
1078
+ if 2: string
1079
+ default: void
1080
+ fadeIn: action ?
1081
+ if 3: i32
1082
+ default: void
1083
+ stay: action ?
1084
+ if 3: i32
1085
+ default: void
1086
+ fadeOut: action ?
1087
+ if 3: i32
1088
+ default: void
1089
+ packet_stop_sound:
1090
+ flags: i8
1091
+ source: flags ?
1092
+ if 1: varint
1093
+ if 3: varint
1094
+ default: void
1095
+ sound: flags ?
1096
+ if 2: string
1097
+ if 3: string
1098
+ default: void
1099
+ packet_sound_effect:
1100
+ soundId: varint
1101
+ soundCategory: varint
1102
+ x: i32
1103
+ y: i32
1104
+ z: i32
1105
+ volume: f32
1106
+ pitch: f32
1107
+ packet_playerlist_header:
1108
+ header: string
1109
+ footer: string
1110
+ packet_collect:
1111
+ collectedEntityId: varint
1112
+ collectorEntityId: varint
1113
+ pickupItemCount: varint
1114
+ packet_entity_teleport:
1115
+ entityId: varint
1116
+ x: f64
1117
+ y: f64
1118
+ z: f64
1119
+ yaw: i8
1120
+ pitch: i8
1121
+ onGround: bool
1122
+ packet_entity_update_attributes:
1123
+ entityId: varint
1124
+ properties: []i32
1125
+ key: string
1126
+ value: f64
1127
+ modifiers: []varint
1128
+ uuid: UUID
1129
+ amount: f64
1130
+ operation: i8
1131
+ packet_entity_effect:
1132
+ entityId: varint
1133
+ effectId: i8
1134
+ amplifier: i8
1135
+ duration: varint
1136
+ hideParticles: i8
1137
+ packet_select_advancement_tab:
1138
+ id?: string
1139
+ packet_declare_recipes:
1140
+ recipes: []varint
1141
+ recipeId: string
1142
+ type: string
1143
+ data: type ?
1144
+ if crafting_shapeless:
1145
+ group: string
1146
+ ingredients: ingredient[]varint
1147
+ result: slot
1148
+ if crafting_shaped:
1149
+ width: varint
1150
+ height: varint
1151
+ group: string
1152
+ ingredients: []$width
1153
+ _: ingredient[]$height
1154
+ result: slot
1155
+ if crafting_special_armordye: void
1156
+ if crafting_special_bookcloning: void
1157
+ if crafting_special_mapcloning: void
1158
+ if crafting_special_mapextending: void
1159
+ if crafting_special_firework_rocket: void
1160
+ if crafting_special_firework_star: void
1161
+ if crafting_special_firework_star_fade: void
1162
+ if crafting_special_repairitem: void
1163
+ if crafting_special_tippedarrow: void
1164
+ if crafting_special_bannerduplicate: void
1165
+ if crafting_special_banneraddpattern: void
1166
+ if crafting_special_shielddecoration: void
1167
+ if crafting_special_shulkerboxcoloring: void
1168
+ if smelting:
1169
+ group: string
1170
+ ingredient: ingredient
1171
+ result: slot
1172
+ experience: f32
1173
+ cookTime: varint
1174
+ tags: []varint
1175
+ tagName: string
1176
+ entries: varint[]varint
1177
+ packet_tags:
1178
+ blockTags: tags
1179
+ itemTags: tags
1180
+ fluidTags: tags
1181
+ packet:
1182
+ name: varint =>
1183
+ 0x00: spawn_entity
1184
+ 0x01: spawn_entity_experience_orb
1185
+ 0x02: spawn_entity_weather
1186
+ 0x03: spawn_entity_living
1187
+ 0x04: spawn_entity_painting
1188
+ 0x05: named_entity_spawn
1189
+ 0x06: animation
1190
+ 0x07: statistics
1191
+ 0x08: block_break_animation
1192
+ 0x09: tile_entity_data
1193
+ 0x0a: block_action
1194
+ 0x0b: block_change
1195
+ 0x0c: boss_bar
1196
+ 0x0d: difficulty
1197
+ 0x0e: chat
1198
+ 0x0f: multi_block_change
1199
+ 0x10: tab_complete
1200
+ 0x11: declare_commands
1201
+ 0x12: transaction
1202
+ 0x13: close_window
1203
+ 0x14: open_window
1204
+ 0x15: window_items
1205
+ 0x16: craft_progress_bar
1206
+ 0x17: set_slot
1207
+ 0x18: set_cooldown
1208
+ 0x19: custom_payload
1209
+ 0x1a: named_sound_effect
1210
+ 0x1b: kick_disconnect
1211
+ 0x1c: entity_status
1212
+ 0x1d: nbt_query_response
1213
+ 0x1e: explosion
1214
+ 0x1f: unload_chunk
1215
+ 0x20: game_state_change
1216
+ 0x21: keep_alive
1217
+ 0x22: map_chunk
1218
+ 0x23: world_event
1219
+ 0x24: world_particles
1220
+ 0x25: login
1221
+ 0x26: map
1222
+ 0x27: entity
1223
+ 0x28: rel_entity_move
1224
+ 0x29: entity_move_look
1225
+ 0x2a: entity_look
1226
+ 0x2b: vehicle_move
1227
+ 0x2c: open_sign_entity
1228
+ 0x2d: craft_recipe_response
1229
+ 0x2e: abilities
1230
+ 0x2f: combat_event
1231
+ 0x30: player_info
1232
+ 0x31: face_player
1233
+ 0x32: position
1234
+ 0x33: bed
1235
+ 0x34: unlock_recipes
1236
+ 0x35: entity_destroy
1237
+ 0x36: remove_entity_effect
1238
+ 0x37: resource_pack_send
1239
+ 0x38: respawn
1240
+ 0x39: entity_head_rotation
1241
+ 0x3a: select_advancement_tab
1242
+ 0x3b: world_border
1243
+ 0x3c: camera
1244
+ 0x3d: held_item_slot
1245
+ 0x3e: scoreboard_display_objective
1246
+ 0x3f: entity_metadata
1247
+ 0x40: attach_entity
1248
+ 0x41: entity_velocity
1249
+ 0x42: entity_equipment
1250
+ 0x43: experience
1251
+ 0x44: update_health
1252
+ 0x45: scoreboard_objective
1253
+ 0x46: set_passengers
1254
+ 0x47: teams
1255
+ 0x48: scoreboard_score
1256
+ 0x49: spawn_position
1257
+ 0x4a: update_time
1258
+ 0x4b: title
1259
+ 0x4c: stop_sound
1260
+ 0x4d: sound_effect
1261
+ 0x4e: playerlist_header
1262
+ 0x4f: collect
1263
+ 0x50: entity_teleport
1264
+ 0x51: advancements
1265
+ 0x52: entity_update_attributes
1266
+ 0x53: entity_effect
1267
+ 0x54: declare_recipes
1268
+ 0x55: tags
1269
+ params: name ?
1270
+ if spawn_entity: packet_spawn_entity
1271
+ if spawn_entity_experience_orb: packet_spawn_entity_experience_orb
1272
+ if spawn_entity_weather: packet_spawn_entity_weather
1273
+ if spawn_entity_living: packet_spawn_entity_living
1274
+ if spawn_entity_painting: packet_spawn_entity_painting
1275
+ if named_entity_spawn: packet_named_entity_spawn
1276
+ if animation: packet_animation
1277
+ if statistics: packet_statistics
1278
+ if advancements: packet_advancements
1279
+ if block_break_animation: packet_block_break_animation
1280
+ if tile_entity_data: packet_tile_entity_data
1281
+ if block_action: packet_block_action
1282
+ if block_change: packet_block_change
1283
+ if boss_bar: packet_boss_bar
1284
+ if difficulty: packet_difficulty
1285
+ if tab_complete: packet_tab_complete
1286
+ if declare_commands: packet_declare_commands
1287
+ if face_player: packet_face_player
1288
+ if nbt_query_response: packet_nbt_query_response
1289
+ if chat: packet_chat
1290
+ if multi_block_change: packet_multi_block_change
1291
+ if transaction: packet_transaction
1292
+ if close_window: packet_close_window
1293
+ if open_window: packet_open_window
1294
+ if window_items: packet_window_items
1295
+ if craft_progress_bar: packet_craft_progress_bar
1296
+ if set_slot: packet_set_slot
1297
+ if set_cooldown: packet_set_cooldown
1298
+ if custom_payload: packet_custom_payload
1299
+ if named_sound_effect: packet_named_sound_effect
1300
+ if kick_disconnect: packet_kick_disconnect
1301
+ if entity_status: packet_entity_status
1302
+ if explosion: packet_explosion
1303
+ if unload_chunk: packet_unload_chunk
1304
+ if game_state_change: packet_game_state_change
1305
+ if keep_alive: packet_keep_alive
1306
+ if map_chunk: packet_map_chunk
1307
+ if world_event: packet_world_event
1308
+ if world_particles: packet_world_particles
1309
+ if login: packet_login
1310
+ if map: packet_map
1311
+ if rel_entity_move: packet_rel_entity_move
1312
+ if entity_move_look: packet_entity_move_look
1313
+ if entity_look: packet_entity_look
1314
+ if entity: packet_entity
1315
+ if vehicle_move: packet_vehicle_move
1316
+ if open_sign_entity: packet_open_sign_entity
1317
+ if craft_recipe_response: packet_craft_recipe_response
1318
+ if abilities: packet_abilities
1319
+ if combat_event: packet_combat_event
1320
+ if player_info: packet_player_info
1321
+ if position: packet_position
1322
+ if bed: packet_bed
1323
+ if unlock_recipes: packet_unlock_recipes
1324
+ if entity_destroy: packet_entity_destroy
1325
+ if remove_entity_effect: packet_remove_entity_effect
1326
+ if resource_pack_send: packet_resource_pack_send
1327
+ if respawn: packet_respawn
1328
+ if entity_update_attributes: packet_entity_update_attributes
1329
+ if world_border: packet_world_border
1330
+ if camera: packet_camera
1331
+ if held_item_slot: packet_held_item_slot
1332
+ if scoreboard_display_objective: packet_scoreboard_display_objective
1333
+ if entity_metadata: packet_entity_metadata
1334
+ if attach_entity: packet_attach_entity
1335
+ if entity_velocity: packet_entity_velocity
1336
+ if entity_equipment: packet_entity_equipment
1337
+ if experience: packet_experience
1338
+ if update_health: packet_update_health
1339
+ if scoreboard_objective: packet_scoreboard_objective
1340
+ if set_passengers: packet_set_passengers
1341
+ if teams: packet_teams
1342
+ if scoreboard_score: packet_scoreboard_score
1343
+ if spawn_position: packet_spawn_position
1344
+ if update_time: packet_update_time
1345
+ if title: packet_title
1346
+ if stop_sound: packet_stop_sound
1347
+ if sound_effect: packet_sound_effect
1348
+ if playerlist_header: packet_playerlist_header
1349
+ if collect: packet_collect
1350
+ if entity_teleport: packet_entity_teleport
1351
+ if entity_head_rotation: packet_entity_head_rotation
1352
+ if entity_effect: packet_entity_effect
1353
+ if select_advancement_tab: packet_select_advancement_tab
1354
+ if declare_recipes: packet_declare_recipes
1355
+ if tags: packet_tags
1356
+
1357
+ ^play.toServer.types:
1358
+ packet_teleport_confirm:
1359
+ teleportId: varint
1360
+ packet_query_block_nbt:
1361
+ transactionId: varint
1362
+ location: position
1363
+ packet_edit_book:
1364
+ new_book: slot
1365
+ signing: bool
1366
+ packet_query_entity_nbt:
1367
+ transactionId: varint
1368
+ entityId: varint
1369
+ packet_pick_item:
1370
+ slot: varint
1371
+ packet_name_item:
1372
+ name: string
1373
+ packet_select_trade:
1374
+ slot: varint
1375
+ packet_set_beacon_effect:
1376
+ primary_effect: varint
1377
+ secondary_effect: varint
1378
+ packet_update_command_block:
1379
+ location: position
1380
+ command: string
1381
+ mode: varint
1382
+ flags: u8
1383
+ packet_update_command_block_minecart:
1384
+ entityId: varint
1385
+ command: string
1386
+ track_output: bool
1387
+ packet_update_structure_block:
1388
+ location: position
1389
+ action: varint
1390
+ mode: varint
1391
+ name: string
1392
+ offset_x: i8
1393
+ offset_y: i8
1394
+ offset_z: i8
1395
+ size_x: i8
1396
+ size_y: i8
1397
+ size_z: i8
1398
+ mirror: varint
1399
+ rotation: varint
1400
+ metadata: string
1401
+ integrity: f32
1402
+ seed: varlong
1403
+ flags: u8
1404
+ packet_tab_complete:
1405
+ transactionId: varint
1406
+ text: string
1407
+ packet_chat:
1408
+ message: string
1409
+ packet_client_command:
1410
+ actionId: varint
1411
+ packet_settings:
1412
+ locale: string
1413
+ viewDistance: i8
1414
+ chatFlags: varint
1415
+ chatColors: bool
1416
+ skinParts: u8
1417
+ mainHand: varint
1418
+ packet_transaction:
1419
+ windowId: i8
1420
+ action: i16
1421
+ accepted: bool
1422
+ packet_enchant_item:
1423
+ windowId: i8
1424
+ enchantment: i8
1425
+ packet_window_click:
1426
+ windowId: u8
1427
+ slot: i16
1428
+ mouseButton: i8
1429
+ action: i16
1430
+ mode: i8
1431
+ item: slot
1432
+ packet_close_window:
1433
+ windowId: u8
1434
+ packet_custom_payload:
1435
+ channel: string
1436
+ data: restBuffer
1437
+ packet_use_entity:
1438
+ target: varint
1439
+ mouse: varint
1440
+ x: mouse ?
1441
+ if 2: f32
1442
+ default: void
1443
+ y: mouse ?
1444
+ if 2: f32
1445
+ default: void
1446
+ z: mouse ?
1447
+ if 2: f32
1448
+ default: void
1449
+ hand: mouse ?
1450
+ if 0: varint
1451
+ if 2: varint
1452
+ default: void
1453
+ packet_keep_alive:
1454
+ keepAliveId: i64
1455
+ packet_position:
1456
+ x: f64
1457
+ y: f64
1458
+ z: f64
1459
+ onGround: bool
1460
+ packet_position_look:
1461
+ x: f64
1462
+ y: f64
1463
+ z: f64
1464
+ yaw: f32
1465
+ pitch: f32
1466
+ onGround: bool
1467
+ packet_look:
1468
+ yaw: f32
1469
+ pitch: f32
1470
+ onGround: bool
1471
+ packet_flying:
1472
+ onGround: bool
1473
+ packet_vehicle_move:
1474
+ x: f64
1475
+ y: f64
1476
+ z: f64
1477
+ yaw: f32
1478
+ pitch: f32
1479
+ packet_steer_boat:
1480
+ leftPaddle: bool
1481
+ rightPaddle: bool
1482
+ packet_craft_recipe_request:
1483
+ windowId: i8
1484
+ recipe: string
1485
+ makeAll: bool
1486
+ packet_abilities:
1487
+ flags: i8
1488
+ flyingSpeed: f32
1489
+ walkingSpeed: f32
1490
+ packet_block_dig:
1491
+ status: varint
1492
+ location: position
1493
+ face: i8
1494
+ packet_entity_action:
1495
+ entityId: varint
1496
+ actionId: varint
1497
+ jumpBoost: varint
1498
+ packet_steer_vehicle:
1499
+ sideways: f32
1500
+ forward: f32
1501
+ jump: u8
1502
+ packet_crafting_book_data:
1503
+ type: varint
1504
+ _: type ?
1505
+ if 0:
1506
+ displayedRecipe: string
1507
+ if 1:
1508
+ craftingBookOpen: bool
1509
+ craftingFilter: bool
1510
+ smeltingBookOpen: bool
1511
+ smeltingFilter: bool
1512
+ packet_resource_pack_receive:
1513
+ result: varint
1514
+ packet_held_item_slot:
1515
+ slotId: i16
1516
+ packet_set_creative_slot:
1517
+ slot: i16
1518
+ item: slot
1519
+ packet_update_sign:
1520
+ location: position
1521
+ text1: string
1522
+ text2: string
1523
+ text3: string
1524
+ text4: string
1525
+ packet_arm_animation:
1526
+ hand: varint
1527
+ packet_spectate:
1528
+ target: UUID
1529
+ packet_block_place:
1530
+ location: position
1531
+ direction: varint
1532
+ hand: varint
1533
+ cursorX: f32
1534
+ cursorY: f32
1535
+ cursorZ: f32
1536
+ packet_use_item:
1537
+ hand: varint
1538
+ packet_advancement_tab:
1539
+ action: varint
1540
+ tabId: action ?
1541
+ if 0: string
1542
+ if 1: void
1543
+ packet:
1544
+ name: varint =>
1545
+ 0x00: teleport_confirm
1546
+ 0x01: query_block_nbt
1547
+ 0x02: chat
1548
+ 0x03: client_command
1549
+ 0x04: settings
1550
+ 0x05: tab_complete
1551
+ 0x06: transaction
1552
+ 0x07: enchant_item
1553
+ 0x08: window_click
1554
+ 0x09: close_window
1555
+ 0x0a: custom_payload
1556
+ 0x0b: edit_book
1557
+ 0x0c: query_entity_nbt
1558
+ 0x0d: use_entity
1559
+ 0x0e: keep_alive
1560
+ 0x0f: flying
1561
+ 0x10: position
1562
+ 0x11: position_look
1563
+ 0x12: look
1564
+ 0x13: vehicle_move
1565
+ 0x14: steer_boat
1566
+ 0x15: pick_item
1567
+ 0x16: craft_recipe_request
1568
+ 0x17: abilities
1569
+ 0x18: block_dig
1570
+ 0x19: entity_action
1571
+ 0x1a: steer_vehicle
1572
+ 0x1b: crafting_book_data
1573
+ 0x1c: name_item
1574
+ 0x1d: resource_pack_receive
1575
+ 0x1e: advancement_tab
1576
+ 0x1f: select_trade
1577
+ 0x20: set_beacon_effect
1578
+ 0x21: held_item_slot
1579
+ 0x22: update_command_block
1580
+ 0x23: update_command_block_minecart
1581
+ 0x24: set_creative_slot
1582
+ 0x25: update_structure_block
1583
+ 0x26: update_sign
1584
+ 0x27: arm_animation
1585
+ 0x28: spectate
1586
+ 0x29: block_place
1587
+ 0x2a: use_item
1588
+ params: name ?
1589
+ if teleport_confirm: packet_teleport_confirm
1590
+ if query_block_nbt: packet_query_block_nbt
1591
+ if edit_book: packet_edit_book
1592
+ if query_entity_nbt: packet_query_entity_nbt
1593
+ if pick_item: packet_pick_item
1594
+ if name_item: packet_name_item
1595
+ if select_trade: packet_select_trade
1596
+ if set_beacon_effect: packet_set_beacon_effect
1597
+ if update_command_block: packet_update_command_block
1598
+ if update_command_block_minecart: packet_update_command_block_minecart
1599
+ if update_structure_block: packet_update_structure_block
1600
+ if tab_complete: packet_tab_complete
1601
+ if chat: packet_chat
1602
+ if client_command: packet_client_command
1603
+ if settings: packet_settings
1604
+ if transaction: packet_transaction
1605
+ if enchant_item: packet_enchant_item
1606
+ if window_click: packet_window_click
1607
+ if close_window: packet_close_window
1608
+ if custom_payload: packet_custom_payload
1609
+ if use_entity: packet_use_entity
1610
+ if keep_alive: packet_keep_alive
1611
+ if position: packet_position
1612
+ if position_look: packet_position_look
1613
+ if look: packet_look
1614
+ if flying: packet_flying
1615
+ if vehicle_move: packet_vehicle_move
1616
+ if steer_boat: packet_steer_boat
1617
+ if craft_recipe_request: packet_craft_recipe_request
1618
+ if abilities: packet_abilities
1619
+ if block_dig: packet_block_dig
1620
+ if entity_action: packet_entity_action
1621
+ if steer_vehicle: packet_steer_vehicle
1622
+ if crafting_book_data: packet_crafting_book_data
1623
+ if resource_pack_receive: packet_resource_pack_receive
1624
+ if held_item_slot: packet_held_item_slot
1625
+ if set_creative_slot: packet_set_creative_slot
1626
+ if update_sign: packet_update_sign
1627
+ if arm_animation: packet_arm_animation
1628
+ if spectate: packet_spectate
1629
+ if block_place: packet_block_place
1630
+ if use_item: packet_use_item
1631
+ if advancement_tab: packet_advancement_tab