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
@@ -387,6 +387,457 @@
387
387
  ]
388
388
  ]
389
389
  }
390
+ ],
391
+ "command_node": [
392
+ "array",
393
+ {
394
+ "countType": "varint",
395
+ "type": [
396
+ "container",
397
+ [
398
+ {
399
+ "name": "flags",
400
+ "type": [
401
+ "bitfield",
402
+ [
403
+ {
404
+ "name": "unused",
405
+ "size": 3,
406
+ "signed": false
407
+ },
408
+ {
409
+ "name": "has_custom_suggestions",
410
+ "size": 1,
411
+ "signed": false
412
+ },
413
+ {
414
+ "name": "has_redirect_node",
415
+ "size": 1,
416
+ "signed": false
417
+ },
418
+ {
419
+ "name": "has_command",
420
+ "size": 1,
421
+ "signed": false
422
+ },
423
+ {
424
+ "name": "command_node_type",
425
+ "size": 2,
426
+ "signed": false
427
+ }
428
+ ]
429
+ ]
430
+ },
431
+ {
432
+ "name": "children",
433
+ "type": [
434
+ "array",
435
+ {
436
+ "countType": "varint",
437
+ "type": "varint"
438
+ }
439
+ ]
440
+ },
441
+ {
442
+ "name": "redirectNode",
443
+ "type": [
444
+ "switch",
445
+ {
446
+ "compareTo": "flags/has_redirect_node",
447
+ "fields": {
448
+ "1": "varint"
449
+ },
450
+ "default": "void"
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "name": "extraNodeData",
456
+ "type": [
457
+ "switch",
458
+ {
459
+ "compareTo": "flags/command_node_type",
460
+ "fields": {
461
+ "0": "void",
462
+ "1": [
463
+ "container",
464
+ [
465
+ {
466
+ "name": "name",
467
+ "type": "string"
468
+ }
469
+ ]
470
+ ],
471
+ "2": [
472
+ "container",
473
+ [
474
+ {
475
+ "name": "name",
476
+ "type": "string"
477
+ },
478
+ {
479
+ "name": "parser",
480
+ "type": "string"
481
+ },
482
+ {
483
+ "name": "properties",
484
+ "type": [
485
+ "switch",
486
+ {
487
+ "compareTo": "parser",
488
+ "fields": {
489
+ "brigadier:bool": "void",
490
+ "brigadier:float": [
491
+ "container",
492
+ [
493
+ {
494
+ "name": "flags",
495
+ "type": [
496
+ "bitfield",
497
+ [
498
+ {
499
+ "name": "unused",
500
+ "size": 6,
501
+ "signed": false
502
+ },
503
+ {
504
+ "name": "max_present",
505
+ "size": 1,
506
+ "signed": false
507
+ },
508
+ {
509
+ "name": "min_present",
510
+ "size": 1,
511
+ "signed": false
512
+ }
513
+ ]
514
+ ]
515
+ },
516
+ {
517
+ "name": "min",
518
+ "type": [
519
+ "switch",
520
+ {
521
+ "compareTo": "flags/min_present",
522
+ "fields": {
523
+ "1": "f32"
524
+ },
525
+ "default": "void"
526
+ }
527
+ ]
528
+ },
529
+ {
530
+ "name": "max",
531
+ "type": [
532
+ "switch",
533
+ {
534
+ "compareTo": "flags/max_present",
535
+ "fields": {
536
+ "1": "f32"
537
+ },
538
+ "default": "void"
539
+ }
540
+ ]
541
+ }
542
+ ]
543
+ ],
544
+ "brigadier:double": [
545
+ "container",
546
+ [
547
+ {
548
+ "name": "flags",
549
+ "type": [
550
+ "bitfield",
551
+ [
552
+ {
553
+ "name": "unused",
554
+ "size": 6,
555
+ "signed": false
556
+ },
557
+ {
558
+ "name": "max_present",
559
+ "size": 1,
560
+ "signed": false
561
+ },
562
+ {
563
+ "name": "min_present",
564
+ "size": 1,
565
+ "signed": false
566
+ }
567
+ ]
568
+ ]
569
+ },
570
+ {
571
+ "name": "min",
572
+ "type": [
573
+ "switch",
574
+ {
575
+ "compareTo": "flags/min_present",
576
+ "fields": {
577
+ "1": "f64"
578
+ },
579
+ "default": "void"
580
+ }
581
+ ]
582
+ },
583
+ {
584
+ "name": "max",
585
+ "type": [
586
+ "switch",
587
+ {
588
+ "compareTo": "flags/max_present",
589
+ "fields": {
590
+ "1": "f64"
591
+ },
592
+ "default": "void"
593
+ }
594
+ ]
595
+ }
596
+ ]
597
+ ],
598
+ "brigadier:integer": [
599
+ "container",
600
+ [
601
+ {
602
+ "name": "flags",
603
+ "type": [
604
+ "bitfield",
605
+ [
606
+ {
607
+ "name": "unused",
608
+ "size": 6,
609
+ "signed": false
610
+ },
611
+ {
612
+ "name": "max_present",
613
+ "size": 1,
614
+ "signed": false
615
+ },
616
+ {
617
+ "name": "min_present",
618
+ "size": 1,
619
+ "signed": false
620
+ }
621
+ ]
622
+ ]
623
+ },
624
+ {
625
+ "name": "min",
626
+ "type": [
627
+ "switch",
628
+ {
629
+ "compareTo": "flags/min_present",
630
+ "fields": {
631
+ "1": "i32"
632
+ },
633
+ "default": "void"
634
+ }
635
+ ]
636
+ },
637
+ {
638
+ "name": "max",
639
+ "type": [
640
+ "switch",
641
+ {
642
+ "compareTo": "flags/max_present",
643
+ "fields": {
644
+ "1": "i32"
645
+ },
646
+ "default": "void"
647
+ }
648
+ ]
649
+ }
650
+ ]
651
+ ],
652
+ "brigadier:long": [
653
+ "container",
654
+ [
655
+ {
656
+ "name": "flags",
657
+ "type": [
658
+ "bitfield",
659
+ [
660
+ {
661
+ "name": "unused",
662
+ "size": 6,
663
+ "signed": false
664
+ },
665
+ {
666
+ "name": "max_present",
667
+ "size": 1,
668
+ "signed": false
669
+ },
670
+ {
671
+ "name": "min_present",
672
+ "size": 1,
673
+ "signed": false
674
+ }
675
+ ]
676
+ ]
677
+ },
678
+ {
679
+ "name": "min",
680
+ "type": [
681
+ "switch",
682
+ {
683
+ "compareTo": "flags/min_present",
684
+ "fields": {
685
+ "1": "i64"
686
+ },
687
+ "default": "void"
688
+ }
689
+ ]
690
+ },
691
+ {
692
+ "name": "max",
693
+ "type": [
694
+ "switch",
695
+ {
696
+ "compareTo": "flags/max_present",
697
+ "fields": {
698
+ "1": "i64"
699
+ },
700
+ "default": "void"
701
+ }
702
+ ]
703
+ }
704
+ ]
705
+ ],
706
+ "brigadier:string": [
707
+ "mapper",
708
+ {
709
+ "type": "varint",
710
+ "mappings": {
711
+ "0": "SINGLE_WORD",
712
+ "1": "QUOTABLE_PHRASE",
713
+ "2": "GREEDY_PHRASE"
714
+ }
715
+ }
716
+ ],
717
+ "minecraft:entity": [
718
+ "bitfield",
719
+ [
720
+ {
721
+ "name": "unused",
722
+ "size": 6,
723
+ "signed": false
724
+ },
725
+ {
726
+ "name": "onlyAllowPlayers",
727
+ "size": 1,
728
+ "signed": false
729
+ },
730
+ {
731
+ "name": "onlyAllowEntities",
732
+ "size": 1,
733
+ "signed": false
734
+ }
735
+ ]
736
+ ],
737
+ "minecraft:game_profile": "void",
738
+ "minecraft:block_pos": "void",
739
+ "minecraft:column_pos": "void",
740
+ "minecraft:vec3": "void",
741
+ "minecraft:vec2": "void",
742
+ "minecraft:block_state": "void",
743
+ "minecraft:block_predicate": "void",
744
+ "minecraft:item_stack": "void",
745
+ "minecraft:item_predicate": "void",
746
+ "minecraft:color": "void",
747
+ "minecraft:component": "void",
748
+ "minecraft:message": "void",
749
+ "minecraft:nbt": "void",
750
+ "minecraft:nbt_path": "void",
751
+ "minecraft:objective": "void",
752
+ "minecraft:objective_criteria": "void",
753
+ "minecraft:operation": "void",
754
+ "minecraft:particle": "void",
755
+ "minecraft:angle": "void",
756
+ "minecraft:rotation": "void",
757
+ "minecraft:scoreboard_slot": "void",
758
+ "minecraft:score_holder": [
759
+ "bitfield",
760
+ [
761
+ {
762
+ "name": "unused",
763
+ "size": 7,
764
+ "signed": false
765
+ },
766
+ {
767
+ "name": "allowMultiple",
768
+ "size": 1,
769
+ "signed": false
770
+ }
771
+ ]
772
+ ],
773
+ "minecraft:swizzle": "void",
774
+ "minecraft:team": "void",
775
+ "minecraft:item_slot": "void",
776
+ "minecraft:resource_location": "void",
777
+ "minecraft:mob_effect": "void",
778
+ "minecraft:function": "void",
779
+ "minecraft:entity_anchor": "void",
780
+ "minecraft:range": [
781
+ "container",
782
+ [
783
+ {
784
+ "name": "allowDecimals",
785
+ "type": "bool"
786
+ }
787
+ ]
788
+ ],
789
+ "minecraft:int_range": "void",
790
+ "minecraft:float_range": "void",
791
+ "minecraft:item_enchantment": "void",
792
+ "minecraft:entity_summon": "void",
793
+ "minecraft:dimension": "void",
794
+ "minecraft:nbt_compound_tag": "void",
795
+ "minecraft:time": "void",
796
+ "minecraft:resource_or_tag": [
797
+ "container",
798
+ [
799
+ {
800
+ "name": "registry",
801
+ "type": "string"
802
+ }
803
+ ]
804
+ ],
805
+ "minecraft:resource": [
806
+ "container",
807
+ [
808
+ {
809
+ "name": "registry",
810
+ "type": "string"
811
+ }
812
+ ]
813
+ ],
814
+ "minecraft:uuid": "void"
815
+ }
816
+ }
817
+ ]
818
+ },
819
+ {
820
+ "name": "suggestionType",
821
+ "type": [
822
+ "switch",
823
+ {
824
+ "compareTo": "../flags/has_custom_suggestions",
825
+ "fields": {
826
+ "1": "string"
827
+ },
828
+ "default": "void"
829
+ }
830
+ ]
831
+ }
832
+ ]
833
+ ]
834
+ }
835
+ }
836
+ ]
837
+ }
838
+ ]
839
+ ]
840
+ }
390
841
  ]
391
842
  },
392
843
  "handshaking": {
@@ -1447,344 +1898,7 @@
1447
1898
  [
1448
1899
  {
1449
1900
  "name": "nodes",
1450
- "type": [
1451
- "array",
1452
- {
1453
- "countType": "varint",
1454
- "type": [
1455
- "container",
1456
- [
1457
- {
1458
- "name": "flags",
1459
- "type": [
1460
- "bitfield",
1461
- [
1462
- {
1463
- "name": "unused",
1464
- "size": 3,
1465
- "signed": false
1466
- },
1467
- {
1468
- "name": "has_custom_suggestions",
1469
- "size": 1,
1470
- "signed": false
1471
- },
1472
- {
1473
- "name": "has_redirect_node",
1474
- "size": 1,
1475
- "signed": false
1476
- },
1477
- {
1478
- "name": "has_command",
1479
- "size": 1,
1480
- "signed": false
1481
- },
1482
- {
1483
- "name": "command_node_type",
1484
- "size": 2,
1485
- "signed": false
1486
- }
1487
- ]
1488
- ]
1489
- },
1490
- {
1491
- "name": "children",
1492
- "type": [
1493
- "array",
1494
- {
1495
- "countType": "varint",
1496
- "type": "varint"
1497
- }
1498
- ]
1499
- },
1500
- {
1501
- "name": "redirectNode",
1502
- "type": [
1503
- "switch",
1504
- {
1505
- "compareTo": "flags/has_redirect_node",
1506
- "fields": {
1507
- "1": "varint"
1508
- },
1509
- "default": "void"
1510
- }
1511
- ]
1512
- },
1513
- {
1514
- "name": "extraNodeData",
1515
- "type": [
1516
- "switch",
1517
- {
1518
- "compareTo": "flags/command_node_type",
1519
- "fields": {
1520
- "0": "void",
1521
- "1": "string",
1522
- "2": [
1523
- "container",
1524
- [
1525
- {
1526
- "name": "name",
1527
- "type": "string"
1528
- },
1529
- {
1530
- "name": "parser",
1531
- "type": "string"
1532
- },
1533
- {
1534
- "name": "properties",
1535
- "type": [
1536
- "switch",
1537
- {
1538
- "compareTo": "parser",
1539
- "fields": {
1540
- "brigadier:double": [
1541
- "container",
1542
- [
1543
- {
1544
- "name": "flags",
1545
- "type": [
1546
- "bitfield",
1547
- [
1548
- {
1549
- "name": "unused",
1550
- "size": 6,
1551
- "signed": false
1552
- },
1553
- {
1554
- "name": "max_present",
1555
- "size": 1,
1556
- "signed": false
1557
- },
1558
- {
1559
- "name": "min_present",
1560
- "size": 1,
1561
- "signed": false
1562
- }
1563
- ]
1564
- ]
1565
- },
1566
- {
1567
- "name": "min",
1568
- "type": [
1569
- "switch",
1570
- {
1571
- "compareTo": "flags/min_present",
1572
- "fields": {
1573
- "1": "f64"
1574
- },
1575
- "default": "void"
1576
- }
1577
- ]
1578
- },
1579
- {
1580
- "name": "max",
1581
- "type": [
1582
- "switch",
1583
- {
1584
- "compareTo": "flags/max_present",
1585
- "fields": {
1586
- "1": "f64"
1587
- },
1588
- "default": "void"
1589
- }
1590
- ]
1591
- }
1592
- ]
1593
- ],
1594
- "brigadier:float": [
1595
- "container",
1596
- [
1597
- {
1598
- "name": "flags",
1599
- "type": [
1600
- "bitfield",
1601
- [
1602
- {
1603
- "name": "unused",
1604
- "size": 6,
1605
- "signed": false
1606
- },
1607
- {
1608
- "name": "max_present",
1609
- "size": 1,
1610
- "signed": false
1611
- },
1612
- {
1613
- "name": "min_present",
1614
- "size": 1,
1615
- "signed": false
1616
- }
1617
- ]
1618
- ]
1619
- },
1620
- {
1621
- "name": "min",
1622
- "type": [
1623
- "switch",
1624
- {
1625
- "compareTo": "flags/min_present",
1626
- "fields": {
1627
- "1": "f32"
1628
- },
1629
- "default": "void"
1630
- }
1631
- ]
1632
- },
1633
- {
1634
- "name": "max",
1635
- "type": [
1636
- "switch",
1637
- {
1638
- "compareTo": "flags/max_present",
1639
- "fields": {
1640
- "1": "f32"
1641
- },
1642
- "default": "void"
1643
- }
1644
- ]
1645
- }
1646
- ]
1647
- ],
1648
- "brigadier:integer": [
1649
- "container",
1650
- [
1651
- {
1652
- "name": "flags",
1653
- "type": [
1654
- "bitfield",
1655
- [
1656
- {
1657
- "name": "unused",
1658
- "size": 6,
1659
- "signed": false
1660
- },
1661
- {
1662
- "name": "max_present",
1663
- "size": 1,
1664
- "signed": false
1665
- },
1666
- {
1667
- "name": "min_present",
1668
- "size": 1,
1669
- "signed": false
1670
- }
1671
- ]
1672
- ]
1673
- },
1674
- {
1675
- "name": "min",
1676
- "type": [
1677
- "switch",
1678
- {
1679
- "compareTo": "flags/min_present",
1680
- "fields": {
1681
- "1": "i32"
1682
- },
1683
- "default": "void"
1684
- }
1685
- ]
1686
- },
1687
- {
1688
- "name": "max",
1689
- "type": [
1690
- "switch",
1691
- {
1692
- "compareTo": "flags/max_present",
1693
- "fields": {
1694
- "1": "i32"
1695
- },
1696
- "default": "void"
1697
- }
1698
- ]
1699
- }
1700
- ]
1701
- ],
1702
- "brigadier:long": [
1703
- "container",
1704
- [
1705
- {
1706
- "name": "flags",
1707
- "type": [
1708
- "bitfield",
1709
- [
1710
- {
1711
- "name": "unused",
1712
- "size": 6,
1713
- "signed": false
1714
- },
1715
- {
1716
- "name": "max_present",
1717
- "size": 1,
1718
- "signed": false
1719
- },
1720
- {
1721
- "name": "min_present",
1722
- "size": 1,
1723
- "signed": false
1724
- }
1725
- ]
1726
- ]
1727
- },
1728
- {
1729
- "name": "min",
1730
- "type": [
1731
- "switch",
1732
- {
1733
- "compareTo": "flags/min_present",
1734
- "fields": {
1735
- "1": "i64"
1736
- },
1737
- "default": "void"
1738
- }
1739
- ]
1740
- },
1741
- {
1742
- "name": "max",
1743
- "type": [
1744
- "switch",
1745
- {
1746
- "compareTo": "flags/max_present",
1747
- "fields": {
1748
- "1": "i64"
1749
- },
1750
- "default": "void"
1751
- }
1752
- ]
1753
- }
1754
- ]
1755
- ],
1756
- "brigadier:string": "varint",
1757
- "minecraft:entity": "i8",
1758
- "minecraft:score_holder": "i8",
1759
- "minecraft:range": "bool"
1760
- },
1761
- "default": "void"
1762
- }
1763
- ]
1764
- },
1765
- {
1766
- "name": "suggests",
1767
- "type": [
1768
- "switch",
1769
- {
1770
- "compareTo": "../flags/has_custom_suggestions",
1771
- "fields": {
1772
- "1": "string"
1773
- },
1774
- "default": "void"
1775
- }
1776
- ]
1777
- }
1778
- ]
1779
- ]
1780
- }
1781
- }
1782
- ]
1783
- }
1784
- ]
1785
- ]
1786
- }
1787
- ]
1901
+ "type": "command_node"
1788
1902
  },
1789
1903
  {
1790
1904
  "name": "rootIndex",
@@ -3569,7 +3683,7 @@
3569
3683
  },
3570
3684
  {
3571
3685
  "name": "action",
3572
- "type": "i8"
3686
+ "type": "varint"
3573
3687
  },
3574
3688
  {
3575
3689
  "name": "scoreName",
@@ -4650,27 +4764,27 @@
4650
4764
  },
4651
4765
  {
4652
4766
  "name": "offset_x",
4653
- "type": "u8"
4767
+ "type": "i8"
4654
4768
  },
4655
4769
  {
4656
4770
  "name": "offset_y",
4657
- "type": "u8"
4771
+ "type": "i8"
4658
4772
  },
4659
4773
  {
4660
4774
  "name": "offset_z",
4661
- "type": "u8"
4775
+ "type": "i8"
4662
4776
  },
4663
4777
  {
4664
4778
  "name": "size_x",
4665
- "type": "u8"
4779
+ "type": "i8"
4666
4780
  },
4667
4781
  {
4668
4782
  "name": "size_y",
4669
- "type": "u8"
4783
+ "type": "i8"
4670
4784
  },
4671
4785
  {
4672
4786
  "name": "size_z",
4673
- "type": "u8"
4787
+ "type": "i8"
4674
4788
  },
4675
4789
  {
4676
4790
  "name": "mirror",
@@ -5094,7 +5208,7 @@
5094
5208
  [
5095
5209
  {
5096
5210
  "name": "status",
5097
- "type": "i8"
5211
+ "type": "varint"
5098
5212
  },
5099
5213
  {
5100
5214
  "name": "location",