minecraft-data 3.7.1 → 3.8.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 (46) hide show
  1. package/doc/history.md +9 -0
  2. package/minecraft-data/data/pc/1.10/protocol.json +3 -2
  3. package/minecraft-data/data/pc/1.10-pre1/protocol.json +3 -2
  4. package/minecraft-data/data/pc/1.11/protocol.json +3 -2
  5. package/minecraft-data/data/pc/1.12/protocol.json +3 -2
  6. package/minecraft-data/data/pc/1.12-pre4/protocol.json +3 -2
  7. package/minecraft-data/data/pc/1.12.1/protocol.json +3 -2
  8. package/minecraft-data/data/pc/1.12.2/protocol.json +3 -2
  9. package/minecraft-data/data/pc/1.13/protocol.json +456 -216
  10. package/minecraft-data/data/pc/1.13.1/protocol.json +456 -216
  11. package/minecraft-data/data/pc/1.13.2/protocol.json +456 -216
  12. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +456 -216
  13. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +456 -216
  14. package/minecraft-data/data/pc/1.14/protocol.json +457 -218
  15. package/minecraft-data/data/pc/1.14.1/protocol.json +457 -218
  16. package/minecraft-data/data/pc/1.14.3/protocol.json +457 -218
  17. package/minecraft-data/data/pc/1.14.4/protocol.json +457 -218
  18. package/minecraft-data/data/pc/1.15/protocol.json +457 -218
  19. package/minecraft-data/data/pc/1.15.1/protocol.json +457 -218
  20. package/minecraft-data/data/pc/1.15.2/protocol.json +457 -218
  21. package/minecraft-data/data/pc/1.16/protocol.json +457 -218
  22. package/minecraft-data/data/pc/1.16-rc1/protocol.json +457 -218
  23. package/minecraft-data/data/pc/1.16.1/protocol.json +457 -218
  24. package/minecraft-data/data/pc/1.16.2/protocol.json +458 -219
  25. package/minecraft-data/data/pc/1.17/protocol.json +451 -336
  26. package/minecraft-data/data/pc/1.17.1/protocol.json +451 -336
  27. package/minecraft-data/data/pc/1.18/protocol.json +451 -336
  28. package/minecraft-data/data/pc/1.18.2/protocol.json +451 -336
  29. package/minecraft-data/data/pc/1.19/protocol.json +493 -332
  30. package/minecraft-data/data/pc/1.8/protocol.json +3 -2
  31. package/minecraft-data/data/pc/1.9/protocol.json +3 -2
  32. package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +3 -2
  33. package/minecraft-data/data/pc/1.9.2/protocol.json +3 -2
  34. package/minecraft-data/data/pc/1.9.4/protocol.json +3 -2
  35. package/minecraft-data/data/pc/15w40b/protocol.json +3 -2
  36. package/minecraft-data/data/pc/16w20a/protocol.json +3 -2
  37. package/minecraft-data/data/pc/16w35a/protocol.json +3 -2
  38. package/minecraft-data/data/pc/17w15a/protocol.json +3 -2
  39. package/minecraft-data/data/pc/17w18b/protocol.json +3 -2
  40. package/minecraft-data/data/pc/17w50a/protocol.json +3 -2
  41. package/minecraft-data/data/pc/20w13b/protocol.json +456 -216
  42. package/minecraft-data/data/pc/21w07a/protocol.json +457 -217
  43. package/minecraft-data/data/pc/common/features.json +36 -26
  44. package/minecraft-data/data/pc/common/protocolVersions.json +7 -0
  45. package/minecraft-data/doc/history.md +13 -0
  46. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "types": {
3
3
  "varint": "native",
4
+ "varlong": "native",
4
5
  "optvarint": "varint",
5
6
  "pstring": "native",
6
7
  "buffer": "native",
@@ -433,6 +434,451 @@
433
434
  "type": "optionalNbt"
434
435
  }
435
436
  ]
