minecraft-data 3.7.0 → 3.7.3

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 (28) hide show
  1. package/doc/history.md +9 -0
  2. package/minecraft-data/data/bedrock/1.19.10/protocol.json +1 -5
  3. package/minecraft-data/data/bedrock/latest/proto.yml +0 -1
  4. package/minecraft-data/data/pc/1.13/protocol.json +452 -213
  5. package/minecraft-data/data/pc/1.13.1/protocol.json +452 -213
  6. package/minecraft-data/data/pc/1.13.2/protocol.json +452 -213
  7. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +452 -213
  8. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +452 -213
  9. package/minecraft-data/data/pc/1.14/protocol.json +453 -215
  10. package/minecraft-data/data/pc/1.14.1/protocol.json +453 -215
  11. package/minecraft-data/data/pc/1.14.3/protocol.json +453 -215
  12. package/minecraft-data/data/pc/1.14.4/protocol.json +453 -215
  13. package/minecraft-data/data/pc/1.15/protocol.json +453 -215
  14. package/minecraft-data/data/pc/1.15.1/protocol.json +453 -215
  15. package/minecraft-data/data/pc/1.15.2/protocol.json +453 -215
  16. package/minecraft-data/data/pc/1.16/protocol.json +453 -215
  17. package/minecraft-data/data/pc/1.16-rc1/protocol.json +453 -215
  18. package/minecraft-data/data/pc/1.16.1/protocol.json +453 -215
  19. package/minecraft-data/data/pc/1.16.2/protocol.json +453 -215
  20. package/minecraft-data/data/pc/1.17/protocol.json +446 -332
  21. package/minecraft-data/data/pc/1.17.1/protocol.json +446 -332
  22. package/minecraft-data/data/pc/1.18/protocol.json +446 -332
  23. package/minecraft-data/data/pc/1.18.2/protocol.json +446 -332
  24. package/minecraft-data/data/pc/1.19/protocol.json +495 -338
  25. package/minecraft-data/data/pc/20w13b/protocol.json +452 -213
  26. package/minecraft-data/data/pc/21w07a/protocol.json +452 -213
  27. package/minecraft-data/doc/history.md +13 -0
  28. package/package.json +1 -1
@@ -433,6 +433,451 @@
433
433
  "type": "optionalNbt"
434
434
  }
435
435
  ]
