minecraft-data 3.6.0 → 3.7.2

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 (48) hide show
  1. package/data.js +1 -1
  2. package/doc/history.md +9 -0
  3. package/minecraft-data/data/bedrock/1.19.10/protocol.json +1 -5
  4. package/minecraft-data/data/bedrock/latest/proto.yml +0 -1
  5. package/minecraft-data/data/dataPaths.json +1 -1
  6. package/minecraft-data/data/pc/1.10/protocol.json +2 -2
  7. package/minecraft-data/data/pc/1.10-pre1/protocol.json +2 -2
  8. package/minecraft-data/data/pc/1.11/protocol.json +2 -2
  9. package/minecraft-data/data/pc/1.12/protocol.json +2 -2
  10. package/minecraft-data/data/pc/1.12-pre4/protocol.json +2 -2
  11. package/minecraft-data/data/pc/1.12.1/protocol.json +2 -2
  12. package/minecraft-data/data/pc/1.12.2/protocol.json +2 -2
  13. package/minecraft-data/data/pc/1.13/protocol.json +460 -221
  14. package/minecraft-data/data/pc/1.13.1/protocol.json +460 -221
  15. package/minecraft-data/data/pc/1.13.2/protocol.json +460 -221
  16. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +460 -221
  17. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +460 -221
  18. package/minecraft-data/data/pc/1.14/protocol.json +461 -223
  19. package/minecraft-data/data/pc/1.14.1/protocol.json +461 -223
  20. package/minecraft-data/data/pc/1.14.3/protocol.json +461 -223
  21. package/minecraft-data/data/pc/1.14.4/protocol.json +461 -223
  22. package/minecraft-data/data/pc/1.15/protocol.json +461 -223
  23. package/minecraft-data/data/pc/1.15.1/protocol.json +461 -223
  24. package/minecraft-data/data/pc/1.15.2/protocol.json +461 -223
  25. package/minecraft-data/data/pc/1.16/protocol.json +461 -223
  26. package/minecraft-data/data/pc/1.16-rc1/protocol.json +461 -223
  27. package/minecraft-data/data/pc/1.16.1/protocol.json +461 -223
  28. package/minecraft-data/data/pc/1.16.2/protocol.json +461 -223
  29. package/minecraft-data/data/pc/1.17/protocol.json +460 -346
  30. package/minecraft-data/data/pc/1.17.1/protocol.json +460 -346
  31. package/minecraft-data/data/pc/1.18/protocol.json +460 -346
  32. package/minecraft-data/data/pc/1.18.2/protocol.json +460 -346
  33. package/minecraft-data/data/pc/1.19/protocol.json +6068 -0
  34. package/minecraft-data/data/pc/1.8/protocol.json +2 -2
  35. package/minecraft-data/data/pc/1.9/protocol.json +2 -2
  36. package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +2 -2
  37. package/minecraft-data/data/pc/1.9.2/protocol.json +2 -2
  38. package/minecraft-data/data/pc/1.9.4/protocol.json +2 -2
  39. package/minecraft-data/data/pc/15w40b/protocol.json +2 -2
  40. package/minecraft-data/data/pc/16w20a/protocol.json +2 -2
  41. package/minecraft-data/data/pc/16w35a/protocol.json +2 -2
  42. package/minecraft-data/data/pc/17w15a/protocol.json +2 -2
  43. package/minecraft-data/data/pc/17w18b/protocol.json +2 -2
  44. package/minecraft-data/data/pc/17w50a/protocol.json +2 -2
  45. package/minecraft-data/data/pc/20w13b/protocol.json +460 -221
  46. package/minecraft-data/data/pc/21w07a/protocol.json +460 -221
  47. package/minecraft-data/doc/history.md +16 -0
  48. package/package.json +1 -1
@@ -269,6 +269,457 @@
269
269
  ]
270
270
  ]
271
271
  }
