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