minecraft-data 3.6.0 → 3.7.2

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 (48) hide show
  1. package/data.js +1 -1
  2. package/doc/history.md +9 -0
  3. package/minecraft-data/data/bedrock/1.19.10/protocol.json +1 -5
  4. package/minecraft-data/data/bedrock/latest/proto.yml +0 -1
  5. package/minecraft-data/data/dataPaths.json +1 -1
  6. package/minecraft-data/data/pc/1.10/protocol.json +2 -2
  7. package/minecraft-data/data/pc/1.10-pre1/protocol.json +2 -2
  8. package/minecraft-data/data/pc/1.11/protocol.json +2 -2
  9. package/minecraft-data/data/pc/1.12/protocol.json +2 -2
  10. package/minecraft-data/data/pc/1.12-pre4/protocol.json +2 -2
  11. package/minecraft-data/data/pc/1.12.1/protocol.json +2 -2
  12. package/minecraft-data/data/pc/1.12.2/protocol.json +2 -2
  13. package/minecraft-data/data/pc/1.13/protocol.json +460 -221
  14. package/minecraft-data/data/pc/1.13.1/protocol.json +460 -221
  15. package/minecraft-data/data/pc/1.13.2/protocol.json +460 -221
  16. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +460 -221
  17. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +460 -221
  18. package/minecraft-data/data/pc/1.14/protocol.json +461 -223
  19. package/minecraft-data/data/pc/1.14.1/protocol.json +461 -223
  20. package/minecraft-data/data/pc/1.14.3/protocol.json +461 -223
  21. package/minecraft-data/data/pc/1.14.4/protocol.json +461 -223
  22. package/minecraft-data/data/pc/1.15/protocol.json +461 -223
  23. package/minecraft-data/data/pc/1.15.1/protocol.json +461 -223
  24. package/minecraft-data/data/pc/1.15.2/protocol.json +461 -223
  25. package/minecraft-data/data/pc/1.16/protocol.json +461 -223
  26. package/minecraft-data/data/pc/1.16-rc1/protocol.json +461 -223
  27. package/minecraft-data/data/pc/1.16.1/protocol.json +461 -223
  28. package/minecraft-data/data/pc/1.16.2/protocol.json +461 -223
  29. package/minecraft-data/data/pc/1.17/protocol.json +460 -346
  30. package/minecraft-data/data/pc/1.17.1/protocol.json +460 -346
  31. package/minecraft-data/data/pc/1.18/protocol.json +460 -346
  32. package/minecraft-data/data/pc/1.18.2/protocol.json +460 -346
  33. package/minecraft-data/data/pc/1.19/protocol.json +6068 -0
  34. package/minecraft-data/data/pc/1.8/protocol.json +2 -2
  35. package/minecraft-data/data/pc/1.9/protocol.json +2 -2
  36. package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +2 -2
  37. package/minecraft-data/data/pc/1.9.2/protocol.json +2 -2
  38. package/minecraft-data/data/pc/1.9.4/protocol.json +2 -2
  39. package/minecraft-data/data/pc/15w40b/protocol.json +2 -2
  40. package/minecraft-data/data/pc/16w20a/protocol.json +2 -2
  41. package/minecraft-data/data/pc/16w35a/protocol.json +2 -2
  42. package/minecraft-data/data/pc/17w15a/protocol.json +2 -2
  43. package/minecraft-data/data/pc/17w18b/protocol.json +2 -2
  44. package/minecraft-data/data/pc/17w50a/protocol.json +2 -2
  45. package/minecraft-data/data/pc/20w13b/protocol.json +460 -221
  46. package/minecraft-data/data/pc/21w07a/protocol.json +460 -221
  47. package/minecraft-data/doc/history.md +16 -0
  48. package/package.json +1 -1
@@ -250,6 +250,457 @@
250
250
  ]
251
251
  ]
252
252
  }