437
+ ],
438
+ "command_node": [
439
+ "container",
440
+ [
441
+ {
442
+ "name": "flags",
443
+ "type": [
444
+ "bitfield",
445
+ [
446
+ {
447
+ "name": "unused",
448
+ "size": 3,
449
+ "signed": false
450
+ },
451
+ {
452
+ "name": "has_custom_suggestions",
453
+ "size": 1,
454
+ "signed": false
455
+ },
456
+ {
457
+ "name": "has_redirect_node",
458
+ "size": 1,
459
+ "signed": false
460
+ },
461
+ {
462
+ "name": "has_command",
463
+ "size": 1,
464
+ "signed": false
465
+ },
466
+ {
467
+ "name": "command_node_type",
468
+ "size": 2,
469
+ "signed": false
470
+ }
471
+ ]
472
+ ]
473
+ },
474
+ {
475
+ "name": "children",
476
+ "type": [
477
+ "array",
478
+ {
479
+ "countType": "varint",
480
+ "type": "varint"
481
+ }
482
+ ]
483
+ },
484
+ {
485
+ "name": "redirectNode",
486
+ "type": [
487
+ "switch",
488
+ {
489
+ "compareTo": "flags/has_redirect_node",
490
+ "fields": {
491
+ "1": "varint"
492
+ },
493
+ "default": "void"
494
+ }
495
+ ]
496
+ },
497
+ {
498
+ "name": "extraNodeData",
499
+ "type": [
500
+ "switch",
501
+ {
502
+ "compareTo": "flags/command_node_type",
503
+ "fields": {
504
+ "0": "void",
505
+ "1": [
506
+ "container",
507
+ [
508
+ {
509
+ "name": "name",
510
+ "type": "string"
511
+ }
512
+ ]
513
+ ],
514
+ "2": [
515
+ "container",
516
+ [
517
+ {
518
+ "name": "name",
519
+ "type": "string"
520
+ },
521
+ {
522
+ "name": "parser",
523
+ "type": "string"
524
+ },
525
+ {
526
+ "name": "properties",
527
+ "type": [
528
+ "switch",
529
+ {
530
+ "compareTo": "parser",
531
+ "fields": {
532
+ "brigadier:bool": "void",
533
+ "brigadier:float": [
534
+ "container",
535
+ [
536
+ {
537
+ "name": "flags",
538
+ "type": [
539
+ "bitfield",
540
+ [
541
+ {
542
+ "name": "unused",
543
+ "size": 6,
544
+ "signed": false
545
+ },
546
+ {
547
+ "name": "max_present",
548
+ "size": 1,
549
+ "signed": false
550
+ },
551
+ {
552
+ "name": "min_present",
553
+ "size": 1,
554
+ "signed": false
555
+ }
556
+ ]
557
+ ]
558
+ },
559
+ {
560
+ "name": "min",
561
+ "type": [
562
+ "switch",
563
+ {
564
+ "compareTo": "flags/min_present",
565
+ "fields": {
566
+ "1": "f32"
567
+ },
568
+ "default": "void"
569
+ }
570
+ ]
571
+ },
572
+ {
573
+ "name": "max",
574
+ "type": [
575
+ "switch",
576
+ {
577
+ "compareTo": "flags/max_present",
578
+ "fields": {
579
+ "1": "f32"
580
+ },
581
+ "default": "void"
582
+ }
583
+ ]
584
+ }
585
+ ]
586
+ ],
587
+ "brigadier:double": [
588
+ "container",
589
+ [
590
+ {
591
+ "name": "flags",
592
+ "type": [
593
+ "bitfield",
594
+ [
595
+ {
596
+ "name": "unused",
597
+ "size": 6,
598
+ "signed": false
599
+ },
600
+ {
601
+ "name": "max_present",
602
+ "size": 1,
603
+ "signed": false
604
+ },
605
+ {
606
+ "name": "min_present",
607
+ "size": 1,
608
+ "signed": false
609
+ }
610
+ ]
611
+ ]
612
+ },
613
+ {
614
+ "name": "min",
615
+ "type": [
616
+ "switch",
617
+ {
618
+ "compareTo": "flags/min_present",
619
+ "fields": {
620
+ "1": "f64"
621
+ },
622
+ "default": "void"
623
+ }
624
+ ]
625
+ },
626
+ {
627
+ "name": "max",
628
+ "type": [
629
+ "switch",
630
+ {
631
+ "compareTo": "flags/max_present",
632
+ "fields": {
633
+ "1": "f64"
634
+ },
635
+ "default": "void"
636
+ }
637
+ ]
638
+ }
639
+ ]
640
+ ],
641
+ "brigadier:integer": [
642
+ "container",
643
+ [
644
+ {
645
+ "name": "flags",
646
+ "type": [
647
+ "bitfield",
648
+ [
649
+ {
650
+ "name": "unused",
651
+ "size": 6,
652
+ "signed": false
653
+ },
654
+ {
655
+ "name": "max_present",
656
+ "size": 1,
657
+ "signed": false
658
+ },
659
+ {
660
+ "name": "min_present",
661
+ "size": 1,
662
+ "signed": false
663
+ }
664
+ ]
665
+ ]
666
+ },
667
+ {
668
+ "name": "min",
669
+ "type": [
670
+ "switch",
671
+ {
672
+ "compareTo": "flags/min_present",
673
+ "fields": {
674
+ "1": "i32"
675
+ },
676
+ "default": "void"
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ "name": "max",
682
+ "type": [
683
+ "switch",
684
+ {
685
+ "compareTo": "flags/max_present",
686
+ "fields": {
687
+ "1": "i32"
688
+ },
689
+ "default": "void"
690
+ }
691
+ ]
692
+ }
693
+ ]
694
+ ],
695
+ "brigadier:long": [
696
+ "container",
697
+ [
698
+ {
699
+ "name": "flags",
700
+ "type": [
701
+ "bitfield",
702
+ [
703
+ {
704
+ "name": "unused",
705
+ "size": 6,
706
+ "signed": false
707
+ },
708
+ {
709
+ "name": "max_present",
710
+ "size": 1,
711
+ "signed": false
712
+ },
713
+ {
714
+ "name": "min_present",
715
+ "size": 1,
716
+ "signed": false
717
+ }
718
+ ]
719
+ ]
720
+ },
721
+ {
722
+ "name": "min",
723
+ "type": [
724
+ "switch",
725
+ {
726
+ "compareTo": "flags/min_present",
727
+ "fields": {
728
+ "1": "i64"
729
+ },
730
+ "default": "void"
731
+ }
732
+ ]
733
+ },
734
+ {
735
+ "name": "max",
736
+ "type": [
737
+ "switch",
738
+ {
739
+ "compareTo": "flags/max_present",
740
+ "fields": {
741
+ "1": "i64"
742
+ },
743
+ "default": "void"
744
+ }
745
+ ]
746
+ }
747
+ ]
748
+ ],
749
+ "brigadier:string": [
750
+ "mapper",
751
+ {
752
+ "type": "varint",
753
+ "mappings": {
754
+ "0": "SINGLE_WORD",
755
+ "1": "QUOTABLE_PHRASE",
756
+ "2": "GREEDY_PHRASE"
757
+ }
758
+ }
759
+ ],
760
+ "minecraft:entity": [
761
+ "bitfield",
762
+ [
763
+ {
764
+ "name": "unused",
765
+ "size": 6,
766
+ "signed": false
767
+ },
768
+ {
769
+ "name": "onlyAllowPlayers",
770
+ "size": 1,
771
+ "signed": false
772
+ },
773
+ {
774
+ "name": "onlyAllowEntities",
775
+ "size": 1,
776
+ "signed": false
777
+ }
778
+ ]
779
+ ],
780
+ "minecraft:game_profile": "void",
781
+ "minecraft:block_pos": "void",
782
+ "minecraft:column_pos": "void",
783
+ "minecraft:vec3": "void",
784
+ "minecraft:vec2": "void",
785
+ "minecraft:block_state": "void",
786
+ "minecraft:block_predicate": "void",
787
+ "minecraft:item_stack": "void",
788
+ "minecraft:item_predicate": "void",
789
+ "minecraft:color": "void",
790
+ "minecraft:component": "void",
791
+ "minecraft:message": "void",
792
+ "minecraft:nbt": "void",
793
+ "minecraft:nbt_path": "void",
794
+ "minecraft:objective": "void",
795
+ "minecraft:objective_criteria": "void",
796
+ "minecraft:operation": "void",
797
+ "minecraft:particle": "void",
798
+ "minecraft:angle": "void",
799
+ "minecraft:rotation": "void",
800
+ "minecraft:scoreboard_slot": "void",
801
+ "minecraft:score_holder": [
802
+ "bitfield",
803
+ [
804
+ {
805
+ "name": "unused",
806
+ "size": 7,
807
+ "signed": false
808
+ },
809
+ {
810
+ "name": "allowMultiple",
811
+ "size": 1,
812
+ "signed": false
813
+ }
814
+ ]
815
+ ],
816
+ "minecraft:swizzle": "void",
817
+ "minecraft:team": "void",
818
+ "minecraft:item_slot": "void",
819
+ "minecraft:resource_location": "void",
820
+ "minecraft:mob_effect": "void",
821
+ "minecraft:function": "void",
822
+ "minecraft:entity_anchor": "void",
823
+ "minecraft:range": [
824
+ "container",
825
+ [
826
+ {
827
+ "name": "allowDecimals",
828
+ "type": "bool"
829
+ }
830
+ ]
831
+ ],
832
+ "minecraft:int_range": "void",
833
+ "minecraft:float_range": "void",
834
+ "minecraft:item_enchantment": "void",
835
+ "minecraft:entity_summon": "void",
836
+ "minecraft:dimension": "void",
837
+ "minecraft:nbt_compound_tag": "void",
838
+ "minecraft:time": "void",
839
+ "minecraft:resource_or_tag": [
840
+ "container",
841
+ [
842
+ {
843
+ "name": "registry",
844
+ "type": "string"
845
+ }
846
+ ]
847
+ ],
848
+ "minecraft:resource": [
849
+ "container",
850
+ [
851
+ {
852
+ "name": "registry",
853
+ "type": "string"
854
+ }
855
+ ]
856
+ ],
857
+ "minecraft:uuid": "void"
858
+ }
859
+ }
860
+ ]
861
+ },
862
+ {
863
+ "name": "suggestionType",
864
+ "type": [
865
+ "switch",
866
+ {
867
+ "compareTo": "../flags/has_custom_suggestions",
868
+ "fields": {
869
+ "1": "string"
870
+ },
871
+ "default": "void"
872
+ }
873
+ ]
874
+ }
875
+ ]
876
+ ]
877
+ }
878
+ }
879
+ ]
880
+ }
881
+ ]
436
882
  ]
437
883
  },
438
884
  "handshaking": {
@@ -1497,338 +1943,7 @@
1497
1943
  "array",
1498
1944
  {
1499
1945
  "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
- ]
1946
+ "type": "command_node"
1832
1947
  }
1833
1948
  ]
1834
1949
  },
@@ -1955,7 +2070,7 @@
1955
2070
  "array",
1956
2071
  {
1957
2072
  "countType": "varint",
1958
- "type": "varint"
2073
+ "type": "varlong"
1959
2074
  }
1960
2075
  ]
1961
2076
  }
@@ -4251,7 +4366,7 @@
4251
4366
  },
4252
4367
  {
4253
4368
  "name": "speed",
4254
- "type": "varint"
4369
+ "type": "varlong"
4255
4370
  },
4256
4371
  {
4257
4372
  "name": "portalTeleportBoundary",
@@ -4302,7 +4417,7 @@
4302
4417
  },
4303
4418
  {
4304
4419
  "name": "speed",
4305
- "type": "varint"
4420
+ "type": "varlong"
4306
4421
  }
4307
4422
  ]
4308
4423
  ],
@@ -4834,7 +4949,7 @@
4834
4949
  },
4835
4950
  {
4836
4951
  "name": "seed",
4837
- "type": "varint"
4952
+ "type": "varlong"
4838
4953
  },
4839
4954
  {
4840
4955
  "name": "flags",