minecraft-data 3.7.1 → 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 (26) hide show
  1. package/doc/history.md +3 -0
  2. package/minecraft-data/data/pc/1.13/protocol.json +452 -213
  3. package/minecraft-data/data/pc/1.13.1/protocol.json +452 -213
  4. package/minecraft-data/data/pc/1.13.2/protocol.json +452 -213
  5. package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +452 -213
  6. package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +452 -213
  7. package/minecraft-data/data/pc/1.14/protocol.json +453 -215
  8. package/minecraft-data/data/pc/1.14.1/protocol.json +453 -215
  9. package/minecraft-data/data/pc/1.14.3/protocol.json +453 -215
  10. package/minecraft-data/data/pc/1.14.4/protocol.json +453 -215
  11. package/minecraft-data/data/pc/1.15/protocol.json +453 -215
  12. package/minecraft-data/data/pc/1.15.1/protocol.json +453 -215
  13. package/minecraft-data/data/pc/1.15.2/protocol.json +453 -215
  14. package/minecraft-data/data/pc/1.16/protocol.json +453 -215
  15. package/minecraft-data/data/pc/1.16-rc1/protocol.json +453 -215
  16. package/minecraft-data/data/pc/1.16.1/protocol.json +453 -215
  17. package/minecraft-data/data/pc/1.16.2/protocol.json +453 -215
  18. package/minecraft-data/data/pc/1.17/protocol.json +452 -338
  19. package/minecraft-data/data/pc/1.17.1/protocol.json +452 -338
  20. package/minecraft-data/data/pc/1.18/protocol.json +452 -338
  21. package/minecraft-data/data/pc/1.18.2/protocol.json +452 -338
  22. package/minecraft-data/data/pc/1.19/protocol.json +499 -338
  23. package/minecraft-data/data/pc/20w13b/protocol.json +452 -213
  24. package/minecraft-data/data/pc/21w07a/protocol.json +452 -213
  25. package/minecraft-data/doc/history.md +4 -0
  26. package/package.json +1 -1
@@ -245,6 +245,457 @@
245
245
  ]
246
246
  ]
247
247
  }
