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
@@ -48,7 +48,6 @@
48
48
  "true": [
49
49
  "container",
50
50
  [
51
-
52
51
  {
53
52
  "name": "itemId",
54
53
  "type": "varint"
@@ -307,7 +306,452 @@
307
306
  }]
308
307
  }
309
308
  ]]
310
- }]
309
+ }],
310
+ "command_node": [
311
+ "container",
312
+ [
313
+ {
314
+ "name": "flags",
315
+ "type": [
316
+ "bitfield",
317
+ [
318
+ {
319
+ "name": "unused",
320
+ "size": 3,
321
+ "signed": false
322
+ },
323
+ {
324
+ "name": "has_custom_suggestions",
325
+ "size": 1,
326
+ "signed": false
327
+ },
328
+ {
329
+ "name": "has_redirect_node",
330
+ "size": 1,
331
+ "signed": false
332
+ },
333
+ {
334
+ "name": "has_command",
335
+ "size": 1,
336
+ "signed": false
337
+ },
338
+ {
339
+ "name": "command_node_type",
340
+ "size": 2,
341
+ "signed": false
342
+ }
343
+ ]
344
+ ]
345
+ },
346
+ {
347
+ "name": "children",
348
+ "type": [
349
+ "array",
350
+ {
351
+ "countType": "varint",
352
+ "type": "varint"
353
+ }
354
+ ]
355
+ },
356
+ {
357
+ "name": "redirectNode",
358
+ "type": [
359
+ "switch",
360
+ {
361
+ "compareTo": "flags/has_redirect_node",
362
+ "fields": {
363
+ "1": "varint"
364
+ },
365
+ "default": "void"
366
+ }
367
+ ]
368
+ },
369
+ {
370
+ "name": "extraNodeData",
371
+ "type": [
372
+ "switch",
373
+ {
374
+ "compareTo": "flags/command_node_type",
375
+ "fields": {
376
+ "0": "void",
377
+ "1": [
378
+ "container",
379
+ [
380
+ {
381
+ "name": "name",
382
+ "type": "string"
383
+ }
384
+ ]
385
+ ],
386
+ "2": [
387
+ "container",
388
+ [
389
+ {
390
+ "name": "name",
391
+ "type": "string"
392
+ },
393
+ {
394
+ "name": "parser",
395
+ "type": "string"
396
+ },
397
+ {
398
+ "name": "properties",
399
+ "type": [
400
+ "switch",
401
+ {
402
+ "compareTo": "parser",
403
+ "fields": {
404
+ "brigadier:bool": "void",
405
+ "brigadier:float": [
406
+ "container",
407
+ [
408
+ {
409
+ "name": "flags",
410
+ "type": [
411
+ "bitfield",
412
+ [
413
+ {
414
+ "name": "unused",
415
+ "size": 6,
416
+ "signed": false
417
+ },
418
+ {
419
+ "name": "max_present",
420
+ "size": 1,
421
+ "signed": false
422
+ },
423
+ {
424
+ "name": "min_present",
425
+ "size": 1,
426
+ "signed": false
427
+ }
428
+ ]
429
+ ]
430
+ },
431
+ {
432
+ "name": "min",
433
+ "type": [
434
+ "switch",
435
+ {
436
+ "compareTo": "flags/min_present",
437
+ "fields": {
438
+ "1": "f32"
439
+ },
440
+ "default": "void"
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "name": "max",
446
+ "type": [
447
+ "switch",
448
+ {
449
+ "compareTo": "flags/max_present",
450
+ "fields": {
451
+ "1": "f32"
452
+ },
453
+ "default": "void"
454
+ }
455
+ ]
456
+ }
457
+ ]
458
+ ],
459
+ "brigadier:double": [
460
+ "container",
461
+ [
462
+ {
463
+ "name": "flags",
464
+ "type": [
465
+ "bitfield",
466
+ [
467
+ {
468
+ "name": "unused",
469
+ "size": 6,
470
+ "signed": false
471
+ },
472
+ {
473
+ "name": "max_present",
474
+ "size": 1,
475
+ "signed": false
476
+ },
477
+ {
478
+ "name": "min_present",
479
+ "size": 1,
480
+ "signed": false
481
+ }
482
+ ]
483
+ ]
484
+ },
485
+ {
486
+ "name": "min",
487
+ "type": [
488
+ "switch",
489
+ {
490
+ "compareTo": "flags/min_present",
491
+ "fields": {
492
+ "1": "f64"
493
+ },
494
+ "default": "void"
495
+ }
496
+ ]
497
+ },
498
+ {
499
+ "name": "max",
500
+ "type": [
501
+ "switch",
502
+ {
503
+ "compareTo": "flags/max_present",
504
+ "fields": {
505
+ "1": "f64"
506
+ },
507
+ "default": "void"
508
+ }
509
+ ]
510
+ }
511
+ ]
512
+ ],
513
+ "brigadier:integer": [
514
+ "container",
515
+ [
516
+ {
517
+ "name": "flags",
518
+ "type": [
519
+ "bitfield",
520
+ [
521
+ {
522
+ "name": "unused",
523
+ "size": 6,
524
+ "signed": false
525
+ },
526
+ {
527
+ "name": "max_present",
528
+ "size": 1,
529
+ "signed": false
530
+ },
531
+ {
532
+ "name": "min_present",
533
+ "size": 1,
534
+ "signed": false
535
+ }
536
+ ]
537
+ ]
538
+ },
539
+ {
540
+ "name": "min",
541
+ "type": [
542
+ "switch",
543
+ {
544
+ "compareTo": "flags/min_present",
545
+ "fields": {
546
+ "1": "i32"
547
+ },
548
+ "default": "void"
549
+ }
550
+ ]
551
+ },
552
+ {
553
+ "name": "max",
554
+ "type": [
555
+ "switch",
556
+ {
557
+ "compareTo": "flags/max_present",
558
+ "fields": {
559
+ "1": "i32"
560
+ },
561
+ "default": "void"
562
+ }
563
+ ]
564
+ }
565
+ ]
566
+ ],
567
+ "brigadier:long": [
568
+ "container",
569
+ [
570
+ {
571
+ "name": "flags",
572
+ "type": [
573
+ "bitfield",
574
+ [
575
+ {
576
+ "name": "unused",
577
+ "size": 6,
578
+ "signed": false
579
+ },
580
+ {
581
+ "name": "max_present",
582
+ "size": 1,
583
+ "signed": false
584
+ },
585
+ {
586
+ "name": "min_present",
587
+ "size": 1,
588
+ "signed": false
589
+ }
590
+ ]
591
+ ]
592
+ },
593
+ {
594
+ "name": "min",
595
+ "type": [
596
+ "switch",
597
+ {
598
+ "compareTo": "flags/min_present",
599
+ "fields": {
600
+ "1": "i64"
601
+ },
602
+ "default": "void"
603
+ }
604
+ ]
605
+ },
606
+ {
607
+ "name": "max",
608
+ "type": [
609
+ "switch",
610
+ {
611
+ "compareTo": "flags/max_present",
612
+ "fields": {
613
+ "1": "i64"
614
+ },
615
+ "default": "void"
616
+ }
617
+ ]
618
+ }
619
+ ]
620
+ ],
621
+ "brigadier:string": [
622
+ "mapper",
623
+ {
624
+ "type": "varint",
625
+ "mappings": {
626
+ "0": "SINGLE_WORD",
627
+ "1": "QUOTABLE_PHRASE",
628
+ "2": "GREEDY_PHRASE"
629
+ }
630
+ }
631
+ ],
632
+ "minecraft:entity": [
633
+ "bitfield",
634
+ [
635
+ {
636
+ "name": "unused",
637
+ "size": 6,
638
+ "signed": false
639
+ },
640
+ {
641
+ "name": "onlyAllowPlayers",
642
+ "size": 1,
643
+ "signed": false
644
+ },
645
+ {
646
+ "name": "onlyAllowEntities",
647
+ "size": 1,
648
+ "signed": false
649
+ }
650
+ ]
651
+ ],
652
+ "minecraft:game_profile": "void",
653
+ "minecraft:block_pos": "void",
654
+ "minecraft:column_pos": "void",
655
+ "minecraft:vec3": "void",
656
+ "minecraft:vec2": "void",
657
+ "minecraft:block_state": "void",
658
+ "minecraft:block_predicate": "void",
659
+ "minecraft:item_stack": "void",
660
+ "minecraft:item_predicate": "void",
661
+ "minecraft:color": "void",
662
+ "minecraft:component": "void",
663
+ "minecraft:message": "void",
664
+ "minecraft:nbt": "void",
665
+ "minecraft:nbt_path": "void",
666
+ "minecraft:objective": "void",
667
+ "minecraft:objective_criteria": "void",
668
+ "minecraft:operation": "void",
669
+ "minecraft:particle": "void",
670
+ "minecraft:angle": "void",
671
+ "minecraft:rotation": "void",
672
+ "minecraft:scoreboard_slot": "void",
673
+ "minecraft:score_holder": [
674
+ "bitfield",
675
+ [
676
+ {
677
+ "name": "unused",
678
+ "size": 7,
679
+ "signed": false
680
+ },
681
+ {
682
+ "name": "allowMultiple",
683
+ "size": 1,
684
+ "signed": false
685
+ }
686
+ ]
687
+ ],
688
+ "minecraft:swizzle": "void",
689
+ "minecraft:team": "void",
690
+ "minecraft:item_slot": "void",
691
+ "minecraft:resource_location": "void",
692
+ "minecraft:mob_effect": "void",
693
+ "minecraft:function": "void",
694
+ "minecraft:entity_anchor": "void",
695
+ "minecraft:range": [
696
+ "container",
697
+ [
698
+ {
699
+ "name": "allowDecimals",
700
+ "type": "bool"
701
+ }
702
+ ]
703
+ ],
704
+ "minecraft:int_range": "void",
705
+ "minecraft:float_range": "void",
706
+ "minecraft:item_enchantment": "void",
707
+ "minecraft:entity_summon": "void",
708
+ "minecraft:dimension": "void",
709
+ "minecraft:nbt_compound_tag": "void",
710
+ "minecraft:time": "void",
711
+ "minecraft:resource_or_tag": [
712
+ "container",
713
+ [
714
+ {
715
+ "name": "registry",
716
+ "type": "string"
717
+ }
718
+ ]
719
+ ],
720
+ "minecraft:resource": [
721
+ "container",
722
+ [
723
+ {
724
+ "name": "registry",
725
+ "type": "string"
726
+ }
727
+ ]
728
+ ],
729
+ "minecraft:uuid": "void"
730
+ }
731
+ }
732
+ ]
733
+ },
734
+ {
735
+ "name": "suggestionType",
736
+ "type": [
737
+ "switch",
738
+ {
739
+ "compareTo": "../flags/has_custom_suggestions",
740
+ "fields": {
741
+ "1": "string"
742
+ },
743
+ "default": "void"
744
+ }
745
+ ]
746
+ }
747
+ ]
748
+ ]
749
+ }
750
+ }
751
+ ]
752
+ }
753
+ ]
754
+ ]
311
755
  },
312
756
  "handshaking": {
313
757
  "toClient": {
@@ -1381,219 +1825,13 @@
1381
1825
  [
1382
1826
  {
1383
1827
  "name": "nodes",
1384
- "type": ["array", {
1385
- "countType": "varint",
1386
- "type": ["container",[
1387
- {
1388
- "name": "flags",
1389
- "type": [
1390
- "bitfield",
1391
- [
1392
- { "name": "unused", "size": 3, "signed": false },
1393
- { "name": "has_custom_suggestions", "size": 1, "signed": false },
1394
- { "name": "has_redirect_node", "size": 1, "signed": false },
1395
- { "name": "has_command", "size": 1, "signed": false },
1396
- { "name": "command_node_type", "size": 2, "signed": false }
1397
- ]
1398
- ]
1399
- },
1400
- {
1401
- "name": "children",
1402
- "type": ["array",
1403
- {
1404
- "countType": "varint",
1405
- "type": "varint"
1406
- }]
1407
- },
1408
- {
1409
- "name": "redirectNode",
1410
- "type": ["switch",
1411
- {
1412
- "compareTo": "flags/has_redirect_node",
1413
- "fields": {
1414
- "1":"varint"
1415
- },
1416
- "default": "void"
1417
- }]
1418
- },
1419
- {
1420
- "name": "extraNodeData",
1421
- "type": ["switch",
1422
- {
1423
- "compareTo": "flags/command_node_type",
1424
- "fields": {
1425
- "0": "void",
1426
- "1": "string",
1427
- "2": ["container", [
1428
- {
1429
- "name": "name",
1430
- "type": "string"
1431
- },
1432
- {
1433
- "name": "parser",
1434
- "type": "string"
1435
- },
1436
- {
1437
- "name": "properties",
1438
- "type": ["switch",{
1439
- "compareTo": "parser",
1440
- "fields": {
1441
- "brigadier:double": ["container", [
1442
- {
1443
- "name": "flags",
1444
- "type": [
1445
- "bitfield",
1446
- [
1447
- { "name": "unused", "size": 6, "signed": false },
1448
- { "name": "max_present", "size": 1, "signed": false },
1449
- { "name": "min_present", "size": 1, "signed": false }
1450
- ]
1451
- ]
1452
- },
1453
- {
1454
- "name": "min",
1455
- "type":["switch",{
1456
- "compareTo":"flags/min_present",
1457
- "fields":{
1458
- "1":"f64"
1459
- },
1460
- "default": "void"
1461
- }]
1462
- },
1463
- {
1464
- "name": "max",
1465
- "type":["switch",{
1466
- "compareTo":"flags/max_present",
1467
- "fields":{
1468
- "1":"f64"
1469
- },
1470
- "default": "void"
1471
- }]
1472
- }
1473
- ]],
1474
- "brigadier:float": ["container", [
1475
- {
1476
- "name": "flags",
1477
- "type": [
1478
- "bitfield",
1479
- [
1480
- { "name": "unused", "size": 6, "signed": false },
1481
- { "name": "max_present", "size": 1, "signed": false },
1482
- { "name": "min_present", "size": 1, "signed": false }
1483
- ]
1484
- ]
1485
- },
1486
- {
1487
- "name": "min",
1488
- "type":["switch",{
1489
- "compareTo":"flags/min_present",
1490
- "fields":{
1491
- "1":"f32"
1492
- },
1493
- "default": "void"
1494
- }]
1495
- },
1496
- {
1497
- "name": "max",
1498
- "type":["switch",{
1499
- "compareTo":"flags/max_present",
1500
- "fields":{
1501
- "1":"f32"
1502
- },
1503
- "default": "void"
1504
- }]
1505
- }
1506
- ]],
1507
- "brigadier:integer": ["container", [
1508
- {
1509
- "name": "flags",
1510
- "type": [
1511
- "bitfield",
1512
- [
1513
- { "name": "unused", "size": 6, "signed": false },
1514
- { "name": "max_present", "size": 1, "signed": false },
1515
- { "name": "min_present", "size": 1, "signed": false }
1516
- ]
1517
- ]
1518
- },
1519
- {
1520
- "name": "min",
1521
- "type":["switch",{
1522
- "compareTo":"flags/min_present",
1523
- "fields":{
1524
- "1":"i32"
1525
- },
1526
- "default": "void"
1527
- }]
1528
- },
1529
- {
1530
- "name": "max",
1531
- "type":["switch",{
1532
- "compareTo":"flags/max_present",
1533
- "fields":{
1534
- "1":"i32"
1535
- },
1536
- "default": "void"
1537
- }]
1538
- }
1539
- ]],
1540
- "brigadier:long": ["container", [
1541
- {
1542
- "name": "flags",
1543
- "type": [
1544
- "bitfield",
1545
- [
1546
- { "name": "unused", "size": 6, "signed": false },
1547
- { "name": "max_present", "size": 1, "signed": false },
1548
- { "name": "min_present", "size": 1, "signed": false }
1549
- ]
1550
- ]
1551
- },
1552
- {
1553
- "name": "min",
1554
- "type": ["switch",{
1555
- "compareTo": "flags/min_present",
1556
- "fields": {
1557
- "1": "i64"
1558
- },
1559
- "default": "void"
1560
- }]
1561
- },
1562
- {
1563
- "name": "max",
1564
- "type": ["switch",{
1565
- "compareTo": "flags/max_present",
1566
- "fields": {
1567
- "1": "i64"
1568
- },
1569
- "default": "void"
1570
- }]
1571
- }
1572
- ]],
1573
- "brigadier:string": "varint",
1574
- "minecraft:entity": "i8",
1575
- "minecraft:score_holder": "i8",
1576
- "minecraft:range": "bool"
1577
- },
1578
- "default": "void"
1579
- }]
1580
- },
1581
- {
1582
- "name": "suggests",
1583
- "type": ["switch", {
1584
- "compareTo": "../flags/has_custom_suggestions",
1585
- "fields": {
1586
- "1": "string"
1587
- },
1588
- "default": "void"
1589
- }]
1590
- }
1591
- ]]
1592
- }
1593
- }]
1594
- }
1595
- ]]
1596
- }]
1828
+ "type": [
1829
+ "array",
1830
+ {
1831
+ "countType": "varint",
1832
+ "type": "command_node"
1833
+ }
1834
+ ]
1597
1835
  },
1598
1836
  {
1599
1837
  "name": "rootIndex",