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