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