253
+ ],
254
+ "command_node": [
255
+ "array",
256
+ {
257
+ "countType": "varint",
258
+ "type": [
259
+ "container",
260
+ [
261
+ {
262
+ "name": "flags",
263
+ "type": [
264
+ "bitfield",
265
+ [
266
+ {
267
+ "name": "unused",
268
+ "size": 3,
269
+ "signed": false
270
+ },
271
+ {
272
+ "name": "has_custom_suggestions",
273
+ "size": 1,
274
+ "signed": false
275
+ },
276
+ {
277
+ "name": "has_redirect_node",
278
+ "size": 1,
279
+ "signed": false
280
+ },
281
+ {
282
+ "name": "has_command",
283
+ "size": 1,
284
+ "signed": false
285
+ },
286
+ {
287
+ "name": "command_node_type",
288
+ "size": 2,
289
+ "signed": false
290
+ }
291
+ ]
292
+ ]
293
+ },
294
+ {
295
+ "name": "children",
296
+ "type": [
297
+ "array",
298
+ {
299
+ "countType": "varint",
300
+ "type": "varint"
301
+ }
302
+ ]
303
+ },
304
+ {
305
+ "name": "redirectNode",
306
+ "type": [
307
+ "switch",
308
+ {
309
+ "compareTo": "flags/has_redirect_node",
310
+ "fields": {
311
+ "1": "varint"
312
+ },
313
+ "default": "void"
314
+ }
315
+ ]
316
+ },
317
+ {
318
+ "name": "extraNodeData",
319
+ "type": [
320
+ "switch",
321
+ {
322
+ "compareTo": "flags/command_node_type",
323
+ "fields": {
324
+ "0": "void",
325
+ "1": [
326
+ "container",
327
+ [
328
+ {
329
+ "name": "name",
330
+ "type": "string"
331
+ }
332
+ ]
333
+ ],
334
+ "2": [
335
+ "container",
336
+ [
337
+ {
338
+ "name": "name",
339
+ "type": "string"
340
+ },
341
+ {
342
+ "name": "parser",
343
+ "type": "string"
344
+ },
345
+ {
346
+ "name": "properties",
347
+ "type": [
348
+ "switch",
349
+ {
350
+ "compareTo": "parser",
351
+ "fields": {
352
+ "brigadier:bool": "void",
353
+ "brigadier:float": [
354
+ "container",
355
+ [
356
+ {
357
+ "name": "flags",
358
+ "type": [
359
+ "bitfield",
360
+ [
361
+ {
362
+ "name": "unused",
363
+ "size": 6,
364
+ "signed": false
365
+ },
366
+ {
367
+ "name": "max_present",
368
+ "size": 1,
369
+ "signed": false
370
+ },
371
+ {
372
+ "name": "min_present",
373
+ "size": 1,
374
+ "signed": false
375
+ }
376
+ ]
377
+ ]
378
+ },
379
+ {
380
+ "name": "min",
381
+ "type": [
382
+ "switch",
383
+ {
384
+ "compareTo": "flags/min_present",
385
+ "fields": {
386
+ "1": "f32"
387
+ },
388
+ "default": "void"
389
+ }
390
+ ]
391
+ },
392
+ {
393
+ "name": "max",
394
+ "type": [
395
+ "switch",
396
+ {
397
+ "compareTo": "flags/max_present",
398
+ "fields": {
399
+ "1": "f32"
400
+ },
401
+ "default": "void"
402
+ }
403
+ ]
404
+ }
405
+ ]
406
+ ],
407
+ "brigadier:double": [
408
+ "container",
409
+ [
410
+ {
411
+ "name": "flags",
412
+ "type": [
413
+ "bitfield",
414
+ [
415
+ {
416
+ "name": "unused",
417
+ "size": 6,
418
+ "signed": false
419
+ },
420
+ {
421
+ "name": "max_present",
422
+ "size": 1,
423
+ "signed": false
424
+ },
425
+ {
426
+ "name": "min_present",
427
+ "size": 1,
428
+ "signed": false
429
+ }
430
+ ]
431
+ ]
432
+ },
433
+ {
434
+ "name": "min",
435
+ "type": [
436
+ "switch",
437
+ {
438
+ "compareTo": "flags/min_present",
439
+ "fields": {
440
+ "1": "f64"
441
+ },
442
+ "default": "void"
443
+ }
444
+ ]
445
+ },
446
+ {
447
+ "name": "max",
448
+ "type": [
449
+ "switch",
450
+ {
451
+ "compareTo": "flags/max_present",
452
+ "fields": {
453
+ "1": "f64"
454
+ },
455
+ "default": "void"
456
+ }
457
+ ]
458
+ }
459
+ ]
460
+ ],
461
+ "brigadier:integer": [
462
+ "container",
463
+ [
464
+ {
465
+ "name": "flags",
466
+ "type": [
467
+ "bitfield",
468
+ [
469
+ {
470
+ "name": "unused",
471
+ "size": 6,
472
+ "signed": false
473
+ },
474
+ {
475
+ "name": "max_present",
476
+ "size": 1,
477
+ "signed": false
478
+ },
479
+ {
480
+ "name": "min_present",
481
+ "size": 1,
482
+ "signed": false
483
+ }
484
+ ]
485
+ ]
486
+ },
487
+ {
488
+ "name": "min",
489
+ "type": [
490
+ "switch",
491
+ {
492
+ "compareTo": "flags/min_present",
493
+ "fields": {
494
+ "1": "i32"
495
+ },
496
+ "default": "void"
497
+ }
498
+ ]
499
+ },
500
+ {
501
+ "name": "max",
502
+ "type": [
503
+ "switch",
504
+ {
505
+ "compareTo": "flags/max_present",
506
+ "fields": {
507
+ "1": "i32"
508
+ },
509
+ "default": "void"
510
+ }
511
+ ]
512
+ }
513
+ ]
514
+ ],
515
+ "brigadier:long": [
516
+ "container",
517
+ [
518
+ {
519
+ "name": "flags",
520
+ "type": [
521
+ "bitfield",
522
+ [
523
+ {
524
+ "name": "unused",
525
+ "size": 6,
526
+ "signed": false
527
+ },
528
+ {
529
+ "name": "max_present",
530
+ "size": 1,
531
+ "signed": false
532
+ },
533
+ {
534
+ "name": "min_present",
535
+ "size": 1,
536
+ "signed": false
537
+ }
538
+ ]
539
+ ]
540
+ },
541
+ {
542
+ "name": "min",
543
+ "type": [
544
+ "switch",
545
+ {
546
+ "compareTo": "flags/min_present",
547
+ "fields": {
548
+ "1": "i64"
549
+ },
550
+ "default": "void"
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "name": "max",
556
+ "type": [
557
+ "switch",
558
+ {
559
+ "compareTo": "flags/max_present",
560
+ "fields": {
561
+ "1": "i64"
562
+ },
563
+ "default": "void"
564
+ }
565
+ ]
566
+ }
567
+ ]
568
+ ],
569
+ "brigadier:string": [
570
+ "mapper",
571
+ {
572
+ "type": "varint",
573
+ "mappings": {
574
+ "0": "SINGLE_WORD",
575
+ "1": "QUOTABLE_PHRASE",
576
+ "2": "GREEDY_PHRASE"
577
+ }
578
+ }
579
+ ],
580
+ "minecraft:entity": [
581
+ "bitfield",
582
+ [
583
+ {
584
+ "name": "unused",
585
+ "size": 6,
586
+ "signed": false
587
+ },
588
+ {
589
+ "name": "onlyAllowPlayers",
590
+ "size": 1,
591
+ "signed": false
592
+ },
593
+ {
594
+ "name": "onlyAllowEntities",
595
+ "size": 1,
596
+ "signed": false
597
+ }
598
+ ]
599
+ ],
600
+ "minecraft:game_profile": "void",
601
+ "minecraft:block_pos": "void",
602
+ "minecraft:column_pos": "void",
603
+ "minecraft:vec3": "void",
604
+ "minecraft:vec2": "void",
605
+ "minecraft:block_state": "void",
606
+ "minecraft:block_predicate": "void",
607
+ "minecraft:item_stack": "void",
608
+ "minecraft:item_predicate": "void",
609
+ "minecraft:color": "void",
610
+ "minecraft:component": "void",
611
+ "minecraft:message": "void",
612
+ "minecraft:nbt": "void",
613
+ "minecraft:nbt_path": "void",
614
+ "minecraft:objective": "void",
615
+ "minecraft:objective_criteria": "void",
616
+ "minecraft:operation": "void",
617
+ "minecraft:particle": "void",
618
+ "minecraft:angle": "void",
619
+ "minecraft:rotation": "void",
620
+ "minecraft:scoreboard_slot": "void",
621
+ "minecraft:score_holder": [
622
+ "bitfield",
623
+ [
624
+ {
625
+ "name": "unused",
626
+ "size": 7,
627
+ "signed": false
628
+ },
629
+ {
630
+ "name": "allowMultiple",
631
+ "size": 1,
632
+ "signed": false
633
+ }
634
+ ]
635
+ ],
636
+ "minecraft:swizzle": "void",
637
+ "minecraft:team": "void",
638
+ "minecraft:item_slot": "void",
639
+ "minecraft:resource_location": "void",
640
+ "minecraft:mob_effect": "void",
641
+ "minecraft:function": "void",
642
+ "minecraft:entity_anchor": "void",
643
+ "minecraft:range": [
644
+ "container",
645
+ [
646
+ {
647
+ "name": "allowDecimals",
648
+ "type": "bool"
649
+ }
650
+ ]
651
+ ],
652
+ "minecraft:int_range": "void",
653
+ "minecraft:float_range": "void",
654
+ "minecraft:item_enchantment": "void",
655
+ "minecraft:entity_summon": "void",
656
+ "minecraft:dimension": "void",
657
+ "minecraft:nbt_compound_tag": "void",
658
+ "minecraft:time": "void",
659
+ "minecraft:resource_or_tag": [
660
+ "container",
661
+ [
662
+ {
663
+ "name": "registry",
664
+ "type": "string"
665
+ }
666
+ ]
667
+ ],
668
+ "minecraft:resource": [
669
+ "container",
670
+ [
671
+ {
672
+ "name": "registry",
673
+ "type": "string"
674
+ }
675
+ ]
676
+ ],
677
+ "minecraft:uuid": "void"
678
+ }
679
+ }
680
+ ]
681
+ },
682
+ {
683
+ "name": "suggestionType",
684
+ "type": [
685
+ "switch",
686
+ {
687
+ "compareTo": "../flags/has_custom_suggestions",
688
+ "fields": {
689
+ "1": "string"
690
+ },
691
+ "default": "void"
692
+ }
693
+ ]
694
+ }
695
+ ]
696
+ ]
697
+ }
698
+ }
699
+ ]
700
+ }
701
+ ]
702
+ ]
703
+ }
253
704
  ]
254
705
  },
255
706
  "handshaking": {
@@ -1320,219 +1771,7 @@
1320
1771
  [
1321
1772
  {
1322
1773
  "name": "nodes",
1323
- "type": ["array", {
1324
- "countType": "varint",
1325
- "type": ["container",[
1326
- {
1327
- "name": "flags",
1328
- "type": [
1329
- "bitfield",
1330
- [
1331
- { "name": "unused", "size": 3, "signed": false },
1332
- { "name": "has_custom_suggestions", "size": 1, "signed": false },
1333
- { "name": "has_redirect_node", "size": 1, "signed": false },
1334
- { "name": "has_command", "size": 1, "signed": false },
1335
- { "name": "command_node_type", "size": 2, "signed": false }
1336
- ]
1337
- ]
1338
- },
1339
- {
1340
- "name": "children",
1341
- "type": ["array",
1342
- {
1343
- "countType": "varint",
1344
- "type": "varint"
1345
- }]
1346
- },
1347
- {
1348
- "name": "redirectNode",
1349
- "type": ["switch",
1350
- {
1351
- "compareTo": "flags/has_redirect_node",
1352
- "fields": {
1353
- "1":"varint"
1354
- },
1355
- "default": "void"
1356
- }]
1357
- },
1358
- {
1359
- "name": "extraNodeData",
1360
- "type": ["switch",
1361
- {
1362
- "compareTo": "flags/command_node_type",
1363
- "fields": {
1364
- "0": "void",
1365
- "1": "string",
1366
- "2": ["container", [
1367
- {
1368
- "name": "name",
1369
- "type": "string"
1370
- },
1371
- {
1372
- "name": "parser",
1373
- "type": "string"
1374
- },
1375
- {
1376
- "name": "properties",
1377
- "type": ["switch",{
1378
- "compareTo": "parser",
1379
- "fields": {
1380
- "brigadier:double": ["container", [
1381
- {
1382
- "name": "flags",
1383
- "type": [
1384
- "bitfield",
1385
- [
1386
- { "name": "unused", "size": 6, "signed": false },
1387
- { "name": "max_present", "size": 1, "signed": false },
1388
- { "name": "min_present", "size": 1, "signed": false }
1389
- ]
1390
- ]
1391
- },
1392
- {
1393
- "name": "min",
1394
- "type":["switch",{
1395
- "compareTo":"flags/min_present",
1396
- "fields":{
1397
- "1":"f64"
1398
- },
1399
- "default": "void"
1400
- }]
1401
- },
1402
- {
1403
- "name": "max",
1404
- "type":["switch",{
1405
- "compareTo":"flags/max_present",
1406
- "fields":{
1407
- "1":"f64"
1408
- },
1409
- "default": "void"
1410
- }]
1411
- }
1412
- ]],
1413
- "brigadier:float": ["container", [
1414
- {
1415
- "name": "flags",
1416
- "type": [
1417
- "bitfield",
1418
- [
1419
- { "name": "unused", "size": 6, "signed": false },
1420
- { "name": "max_present", "size": 1, "signed": false },
1421
- { "name": "min_present", "size": 1, "signed": false }
1422
- ]
1423
- ]
1424
- },
1425
- {
1426
- "name": "min",
1427
- "type":["switch",{
1428
- "compareTo":"flags/min_present",
1429
- "fields":{
1430
- "1":"f32"
1431
- },
1432
- "default": "void"
1433
- }]
1434
- },
1435
- {
1436
- "name": "max",
1437
- "type":["switch",{
1438
- "compareTo":"flags/max_present",
1439
- "fields":{
1440
- "1":"f32"
1441
- },
1442
- "default": "void"
1443
- }]
1444
- }
1445
- ]],
1446
- "brigadier:integer": ["container", [
1447
- {
1448
- "name": "flags",
1449
- "type": [
1450
- "bitfield",
1451
- [
1452
- { "name": "unused", "size": 6, "signed": false },
1453
- { "name": "max_present", "size": 1, "signed": false },
1454
- { "name": "min_present", "size": 1, "signed": false }
1455
- ]
1456
- ]
1457
- },
1458
- {
1459
- "name": "min",
1460
- "type":["switch",{
1461
- "compareTo":"flags/min_present",
1462
- "fields":{
1463
- "1":"i32"
1464
- },
1465
- "default": "void"
1466
- }]
1467
- },
1468
- {
1469
- "name": "max",
1470
- "type":["switch",{
1471
- "compareTo":"flags/max_present",
1472
- "fields":{
1473
- "1":"i32"
1474
- },
1475
- "default": "void"
1476
- }]
1477
- }
1478
- ]],
1479
- "brigadier:long": ["container", [
1480
- {
1481
- "name": "flags",
1482
- "type": [
1483
- "bitfield",
1484
- [
1485
- { "name": "unused", "size": 6, "signed": false },
1486
- { "name": "max_present", "size": 1, "signed": false },
1487
- { "name": "min_present", "size": 1, "signed": false }
1488
- ]
1489
- ]
1490
- },
1491
- {
1492
- "name": "min",
1493
- "type": ["switch",{
1494
- "compareTo": "flags/min_present",
1495
- "fields": {
1496
- "1": "i64"
1497
- },
1498
- "default": "void"
1499
- }]
1500
- },
1501
- {
1502
- "name": "max",
1503
- "type": ["switch",{
1504
- "compareTo": "flags/max_present",
1505
- "fields": {
1506
- "1": "i64"
1507
- },
1508
- "default": "void"
1509
- }]
1510
- }
1511
- ]],
1512
- "brigadier:string": "varint",
1513
- "minecraft:entity": "i8",
1514
- "minecraft:score_holder": "i8",
1515
- "minecraft:range": "bool"
1516
- },
1517
- "default": "void"
1518
- }]
1519
- },
1520
- {
1521
- "name": "suggests",
1522
- "type": ["switch", {
1523
- "compareTo": "../flags/has_custom_suggestions",
1524
- "fields": {
1525
- "1": "string"
1526
- },
1527
- "default": "void"
1528
- }]
1529
- }
1530
- ]]
1531
- }
1532
- }]
1533
- }
1534
- ]]
1535
- }]
1774
+ "type": "command_node"
1536
1775
  },
1537
1776
  {
1538
1777
  "name": "rootIndex",
@@ -3193,7 +3432,7 @@
3193
3432
  },
3194
3433
  {
3195
3434
  "name": "action",
3196
- "type": "i8"
3435
+ "type": "varint"
3197
3436
  },
3198
3437
  {
3199
3438
  "name": "scoreName",
@@ -4017,27 +4256,27 @@
4017
4256
  },
4018
4257
  {
4019
4258
  "name": "offset_x",
4020
- "type": "u8"
4259
+ "type": "i8"
4021
4260
  },
4022
4261
  {
4023
4262
  "name": "offset_y",
4024
- "type": "u8"
4263
+ "type": "i8"
4025
4264
  },
4026
4265
  {
4027
4266
  "name": "offset_z",
4028
- "type": "u8"
4267
+ "type": "i8"
4029
4268
  },
4030
4269
  {
4031
4270
  "name": "size_x",
4032
- "type": "u8"
4271
+ "type": "i8"
4033
4272
  },
4034
4273
  {
4035
4274
  "name": "size_y",
4036
- "type": "u8"
4275
+ "type": "i8"
4037
4276
  },
4038
4277
  {
4039
4278
  "name": "size_z",
4040
- "type": "u8"
4279
+ "type": "i8"
4041
4280
  },
4042
4281
  {
4043
4282
  "name": "mirror",
@@ -4434,7 +4673,7 @@
4434
4673
  [
4435
4674
  {
4436
4675
  "name": "status",
4437
- "type": "i8"
4676
+ "type": "varint"
4438
4677
  },
4439
4678
  {
4440
4679
  "name": "location",