minecraft-data 3.67.0 → 3.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/data.js +124 -51
  2. package/doc/history.md +4 -0
  3. package/index.d.ts +30 -24
  4. package/minecraft-data/README.md +1 -1
  5. package/minecraft-data/data/bedrock/1.16.201/protocol.json +33 -66
  6. package/minecraft-data/data/bedrock/1.16.210/protocol.json +39 -78
  7. package/minecraft-data/data/bedrock/1.16.220/protocol.json +46 -92
  8. package/minecraft-data/data/bedrock/1.17.0/protocol.json +46 -92
  9. package/minecraft-data/data/bedrock/1.17.10/protocol.json +46 -92
  10. package/minecraft-data/data/bedrock/1.17.30/protocol.json +48 -96
  11. package/minecraft-data/data/bedrock/1.17.40/protocol.json +48 -96
  12. package/minecraft-data/data/bedrock/1.18.0/protocol.json +50 -100
  13. package/minecraft-data/data/bedrock/1.18.11/protocol.json +52 -104
  14. package/minecraft-data/data/bedrock/1.18.30/protocol.json +52 -104
  15. package/minecraft-data/data/bedrock/1.19.1/protocol.json +52 -104
  16. package/minecraft-data/data/bedrock/1.19.10/protocol.json +52 -104
  17. package/minecraft-data/data/bedrock/1.19.20/protocol.json +54 -108
  18. package/minecraft-data/data/bedrock/1.19.21/protocol.json +54 -108
  19. package/minecraft-data/data/bedrock/1.19.30/protocol.json +55 -110
  20. package/minecraft-data/data/bedrock/1.19.40/protocol.json +55 -110
  21. package/minecraft-data/data/bedrock/1.19.50/protocol.json +55 -110
  22. package/minecraft-data/data/bedrock/1.19.60/protocol.json +55 -110
  23. package/minecraft-data/data/bedrock/1.19.62/protocol.json +55 -110
  24. package/minecraft-data/data/bedrock/1.19.70/protocol.json +55 -110
  25. package/minecraft-data/data/bedrock/1.19.80/protocol.json +55 -110
  26. package/minecraft-data/data/bedrock/1.20.0/protocol.json +55 -110
  27. package/minecraft-data/data/bedrock/1.20.10/protocol.json +55 -110
  28. package/minecraft-data/data/bedrock/1.20.30/protocol.json +55 -110
  29. package/minecraft-data/data/bedrock/1.20.40/protocol.json +55 -110
  30. package/minecraft-data/data/bedrock/1.20.50/protocol.json +55 -110
  31. package/minecraft-data/data/bedrock/1.20.61/protocol.json +56 -112
  32. package/minecraft-data/data/bedrock/1.20.71/protocol.json +56 -112
  33. package/minecraft-data/data/bedrock/1.20.80/proto.yml +3 -0
  34. package/minecraft-data/data/bedrock/1.20.80/protocol.json +70 -114
  35. package/minecraft-data/data/bedrock/1.21.0/proto.yml +3 -0
  36. package/minecraft-data/data/bedrock/1.21.0/protocol.json +71 -116
  37. package/minecraft-data/data/bedrock/1.21.2/proto.yml +4195 -0
  38. package/minecraft-data/data/bedrock/1.21.2/protocol.json +58 -116
  39. package/minecraft-data/data/bedrock/1.21.2/types.yml +2373 -0
  40. package/minecraft-data/data/bedrock/1.21.20/protocol.json +12554 -0
  41. package/minecraft-data/data/bedrock/1.21.20/version.json +6 -0
  42. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  43. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  44. package/minecraft-data/data/bedrock/latest/proto.yml +33 -6
  45. package/minecraft-data/data/bedrock/latest/types.yml +31 -0
  46. package/minecraft-data/data/dataPaths.json +124 -51
  47. package/minecraft-data/data/pc/0.30c/proto.yml +138 -0
  48. package/minecraft-data/data/pc/0.30c/protocol.json +6 -6
  49. package/minecraft-data/data/pc/1.10/proto.yml +1101 -0
  50. package/minecraft-data/data/pc/1.10/protocol.json +34 -13
  51. package/minecraft-data/data/pc/1.10-pre1/proto.yml +1101 -0
  52. package/minecraft-data/data/pc/1.10-pre1/protocol.json +34 -13
  53. package/minecraft-data/data/pc/1.11/proto.yml +1103 -0
  54. package/minecraft-data/data/pc/1.11/protocol.json +34 -13
  55. package/minecraft-data/data/pc/1.12/proto.yml +1202 -0
  56. package/minecraft-data/data/pc/1.12/protocol.json +71 -34
  57. package/minecraft-data/data/pc/1.12-pre4/proto.yml +1174 -0
  58. package/minecraft-data/data/pc/1.12-pre4/protocol.json +51 -30
  59. package/minecraft-data/data/pc/1.12.1/proto.yml +1200 -0
  60. package/minecraft-data/data/pc/1.12.1/protocol.json +68 -31
  61. package/minecraft-data/data/pc/1.12.2/proto.yml +1200 -0
  62. package/minecraft-data/data/pc/1.12.2/protocol.json +68 -31
  63. package/minecraft-data/data/pc/1.13/proto.yml +1631 -0
  64. package/minecraft-data/data/pc/1.13/protocol.json +531 -463
  65. package/minecraft-data/data/pc/1.13.1/proto.yml +1632 -0
  66. package/minecraft-data/data/pc/1.13.1/protocol.json +535 -467
  67. package/minecraft-data/data/pc/1.13.2/proto.yml +1633 -0
  68. package/minecraft-data/data/pc/1.13.2/protocol.json +241 -174
  69. package/minecraft-data/data/pc/1.13.2-pre1/proto.yml +1633 -0
  70. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +241 -174
  71. package/minecraft-data/data/pc/1.13.2-pre2/proto.yml +1633 -0
  72. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +241 -174
  73. package/minecraft-data/data/pc/1.14/proto.yml +1717 -0
  74. package/minecraft-data/data/pc/1.14/protocol.json +304 -226
  75. package/minecraft-data/data/pc/1.14.1/proto.yml +1717 -0
  76. package/minecraft-data/data/pc/1.14.1/protocol.json +304 -226
  77. package/minecraft-data/data/pc/1.14.3/proto.yml +1718 -0
  78. package/minecraft-data/data/pc/1.14.3/protocol.json +304 -226
  79. package/minecraft-data/data/pc/1.14.4/proto.yml +1726 -0
  80. package/minecraft-data/data/pc/1.14.4/protocol.json +308 -230
  81. package/minecraft-data/data/pc/1.15/proto.yml +1730 -0
  82. package/minecraft-data/data/pc/1.15/protocol.json +315 -234
  83. package/minecraft-data/data/pc/1.15.1/proto.yml +1730 -0
  84. package/minecraft-data/data/pc/1.15.1/protocol.json +315 -234
  85. package/minecraft-data/data/pc/1.15.2/proto.yml +1730 -0
  86. package/minecraft-data/data/pc/1.15.2/protocol.json +315 -234
  87. package/minecraft-data/data/pc/1.16/proto.yml +1762 -0
  88. package/minecraft-data/data/pc/1.16/protocol.json +357 -264
  89. package/minecraft-data/data/pc/1.16-rc1/proto.yml +1762 -0
  90. package/minecraft-data/data/pc/1.16-rc1/protocol.json +357 -264
  91. package/minecraft-data/data/pc/1.16.1/proto.yml +1762 -0
  92. package/minecraft-data/data/pc/1.16.1/protocol.json +357 -264
  93. package/minecraft-data/data/pc/1.16.2/proto.yml +1776 -0
  94. package/minecraft-data/data/pc/1.16.2/protocol.json +354 -260
  95. package/minecraft-data/data/pc/1.17/proto.yml +1796 -0
  96. package/minecraft-data/data/pc/1.17/protocol.json +5 -5
  97. package/minecraft-data/data/pc/1.17.1/proto.yml +1800 -0
  98. package/minecraft-data/data/pc/1.17.1/protocol.json +5 -5
  99. package/minecraft-data/data/pc/1.18/proto.yml +1836 -0
  100. package/minecraft-data/data/pc/1.18/protocol.json +5 -5
  101. package/minecraft-data/data/pc/1.18.2/proto.yml +1836 -0
  102. package/minecraft-data/data/pc/1.18.2/protocol.json +5 -5
  103. package/minecraft-data/data/pc/1.19/proto.yml +1990 -0
  104. package/minecraft-data/data/pc/1.19/protocol.json +5 -5
  105. package/minecraft-data/data/pc/1.19.2/proto.yml +2085 -0
  106. package/minecraft-data/data/pc/1.19.2/protocol.json +5 -5
  107. package/minecraft-data/data/pc/1.19.3/proto.yml +2322 -0
  108. package/minecraft-data/data/pc/1.19.3/protocol.json +215 -119
  109. package/minecraft-data/data/pc/1.19.4/proto.yml +2413 -0
  110. package/minecraft-data/data/pc/1.20/proto.yml +2409 -0
  111. package/minecraft-data/data/pc/1.20.2/proto.yml +2508 -0
  112. package/minecraft-data/data/pc/1.20.2/protocol.json +1 -1
  113. package/minecraft-data/data/pc/1.20.3/protocol.json +1 -1
  114. package/minecraft-data/data/pc/1.7/proto.yml +922 -0
  115. package/minecraft-data/data/pc/1.7/protocol.json +1 -1
  116. package/minecraft-data/data/pc/1.8/proto.yml +1035 -0
  117. package/minecraft-data/data/pc/1.8/protocol.json +28 -8
  118. package/minecraft-data/data/pc/1.9/proto.yml +1109 -0
  119. package/minecraft-data/data/pc/1.9/protocol.json +30 -10
  120. package/minecraft-data/data/pc/1.9.1-pre2/proto.yml +1109 -0
  121. package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +30 -10
  122. package/minecraft-data/data/pc/1.9.2/proto.yml +1109 -0
  123. package/minecraft-data/data/pc/1.9.2/protocol.json +30 -10
  124. package/minecraft-data/data/pc/1.9.4/proto.yml +1102 -0
  125. package/minecraft-data/data/pc/1.9.4/protocol.json +34 -13
  126. package/minecraft-data/data/pc/15w40b/proto.yml +1070 -0
  127. package/minecraft-data/data/pc/15w40b/protocol.json +107 -87
  128. package/minecraft-data/data/pc/16w20a/proto.yml +1102 -0
  129. package/minecraft-data/data/pc/16w20a/protocol.json +34 -13
  130. package/minecraft-data/data/pc/16w35a/proto.yml +1102 -0
  131. package/minecraft-data/data/pc/16w35a/protocol.json +34 -13
  132. package/minecraft-data/data/pc/17w15a/proto.yml +1165 -0
  133. package/minecraft-data/data/pc/17w15a/protocol.json +44 -23
  134. package/minecraft-data/data/pc/17w18b/proto.yml +1163 -0
  135. package/minecraft-data/data/pc/17w18b/protocol.json +52 -31
  136. package/minecraft-data/data/pc/17w50a/proto.yml +1418 -0
  137. package/minecraft-data/data/pc/17w50a/protocol.json +535 -346
  138. package/minecraft-data/data/pc/20w13b/proto.yml +1732 -0
  139. package/minecraft-data/data/pc/20w13b/protocol.json +315 -235
  140. package/minecraft-data/data/pc/21w07a/proto.yml +1785 -0
  141. package/minecraft-data/data/pc/21w07a/protocol.json +408 -295
  142. package/minecraft-data/data/pc/common/protocolVersions.json +24 -0
  143. package/minecraft-data/data/pc/latest/proto.yml +2762 -0
  144. package/minecraft-data/doc/add-data-new-version.md +3 -0
  145. package/minecraft-data/doc/history.md +4 -0
  146. package/minecraft-data/doc/protocol.md +154 -0
  147. package/minecraft-data/tools/js/compileProtocol.js +67 -45
  148. package/minecraft-data/tools/js/convertMcpcProtocolJsonToYaml.js +65 -0
  149. package/minecraft-data/tools/js/incrementVersion.js +63 -48
  150. package/minecraft-data/tools/js/package.json +3 -1
  151. package/minecraft-data/tools/js/test/protocolSync.js +1 -1
  152. package/package.json +3 -3
  153. package/tsconfig.json +1 -1
  154. package/typings/index-template.d.ts +30 -24
  155. package/typings/test-typings.ts +4 -0
