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
@@ -387,6 +387,451 @@
387
387
  ]
388
388
  ]
389
389
  }
390
+ ],
391
+ "command_node": [
392
+ "container",
393
+ [
394
+ {
395
+ "name": "flags",
396
+ "type": [
397
+ "bitfield",
398
+ [
399
+ {
400
+ "name": "unused",
401
+ "size": 3,
402
+ "signed": false
403
+ },
404
+ {
405
+ "name": "has_custom_suggestions",
406
+ "size": 1,
407
+ "signed": false
408
+ },
409
+ {
410
+ "name": "has_redirect_node",
411
+ "size": 1,
412
+ "signed": false
413
+ },
414
+ {
415
+ "name": "has_command",
416
+ "size": 1,
417
+ "signed": false
418
+ },
419
+ {
420
+ "name": "command_node_type",
421
+ "size": 2,
422
+ "signed": false
423
+ }
424
+ ]
425
+ ]
426
+ },
427
+ {
428
+ "name": "children",
429
+ "type": [
430
+ "array",
431
+ {
432
+ "countType": "varint",
433
+ "type": "varint"
434
+ }
435
+ ]
436
+ },
437
+ {
438
+ "name": "redirectNode",
439
+ "type": [
440
+ "switch",
441
+ {
442
+ "compareTo": "flags/has_redirect_node",
443
+ "fields": {
444
+ "1": "varint"
445
+ },
446
+ "default": "void"
447
+ }
448
+ ]
449
+ },
450
+ {
451
+ "name": "extraNodeData",
452
+ "type": [
453
+ "switch",
454
+ {
455
+ "compareTo": "flags/command_node_type",
456
+ "fields": {
457
+ "0": "void",
458
+ "1": [
459
+ "container",
460
+ [
461
+ {
462
+ "name": "name",
463
+ "type": "string"
464
+ }
465
+ ]
466
+ ],
467
+ "2": [
468
+ "container",
469
+ [
470
+ {
471
+ "name": "name",
472
+ "type": "string"
473
+ },
474
+ {
475
+ "name": "parser",
476
+ "type": "string"
477
+ },
478
+ {
479
+ "name": "properties",
480
+ "type": [
481
+ "switch",
482
+ {
483
+ "compareTo": "parser",
484
+ "fields": {
485
+ "brigadier:bool": "void",
486
+ "brigadier:float": [
487
+ "container",
488
+ [
489
+ {
490
+ "name": "flags",
491
+ "type": [
492
+ "bitfield",
493
+ [
494
+ {
495
+ "name": "unused",
496
+ "size": 6,
497
+ "signed": false
498
+ },
499
+ {
500
+ "name": "max_present",
501
+ "size": 1,
502
+ "signed": false
503
+ },
504
+ {
505
+ "name": "min_present",
506
+ "size": 1,
507
+ "signed": false
508
+ }
509
+ ]
510
+ ]
511
+ },
512
+ {
513
+ "name": "min",
514
+ "type": [
515
+ "switch",
516
+ {
517
+ "compareTo": "flags/min_present",
518
+ "fields": {
519
+ "1": "f32"
520
+ },
521
+ "default": "void"
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ "name": "max",
527
+ "type": [
528
+ "switch",
529
+ {
530
+ "compareTo": "flags/max_present",
531
+ "fields": {
532
+ "1": "f32"
533
+ },
534
+ "default": "void"
535
+ }
536
+ ]
537
+ }
538
+ ]
539
+ ],
540
+ "brigadier:double": [
541
+ "container",
542
+ [
543
+ {
544
+ "name": "flags",
545
+ "type": [
546
+ "bitfield",
547
+ [
548
+ {
549
+ "name": "unused",
550
+ "size": 6,
551
+ "signed": false
552
+ },
553
+ {
554
+ "name": "max_present",
555
+ "size": 1,
556
+ "signed": false
557
+ },
558
+ {
559
+ "name": "min_present",
560
+ "size": 1,
561
+ "signed": false
562
+ }
563
+ ]
564
+ ]
565
+ },
566
+ {
567
+ "name": "min",
568
+ "type": [
569
+ "switch",
570
+ {
571
+ "compareTo": "flags/min_present",
572
+ "fields": {
573
+ "1": "f64"
574
+ },
575
+ "default": "void"
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "name": "max",
581
+ "type": [
582
+ "switch",
583
+ {
584
+ "compareTo": "flags/max_present",
585
+ "fields": {
586
+ "1": "f64"
587
+ },
588
+ "default": "void"
589
+ }
590
+ ]
591
+ }
592
+ ]
593
+ ],
594
+ "brigadier:integer": [
595
+ "container",
596
+ [
597
+ {
598
+ "name": "flags",
599
+ "type": [
600
+ "bitfield",
601
+ [
602
+ {
603
+ "name": "unused",
604
+ "size": 6,
605
+ "signed": false
606
+ },
607
+ {
608
+ "name": "max_present",
609
+ "size": 1,
610
+ "signed": false
611
+ },
612
+ {
613
+ "name": "min_present",
614
+ "size": 1,
615
+ "signed": false
616
+ }
617
+ ]
618
+ ]
619
+ },
620
+ {
621
+ "name": "min",
622
+ "type": [
623
+ "switch",
624
+ {
625
+ "compareTo": "flags/min_present",
626
+ "fields": {
627
+ "1": "i32"
628
+ },
629
+ "default": "void"
630
+ }
631
+ ]
632
+ },
633
+ {
634
+ "name": "max",
635
+ "type": [
636
+ "switch",
637
+ {
638
+ "compareTo": "flags/max_present",
639
+ "fields": {
640
+ "1": "i32"
641
+ },
642
+ "default": "void"
643
+ }
644
+ ]
645
+ }
646
+ ]
647
+ ],
648
+ "brigadier:long": [
649
+ "container",
650
+ [
651
+ {
652
+ "name": "flags",
653
+ "type": [
654
+ "bitfield",
655
+ [
656
+ {
657
+ "name": "unused",
658
+ "size": 6,
659
+ "signed": false
660
+ },
661
+ {
662
+ "name": "max_present",
663
+ "size": 1,
664
+ "signed": false
665
+ },
666
+ {
667
+ "name": "min_present",
668
+ "size": 1,
669
+ "signed": false
670
+ }
671
+ ]
672
+ ]
673
+ },
674
+ {
675
+ "name": "min",
676
+ "type": [
677
+ "switch",
678
+ {
679
+ "compareTo": "flags/min_present",
680
+ "fields": {
681
+ "1": "i64"
682
+ },
683
+ "default": "void"
684
+ }
685
+ ]
686
+ },
687
+ {
688
+ "name": "max",
689
+ "type": [
690
+ "switch",
691
+ {
692
+ "compareTo": "flags/max_present",
693
+ "fields": {
694
+ "1": "i64"
695
+ },
696
+ "default": "void"
697
+ }
698
+ ]
699
+ }
700
+ ]
701
+ ],
702
+ "brigadier:string": [
703
+ "mapper",
704
+ {
705
+ "type": "varint",
706
+ "mappings": {
707
+ "0": "SINGLE_WORD",
708
+ "1": "QUOTABLE_PHRASE",
709
+ "2": "GREEDY_PHRASE"
710
+ }
711
+ }
712
+ ],
713
+ "minecraft:entity": [
714
+ "bitfield",
715
+ [
716
+ {
717
+ "name": "unused",
718
+ "size": 6,
719
+ "signed": false
720
+ },
721
+ {
722
+ "name": "onlyAllowPlayers",
723
+ "size": 1,
724
+ "signed": false
725
+ },
726
+ {
727
+ "name": "onlyAllowEntities",
728
+ "size": 1,
729
+ "signed": false
730
+ }
731
+ ]
732
+ ],
733
+ "minecraft:game_profile": "void",
734
+ "minecraft:block_pos": "void",
735
+ "minecraft:column_pos": "void",
736
+ "minecraft:vec3": "void",
737
+ "minecraft:vec2": "void",
738
+ "minecraft:block_state": "void",
739
+ "minecraft:block_predicate": "void",
740
+ "minecraft:item_stack": "void",
741
+ "minecraft:item_predicate": "void",
742
+ "minecraft:color": "void",
743
+ "minecraft:component": "void",
744
+ "minecraft:message": "void",
745
+ "minecraft:nbt": "void",
746
+ "minecraft:nbt_path": "void",
747
+ "minecraft:objective": "void",
748
+ "minecraft:objective_criteria": "void",
749
+ "minecraft:operation": "void",
750
+ "minecraft:particle": "void",
751
+ "minecraft:angle": "void",
752
+ "minecraft:rotation": "void",
753
+ "minecraft:scoreboard_slot": "void",
754
+ "minecraft:score_holder": [
755
+ "bitfield",
756
+ [
757
+ {
758
+ "name": "unused",
759
+ "size": 7,
760
+ "signed": false
761
+ },
762
+ {
763
+ "name": "allowMultiple",
764
+ "size": 1,
765
+ "signed": false
766
+ }
767
+ ]
768
+ ],
769
+ "minecraft:swizzle": "void",
770
+ "minecraft:team": "void",
771
+ "minecraft:item_slot": "void",
772
+ "minecraft:resource_location": "void",
773
+ "minecraft:mob_effect": "void",
774
+ "minecraft:function": "void",
775
+ "minecraft:entity_anchor": "void",
776
+ "minecraft:range": [
777
+ "container",
778
+ [
779
+ {
780
+ "name": "allowDecimals",
781
+ "type": "bool"
782
+ }
783
+ ]
784
+ ],
785
+ "minecraft:int_range": "void",
786
+ "minecraft:float_range": "void",
787
+ "minecraft:item_enchantment": "void",
788
+ "minecraft:entity_summon": "void",
789
+ "minecraft:dimension": "void",
790
+ "minecraft:nbt_compound_tag": "void",
791
+ "minecraft:time": "void",
792
+ "minecraft:resource_or_tag": [
793
+ "container",
794
+ [
795
+ {
796
+ "name": "registry",
797
+ "type": "string"
798
+ }
799
+ ]
800
+ ],
801
+ "minecraft:resource": [
802
+ "container",
803
+ [
804
+ {
805
+ "name": "registry",
806
+ "type": "string"
807
+ }
808
+ ]
809
+ ],
810
+ "minecraft:uuid": "void"
811
+ }
812
+ }
813
+ ]
814
+ },
815
+ {
816
+ "name": "suggestionType",
817
+ "type": [
818
+ "switch",
819
+ {
820
+ "compareTo": "../flags/has_custom_suggestions",
821
+ "fields": {
822
+ "1": "string"
823
+ },
824
+ "default": "void"
825
+ }
826
+ ]
827
+ }
828
+ ]
829
+ ]
830
+ }
831
+ }
832
+ ]
833
+ }
834
+ ]
390
835
  ]
391
836
  },
392
837
  "handshaking": {
@@ -1451,338 +1896,7 @@
1451
1896
  "array",
1452
1897
  {
1453
1898
  "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
- ]
1899
+ "type": "command_node"
1786
1900
  }
1787
1901
  ]
1788
1902
  },