436
+ ],
437
+ "command_node": [
438
+ "container",
439
+ [
440
+ {
441
+ "name": "flags",
442
+ "type": [
443
+ "bitfield",
444
+ [
445
+ {
446
+ "name": "unused",
447
+ "size": 3,
448
+ "signed": false
449
+ },
450
+ {
451
+ "name": "has_custom_suggestions",
452
+ "size": 1,
453
+ "signed": false
454
+ },
455
+ {
456
+ "name": "has_redirect_node",
457
+ "size": 1,
458
+ "signed": false
459
+ },
460
+ {
461
+ "name": "has_command",
462
+ "size": 1,
463
+ "signed": false
464
+ },
465
+ {
466
+ "name": "command_node_type",
467
+ "size": 2,
468
+ "signed": false
469
+ }
470
+ ]
471
+ ]
472
+ },
473
+ {
474
+ "name": "children",
475
+ "type": [
476
+ "array",
477
+ {
478
+ "countType": "varint",
479
+ "type": "varint"
480
+ }
481
+ ]
482
+ },
483
+ {
484
+ "name": "redirectNode",
485
+ "type": [
486
+ "switch",
487
+ {
488
+ "compareTo": "flags/has_redirect_node",
489
+ "fields": {
490
+ "1": "varint"
491
+ },
492
+ "default": "void"
493
+ }
494
+ ]
495
+ },
496
+ {
497
+ "name": "extraNodeData",
498
+ "type": [
499
+ "switch",
500
+ {
501
+ "compareTo": "flags/command_node_type",
502
+ "fields": {
503
+ "0": "void",
504
+ "1": [
505
+ "container",
506
+ [
507
+ {
508
+ "name": "name",
509
+ "type": "string"
510
+ }
511
+ ]
512
+ ],
513
+ "2": [
514
+ "container",
515
+ [
516
+ {
517
+ "name": "name",
518
+ "type": "string"
519
+ },
520
+ {
521
+ "name": "parser",
522
+ "type": "string"
523
+ },
524
+ {
525
+ "name": "properties",
526
+ "type": [
527
+ "switch",
528
+ {
529
+ "compareTo": "parser",
530
+ "fields": {
531
+ "brigadier:bool": "void",
532
+ "brigadier:float": [
533
+ "container",
534
+ [
535
+ {
536
+ "name": "flags",
537
+ "type": [
538
+ "bitfield",
539
+ [
540
+ {
541
+ "name": "unused",
542
+ "size": 6,
543
+ "signed": false
544
+ },
545
+ {
546
+ "name": "max_present",
547
+ "size": 1,
548
+ "signed": false
549
+ },
550
+ {
551
+ "name": "min_present",
552
+ "size": 1,
553
+ "signed": false
554
+ }
555
+ ]
556
+ ]
557
+ },
558
+ {
559
+ "name": "min",
560
+ "type": [
561
+ "switch",
562
+ {
563
+ "compareTo": "flags/min_present",
564
+ "fields": {
565
+ "1": "f32"
566
+ },
567
+ "default": "void"
568
+ }
569
+ ]
570
+ },
571
+ {
572
+ "name": "max",
573
+ "type": [
574
+ "switch",
575
+ {
576
+ "compareTo": "flags/max_present",
577
+ "fields": {
578
+ "1": "f32"
579
+ },
580
+ "default": "void"
581
+ }
582
+ ]
583
+ }
584
+ ]
585
+ ],
586
+ "brigadier:double": [
587
+ "container",
588
+ [
589
+ {
590
+ "name": "flags",
591
+ "type": [
592
+ "bitfield",
593
+ [
594
+ {
595
+ "name": "unused",
596
+ "size": 6,
597
+ "signed": false
598
+ },
599
+ {
600
+ "name": "max_present",
601
+ "size": 1,
602
+ "signed": false
603
+ },
604
+ {
605
+ "name": "min_present",
606
+ "size": 1,
607
+ "signed": false
608
+ }
609
+ ]
610
+ ]
611
+ },
612
+ {
613
+ "name": "min",
614
+ "type": [
615
+ "switch",
616
+ {
617
+ "compareTo": "flags/min_present",
618
+ "fields": {
619
+ "1": "f64"
620
+ },
621
+ "default": "void"
622
+ }
623
+ ]
624
+ },
625
+ {
626
+ "name": "max",
627
+ "type": [
628
+ "switch",
629
+ {
630
+ "compareTo": "flags/max_present",
631
+ "fields": {
632
+ "1": "f64"
633
+ },
634
+ "default": "void"
635
+ }
636
+ ]
637
+ }
638
+ ]
639
+ ],
640
+ "brigadier:integer": [
641
+ "container",
642
+ [
643
+ {
644
+ "name": "flags",
645
+ "type": [
646
+ "bitfield",
647
+ [
648
+ {
649
+ "name": "unused",
650
+ "size": 6,
651
+ "signed": false
652
+ },
653
+ {
654
+ "name": "max_present",
655
+ "size": 1,
656
+ "signed": false
657
+ },
658
+ {
659
+ "name": "min_present",
660
+ "size": 1,
661
+ "signed": false
662
+ }
663
+ ]
664
+ ]
665
+ },
666
+ {
667
+ "name": "min",
668
+ "type": [
669
+ "switch",
670
+ {
671
+ "compareTo": "flags/min_present",
672
+ "fields": {
673
+ "1": "i32"
674
+ },
675
+ "default": "void"
676
+ }
677
+ ]
678
+ },
679
+ {
680
+ "name": "max",
681
+ "type": [
682
+ "switch",
683
+ {
684
+ "compareTo": "flags/max_present",
685
+ "fields": {
686
+ "1": "i32"
687
+ },
688
+ "default": "void"
689
+ }
690
+ ]
691
+ }
692
+ ]
693
+ ],
694
+ "brigadier:long": [
695
+ "container",
696
+ [
697
+ {
698
+ "name": "flags",
699
+ "type": [
700
+ "bitfield",
701
+ [
702
+ {
703
+ "name": "unused",
704
+ "size": 6,
705
+ "signed": false
706
+ },
707
+ {
708
+ "name": "max_present",
709
+ "size": 1,
710
+ "signed": false
711
+ },
712
+ {
713
+ "name": "min_present",
714
+ "size": 1,
715
+ "signed": false
716
+ }
717
+ ]
718
+ ]
719
+ },
720
+ {
721
+ "name": "min",
722
+ "type": [
723
+ "switch",
724
+ {
725
+ "compareTo": "flags/min_present",
726
+ "fields": {
727
+ "1": "i64"
728
+ },
729
+ "default": "void"
730
+ }
731
+ ]
732
+ },
733
+ {
734
+ "name": "max",
735
+ "type": [
736
+ "switch",
737
+ {
738
+ "compareTo": "flags/max_present",
739
+ "fields": {
740
+ "1": "i64"
741
+ },
742
+ "default": "void"
743
+ }
744
+ ]
745
+ }
746
+ ]
747
+ ],
748
+ "brigadier:string": [
749
+ "mapper",
750
+ {
751
+ "type": "varint",
752
+ "mappings": {
753
+ "0": "SINGLE_WORD",
754
+ "1": "QUOTABLE_PHRASE",
755
+ "2": "GREEDY_PHRASE"
756
+ }
757
+ }
758
+ ],
759
+ "minecraft:entity": [
760
+ "bitfield",
761
+ [
762
+ {
763
+ "name": "unused",
764
+ "size": 6,
765
+ "signed": false
766
+ },
767
+ {
768
+ "name": "onlyAllowPlayers",
769
+ "size": 1,
770
+ "signed": false
771
+ },
772
+ {
773
+ "name": "onlyAllowEntities",
774
+ "size": 1,
775
+ "signed": false
776
+ }
777
+ ]
778
+ ],
779
+ "minecraft:game_profile": "void",
780
+ "minecraft:block_pos": "void",
781
+ "minecraft:column_pos": "void",
782
+ "minecraft:vec3": "void",
783
+ "minecraft:vec2": "void",
784
+ "minecraft:block_state": "void",
785
+ "minecraft:block_predicate": "void",
786
+ "minecraft:item_stack": "void",
787
+ "minecraft:item_predicate": "void",
788
+ "minecraft:color": "void",
789
+ "minecraft:component": "void",
790
+ "minecraft:message": "void",
791
+ "minecraft:nbt": "void",
792
+ "minecraft:nbt_path": "void",
793
+ "minecraft:objective": "void",
794
+ "minecraft:objective_criteria": "void",
795
+ "minecraft:operation": "void",
796
+ "minecraft:particle": "void",
797
+ "minecraft:angle": "void",
798
+ "minecraft:rotation": "void",
799
+ "minecraft:scoreboard_slot": "void",
800
+ "minecraft:score_holder": [
801
+ "bitfield",
802
+ [
803
+ {
804
+ "name": "unused",
805
+ "size": 7,
806
+ "signed": false
807
+ },
808
+ {
809
+ "name": "allowMultiple",
810
+ "size": 1,
811
+ "signed": false
812
+ }
813
+ ]
814
+ ],
815
+ "minecraft:swizzle": "void",
816
+ "minecraft:team": "void",
817
+ "minecraft:item_slot": "void",
818
+ "minecraft:resource_location": "void",
819
+ "minecraft:mob_effect": "void",
820
+ "minecraft:function": "void",
821
+ "minecraft:entity_anchor": "void",
822
+ "minecraft:range": [
823
+ "container",
824
+ [
825
+ {
826
+ "name": "allowDecimals",
827
+ "type": "bool"
828
+ }
829
+ ]
830
+ ],
831
+ "minecraft:int_range": "void",
832
+ "minecraft:float_range": "void",
833
+ "minecraft:item_enchantment": "void",
834
+ "minecraft:entity_summon": "void",
835
+ "minecraft:dimension": "void",
836
+ "minecraft:nbt_compound_tag": "void",
837
+ "minecraft:time": "void",
838
+ "minecraft:resource_or_tag": [
839
+ "container",
840
+ [
841
+ {
842
+ "name": "registry",
843
+ "type": "string"
844
+ }
845
+ ]
846
+ ],
847
+ "minecraft:resource": [
848
+ "container",
849
+ [
850
+ {
851
+ "name": "registry",
852
+ "type": "string"
853
+ }
854
+ ]
855
+ ],
856
+ "minecraft:uuid": "void"
857
+ }
858
+ }
859
+ ]
860
+ },
861
+ {
862
+ "name": "suggestionType",
863
+ "type": [
864
+ "switch",
865
+ {
866
+ "compareTo": "../flags/has_custom_suggestions",
867
+ "fields": {
868
+ "1": "string"
869
+ },
870
+ "default": "void"
871
+ }
872
+ ]
873
+ }
874
+ ]
875
+ ]
876
+ }
877
+ }
878
+ ]
879
+ }
880
+ ]
436
881
  ]
