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