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