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