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
@@ -270,6 +270,457 @@
270
270
  ]
271
271
  ]
272
272
  }
273
+ ],
274
+ "command_node": [
275
+ "array",
276
+ {
277
+ "countType": "varint",
278
+ "type": [
279
+ "container",
280
+ [
281
+ {
282
+ "name": "flags",
283
+ "type": [
284
+ "bitfield",
285
+ [
286
+ {
287
+ "name": "unused",
288
+ "size": 3,
289
+ "signed": false
290
+ },
291
+ {
292
+ "name": "has_custom_suggestions",
293
+ "size": 1,
294
+ "signed": false
295
+ },
296
+ {
297
+ "name": "has_redirect_node",
298
+ "size": 1,
299
+ "signed": false
300
+ },
301
+ {
302
+ "name": "has_command",
303
+ "size": 1,
304
+ "signed": false
305
+ },
306
+ {
307
+ "name": "command_node_type",
308
+ "size": 2,
309
+ "signed": false
310
+ }
311
+ ]
312
+ ]
313
+ },
314
+ {
315
+ "name": "children",
316
+ "type": [
317
+ "array",
318
+ {
319
+ "countType": "varint",
320
+ "type": "varint"
321
+ }
322
+ ]
323
+ },
324
+ {
325
+ "name": "redirectNode",
326
+ "type": [
327
+ "switch",
328
+ {
329
+ "compareTo": "flags/has_redirect_node",
330
+ "fields": {
331
+ "1": "varint"
332
+ },
333
+ "default": "void"
334
+ }
335
+ ]
336
+ },
337
+ {
338
+ "name": "extraNodeData",
339
+ "type": [
340
+ "switch",
341
+ {
342
+ "compareTo": "flags/command_node_type",
343
+ "fields": {
344
+ "0": "void",
345
+ "1": [
346
+ "container",
347
+ [
348
+ {
349
+ "name": "name",
350
+ "type": "string"
351
+ }
352
+ ]
353
+ ],
354
+ "2": [
355
+ "container",
356
+ [
357
+ {
358
+ "name": "name",
359
+ "type": "string"
360
+ },
361
+ {
362
+ "name": "parser",
363
+ "type": "string"
364
+ },
365
+ {
366
+ "name": "properties",
367
+ "type": [
368
+ "switch",
369
+ {
370
+ "compareTo": "parser",
371
+ "fields": {
372
+ "brigadier:bool": "void",
373
+ "brigadier:float": [
374
+ "container",
375
+ [
376
+ {
377
+ "name": "flags",
378
+ "type": [
379
+ "bitfield",
380
+ [
381
+ {
382
+ "name": "unused",
383
+ "size": 6,
384
+ "signed": false
385
+ },
386
+ {
387
+ "name": "max_present",
388
+ "size": 1,
389
+ "signed": false
390
+ },
391
+ {
392
+ "name": "min_present",
393
+ "size": 1,
394
+ "signed": false
395
+ }
396
+ ]
397
+ ]
398
+ },
399
+ {
400
+ "name": "min",
401
+ "type": [
402
+ "switch",
403
+ {
404
+ "compareTo": "flags/min_present",
405
+ "fields": {
406
+ "1": "f32"
407
+ },
408
+ "default": "void"
409
+ }
410
+ ]
411
+ },
412
+ {
413
+ "name": "max",
414
+ "type": [
415
+ "switch",
416
+ {
417
+ "compareTo": "flags/max_present",
418
+ "fields": {
419
+ "1": "f32"
420
+ },
421
+ "default": "void"
422
+ }
423
+ ]
424
+ }
425
+ ]
426
+ ],
427
+ "brigadier:double": [
428
+ "container",
429
+ [
430
+ {
431
+ "name": "flags",
432
+ "type": [
433
+ "bitfield",
434
+ [
435
+ {
436
+ "name": "unused",
437
+ "size": 6,
438
+ "signed": false
439
+ },
440
+ {
441
+ "name": "max_present",
442
+ "size": 1,
443
+ "signed": false
444
+ },
445
+ {
446
+ "name": "min_present",
447
+ "size": 1,
448
+ "signed": false
449
+ }
450
+ ]
451
+ ]
452
+ },
453
+ {
454
+ "name": "min",
455
+ "type": [
456
+ "switch",
457
+ {
458
+ "compareTo": "flags/min_present",
459
+ "fields": {
460
+ "1": "f64"
461
+ },
462
+ "default": "void"
463
+ }
464
+ ]
465
+ },
466
+ {
467
+ "name": "max",
468
+ "type": [
469
+ "switch",
470
+ {
471
+ "compareTo": "flags/max_present",
472
+ "fields": {
473
+ "1": "f64"
474
+ },
475
+ "default": "void"
476
+ }
477
+ ]
478
+ }
479
+ ]
480
+ ],
481
+ "brigadier:integer": [
482
+ "container",
483
+ [
484
+ {
485
+ "name": "flags",
486
+ "type": [
487
+ "bitfield",
488
+ [
489
+ {
490
+ "name": "unused",
491
+ "size": 6,
492
+ "signed": false
493
+ },
494
+ {
495
+ "name": "max_present",
496
+ "size": 1,
497
+ "signed": false
498
+ },
499
+ {
500
+ "name": "min_present",
501
+ "size": 1,
502
+ "signed": false
503
+ }
504
+ ]
505
+ ]
506
+ },
507
+ {
508
+ "name": "min",
509
+ "type": [
510
+ "switch",
511
+ {
512
+ "compareTo": "flags/min_present",
513
+ "fields": {
514
+ "1": "i32"
515
+ },
516
+ "default": "void"
517
+ }
518
+ ]
519
+ },
520
+ {
521
+ "name": "max",
522
+ "type": [
523
+ "switch",
524
+ {
525
+ "compareTo": "flags/max_present",
526
+ "fields": {
527
+ "1": "i32"
528
+ },
529
+ "default": "void"
530
+ }
531
+ ]
532
+ }
533
+ ]
534
+ ],
535
+ "brigadier:long": [
536
+ "container",
537
+ [
538
+ {
539
+ "name": "flags",
540
+ "type": [
541
+ "bitfield",
542
+ [
543
+ {
544
+ "name": "unused",
545
+ "size": 6,
546
+ "signed": false
547
+ },
548
+ {
549
+ "name": "max_present",
550
+ "size": 1,
551
+ "signed": false
552
+ },
553
+ {
554
+ "name": "min_present",
555
+ "size": 1,
556
+ "signed": false
557
+ }
558
+ ]
559
+ ]
560
+ },
561
+ {
562
+ "name": "min",
563
+ "type": [
564
+ "switch",
565
+ {
566
+ "compareTo": "flags/min_present",
567
+ "fields": {
568
+ "1": "i64"
569
+ },
570
+ "default": "void"
571
+ }
572
+ ]
573
+ },
574
+ {
575
+ "name": "max",
576
+ "type": [
577
+ "switch",
578
+ {
579
+ "compareTo": "flags/max_present",
580
+ "fields": {
581
+ "1": "i64"
582
+ },
583
+ "default": "void"
584
+ }
585
+ ]
586
+ }
587
+ ]
588
+ ],
589
+ "brigadier:string": [
590
+ "mapper",
591
+ {
592
+ "type": "varint",
593
+ "mappings": {
594
+ "0": "SINGLE_WORD",
595
+ "1": "QUOTABLE_PHRASE",
596
+ "2": "GREEDY_PHRASE"
597
+ }
598
+ }
599
+ ],
600
+ "minecraft:entity": [
601
+ "bitfield",
602
+ [
603
+ {
604
+ "name": "unused",
605
+ "size": 6,
606
+ "signed": false
607
+ },
608
+ {
609
+ "name": "onlyAllowPlayers",
610
+ "size": 1,
611
+ "signed": false
612
+ },
613
+ {
614
+ "name": "onlyAllowEntities",
615
+ "size": 1,
616
+ "signed": false
617
+ }
618
+ ]
619
+ ],
620
+ "minecraft:game_profile": "void",
621
+ "minecraft:block_pos": "void",
622
+ "minecraft:column_pos": "void",
623
+ "minecraft:vec3": "void",
624
+ "minecraft:vec2": "void",
625
+ "minecraft:block_state": "void",
626
+ "minecraft:block_predicate": "void",
627
+ "minecraft:item_stack": "void",
628
+ "minecraft:item_predicate": "void",
629
+ "minecraft:color": "void",
630
+ "minecraft:component": "void",
631
+ "minecraft:message": "void",
632
+ "minecraft:nbt": "void",
633
+ "minecraft:nbt_path": "void",
634
+ "minecraft:objective": "void",
635
+ "minecraft:objective_criteria": "void",
636
+ "minecraft:operation": "void",
637
+ "minecraft:particle": "void",
638
+ "minecraft:angle": "void",
639
+ "minecraft:rotation": "void",
640
+ "minecraft:scoreboard_slot": "void",
641
+ "minecraft:score_holder": [
642
+ "bitfield",
643
+ [
644
+ {
645
+ "name": "unused",
646
+ "size": 7,
647
+ "signed": false
648
+ },
649
+ {
650
+ "name": "allowMultiple",
651
+ "size": 1,
652
+ "signed": false
653
+ }
654
+ ]
655
+ ],
656
+ "minecraft:swizzle": "void",
657
+ "minecraft:team": "void",
658
+ "minecraft:item_slot": "void",
659
+ "minecraft:resource_location": "void",
660
+ "minecraft:mob_effect": "void",
661
+ "minecraft:function": "void",
662
+ "minecraft:entity_anchor": "void",
663
+ "minecraft:range": [
664
+ "container",
665
+ [
666
+ {
667
+ "name": "allowDecimals",
668
+ "type": "bool"
669
+ }
670
+ ]
671
+ ],
672
+ "minecraft:int_range": "void",
673
+ "minecraft:float_range": "void",
674
+ "minecraft:item_enchantment": "void",
675
+ "minecraft:entity_summon": "void",
676
+ "minecraft:dimension": "void",
677
+ "minecraft:nbt_compound_tag": "void",
678
+ "minecraft:time": "void",
679
+ "minecraft:resource_or_tag": [
680
+ "container",
681
+ [
682
+ {
683
+ "name": "registry",
684
+ "type": "string"
685
+ }
686
+ ]
687
+ ],
688
+ "minecraft:resource": [
689
+ "container",
690
+ [
691
+ {
692
+ "name": "registry",
693
+ "type": "string"
694
+ }
695
+ ]
696
+ ],
697
+ "minecraft:uuid": "void"
698
+ }
699
+ }
700
+ ]
701
+ },
702
+ {
703
+ "name": "suggestionType",
704
+ "type": [
705
+ "switch",
706
+ {
707
+ "compareTo": "../flags/has_custom_suggestions",
708
+ "fields": {
709
+ "1": "string"
710
+ },
711
+ "default": "void"
712
+ }
713
+ ]
714
+ }
715
+ ]
716
+ ]
717
+ }
718
+ }
719
+ ]
720
+ }
721
+ ]
722
+ ]
723
+ }
273
724
  ]
