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