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": {
@@ -1373,219 +1817,13 @@
1373
1817
  [
1374
1818
  {
1375
1819
  "name": "nodes",
1376
- "type": ["array", {
1377
- "countType": "varint",
1378
- "type": ["container",[
1379
- {
1380
- "name": "flags",
1381
- "type": [
1382
- "bitfield",
1383
- [
1384
- { "name": "unused", "size": 3, "signed": false },
1385
- { "name": "has_custom_suggestions", "size": 1, "signed": false },
1386
- { "name": "has_redirect_node", "size": 1, "signed": false },
1387
- { "name": "has_command", "size": 1, "signed": false },
1388
- { "name": "command_node_type", "size": 2, "signed": false }
1389
- ]
1390
- ]
1391
- },
1392
- {
1393
- "name": "children",
1394
- "type": ["array",
1395
- {
1396
- "countType": "varint",
1397
- "type": "varint"
1398
- }]
1399
- },
1400
- {
1401
- "name": "redirectNode",
1402
- "type": ["switch",
1403
- {
1404
- "compareTo": "flags/has_redirect_node",
1405
- "fields": {
1406
- "1":"varint"
1407
- },
1408
- "default": "void"
1409
- }]
1410
- },
1411
- {
1412
- "name": "extraNodeData",
1413
- "type": ["switch",
1414
- {
1415
- "compareTo": "flags/command_node_type",
1416
- "fields": {
1417
- "0": "void",
1418
- "1": "string",
1419
- "2": ["container", [
1420
- {
1421
- "name": "name",
1422
- "type": "string"
1423
- },
1424
- {
1425
- "name": "parser",
1426
- "type": "string"
1427
- },
1428
- {
1429
- "name": "properties",
1430
- "type": ["switch",{
1431
- "compareTo": "parser",
1432
- "fields": {
1433
- "brigadier:double": ["container", [
1434
- {
1435
- "name": "flags",
1436
- "type": [
1437
- "bitfield",
1438
- [
1439
- { "name": "unused", "size": 6, "signed": false },
1440
- { "name": "max_present", "size": 1, "signed": false },
1441
- { "name": "min_present", "size": 1, "signed": false }
1442
- ]
1443
- ]
1444
- },
1445
- {
1446
- "name": "min",
1447
- "type":["switch",{
1448
- "compareTo":"flags/min_present",
1449
- "fields":{
1450
- "1":"f64"
1451
- },
1452
- "default": "void"
1453
- }]
1454
- },
1455
- {
1456
- "name": "max",
1457
- "type":["switch",{
1458
- "compareTo":"flags/max_present",
1459
- "fields":{
1460
- "1":"f64"
1461
- },
1462
- "default": "void"
1463
- }]
1464
- }
1465
- ]],
1466
- "brigadier:float": ["container", [
1467
- {
1468
- "name": "flags",
1469
- "type": [
1470
- "bitfield",
1471
- [
1472
- { "name": "unused", "size": 6, "signed": false },
1473
- { "name": "max_present", "size": 1, "signed": false },
1474
- { "name": "min_present", "size": 1, "signed": false }
1475
- ]
1476
- ]
1477
- },
1478
- {
1479
- "name": "min",
1480
- "type":["switch",{
1481
- "compareTo":"flags/min_present",
1482
- "fields":{
1483
- "1":"f32"
1484
- },
1485
- "default": "void"
1486
- }]
1487
- },
1488
- {
1489
- "name": "max",
1490
- "type":["switch",{
1491
- "compareTo":"flags/max_present",
1492
- "fields":{
1493
- "1":"f32"
1494
- },
1495
- "default": "void"
1496
- }]
1497
- }
1498
- ]],
1499
- "brigadier:integer": ["container", [
1500
- {
1501
- "name": "flags",
1502
- "type": [
1503
- "bitfield",
1504
- [
1505
- { "name": "unused", "size": 6, "signed": false },
1506
- { "name": "max_present", "size": 1, "signed": false },
1507
- { "name": "min_present", "size": 1, "signed": false }
1508
- ]
1509
- ]
1510
- },
1511
- {
1512
- "name": "min",
1513
- "type":["switch",{
1514
- "compareTo":"flags/min_present",
1515
- "fields":{
1516
- "1":"i32"
1517
- },
1518
- "default": "void"
1519
- }]
1520
- },
1521
- {
1522
- "name": "max",
1523
- "type":["switch",{
1524
- "compareTo":"flags/max_present",
1525
- "fields":{
1526
- "1":"i32"
1527
- },
1528
- "default": "void"
1529
- }]
1530
- }
1531
- ]],
1532
- "brigadier:long": ["container", [
1533
- {
1534
- "name": "flags",
1535
- "type": [
1536
- "bitfield",
1537
- [
1538
- { "name": "unused", "size": 6, "signed": false },
1539
- { "name": "max_present", "size": 1, "signed": false },
1540
- { "name": "min_present", "size": 1, "signed": false }
1541
- ]
1542
- ]
1543
- },
1544
- {
1545
- "name": "min",
1546
- "type": ["switch",{
1547
- "compareTo": "flags/min_present",
1548
- "fields": {
1549
- "1": "i64"
1550
- },
1551
- "default": "void"
1552
- }]
1553
- },
1554
- {
1555
- "name": "max",
1556
- "type": ["switch",{
1557
- "compareTo": "flags/max_present",
1558
- "fields": {
1559
- "1": "i64"
1560
- },
1561
- "default": "void"
1562
- }]
1563
- }
1564
- ]],
1565
- "brigadier:string": "varint",
1566
- "minecraft:entity": "i8",
1567
- "minecraft:score_holder": "i8",
1568
- "minecraft:range": "bool"
1569
- },
1570
- "default": "void"
1571
- }]
1572
- },
1573
- {
1574
- "name": "suggests",
1575
- "type": ["switch", {
1576
- "compareTo": "../flags/has_custom_suggestions",
1577
- "fields": {
1578
- "1": "string"
1579
- },
1580
- "default": "void"
1581
- }]
1582
- }
1583
- ]]
1584
- }
1585
- }]
1586
- }
1587
- ]]
1588
- }]
1820
+ "type": [
1821
+ "array",
1822
+ {
1823
+ "countType": "varint",
1824
+ "type": "command_node"
1825
+ }
1826
+ ]
1589
1827
  },
1590
1828
  {
1591
1829
  "name": "rootIndex",