248
+ ],
249
+ "command_node": [
250
+ "array",
251
+ {
252
+ "countType": "varint",
253
+ "type": [
254
+ "container",
255
+ [
256
+ {
257
+ "name": "flags",
258
+ "type": [
259
+ "bitfield",
260
+ [
261
+ {
262
+ "name": "unused",
263
+ "size": 3,
264
+ "signed": false
265
+ },
266
+ {
267
+ "name": "has_custom_suggestions",
268
+ "size": 1,
269
+ "signed": false
270
+ },
271
+ {
272
+ "name": "has_redirect_node",
273
+ "size": 1,
274
+ "signed": false
275
+ },
276
+ {
277
+ "name": "has_command",
278
+ "size": 1,
279
+ "signed": false
280
+ },
281
+ {
282
+ "name": "command_node_type",
283
+ "size": 2,
284
+ "signed": false
285
+ }
286
+ ]
287
+ ]
288
+ },
289
+ {
290
+ "name": "children",
291
+ "type": [
292
+ "array",
293
+ {
294
+ "countType": "varint",
295
+ "type": "varint"
296
+ }
297
+ ]
298
+ },
299
+ {
300
+ "name": "redirectNode",
301
+ "type": [
302
+ "switch",
303
+ {
304
+ "compareTo": "flags/has_redirect_node",
305
+ "fields": {
306
+ "1": "varint"
307
+ },
308
+ "default": "void"
309
+ }
310
+ ]
311
+ },
312
+ {
313
+ "name": "extraNodeData",
314
+ "type": [
315
+ "switch",
316
+ {
317
+ "compareTo": "flags/command_node_type",
318
+ "fields": {
319
+ "0": "void",
320
+ "1": [
321
+ "container",
322
+ [
323
+ {
324
+ "name": "name",
325
+ "type": "string"
326
+ }
327
+ ]
328
+ ],
329
+ "2": [
330
+ "container",
331
+ [
332
+ {
333
+ "name": "name",
334
+ "type": "string"
335
+ },
336
+ {
337
+ "name": "parser",
338
+ "type": "string"
339
+ },
340
+ {
341
+ "name": "properties",
342
+ "type": [
343
+ "switch",
344
+ {
345
+ "compareTo": "parser",
346
+ "fields": {
347
+ "brigadier:bool": "void",
348
+ "brigadier:float": [
349
+ "container",
350
+ [
351
+ {
352
+ "name": "flags",
353
+ "type": [
354
+ "bitfield",
355
+ [
356
+ {
357
+ "name": "unused",
358
+ "size": 6,
359
+ "signed": false
360
+ },
361
+ {
362
+ "name": "max_present",
363
+ "size": 1,
364
+ "signed": false
365
+ },
366
+ {
367
+ "name": "min_present",
368
+ "size": 1,
369
+ "signed": false
370
+ }
371
+ ]
372
+ ]
373
+ },
374
+ {
375
+ "name": "min",
376
+ "type": [
377
+ "switch",
378
+ {
379
+ "compareTo": "flags/min_present",
380
+ "fields": {
381
+ "1": "f32"
382
+ },
383
+ "default": "void"
384
+ }
385
+ ]
386
+ },
387
+ {
388
+ "name": "max",
389
+ "type": [
390
+ "switch",
391
+ {
392
+ "compareTo": "flags/max_present",
393
+ "fields": {
394
+ "1": "f32"
395
+ },
396
+ "default": "void"
397
+ }
398
+ ]
399
+ }
400
+ ]
401
+ ],
402
+ "brigadier:double": [
403
+ "container",
404
+ [
405
+ {
406
+ "name": "flags",
407
+ "type": [
408
+ "bitfield",
409
+ [
410
+ {
411
+ "name": "unused",
412
+ "size": 6,
413
+ "signed": false
414
+ },
415
+ {
416
+ "name": "max_present",
417
+ "size": 1,
418
+ "signed": false
419
+ },
420
+ {
421
+ "name": "min_present",
422
+ "size": 1,
423
+ "signed": false
424
+ }
425
+ ]
426
+ ]
427
+ },
428
+ {
429
+ "name": "min",
430
+ "type": [
431
+ "switch",
432
+ {
433
+ "compareTo": "flags/min_present",
434
+ "fields": {
435
+ "1": "f64"
436
+ },
437
+ "default": "void"
438
+ }
439
+ ]
440
+ },
441
+ {
442
+ "name": "max",
443
+ "type": [
444
+ "switch",
445
+ {
446
+ "compareTo": "flags/max_present",
447
+ "fields": {
448
+ "1": "f64"
449
+ },
450
+ "default": "void"
451
+ }
452
+ ]
453
+ }
454
+ ]
455
+ ],
456
+ "brigadier:integer": [
457
+ "container",
458
+ [
459
+ {
460
+ "name": "flags",
461
+ "type": [
462
+ "bitfield",
463
+ [
464
+ {
465
+ "name": "unused",
466
+ "size": 6,
467
+ "signed": false
468
+ },
469
+ {
470
+ "name": "max_present",
471
+ "size": 1,
472
+ "signed": false
473
+ },
474
+ {
475
+ "name": "min_present",
476
+ "size": 1,
477
+ "signed": false
478
+ }
479
+ ]
480
+ ]
481
+ },
482
+ {
483
+ "name": "min",
484
+ "type": [
485
+ "switch",
486
+ {
487
+ "compareTo": "flags/min_present",
488
+ "fields": {
489
+ "1": "i32"
490
+ },
491
+ "default": "void"
492
+ }
493
+ ]
494
+ },
495
+ {
496
+ "name": "max",
497
+ "type": [
498
+ "switch",
499
+ {
500
+ "compareTo": "flags/max_present",
501
+ "fields": {
502
+ "1": "i32"
503
+ },
504
+ "default": "void"
505
+ }
506
+ ]
507
+ }
508
+ ]
509
+ ],
510
+ "brigadier:long": [
511
+ "container",
512
+ [
513
+ {
514
+ "name": "flags",
515
+ "type": [
516
+ "bitfield",
517
+ [
518
+ {
519
+ "name": "unused",
520
+ "size": 6,
521
+ "signed": false
522
+ },
523
+ {
524
+ "name": "max_present",
525
+ "size": 1,
526
+ "signed": false
527
+ },
528
+ {
529
+ "name": "min_present",
530
+ "size": 1,
531
+ "signed": false
532
+ }
533
+ ]
534
+ ]
535
+ },
536
+ {
537
+ "name": "min",
538
+ "type": [
539
+ "switch",
540
+ {
541
+ "compareTo": "flags/min_present",
542
+ "fields": {
543
+ "1": "i64"
544
+ },
545
+ "default": "void"
546
+ }
547
+ ]
548
+ },
549
+ {
550
+ "name": "max",
551
+ "type": [
552
+ "switch",
553
+ {
554
+ "compareTo": "flags/max_present",
555
+ "fields": {
556
+ "1": "i64"
557
+ },
558
+ "default": "void"
559
+ }
560
+ ]
561
+ }
562
+ ]
563
+ ],
564
+ "brigadier:string": [
565
+ "mapper",
566
+ {
567
+ "type": "varint",
568
+ "mappings": {
569
+ "0": "SINGLE_WORD",
570
+ "1": "QUOTABLE_PHRASE",
571
+ "2": "GREEDY_PHRASE"
572
+ }
573
+ }
574
+ ],
575
+ "minecraft:entity": [
576
+ "bitfield",
577
+ [
578
+ {
579
+ "name": "unused",
580
+ "size": 6,
581
+ "signed": false
582
+ },
583
+ {
584
+ "name": "onlyAllowPlayers",
585
+ "size": 1,
586
+ "signed": false
587
+ },
588
+ {
589
+ "name": "onlyAllowEntities",
590
+ "size": 1,
591
+ "signed": false
592
+ }
593
+ ]
594
+ ],
595
+ "minecraft:game_profile": "void",
596
+ "minecraft:block_pos": "void",
597
+ "minecraft:column_pos": "void",
598
+ "minecraft:vec3": "void",
599
+ "minecraft:vec2": "void",
600
+ "minecraft:block_state": "void",
601
+ "minecraft:block_predicate": "void",
602
+ "minecraft:item_stack": "void",
603
+ "minecraft:item_predicate": "void",
604
+ "minecraft:color": "void",
605
+ "minecraft:component": "void",
606
+ "minecraft:message": "void",
607
+ "minecraft:nbt": "void",
608
+ "minecraft:nbt_path": "void",
609
+ "minecraft:objective": "void",
610
+ "minecraft:objective_criteria": "void",
611
+ "minecraft:operation": "void",
612
+ "minecraft:particle": "void",
613
+ "minecraft:angle": "void",
614
+ "minecraft:rotation": "void",
615
+ "minecraft:scoreboard_slot": "void",
616
+ "minecraft:score_holder": [
617
+ "bitfield",
618
+ [
619
+ {
620
+ "name": "unused",
621
+ "size": 7,
622
+ "signed": false
623
+ },
624
+ {
625
+ "name": "allowMultiple",
626
+ "size": 1,
627
+ "signed": false
628
+ }
629
+ ]
630
+ ],
631
+ "minecraft:swizzle": "void",
632
+ "minecraft:team": "void",
633
+ "minecraft:item_slot": "void",
634
+ "minecraft:resource_location": "void",
635
+ "minecraft:mob_effect": "void",
636
+ "minecraft:function": "void",
637
+ "minecraft:entity_anchor": "void",
638
+ "minecraft:range": [
639
+ "container",
640
+ [
641
+ {
642
+ "name": "allowDecimals",
643
+ "type": "bool"
644
+ }
645
+ ]
646
+ ],
647
+ "minecraft:int_range": "void",
648
+ "minecraft:float_range": "void",
649
+ "minecraft:item_enchantment": "void",
650
+ "minecraft:entity_summon": "void",
651
+ "minecraft:dimension": "void",
652
+ "minecraft:nbt_compound_tag": "void",
653
+ "minecraft:time": "void",
654
+ "minecraft:resource_or_tag": [
655
+ "container",
656
+ [
657
+ {
658
+ "name": "registry",
659
+ "type": "string"
660
+ }
661
+ ]
662
+ ],
663
+ "minecraft:resource": [
664
+ "container",
665
+ [
666
+ {
667
+ "name": "registry",
668
+ "type": "string"
669
+ }
670
+ ]
671
+ ],
672
+ "minecraft:uuid": "void"
673
+ }
674
+ }
675
+ ]
676
+ },
677
+ {
678
+ "name": "suggestionType",
679
+ "type": [
680
+ "switch",
681
+ {
682
+ "compareTo": "../flags/has_custom_suggestions",
683
+ "fields": {
684
+ "1": "string"
685
+ },
686
+ "default": "void"
687
+ }
688
+ ]
689
+ }
690
+ ]
691
+ ]
692
+ }
693
+ }
694
+ ]
695
+ }
696
+ ]
697
+ ]
698
+ }
248
699
  ]
249
700
  },
250
701
  "handshaking": {
@@ -1315,219 +1766,7 @@
1315
1766
  [
1316
1767
  {
1317
1768
  "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
- }]
1769
+ "type": "command_node"
1531
1770
  },
1532
1771
  {
1533
1772
  "name": "rootIndex",