272
+ ],
273
+ "command_node": [
274
+ "array",
275
+ {
276
+ "countType": "varint",
277
+ "type": [
278
+ "container",
279
+ [
280
+ {
281
+ "name": "flags",
282
+ "type": [
283
+ "bitfield",
284
+ [
285
+ {
286
+ "name": "unused",
287
+ "size": 3,
288
+ "signed": false
289
+ },
290
+ {
291
+ "name": "has_custom_suggestions",
292
+ "size": 1,
293
+ "signed": false
294
+ },
295
+ {
296
+ "name": "has_redirect_node",
297
+ "size": 1,
298
+ "signed": false
299
+ },
300
+ {
301
+ "name": "has_command",
302
+ "size": 1,
303
+ "signed": false
304
+ },
305
+ {
306
+ "name": "command_node_type",
307
+ "size": 2,
308
+ "signed": false
309
+ }
310
+ ]
311
+ ]
312
+ },
313
+ {
314
+ "name": "children",
315
+ "type": [
316
+ "array",
317
+ {
318
+ "countType": "varint",
319
+ "type": "varint"
320
+ }
321
+ ]
322
+ },
323
+ {
324
+ "name": "redirectNode",
325
+ "type": [
326
+ "switch",
327
+ {
328
+ "compareTo": "flags/has_redirect_node",
329
+ "fields": {
330
+ "1": "varint"
331
+ },
332
+ "default": "void"
333
+ }
334
+ ]
335
+ },
336
+ {
337
+ "name": "extraNodeData",
338
+ "type": [
339
+ "switch",
340
+ {
341
+ "compareTo": "flags/command_node_type",
342
+ "fields": {
343
+ "0": "void",
344
+ "1": [
345
+ "container",
346
+ [
347
+ {
348
+ "name": "name",
349
+ "type": "string"
350
+ }
351
+ ]
352
+ ],
353
+ "2": [
354
+ "container",
355
+ [
356
+ {
357
+ "name": "name",
358
+ "type": "string"
359
+ },
360
+ {
361
+ "name": "parser",
362
+ "type": "string"
363
+ },
364
+ {
365
+ "name": "properties",
366
+ "type": [
367
+ "switch",
368
+ {
369
+ "compareTo": "parser",
370
+ "fields": {
371
+ "brigadier:bool": "void",
372
+ "brigadier:float": [
373
+ "container",
374
+ [
375
+ {
376
+ "name": "flags",
377
+ "type": [
378
+ "bitfield",
379
+ [
380
+ {
381
+ "name": "unused",
382
+ "size": 6,
383
+ "signed": false
384
+ },
385
+ {
386
+ "name": "max_present",
387
+ "size": 1,
388
+ "signed": false
389
+ },
390
+ {
391
+ "name": "min_present",
392
+ "size": 1,
393
+ "signed": false
394
+ }
395
+ ]
396
+ ]
397
+ },
398
+ {
399
+ "name": "min",
400
+ "type": [
401
+ "switch",
402
+ {
403
+ "compareTo": "flags/min_present",
404
+ "fields": {
405
+ "1": "f32"
406
+ },
407
+ "default": "void"
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "name": "max",
413
+ "type": [
414
+ "switch",
415
+ {
416
+ "compareTo": "flags/max_present",
417
+ "fields": {
418
+ "1": "f32"
419
+ },
420
+ "default": "void"
421
+ }
422
+ ]
423
+ }
424
+ ]
425
+ ],
426
+ "brigadier:double": [
427
+ "container",
428
+ [
429
+ {
430
+ "name": "flags",
431
+ "type": [
432
+ "bitfield",
433
+ [
434
+ {
435
+ "name": "unused",
436
+ "size": 6,
437
+ "signed": false
438
+ },
439
+ {
440
+ "name": "max_present",
441
+ "size": 1,
442
+ "signed": false
443
+ },
444
+ {
445
+ "name": "min_present",
446
+ "size": 1,
447
+ "signed": false
448
+ }
449
+ ]
450
+ ]
451
+ },
452
+ {
453
+ "name": "min",
454
+ "type": [
455
+ "switch",
456
+ {
457
+ "compareTo": "flags/min_present",
458
+ "fields": {
459
+ "1": "f64"
460
+ },
461
+ "default": "void"
462
+ }
463
+ ]
464
+ },
465
+ {
466
+ "name": "max",
467
+ "type": [
468
+ "switch",
469
+ {
470
+ "compareTo": "flags/max_present",
471
+ "fields": {
472
+ "1": "f64"
473
+ },
474
+ "default": "void"
475
+ }
476
+ ]
477
+ }
478
+ ]
479
+ ],
480
+ "brigadier:integer": [
481
+ "container",
482
+ [
483
+ {
484
+ "name": "flags",
485
+ "type": [
486
+ "bitfield",
487
+ [
488
+ {
489
+ "name": "unused",
490
+ "size": 6,
491
+ "signed": false
492
+ },
493
+ {
494
+ "name": "max_present",
495
+ "size": 1,
496
+ "signed": false
497
+ },
498
+ {
499
+ "name": "min_present",
500
+ "size": 1,
501
+ "signed": false
502
+ }
503
+ ]
504
+ ]
505
+ },
506
+ {
507
+ "name": "min",
508
+ "type": [
509
+ "switch",
510
+ {
511
+ "compareTo": "flags/min_present",
512
+ "fields": {
513
+ "1": "i32"
514
+ },
515
+ "default": "void"
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ "name": "max",
521
+ "type": [
522
+ "switch",
523
+ {
524
+ "compareTo": "flags/max_present",
525
+ "fields": {
526
+ "1": "i32"
527
+ },
528
+ "default": "void"
529
+ }
530
+ ]
531
+ }
532
+ ]
533
+ ],
534
+ "brigadier:long": [
535
+ "container",
536
+ [
537
+ {
538
+ "name": "flags",
539
+ "type": [
540
+ "bitfield",
541
+ [
542
+ {
543
+ "name": "unused",
544
+ "size": 6,
545
+ "signed": false
546
+ },
547
+ {
548
+ "name": "max_present",
549
+ "size": 1,
550
+ "signed": false
551
+ },
552
+ {
553
+ "name": "min_present",
554
+ "size": 1,
555
+ "signed": false
556
+ }
557
+ ]
558
+ ]
559
+ },
560
+ {
561
+ "name": "min",
562
+ "type": [
563
+ "switch",
564
+ {
565
+ "compareTo": "flags/min_present",
566
+ "fields": {
567
+ "1": "i64"
568
+ },
569
+ "default": "void"
570
+ }
571
+ ]
572
+ },
573
+ {
574
+ "name": "max",
575
+ "type": [
576
+ "switch",
577
+ {
578
+ "compareTo": "flags/max_present",
579
+ "fields": {
580
+ "1": "i64"
581
+ },
582
+ "default": "void"
583
+ }
584
+ ]
585
+ }
586
+ ]
587
+ ],
588
+ "brigadier:string": [
589
+ "mapper",
590
+ {
591
+ "type": "varint",
592
+ "mappings": {
593
+ "0": "SINGLE_WORD",
594
+ "1": "QUOTABLE_PHRASE",
595
+ "2": "GREEDY_PHRASE"
596
+ }
597
+ }
598
+ ],
599
+ "minecraft:entity": [
600
+ "bitfield",
601
+ [
602
+ {
603
+ "name": "unused",
604
+ "size": 6,
605
+ "signed": false
606
+ },
607
+ {
608
+ "name": "onlyAllowPlayers",
609
+ "size": 1,
610
+ "signed": false
611
+ },
612
+ {
613
+ "name": "onlyAllowEntities",
614
+ "size": 1,
615
+ "signed": false
616
+ }
617
+ ]
618
+ ],
619
+ "minecraft:game_profile": "void",
620
+ "minecraft:block_pos": "void",
621
+ "minecraft:column_pos": "void",
622
+ "minecraft:vec3": "void",
623
+ "minecraft:vec2": "void",
624
+ "minecraft:block_state": "void",
625
+ "minecraft:block_predicate": "void",
626
+ "minecraft:item_stack": "void",
627
+ "minecraft:item_predicate": "void",
628
+ "minecraft:color": "void",
629
+ "minecraft:component": "void",
630
+ "minecraft:message": "void",
631
+ "minecraft:nbt": "void",
632
+ "minecraft:nbt_path": "void",
633
+ "minecraft:objective": "void",
634
+ "minecraft:objective_criteria": "void",
635
+ "minecraft:operation": "void",
636
+ "minecraft:particle": "void",
637
+ "minecraft:angle": "void",
638
+ "minecraft:rotation": "void",
639
+ "minecraft:scoreboard_slot": "void",
640
+ "minecraft:score_holder": [
641
+ "bitfield",
642
+ [
643
+ {
644
+ "name": "unused",
645
+ "size": 7,
646
+ "signed": false
647
+ },
648
+ {
649
+ "name": "allowMultiple",
650
+ "size": 1,
651
+ "signed": false
652
+ }
653
+ ]
654
+ ],
655
+ "minecraft:swizzle": "void",
656
+ "minecraft:team": "void",
657
+ "minecraft:item_slot": "void",
658
+ "minecraft:resource_location": "void",
659
+ "minecraft:mob_effect": "void",
660
+ "minecraft:function": "void",
661
+ "minecraft:entity_anchor": "void",
662
+ "minecraft:range": [
663
+ "container",
664
+ [
665
+ {
666
+ "name": "allowDecimals",
667
+ "type": "bool"
668
+ }
669
+ ]
670
+ ],
671
+ "minecraft:int_range": "void",
672
+ "minecraft:float_range": "void",
673
+ "minecraft:item_enchantment": "void",
674
+ "minecraft:entity_summon": "void",
675
+ "minecraft:dimension": "void",
676
+ "minecraft:nbt_compound_tag": "void",
677
+ "minecraft:time": "void",
678
+ "minecraft:resource_or_tag": [
679
+ "container",
680
+ [
681
+ {
682
+ "name": "registry",
683
+ "type": "string"
684
+ }
685
+ ]
686
+ ],
687
+ "minecraft:resource": [
688
+ "container",
689
+ [
690
+ {
691
+ "name": "registry",
692
+ "type": "string"
693
+ }
694
+ ]
695
+ ],
696
+ "minecraft:uuid": "void"
697
+ }
698
+ }
699
+ ]
700
+ },
701
+ {
702
+ "name": "suggestionType",
703
+ "type": [
704
+ "switch",
705
+ {
706
+ "compareTo": "../flags/has_custom_suggestions",
707
+ "fields": {
708
+ "1": "string"
709
+ },
710
+ "default": "void"
711
+ }
712
+ ]
713
+ }
714
+ ]
715
+ ]
716
+ }
717
+ }
718
+ ]
719
+ }
720
+ ]
721
+ ]
722
+ }
272
723
  ]
273
724
  },
274
725
  "handshaking": {
@@ -1335,219 +1786,7 @@
1335
1786
  [
1336
1787
  {
1337
1788
  "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
- }]
1789
+ "type": "command_node"
1551
1790
  },
1552
1791
  {
1553
1792
  "name": "rootIndex",
@@ -3367,7 +3606,7 @@
3367
3606
  },
3368
3607
  {
3369
3608
  "name": "action",
3370
- "type": "i8"
3609
+ "type": "varint"
3371
3610
  },
3372
3611
  {
3373
3612
  "name": "scoreName",
@@ -4283,27 +4522,27 @@
4283
4522
  },
4284
4523
  {
4285
4524
  "name": "offset_x",
4286
- "type": "u8"
4525
+ "type": "i8"
4287
4526
  },
4288
4527
  {
4289
4528
  "name": "offset_y",
4290
- "type": "u8"
4529
+ "type": "i8"
4291
4530
  },
4292
4531
  {
4293
4532
  "name": "offset_z",
4294
- "type": "u8"
4533
+ "type": "i8"
4295
4534
  },
4296
4535
  {
4297
4536
  "name": "size_x",
4298
- "type": "u8"
4537
+ "type": "i8"
4299
4538
  },
4300
4539
  {
4301
4540
  "name": "size_y",
4302
- "type": "u8"
4541
+ "type": "i8"
4303
4542
  },
4304
4543
  {
4305
4544
  "name": "size_z",
4306
- "type": "u8"
4545
+ "type": "i8"
4307
4546
  },
4308
4547
  {
4309
4548
  "name": "mirror",
@@ -4709,7 +4948,7 @@
4709
4948
  [
4710
4949
  {
4711
4950
  "name": "status",
4712
- "type": "i8"
4951
+ "type": "varint"
4713
4952
  },
4714
4953
  {
4715
4954
  "name": "location",