@@ -0,0 +1,1101 @@
1
+ !version: 1.10
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
+ blockId: i16
36
+ _: blockId ?
37
+ if -1: void
38
+ default:
39
+ itemCount: i8
40
+ itemDamage: i16
41
+ nbtData: optionalNbt
42
+ position: [
43
+ "bitfield",
44
+ [
45
+ {
46
+ "name": "x",
47
+ "size": 26,
48
+ "signed": true
49
+ },
50
+ {
51
+ "name": "y",
52
+ "size": 12,
53
+ "signed": true
54
+ },
55
+ {
56
+ "name": "z",
57
+ "size": 26,
58
+ "signed": true
59
+ }
60
+ ]
61
+ ]
62
+ entityMetadataItem: $compareTo ?
63
+ if 0: i8
64
+ if 1: varint
65
+ if 2: f32
66
+ if 3: string
67
+ if 4: string
68
+ if 5: slot
69
+ if 6: bool
70
+ if 7:
71
+ pitch: f32
72
+ yaw: f32
73
+ roll: f32
74
+ if 8: position
75
+ if 9: [
76
+ "option",
77
+ "position"
78
+ ]
79
+ if 10: varint
80
+ if 11: [
81
+ "option",
82
+ "UUID"
83
+ ]
84
+ if 12: varint
85
+ entityMetadata: [
86
+ "entityMetadataLoop",
87
+ {
88
+ "endVal": 255,
89
+ "type": [
90
+ "container",
91
+ [
92
+ {
93
+ "anon": true,
94
+ "type": [
95
+ "container",
96
+ [
97
+ {
98
+ "name": "key",
99
+ "type": "u8"
100
+ },
101
+ {
102
+ "name": "type",
103
+ "type": "i8"
104
+ }
105
+ ]
106
+ ]
107
+ },
108
+ {
109
+ "name": "value",
110
+ "type": [
111
+ "entityMetadataItem",
112
+ {
113
+ "compareTo": "type"
114
+ }
115
+ ]
116
+ }
117
+ ]
118
+ ]
119
+ }
120
+ ]
121
+
122
+ ^handshaking.toClient.types:
123
+ packet:
124
+ name: varint =>
125
+ params: ["switch",{"compareTo":"name","fields":{}}]
126
+
127
+ ^handshaking.toServer.types:
128
+ packet_set_protocol:
129
+ protocolVersion: varint
130
+ serverHost: string
131
+ serverPort: u16
132
+ nextState: varint
133
+ packet_legacy_server_list_ping:
134
+ payload: u8
135
+ packet:
136
+ name: varint =>
137
+ 0x00: set_protocol
138
+ 0xfe: legacy_server_list_ping
139
+ params: name ?
140
+ if set_protocol: packet_set_protocol
141
+ if legacy_server_list_ping: packet_legacy_server_list_ping
142
+
143
+ ^status.toClient.types:
144
+ packet_server_info:
145
+ response: string
146
+ packet_ping:
147
+ time: i64
148
+ packet:
149
+ name: varint =>
150
+ 0x00: server_info
151
+ 0x01: ping
152
+ params: name ?
153
+ if server_info: packet_server_info
154
+ if ping: packet_ping
155
+
156
+ ^status.toServer.types:
157
+ packet_ping_start:
158
+ # Empty
159
+ packet_ping:
160
+ time: i64
161
+ packet:
162
+ name: varint =>
163
+ 0x00: ping_start
164
+ 0x01: ping
165
+ params: name ?
166
+ if ping_start: packet_ping_start
167
+ if ping: packet_ping
168
+
169
+ ^login.toClient.types:
170
+ packet_disconnect:
171
+ reason: string
172
+ packet_encryption_begin:
173
+ serverId: string
174
+ publicKey: [
175
+ "buffer",
176
+ {
177
+ "countType": "varint"
178
+ }
179
+ ]
180
+ verifyToken: [
181
+ "buffer",
182
+ {
183
+ "countType": "varint"
184
+ }
185
+ ]
186
+ packet_success:
187
+ uuid: string
188
+ username: string
189
+ packet_compress:
190
+ threshold: varint
191
+ packet:
192
+ name: varint =>
193
+ 0x00: disconnect
194
+ 0x01: encryption_begin
195
+ 0x02: success
196
+ 0x03: compress
197
+ params: name ?
198
+ if disconnect: packet_disconnect
199
+ if encryption_begin: packet_encryption_begin
200
+ if success: packet_success
201
+ if compress: packet_compress
202
+
203
+ ^login.toServer.types:
204
+ packet_login_start:
205
+ username: string
206
+ packet_encryption_begin:
207
+ sharedSecret: [
208
+ "buffer",
209
+ {
210
+ "countType": "varint"
211
+ }
212
+ ]
213
+ verifyToken: [
214
+ "buffer",
215
+ {
216
+ "countType": "varint"
217
+ }
218
+ ]
219
+ packet:
220
+ name: varint =>
221
+ 0x00: login_start
222
+ 0x01: encryption_begin
223
+ params: name ?
224
+ if login_start: packet_login_start
225
+ if encryption_begin: packet_encryption_begin
226
+
227
+ ^play.toClient.types:
228
+ packet_spawn_entity:
229
+ entityId: varint
230
+ objectUUID: UUID
231
+ type: i8
232
+ x: f64
233
+ y: f64
234
+ z: f64
235
+ pitch: i8
236
+ yaw: i8
237
+ objectData: i32
238
+ velocityX: i16
239
+ velocityY: i16
240
+ velocityZ: i16
241
+ packet_spawn_entity_experience_orb:
242
+ entityId: varint
243
+ x: f64
244
+ y: f64
245
+ z: f64
246
+ count: i16
247
+ packet_spawn_entity_weather:
248
+ entityId: varint
249
+ type: i8
250
+ x: f64
251
+ y: f64
252
+ z: f64
253
+ packet_spawn_entity_living:
254
+ entityId: varint
255
+ entityUUID: UUID
256
+ type: u8
257
+ x: f64
258
+ y: f64
259
+ z: f64
260
+ yaw: i8
261
+ pitch: i8
262
+ headPitch: i8
263
+ velocityX: i16
264
+ velocityY: i16
265
+ velocityZ: i16
266
+ metadata: entityMetadata
267
+ packet_spawn_entity_painting:
268
+ entityId: varint
269
+ entityUUID: UUID
270
+ title: string
271
+ location: position
272
+ direction: u8
273
+ packet_named_entity_spawn:
274
+ entityId: varint
275
+ playerUUID: UUID
276
+ x: f64
277
+ y: f64
278
+ z: f64
279
+ yaw: i8
280
+ pitch: i8
281
+ metadata: entityMetadata
282
+ packet_animation:
283
+ entityId: varint
284
+ animation: u8
285
+ packet_statistics:
286
+ entries: []varint
287
+ name: string
288
+ value: varint
289
+ packet_block_break_animation:
290
+ entityId: varint
291
+ location: position
292
+ destroyStage: i8
293
+ packet_tile_entity_data:
294
+ location: position
295
+ action: u8
296
+ nbtData: optionalNbt
297
+ packet_block_action:
298
+ location: position
299
+ byte1: u8
300
+ byte2: u8
301
+ blockId: varint
302
+ packet_block_change:
303
+ location: position
304
+ type: varint
305
+ packet_boss_bar:
306
+ entityUUID: UUID
307
+ action: varint
308
+ title: action ?
309
+ if 0: string
310
+ if 3: string
311
+ default: void
312
+ health: action ?
313
+ if 0: f32
314
+ if 2: f32
315
+ default: void
316
+ color: action ?
317
+ if 0: varint
318
+ if 4: varint
319
+ default: void
320
+ dividers: action ?
321
+ if 0: varint
322
+ if 4: varint
323
+ default: void
324
+ flags: action ?
325
+ if 0: u8
326
+ if 5: u8
327
+ default: void
328
+ packet_difficulty:
329
+ difficulty: u8
330
+ packet_tab_complete:
331
+ matches: string[]varint
332
+ packet_chat:
333
+ message: string
334
+ position: i8
335
+ packet_multi_block_change:
336
+ chunkX: i32
337
+ chunkZ: i32
338
+ records: []varint
339
+ horizontalPos: u8
340
+ y: u8
341
+ blockId: varint
342
+ packet_transaction:
343
+ windowId: i8
344
+ action: i16
345
+ accepted: bool
346
+ packet_close_window:
347
+ windowId: u8
348
+ packet_open_window:
349
+ windowId: u8
350
+ inventoryType: string
351
+ windowTitle: string
352
+ slotCount: u8
353
+ entityId: inventoryType ?
354
+ if EntityHorse: i32
355
+ default: void
356
+ packet_window_items:
357
+ windowId: u8
358
+ items: slot[]i16
359
+ packet_craft_progress_bar:
360
+ windowId: u8
361
+ property: i16
362
+ value: i16
363
+ packet_set_slot:
364
+ windowId: i8
365
+ slot: i16
366
+ item: slot
367
+ packet_set_cooldown:
368
+ itemID: varint
369
+ cooldownTicks: varint
370
+ packet_custom_payload:
371
+ channel: string
372
+ data: restBuffer
373
+ packet_named_sound_effect:
374
+ soundName: string
375
+ soundCategory: varint
376
+ x: i32
377
+ y: i32
378
+ z: i32
379
+ volume: f32
380
+ pitch: f32
381
+ packet_kick_disconnect:
382
+ reason: string
383
+ packet_entity_status:
384
+ entityId: i32
385
+ entityStatus: i8
386
+ packet_explosion:
387
+ x: f32
388
+ y: f32
389
+ z: f32
390
+ radius: f32
391
+ affectedBlockOffsets: []i32
392
+ x: i8
393
+ y: i8
394
+ z: i8
395
+ playerMotionX: f32
396
+ playerMotionY: f32
397
+ playerMotionZ: f32
398
+ packet_unload_chunk:
399
+ chunkX: i32
400
+ chunkZ: i32
401
+ packet_game_state_change:
402
+ reason: u8
403
+ gameMode: f32
404
+ packet_keep_alive:
405
+ keepAliveId: varint
406
+ packet_map_chunk:
407
+ x: i32
408
+ z: i32
409
+ groundUp: bool
410
+ bitMap: varint
411
+ chunkData: [
412
+ "buffer",
413
+ {
414
+ "countType": "varint"
415
+ }
416
+ ]
417
+ blockEntities: nbt[]varint
418
+ packet_world_event:
419
+ effectId: i32
420
+ location: position
421
+ data: i32
422
+ global: bool
423
+ packet_world_particles:
424
+ particleId: i32
425
+ longDistance: bool
426
+ x: f32
427
+ y: f32
428
+ z: f32
429
+ offsetX: f32
430
+ offsetY: f32
431
+ offsetZ: f32
432
+ particleData: f32
433
+ particles: i32
434
+ data: particleId ?
435
+ if 36: varint[]$2
436
+ if 37: varint[]$1
437
+ if 38: varint[]$1
438
+ default: void
439
+ packet_login:
440
+ entityId: i32
441
+ gameMode: u8
442
+ dimension: i32
443
+ difficulty: u8
444
+ maxPlayers: u8
445
+ levelType: string
446
+ reducedDebugInfo: bool
447
+ packet_map:
448
+ itemDamage: varint
449
+ scale: i8
450
+ trackingPosition: bool
451
+ icons: []varint
452
+ directionAndType: i8
453
+ x: i8
454
+ z: i8
455
+ columns: i8
456
+ rows: columns ?
457
+ if 0: void
458
+ default: i8
459
+ x: columns ?
460
+ if 0: void
461
+ default: i8
462
+ y: columns ?
463
+ if 0: void
464
+ default: i8
465
+ data: columns ?
466
+ if 0: void
467
+ default: [
468
+ "buffer",
469
+ {
470
+ "countType": "varint"
471
+ }
472
+ ]
473
+ packet_rel_entity_move:
474
+ entityId: varint
475
+ dX: i16
476
+ dY: i16
477
+ dZ: i16
478
+ onGround: bool
479
+ packet_entity_move_look:
480
+ entityId: varint
481
+ dX: i16
482
+ dY: i16
483
+ dZ: i16
484
+ yaw: i8
485
+ pitch: i8
486
+ onGround: bool
487
+ packet_entity_look:
488
+ entityId: varint
489
+ yaw: i8
490
+ pitch: i8
491
+ onGround: bool
492
+ packet_entity:
493
+ entityId: varint
494
+ packet_vehicle_move:
495
+ x: f64
496
+ y: f64
497
+ z: f64
498
+ yaw: f32
499
+ pitch: f32
500
+ packet_open_sign_entity:
501
+ location: position
502
+ packet_abilities:
503
+ flags: i8
504
+ flyingSpeed: f32
505
+ walkingSpeed: f32
506
+ packet_combat_event:
507
+ event: varint
508
+ duration: event ?
509
+ if 1: varint
510
+ default: void
511
+ playerId: event ?
512
+ if 2: varint
513
+ default: void
514
+ entityId: event ?
515
+ if 1: i32
516
+ if 2: i32
517
+ default: void
518
+ message: event ?
519
+ if 2: string
520
+ default: void
521
+ packet_player_info:
522
+ action: varint
523
+ data: []varint
524
+ UUID: UUID
525
+ name: ../action ?
526
+ if 0: string
527
+ default: void
528
+ properties: ../action ?
529
+ if 0: []varint
530
+ name: string
531
+ value: string
532
+ signature?: string
533
+ default: void
534
+ gamemode: ../action ?
535
+ if 0: varint
536
+ if 1: varint
537
+ default: void
538
+ ping: ../action ?
539
+ if 0: varint
540
+ if 2: varint
541
+ default: void
542
+ displayName: ../action ?
543
+ if 0: [
544
+ "option",
545
+ "string"
546
+ ]
547
+ if 3: [
548
+ "option",
549
+ "string"
550
+ ]
551
+ default: void
552
+ packet_position:
553
+ x: f64
554
+ y: f64
555
+ z: f64
556
+ yaw: f32
557
+ pitch: f32
558
+ flags: i8
559
+ teleportId: varint
560
+ packet_bed:
561
+ entityId: varint
562
+ location: position
563
+ packet_entity_destroy:
564
+ entityIds: varint[]varint
565
+ packet_remove_entity_effect:
566
+ entityId: varint
567
+ effectId: i8
568
+ packet_resource_pack_send:
569
+ url: string
570
+ hash: string
571
+ packet_respawn:
572
+ dimension: i32
573
+ difficulty: u8
574
+ gamemode: u8
575
+ levelType: string
576
+ packet_entity_head_rotation:
577
+ entityId: varint
578
+ headYaw: i8
579
+ packet_world_border:
580
+ action: varint
581
+ radius: action ?
582
+ if 0: f64
583
+ default: void
584
+ x: action ?
585
+ if 2: f64
586
+ if 3: f64
587
+ default: void
588
+ z: action ?
589
+ if 2: f64
590
+ if 3: f64
591
+ default: void
592
+ old_radius: action ?
593
+ if 1: f64
594
+ if 3: f64
595
+ default: void
596
+ new_radius: action ?
597
+ if 1: f64
598
+ if 3: f64
599
+ default: void
600
+ speed: action ?
601
+ if 1: varlong
602
+ if 3: varlong
603
+ default: void
604
+ portalBoundary: action ?
605
+ if 3: varint
606
+ default: void
607
+ warning_time: action ?
608
+ if 3: varint
609
+ if 4: varint
610
+ default: void
611
+ warning_blocks: action ?
612
+ if 3: varint
613
+ if 5: varint
614
+ default: void
615
+ packet_camera:
616
+ cameraId: varint
617
+ packet_held_item_slot:
618
+ slot: i8
619
+ packet_scoreboard_display_objective:
620
+ position: i8
621
+ name: string
622
+ packet_entity_metadata:
623
+ entityId: varint
624
+ metadata: entityMetadata
625
+ packet_attach_entity:
626
+ entityId: i32
627
+ vehicleId: i32
628
+ packet_entity_velocity:
629
+ entityId: varint
630
+ velocityX: i16
631
+ velocityY: i16
632
+ velocityZ: i16
633
+ packet_entity_equipment:
634
+ entityId: varint
635
+ slot: varint
636
+ item: slot
637
+ packet_experience:
638
+ experienceBar: f32
639
+ level: varint
640
+ totalExperience: varint
641
+ packet_update_health:
642
+ health: f32
643
+ food: varint
644
+ foodSaturation: f32
645
+ packet_scoreboard_objective:
646
+ name: string
647
+ action: i8
648
+ displayText: action ?
649
+ if 0: string
650
+ if 2: string
651
+ default: void
652
+ type: action ?
653
+ if 0: string
654
+ if 2: string
655
+ default: void
656
+ packet_set_passengers:
657
+ entityId: varint
658
+ passengers: varint[]varint
659
+ packet_teams:
660
+ team: string
661
+ mode: i8
662
+ name: mode ?
663
+ if 0: string
664
+ if 2: string
665
+ default: void
666
+ prefix: mode ?
667
+ if 0: string
668
+ if 2: string
669
+ default: void
670
+ suffix: mode ?
671
+ if 0: string
672
+ if 2: string
673
+ default: void
674
+ friendlyFire: mode ?
675
+ if 0: i8
676
+ if 2: i8
677
+ default: void
678
+ nameTagVisibility: mode ?
679
+ if 0: string
680
+ if 2: string
681
+ default: void
682
+ collisionRule: mode ?
683
+ if 0: string
684
+ if 2: string
685
+ default: void
686
+ color: mode ?
687
+ if 0: i8
688
+ if 2: i8
689
+ default: void
690
+ players: mode ?
691
+ if 0: string[]varint
692
+ if 3: string[]varint
693
+ if 4: string[]varint
694
+ default: void
695
+ packet_scoreboard_score:
696
+ itemName: string
697
+ action: varint
698
+ scoreName: string
699
+ value: action ?
700
+ if 1: void
701
+ default: varint
702
+ packet_spawn_position:
703
+ location: position
704
+ packet_update_time:
705
+ age: i64
706
+ time: i64
707
+ packet_title:
708
+ action: varint
709
+ text: action ?
710
+ if 0: string
711
+ if 1: string
712
+ default: void
713
+ fadeIn: action ?
714
+ if 2: i32
715
+ default: void
716
+ stay: action ?
717
+ if 2: i32
718
+ default: void
719
+ fadeOut: action ?
720
+ if 2: i32
721
+ default: void
722
+ packet_sound_effect:
723
+ soundId: varint
724
+ soundCategory: varint
725
+ x: i32
726
+ y: i32
727
+ z: i32
728
+ volume: f32
729
+ pitch: f32
730
+ packet_playerlist_header:
731
+ header: string
732
+ footer: string
733
+ packet_collect:
734
+ collectedEntityId: varint
735
+ collectorEntityId: varint
736
+ packet_entity_teleport:
737
+ entityId: varint
738
+ x: f64
739
+ y: f64
740
+ z: f64
741
+ yaw: i8
742
+ pitch: i8
743
+ onGround: bool
744
+ packet_entity_update_attributes:
745
+ entityId: varint
746
+ properties: []i32
747
+ key: string
748
+ value: f64
749
+ modifiers: []varint
750
+ uuid: UUID
751
+ amount: f64
752
+ operation: i8
753
+ packet_entity_effect:
754
+ entityId: varint
755
+ effectId: i8
756
+ amplifier: i8
757
+ duration: varint
758
+ hideParticles: i8
759
+ packet:
760
+ name: varint =>
761
+ 0x00: spawn_entity
762
+ 0x01: spawn_entity_experience_orb
763
+ 0x02: spawn_entity_weather
764
+ 0x03: spawn_entity_living
765
+ 0x04: spawn_entity_painting
766
+ 0x05: named_entity_spawn
767
+ 0x06: animation
768
+ 0x07: statistics
769
+ 0x08: block_break_animation
770
+ 0x09: tile_entity_data
771
+ 0x0a: block_action
772
+ 0x0b: block_change
773
+ 0x0c: boss_bar
774
+ 0x0d: difficulty
775
+ 0x0e: tab_complete
776
+ 0x0f: chat
777
+ 0x10: multi_block_change
778
+ 0x11: transaction
779
+ 0x12: close_window
780
+ 0x13: open_window
781
+ 0x14: window_items
782
+ 0x15: craft_progress_bar
783
+ 0x16: set_slot
784
+ 0x17: set_cooldown
785
+ 0x18: custom_payload
786
+ 0x19: named_sound_effect
787
+ 0x1a: kick_disconnect
788
+ 0x1b: entity_status
789
+ 0x1c: explosion
790
+ 0x1d: unload_chunk
791
+ 0x1e: game_state_change
792
+ 0x1f: keep_alive
793
+ 0x20: map_chunk
794
+ 0x21: world_event
795
+ 0x22: world_particles
796
+ 0x23: login
797
+ 0x24: map
798
+ 0x25: rel_entity_move
799
+ 0x26: entity_move_look
800
+ 0x27: entity_look
801
+ 0x28: entity
802
+ 0x29: vehicle_move
803
+ 0x2a: open_sign_entity
804
+ 0x2b: abilities
805
+ 0x2c: combat_event
806
+ 0x2d: player_info
807
+ 0x2e: position
808
+ 0x2f: bed
809
+ 0x30: entity_destroy
810
+ 0x31: remove_entity_effect
811
+ 0x32: resource_pack_send
812
+ 0x33: respawn
813
+ 0x34: entity_head_rotation
814
+ 0x35: world_border
815
+ 0x36: camera
816
+ 0x37: held_item_slot
817
+ 0x38: scoreboard_display_objective
818
+ 0x39: entity_metadata
819
+ 0x3a: attach_entity
820
+ 0x3b: entity_velocity
821
+ 0x3c: entity_equipment
822
+ 0x3d: experience
823
+ 0x3e: update_health
824
+ 0x3f: scoreboard_objective
825
+ 0x40: set_passengers
826
+ 0x41: teams
827
+ 0x42: scoreboard_score
828
+ 0x43: spawn_position
829
+ 0x44: update_time
830
+ 0x45: title
831
+ 0x46: sound_effect
832
+ 0x47: playerlist_header
833
+ 0x48: collect
834
+ 0x49: entity_teleport
835
+ 0x4a: entity_update_attributes
836
+ 0x4b: entity_effect
837
+ params: name ?
838
+ if spawn_entity: packet_spawn_entity
839
+ if spawn_entity_experience_orb: packet_spawn_entity_experience_orb
840
+ if spawn_entity_weather: packet_spawn_entity_weather
841
+ if spawn_entity_living: packet_spawn_entity_living
842
+ if spawn_entity_painting: packet_spawn_entity_painting
843
+ if named_entity_spawn: packet_named_entity_spawn
844
+ if animation: packet_animation
845
+ if statistics: packet_statistics
846
+ if block_break_animation: packet_block_break_animation
847
+ if tile_entity_data: packet_tile_entity_data
848
+ if block_action: packet_block_action
849
+ if block_change: packet_block_change
850
+ if boss_bar: packet_boss_bar
851
+ if difficulty: packet_difficulty
852
+ if tab_complete: packet_tab_complete
853
+ if chat: packet_chat
854
+ if multi_block_change: packet_multi_block_change
855
+ if transaction: packet_transaction
856
+ if close_window: packet_close_window
857
+ if open_window: packet_open_window
858
+ if window_items: packet_window_items
859
+ if craft_progress_bar: packet_craft_progress_bar
860
+ if set_slot: packet_set_slot
861
+ if set_cooldown: packet_set_cooldown
862
+ if custom_payload: packet_custom_payload
863
+ if named_sound_effect: packet_named_sound_effect
864
+ if kick_disconnect: packet_kick_disconnect
865
+ if entity_status: packet_entity_status
866
+ if explosion: packet_explosion
867
+ if unload_chunk: packet_unload_chunk
868
+ if game_state_change: packet_game_state_change
869
+ if keep_alive: packet_keep_alive
870
+ if map_chunk: packet_map_chunk
871
+ if world_event: packet_world_event
872
+ if world_particles: packet_world_particles
873
+ if login: packet_login
874
+ if map: packet_map
875
+ if rel_entity_move: packet_rel_entity_move
876
+ if entity_move_look: packet_entity_move_look
877
+ if entity_look: packet_entity_look
878
+ if entity: packet_entity
879
+ if vehicle_move: packet_vehicle_move
880
+ if open_sign_entity: packet_open_sign_entity
881
+ if abilities: packet_abilities
882
+ if combat_event: packet_combat_event
883
+ if player_info: packet_player_info
884
+ if position: packet_position
885
+ if bed: packet_bed
886
+ if entity_destroy: packet_entity_destroy
887
+ if remove_entity_effect: packet_remove_entity_effect
888
+ if resource_pack_send: packet_resource_pack_send
889
+ if respawn: packet_respawn
890
+ if entity_update_attributes: packet_entity_update_attributes
891
+ if world_border: packet_world_border
892
+ if camera: packet_camera
893
+ if held_item_slot: packet_held_item_slot
894
+ if scoreboard_display_objective: packet_scoreboard_display_objective
895
+ if entity_metadata: packet_entity_metadata
896
+ if attach_entity: packet_attach_entity
897
+ if entity_velocity: packet_entity_velocity
898
+ if entity_equipment: packet_entity_equipment
899
+ if experience: packet_experience
900
+ if update_health: packet_update_health
901
+ if scoreboard_objective: packet_scoreboard_objective
902
+ if set_passengers: packet_set_passengers
903
+ if teams: packet_teams
904
+ if scoreboard_score: packet_scoreboard_score
905
+ if spawn_position: packet_spawn_position
906
+ if update_time: packet_update_time
907
+ if title: packet_title
908
+ if sound_effect: packet_sound_effect
909
+ if playerlist_header: packet_playerlist_header
910
+ if collect: packet_collect
911
+ if entity_teleport: packet_entity_teleport
912
+ if entity_head_rotation: packet_entity_head_rotation
913
+ if entity_effect: packet_entity_effect
914
+
915
+ ^play.toServer.types:
916
+ packet_teleport_confirm:
917
+ teleportId: varint
918
+ packet_tab_complete:
919
+ text: string
920
+ assumeCommand: bool
921
+ lookedAtBlock?: position
922
+ packet_chat:
923
+ message: string
924
+ packet_client_command:
925
+ actionId: varint
926
+ packet_settings:
927
+ locale: string
928
+ viewDistance: i8
929
+ chatFlags: varint
930
+ chatColors: bool
931
+ skinParts: u8
932
+ mainHand: varint
933
+ packet_transaction:
934
+ windowId: i8
935
+ action: i16
936
+ accepted: bool
937
+ packet_enchant_item:
938
+ windowId: i8
939
+ enchantment: i8
940
+ packet_window_click:
941
+ windowId: u8
942
+ slot: i16
943
+ mouseButton: i8
944
+ action: i16
945
+ mode: i8
946
+ item: slot
947
+ packet_close_window:
948
+ windowId: u8
949
+ packet_custom_payload:
950
+ channel: string
951
+ data: restBuffer
952
+ packet_use_entity:
953
+ target: varint
954
+ mouse: varint
955
+ x: mouse ?
956
+ if 2: f32
957
+ default: void
958
+ y: mouse ?
959
+ if 2: f32
960
+ default: void
961
+ z: mouse ?
962
+ if 2: f32
963
+ default: void
964
+ hand: mouse ?
965
+ if 0: varint
966
+ if 2: varint
967
+ default: void
968
+ packet_keep_alive:
969
+ keepAliveId: varint
970
+ packet_position:
971
+ x: f64
972
+ y: f64
973
+ z: f64
974
+ onGround: bool
975
+ packet_position_look:
976
+ x: f64
977
+ y: f64
978
+ z: f64
979
+ yaw: f32
980
+ pitch: f32
981
+ onGround: bool
982
+ packet_look:
983
+ yaw: f32
984
+ pitch: f32
985
+ onGround: bool
986
+ packet_flying:
987
+ onGround: bool
988
+ packet_vehicle_move:
989
+ x: f64
990
+ y: f64
991
+ z: f64
992
+ yaw: f32
993
+ pitch: f32
994
+ packet_steer_boat:
995
+ leftPaddle: bool
996
+ rightPaddle: bool
997
+ packet_abilities:
998
+ flags: i8
999
+ flyingSpeed: f32
1000
+ walkingSpeed: f32
1001
+ packet_block_dig:
1002
+ status: varint
1003
+ location: position
1004
+ face: i8
1005
+ packet_entity_action:
1006
+ entityId: varint
1007
+ actionId: varint
1008
+ jumpBoost: varint
1009
+ packet_steer_vehicle:
1010
+ sideways: f32
1011
+ forward: f32
1012
+ jump: u8
1013
+ packet_resource_pack_receive:
1014
+ result: varint
1015
+ packet_held_item_slot:
1016
+ slotId: i16
1017
+ packet_set_creative_slot:
1018
+ slot: i16
1019
+ item: slot
1020
+ packet_update_sign:
1021
+ location: position
1022
+ text1: string
1023
+ text2: string
1024
+ text3: string
1025
+ text4: string
1026
+ packet_arm_animation:
1027
+ hand: varint
1028
+ packet_spectate:
1029
+ target: UUID
1030
+ packet_block_place:
1031
+ location: position
1032
+ direction: varint
1033
+ hand: varint
1034
+ cursorX: i8
1035
+ cursorY: i8
1036
+ cursorZ: i8
1037
+ packet_use_item:
1038
+ hand: varint
1039
+ packet:
1040
+ name: varint =>
1041
+ 0x00: teleport_confirm
1042
+ 0x01: tab_complete
1043
+ 0x02: chat
1044
+ 0x03: client_command
1045
+ 0x04: settings
1046
+ 0x05: transaction
1047
+ 0x06: enchant_item
1048
+ 0x07: window_click
1049
+ 0x08: close_window
1050
+ 0x09: custom_payload
1051
+ 0x0a: use_entity
1052
+ 0x0b: keep_alive
1053
+ 0x0c: position
1054
+ 0x0d: position_look
1055
+ 0x0e: look
1056
+ 0x0f: flying
1057
+ 0x10: vehicle_move
1058
+ 0x11: steer_boat
1059
+ 0x12: abilities
1060
+ 0x13: block_dig
1061
+ 0x14: entity_action
1062
+ 0x15: steer_vehicle
1063
+ 0x16: resource_pack_receive
1064
+ 0x17: held_item_slot
1065
+ 0x18: set_creative_slot
1066
+ 0x19: update_sign
1067
+ 0x1a: arm_animation
1068
+ 0x1b: spectate
1069
+ 0x1c: block_place
1070
+ 0x1d: use_item
1071
+ params: name ?
1072
+ if teleport_confirm: packet_teleport_confirm
1073
+ if tab_complete: packet_tab_complete
1074
+ if chat: packet_chat
1075
+ if client_command: packet_client_command
1076
+ if settings: packet_settings
1077
+ if transaction: packet_transaction
1078
+ if enchant_item: packet_enchant_item
1079
+ if window_click: packet_window_click
1080
+ if close_window: packet_close_window
1081
+ if custom_payload: packet_custom_payload
1082
+ if use_entity: packet_use_entity
1083
+ if keep_alive: packet_keep_alive
1084
+ if position: packet_position
1085
+ if position_look: packet_position_look
1086
+ if look: packet_look
1087
+ if flying: packet_flying
1088
+ if vehicle_move: packet_vehicle_move
1089
+ if steer_boat: packet_steer_boat
1090
+ if abilities: packet_abilities
1091
+ if block_dig: packet_block_dig
1092
+ if entity_action: packet_entity_action
1093
+ if steer_vehicle: packet_steer_vehicle
1094
+ if resource_pack_receive: packet_resource_pack_receive
1095
+ if held_item_slot: packet_held_item_slot
1096
+ if set_creative_slot: packet_set_creative_slot
1097
+ if update_sign: packet_update_sign
1098
+ if arm_animation: packet_arm_animation
1099
+ if spectate: packet_spectate
1100
+ if block_place: packet_block_place
1101
+ if use_item: packet_use_item