437
882
  },
438
883
  "handshaking": {
@@ -1497,338 +1942,7 @@
1497
1942
  "array",
1498
1943
  {
1499
1944
  "countType": "varint",
1500
- "type": [
1501
- "container",
1502
- [
1503
- {
1504
- "name": "flags",
1505
- "type": [
1506
- "bitfield",
1507
- [
1508
- {
1509
- "name": "unused",
1510
- "size": 3,
1511
- "signed": false
1512
- },
1513
- {
1514
- "name": "has_custom_suggestions",
1515
- "size": 1,
1516
- "signed": false
1517
- },
1518
- {
1519
- "name": "has_redirect_node",
1520
- "size": 1,
1521
- "signed": false
1522
- },
1523
- {
1524
- "name": "has_command",
1525
- "size": 1,
1526
- "signed": false
1527
- },
1528
- {
1529
- "name": "command_node_type",
1530
- "size": 2,
1531
- "signed": false
1532
- }
1533
- ]
1534
- ]
1535
- },
1536
- {
1537
- "name": "children",
1538
- "type": [
1539
- "array",
1540
- {
1541
- "countType": "varint",
1542
- "type": "varint"
1543
- }
1544
- ]
1545
- },
1546
- {
1547
- "name": "redirectNode",
1548
- "type": [
1549
- "switch",
1550
- {
1551
- "compareTo": "flags/has_redirect_node",
1552
- "fields": {
1553
- "1": "varint"
1554
- },
1555
- "default": "void"
1556
- }
1557
- ]
1558
- },
1559
- {
1560
- "name": "extraNodeData",
1561
- "type": [
1562
- "switch",
1563
- {
1564
- "compareTo": "flags/command_node_type",
1565
- "fields": {
1566
- "0": "void",
1567
- "1": "string",
1568
- "2": [
1569
- "container",
1570
- [
1571
- {
1572
- "name": "name",
1573
- "type": "string"
1574
- },
1575
- {
1576
- "name": "parser",
1577
- "type": "string"
1578
- },
1579
- {
1580
- "name": "properties",
1581
- "type": [
1582
- "switch",
1583
- {
1584
- "compareTo": "parser",
1585
- "fields": {
1586
- "brigadier:double": [
1587
- "container",
1588
- [
1589
- {
1590
- "name": "flags",
1591
- "type": [
1592
- "bitfield",
1593
- [
1594
- {
1595
- "name": "unused",
1596
- "size": 6,
1597
- "signed": false
1598
- },
1599
- {
1600
- "name": "max_present",
1601
- "size": 1,
1602
- "signed": false
1603
- },
1604
- {
1605
- "name": "min_present",
1606
- "size": 1,
1607
- "signed": false
1608
- }
1609
- ]
1610
- ]
1611
- },
1612
- {
1613
- "name": "min",
1614
- "type": [
1615
- "switch",
1616
- {
1617
- "compareTo": "flags/min_present",
1618
- "fields": {
1619
- "1": "f64"
1620
- },
1621
- "default": "void"
1622
- }
1623
- ]
1624
- },
1625
- {
1626
- "name": "max",
1627
- "type": [
1628
- "switch",
1629
- {
1630
- "compareTo": "flags/max_present",
1631
- "fields": {
1632
- "1": "f64"
1633
- },
1634
- "default": "void"
1635
- }
1636
- ]
1637
- }
1638
- ]
1639
- ],
1640
- "brigadier:float": [
1641
- "container",
1642
- [
1643
- {
1644
- "name": "flags",
1645
- "type": [
1646
- "bitfield",
1647
- [
1648
- {
1649
- "name": "unused",
1650
- "size": 6,
1651
- "signed": false
1652
- },
1653
- {
1654
- "name": "max_present",
1655
- "size": 1,
1656
- "signed": false
1657
- },
1658
- {
1659
- "name": "min_present",
1660
- "size": 1,
1661
- "signed": false
1662
- }
1663
- ]
1664
- ]
1665
- },
1666
- {
1667
- "name": "min",
1668
- "type": [
1669
- "switch",
1670
- {
1671
- "compareTo": "flags/min_present",
1672
- "fields": {
1673
- "1": "f32"
1674
- },
1675
- "default": "void"
1676
- }
1677
- ]
1678
- },
1679
- {
1680
- "name": "max",
1681
- "type": [
1682
- "switch",
1683
- {
1684
- "compareTo": "flags/max_present",
1685
- "fields": {
1686
- "1": "f32"
1687
- },
1688
- "default": "void"
1689
- }
1690
- ]
1691
- }
1692
- ]
1693
- ],
1694
- "brigadier:integer": [
1695
- "container",
1696
- [
1697
- {
1698
- "name": "flags",
1699
- "type": [
1700
- "bitfield",
1701
- [
1702
- {
1703
- "name": "unused",
1704
- "size": 6,
1705
- "signed": false
1706
- },
1707
- {
1708
- "name": "max_present",
1709
- "size": 1,
1710
- "signed": false
1711
- },
1712
- {
1713
- "name": "min_present",
1714
- "size": 1,
1715
- "signed": false
1716
- }
1717
- ]
1718
- ]
1719
- },
1720
- {
1721
- "name": "min",
1722
- "type": [
1723
- "switch",
1724
- {
1725
- "compareTo": "flags/min_present",
1726
- "fields": {
1727
- "1": "i32"
1728
- },
1729
- "default": "void"
1730
- }
1731
- ]
1732
- },
1733
- {
1734
- "name": "max",
1735
- "type": [
1736
- "switch",
1737
- {
1738
- "compareTo": "flags/max_present",
1739
- "fields": {
1740
- "1": "i32"
1741
- },
1742
- "default": "void"
1743
- }
1744
- ]
1745
- }
1746
- ]
1747
- ],
1748
- "brigadier:long": [
1749
- "container",
1750
- [
1751
- {
1752
- "name": "flags",
1753
- "type": [
1754
- "bitfield",
1755
- [
1756
- {
1757
- "name": "unused",
1758
- "size": 6,
1759
- "signed": false
1760
- },
1761
- {
1762
- "name": "max_present",
1763
- "size": 1,
1764
- "signed": false
1765
- },
1766
- {
1767
- "name": "min_present",
1768
- "size": 1,
1769
- "signed": false
1770
- }
1771
- ]
1772
- ]
1773
- },
1774
- {
1775
- "name": "min",
1776
- "type": [
1777
- "switch",
1778
- {
1779
- "compareTo": "flags/min_present",
1780
- "fields": {
1781
- "1": "i64"
1782
- },
1783
- "default": "void"
1784
- }
1785
- ]
1786
- },
1787
- {
1788
- "name": "max",
1789
- "type": [
1790
- "switch",
1791
- {
1792
- "compareTo": "flags/max_present",
1793
- "fields": {
1794
- "1": "i64"
1795
- },
1796
- "default": "void"
1797
- }
1798
- ]
1799
- }
1800
- ]
1801
- ],
1802
- "brigadier:string": "varint",
1803
- "minecraft:entity": "i8",
1804
- "minecraft:score_holder": "i8",
1805
- "minecraft:range": "bool"
1806
- },
1807
- "default": "void"
1808
- }
1809
- ]
1810
- },
1811
- {
1812
- "name": "suggests",
1813
- "type": [
1814
- "switch",
1815
- {
1816
- "compareTo": "../flags/has_custom_suggestions",
1817
- "fields": {
1818
- "1": "string"
1819
- },
1820
- "default": "void"
1821
- }
1822
- ]
1823
- }
1824
- ]
1825
- ]
1826
- }
1827
- }
1828
- ]
1829
- }
1830
- ]
1831
- ]
1945
+ "type": "command_node"
1832
1946
  }
1833
1947
  ]
1834
1948
  },