274
725
  },
275
726
  "handshaking": {
@@ -1311,219 +1762,7 @@
1311
1762
  [
1312
1763
  {
1313
1764
  "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
- }]
1765
+ "type": "command_node"
1527
1766
  },
1528
1767
  {
1529
1768
  "name": "rootIndex",
@@ -3429,7 +3668,7 @@
3429
3668
  },
3430
3669
  {
3431
3670
  "name": "action",
3432
- "type": "i8"
3671
+ "type": "varint"
3433
3672
  },
3434
3673
  {
3435
3674
  "name": "scoreName",
@@ -4391,27 +4630,27 @@
4391
4630
  },
4392
4631
  {
4393
4632
  "name": "offset_x",
4394
- "type": "u8"
4633
+ "type": "i8"
4395
4634
  },
4396
4635
  {
4397
4636
  "name": "offset_y",
4398
- "type": "u8"
4637
+ "type": "i8"
4399
4638
  },
4400
4639
  {
4401
4640
  "name": "offset_z",
4402
- "type": "u8"
4641
+ "type": "i8"
4403
4642
  },
4404
4643
  {
4405
4644
  "name": "size_x",
4406
- "type": "u8"
4645
+ "type": "i8"
4407
4646
  },
4408
4647
  {
4409
4648
  "name": "size_y",
4410
- "type": "u8"
4649
+ "type": "i8"
4411
4650
  },
4412
4651
  {
4413
4652
  "name": "size_z",
4414
- "type": "u8"
4653
+ "type": "i8"
4415
4654
  },
4416
4655
  {
4417
4656
  "name": "mirror",
@@ -4834,7 +5073,7 @@
4834
5073
  [
4835
5074
  {
4836
5075
  "name": "status",
4837
- "type": "i8"
5076
+ "type": "varint"
4838
5077
  },
4839
5078
  {
4840
5079
  "name": "location",