minecraft-data 3.39.0 → 3.41.0

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 (98) hide show
  1. package/data.js +43 -2
  2. package/doc/history.md +8 -0
  3. package/index.d.ts +12 -0
  4. package/minecraft-data/README.md +1 -1
  5. package/minecraft-data/data/bedrock/1.16.201/attributes.json +107 -0
  6. package/minecraft-data/data/bedrock/1.16.201/proto.yml +4 -4
  7. package/minecraft-data/data/bedrock/1.16.201/protocol.json +63 -55
  8. package/minecraft-data/data/bedrock/1.16.210/proto.yml +6 -6
  9. package/minecraft-data/data/bedrock/1.16.210/protocol.json +69 -61
  10. package/minecraft-data/data/bedrock/1.16.210/types.yml +1 -1
  11. package/minecraft-data/data/bedrock/1.16.220/proto.yml +6 -6
  12. package/minecraft-data/data/bedrock/1.16.220/protocol.json +70 -62
  13. package/minecraft-data/data/bedrock/1.16.220/types.yml +2 -2
  14. package/minecraft-data/data/bedrock/1.17.0/proto.yml +5 -5
  15. package/minecraft-data/data/bedrock/1.17.0/protocol.json +70 -62
  16. package/minecraft-data/data/bedrock/1.17.0/types.yml +2 -2
  17. package/minecraft-data/data/bedrock/1.17.10/proto.yml +6 -6
  18. package/minecraft-data/data/bedrock/1.17.10/protocol.json +70 -62
  19. package/minecraft-data/data/bedrock/1.17.10/types.yml +2 -2
  20. package/minecraft-data/data/bedrock/1.17.30/proto.yml +6 -6
  21. package/minecraft-data/data/bedrock/1.17.30/protocol.json +70 -62
  22. package/minecraft-data/data/bedrock/1.17.30/types.yml +2 -2
  23. package/minecraft-data/data/bedrock/1.17.40/proto.yml +5 -5
  24. package/minecraft-data/data/bedrock/1.17.40/protocol.json +70 -62
  25. package/minecraft-data/data/bedrock/1.17.40/types.yml +2 -2
  26. package/minecraft-data/data/bedrock/1.18.0/proto.yml +6 -6
  27. package/minecraft-data/data/bedrock/1.18.0/protocol.json +70 -62
  28. package/minecraft-data/data/bedrock/1.18.0/types.yml +2 -2
  29. package/minecraft-data/data/bedrock/1.18.11/proto.yml +6 -6
  30. package/minecraft-data/data/bedrock/1.18.11/protocol.json +70 -62
  31. package/minecraft-data/data/bedrock/1.18.11/types.yml +2 -2
  32. package/minecraft-data/data/bedrock/1.18.30/proto.yml +6 -6
  33. package/minecraft-data/data/bedrock/1.18.30/protocol.json +72 -64
  34. package/minecraft-data/data/bedrock/1.18.30/types.yml +2 -2
  35. package/minecraft-data/data/bedrock/1.19.1/proto.yml +5 -5
  36. package/minecraft-data/data/bedrock/1.19.1/protocol.json +76 -68
  37. package/minecraft-data/data/bedrock/1.19.1/types.yml +2 -2
  38. package/minecraft-data/data/bedrock/1.19.10/proto.yml +5 -5
  39. package/minecraft-data/data/bedrock/1.19.10/protocol.json +76 -68
  40. package/minecraft-data/data/bedrock/1.19.10/types.yml +2 -2
  41. package/minecraft-data/data/bedrock/1.19.20/proto.yml +5 -5
  42. package/minecraft-data/data/bedrock/1.19.20/protocol.json +76 -68
  43. package/minecraft-data/data/bedrock/1.19.20/types.yml +2 -2
  44. package/minecraft-data/data/bedrock/1.19.21/proto.yml +5 -5
  45. package/minecraft-data/data/bedrock/1.19.21/protocol.json +76 -68
  46. package/minecraft-data/data/bedrock/1.19.21/types.yml +2 -2
  47. package/minecraft-data/data/bedrock/1.19.30/proto.yml +5 -5
  48. package/minecraft-data/data/bedrock/1.19.30/protocol.json +76 -68
  49. package/minecraft-data/data/bedrock/1.19.30/types.yml +2 -2
  50. package/minecraft-data/data/bedrock/1.19.40/proto.yml +5 -5
  51. package/minecraft-data/data/bedrock/1.19.40/protocol.json +80 -69
  52. package/minecraft-data/data/bedrock/1.19.40/types.yml +5 -2
  53. package/minecraft-data/data/bedrock/1.19.50/proto.yml +6 -6
  54. package/minecraft-data/data/bedrock/1.19.50/protocol.json +80 -69
  55. package/minecraft-data/data/bedrock/1.19.50/types.yml +5 -2
  56. package/minecraft-data/data/bedrock/1.19.60/proto.yml +6 -6
  57. package/minecraft-data/data/bedrock/1.19.60/protocol.json +80 -69
  58. package/minecraft-data/data/bedrock/1.19.60/types.yml +5 -2
  59. package/minecraft-data/data/bedrock/1.19.62/proto.yml +6 -6
  60. package/minecraft-data/data/bedrock/1.19.62/protocol.json +80 -69
  61. package/minecraft-data/data/bedrock/1.19.62/types.yml +5 -2
  62. package/minecraft-data/data/bedrock/1.19.70/proto.yml +5 -5
  63. package/minecraft-data/data/bedrock/1.19.70/protocol.json +80 -69
  64. package/minecraft-data/data/bedrock/1.19.70/types.yml +5 -2
  65. package/minecraft-data/data/bedrock/1.19.80/proto.yml +6 -6
  66. package/minecraft-data/data/bedrock/1.19.80/protocol.json +80 -69
  67. package/minecraft-data/data/bedrock/1.19.80/types.yml +5 -2
  68. package/minecraft-data/data/bedrock/1.20.0/proto.yml +3961 -0
  69. package/minecraft-data/data/bedrock/1.20.0/protocol.json +80 -69
  70. package/minecraft-data/data/bedrock/1.20.0/types.yml +2096 -0
  71. package/minecraft-data/data/bedrock/1.20.10/protocol.json +11452 -0
  72. package/minecraft-data/data/bedrock/1.20.10/version.json +6 -0
  73. package/minecraft-data/data/bedrock/common/features.json +5 -0
  74. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  75. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  76. package/minecraft-data/data/bedrock/latest/proto.yml +49 -8
  77. package/minecraft-data/data/bedrock/latest/types.yml +10 -2
  78. package/minecraft-data/data/dataPaths.json +44 -4
  79. package/minecraft-data/data/pc/1.10/attributes.json +53 -14
  80. package/minecraft-data/data/pc/1.11/attributes.json +53 -14
  81. package/minecraft-data/data/pc/1.12/attributes.json +53 -14
  82. package/minecraft-data/data/pc/1.13/attributes.json +53 -14
  83. package/minecraft-data/data/pc/1.14/attributes.json +53 -14
  84. package/minecraft-data/data/pc/1.15/attributes.json +53 -14
  85. package/minecraft-data/data/pc/1.16/attributes.json +53 -14
  86. package/minecraft-data/data/pc/1.17/attributes.json +53 -14
  87. package/minecraft-data/data/pc/1.19/protocol.json +13 -8
  88. package/minecraft-data/data/pc/1.19.2/protocol.json +13 -8
  89. package/minecraft-data/data/pc/1.19.3/protocol.json +70 -8
  90. package/minecraft-data/data/pc/1.19.4/protocol.json +75 -17
  91. package/minecraft-data/data/pc/1.20/protocol.json +78 -20
  92. package/minecraft-data/data/pc/1.7/attributes.json +28 -7
  93. package/minecraft-data/data/pc/1.8/attributes.json +49 -13
  94. package/minecraft-data/data/pc/1.9/attributes.json +53 -14
  95. package/minecraft-data/data/pc/common/features.json +5 -0
  96. package/minecraft-data/doc/history.md +14 -0
  97. package/minecraft-data/schemas/attributes_schema.json +13 -1
  98. package/package.json +2 -2
@@ -939,11 +939,11 @@
939
939
  },
940
940
  {
941
941
  "name": "block_position",
942
- "type": "vec3i"
942
+ "type": "BlockCoordinates"
943
943
  },
944
944
  {
945
945
  "name": "face",
946
- "type": "varint"
946
+ "type": "zigzag32"
947
947
  },
948
948
  {
949
949
  "name": "hotbar_slot",
@@ -5098,7 +5098,7 @@
5098
5098
  "71": "balloon_pop",
5099
5099
  "72": "treasure_hunt",
5100
5100
  "73": "agent_summon",
5101
- "74": "charged_crossbow",
5101
+ "74": "charged_item",
5102
5102
  "75": "fall"
5103
5103
  }
5104
5104
  }
@@ -6410,66 +6410,74 @@
6410
6410
  {
6411
6411
  "countType": "varint",
6412
6412
  "type": [
6413
- "array",
6414
- {
6415
- "countType": "varint",
6416
- "type": [
6417
- "container",
6418
- [
6419
- {
6420
- "name": "parameter_name",
6421
- "type": "string"
6422
- },
6423
- {
6424
- "name": "value_type",
6425
- "type": [
6426
- "mapper",
6427
- {
6428
- "type": "lu16",
6429
- "mappings": {
6430
- "1": "int",
6431
- "2": "float",
6432
- "3": "value",
6433
- "4": "wildcard_int",
6434
- "5": "operator",
6435
- "6": "target",
6436
- "16": "file_path",
6437
- "32": "string",
6438
- "40": "position",
6439
- "44": "message",
6440
- "46": "raw_text",
6441
- "50": "json",
6442
- "63": "command"
6443
- }
6444
- }
6445
- ]
6446
- },
6413
+ "container",
6414
+ [
6415
+ {
6416
+ "name": "parameters",
6417
+ "type": [
6418
+ "array",
6447
6419
  {
6448
- "name": "enum_type",
6420
+ "countType": "varint",
6449
6421
  "type": [
6450
- "mapper",
6451
- {
6452
- "type": "lu16",
6453
- "mappings": {
6454
- "16": "valid",
6455
- "32": "enum",
6456
- "256": "suffixed",
6457
- "1024": "soft_enum"
6422
+ "container",
6423
+ [
6424
+ {
6425
+ "name": "parameter_name",
6426
+ "type": "string"
6427
+ },
6428
+ {
6429
+ "name": "value_type",
6430
+ "type": [
6431
+ "mapper",
6432
+ {
6433
+ "type": "lu16",
6434
+ "mappings": {
6435
+ "1": "int",
6436
+ "2": "float",
6437
+ "3": "value",
6438
+ "4": "wildcard_int",
6439
+ "5": "operator",
6440
+ "6": "target",
6441
+ "16": "file_path",
6442
+ "32": "string",
6443
+ "40": "position",
6444
+ "44": "message",
6445
+ "46": "raw_text",
6446
+ "50": "json",
6447
+ "63": "command"
6448
+ }
6449
+ }
6450
+ ]
6451
+ },
6452
+ {
6453
+ "name": "enum_type",
6454
+ "type": [
6455
+ "mapper",
6456
+ {
6457
+ "type": "lu16",
6458
+ "mappings": {
6459
+ "16": "valid",
6460
+ "48": "enum",
6461
+ "256": "suffixed",
6462
+ "1040": "soft_enum"
6463
+ }
6464
+ }
6465
+ ]
6466
+ },
6467
+ {
6468
+ "name": "optional",
6469
+ "type": "bool"
6470
+ },
6471
+ {
6472
+ "name": "options",
6473
+ "type": "CommandFlags"
6458
6474
  }
6459
- }
6475
+ ]
6460
6476
  ]
6461
- },
6462
- {
6463
- "name": "optional",
6464
- "type": "bool"
6465
- },
6466
- {
6467
- "name": "options",
6468
- "type": "CommandFlags"
6469
6477
  }
6470
6478
  ]
6471
- ]
6472
- }
6479
+ }
6480
+ ]
6473
6481
  ]
6474
6482
  }
6475
6483
  ]
@@ -8467,7 +8475,7 @@
8467
8475
  [
8468
8476
  {
8469
8477
  "name": "position",
8470
- "type": "BlockCoordinates"
8478
+ "type": "vec3i"
8471
8479
  },
8472
8480
  {
8473
8481
  "name": "face",
@@ -8480,7 +8488,7 @@
8480
8488
  [
8481
8489
  {
8482
8490
  "name": "position",
8483
- "type": "BlockCoordinates"
8491
+ "type": "vec3i"
8484
8492
  },
8485
8493
  {
8486
8494
  "name": "face",
@@ -8493,7 +8501,7 @@
8493
8501
  [
8494
8502
  {
8495
8503
  "name": "position",
8496
- "type": "BlockCoordinates"
8504
+ "type": "vec3i"
8497
8505
  },
8498
8506
  {
8499
8507
  "name": "face",
@@ -8506,7 +8514,7 @@
8506
8514
  [
8507
8515
  {
8508
8516
  "name": "position",
8509
- "type": "BlockCoordinates"
8517
+ "type": "vec3i"
8510
8518
  },
8511
8519
  {
8512
8520
  "name": "face",
@@ -8519,7 +8527,7 @@
8519
8527
  [
8520
8528
  {
8521
8529
  "name": "position",
8522
- "type": "BlockCoordinates"
8530
+ "type": "vec3i"
8523
8531
  },
8524
8532
  {
8525
8533
  "name": "face",
@@ -468,10 +468,10 @@ TransactionUseItem:
468
468
  2: break_block
469
469
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
470
470
  # block position if ActionType is not UseItemActionClickAir.
471
- block_position: vec3i
471
+ block_position: BlockCoordinates
472
472
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
473
473
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
474
- face: varint
474
+ face: zigzag32
475
475
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
476
476
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
477
477
  hotbar_slot: varint
@@ -856,7 +856,7 @@ packet_entity_event:
856
856
  71: balloon_pop
857
857
  72: treasure_hunt
858
858
  73: agent_summon
859
- 74: charged_crossbow
859
+ 74: charged_item
860
860
  75: fall
861
861
  data: zigzag32
862
862
 
@@ -1601,7 +1601,7 @@ packet_available_commands:
1601
1601
  # The list of overload parameters for this command
1602
1602
  overloads: []varint
1603
1603
  # Each of the parameters gets an array of posible overloads
1604
- _: []varint
1604
+ parameters: []varint
1605
1605
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1606
1606
  parameter_name: string
1607
1607
  value_type: lu16 =>
@@ -1621,9 +1621,9 @@ packet_available_commands:
1621
1621
  # In MC, this + prior field are combined to one 32bit bitfield
1622
1622
  enum_type: lu16 =>
1623
1623
  0x10: valid
1624
- 0x20: enum
1624
+ 0x30: enum
1625
1625
  0x100: suffixed
1626
- 0x400: soft_enum
1626
+ 0x410: soft_enum
1627
1627
  # Is this parameter required?
1628
1628
  optional: bool
1629
1629
  # Additinal options for this command (thanks macroshaft...)
@@ -2851,7 +2851,7 @@ packet_player_auth_input:
2851
2851
  if start_break or abort_break or crack_break or predict_break or continue_break:
2852
2852
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2853
2853
  # block. If that is not the case, the block position will be zero.
2854
- position: BlockCoordinates
2854
+ position: vec3i
2855
2855
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2856
2856
  # concerned a block. If not, the face is always 0.
2857
2857
  face: zigzag32
@@ -939,11 +939,11 @@
939
939
  },
940
940
  {
941
941
  "name": "block_position",
942
- "type": "vec3i"
942
+ "type": "BlockCoordinates"
943
943
  },
944
944
  {
945
945
  "name": "face",
946
- "type": "varint"
946
+ "type": "zigzag32"
947
947
  },
948
948
  {
949
949
  "name": "hotbar_slot",
@@ -5129,7 +5129,7 @@
5129
5129
  "71": "balloon_pop",
5130
5130
  "72": "treasure_hunt",
5131
5131
  "73": "agent_summon",
5132
- "74": "charged_crossbow",
5132
+ "74": "charged_item",
5133
5133
  "75": "fall"
5134
5134
  }
5135
5135
  }
@@ -6411,66 +6411,74 @@
6411
6411
  {
6412
6412
  "countType": "varint",
6413
6413
  "type": [
6414
- "array",
6415
- {
6416
- "countType": "varint",
6417
- "type": [
6418
- "container",
6419
- [
6420
- {
6421
- "name": "parameter_name",
6422
- "type": "string"
6423
- },
6424
- {
6425
- "name": "value_type",
6426
- "type": [
6427
- "mapper",
6428
- {
6429
- "type": "lu16",
6430
- "mappings": {
6431
- "1": "int",
6432
- "2": "float",
6433
- "3": "value",
6434
- "4": "wildcard_int",
6435
- "5": "operator",
6436
- "6": "target",
6437
- "16": "file_path",
6438
- "32": "string",
6439
- "40": "position",
6440
- "44": "message",
6441
- "46": "raw_text",
6442
- "50": "json",
6443
- "63": "command"
6444
- }
6445
- }
6446
- ]
6447
- },
6414
+ "container",
6415
+ [
6416
+ {
6417
+ "name": "parameters",
6418
+ "type": [
6419
+ "array",
6448
6420
  {
6449
- "name": "enum_type",
6421
+ "countType": "varint",
6450
6422
  "type": [
6451
- "mapper",
6452
- {
6453
- "type": "lu16",
6454
- "mappings": {
6455
- "16": "valid",
6456
- "32": "enum",
6457
- "256": "suffixed",
6458
- "1024": "soft_enum"
6423
+ "container",
6424
+ [
6425
+ {
6426
+ "name": "parameter_name",
6427
+ "type": "string"
6428
+ },
6429
+ {
6430
+ "name": "value_type",
6431
+ "type": [
6432
+ "mapper",
6433
+ {
6434
+ "type": "lu16",
6435
+ "mappings": {
6436
+ "1": "int",
6437
+ "2": "float",
6438
+ "3": "value",
6439
+ "4": "wildcard_int",
6440
+ "5": "operator",
6441
+ "6": "target",
6442
+ "16": "file_path",
6443
+ "32": "string",
6444
+ "40": "position",
6445
+ "44": "message",
6446
+ "46": "raw_text",
6447
+ "50": "json",
6448
+ "63": "command"
6449
+ }
6450
+ }
6451
+ ]
6452
+ },
6453
+ {
6454
+ "name": "enum_type",
6455
+ "type": [
6456
+ "mapper",
6457
+ {
6458
+ "type": "lu16",
6459
+ "mappings": {
6460
+ "16": "valid",
6461
+ "48": "enum",
6462
+ "256": "suffixed",
6463
+ "1040": "soft_enum"
6464
+ }
6465
+ }
6466
+ ]
6467
+ },
6468
+ {
6469
+ "name": "optional",
6470
+ "type": "bool"
6471
+ },
6472
+ {
6473
+ "name": "options",
6474
+ "type": "CommandFlags"
6459
6475
  }
6460
- }
6476
+ ]
6461
6477
  ]
6462
- },
6463
- {
6464
- "name": "optional",
6465
- "type": "bool"
6466
- },
6467
- {
6468
- "name": "options",
6469
- "type": "CommandFlags"
6470
6478
  }
6471
6479
  ]
6472
- ]
6473
- }
6480
+ }
6481
+ ]
6474
6482
  ]
6475
6483
  }
6476
6484
  ]
@@ -8468,7 +8476,7 @@
8468
8476
  [
8469
8477
  {
8470
8478
  "name": "position",
8471
- "type": "BlockCoordinates"
8479
+ "type": "vec3i"
8472
8480
  },
8473
8481
  {
8474
8482
  "name": "face",
@@ -8481,7 +8489,7 @@
8481
8489
  [
8482
8490
  {
8483
8491
  "name": "position",
8484
- "type": "BlockCoordinates"
8492
+ "type": "vec3i"
8485
8493
  },
8486
8494
  {
8487
8495
  "name": "face",
@@ -8494,7 +8502,7 @@
8494
8502
  [
8495
8503
  {
8496
8504
  "name": "position",
8497
- "type": "BlockCoordinates"
8505
+ "type": "vec3i"
8498
8506
  },
8499
8507
  {
8500
8508
  "name": "face",
@@ -8507,7 +8515,7 @@
8507
8515
  [
8508
8516
  {
8509
8517
  "name": "position",
8510
- "type": "BlockCoordinates"
8518
+ "type": "vec3i"
8511
8519
  },
8512
8520
  {
8513
8521
  "name": "face",
@@ -8520,7 +8528,7 @@
8520
8528
  [
8521
8529
  {
8522
8530
  "name": "position",
8523
- "type": "BlockCoordinates"
8531
+ "type": "vec3i"
8524
8532
  },
8525
8533
  {
8526
8534
  "name": "face",
@@ -468,10 +468,10 @@ TransactionUseItem:
468
468
  2: break_block
469
469
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
470
470
  # block position if ActionType is not UseItemActionClickAir.
471
- block_position: vec3i
471
+ block_position: BlockCoordinates
472
472
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
473
473
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
474
- face: varint
474
+ face: zigzag32
475
475
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
476
476
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
477
477
  hotbar_slot: varint
@@ -859,7 +859,7 @@ packet_entity_event:
859
859
  71: balloon_pop
860
860
  72: treasure_hunt
861
861
  73: agent_summon
862
- 74: charged_crossbow
862
+ 74: charged_item
863
863
  75: fall
864
864
  data: zigzag32
865
865
 
@@ -1607,7 +1607,7 @@ packet_available_commands:
1607
1607
  # The list of overload parameters for this command
1608
1608
  overloads: []varint
1609
1609
  # Each of the parameters gets an array of posible overloads
1610
- _: []varint
1610
+ parameters: []varint
1611
1611
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1612
1612
  parameter_name: string
1613
1613
  value_type: lu16 =>
@@ -1627,9 +1627,9 @@ packet_available_commands:
1627
1627
  # In MC, this + prior field are combined to one 32bit bitfield
1628
1628
  enum_type: lu16 =>
1629
1629
  0x10: valid
1630
- 0x20: enum
1630
+ 0x30: enum
1631
1631
  0x100: suffixed
1632
- 0x400: soft_enum
1632
+ 0x410: soft_enum
1633
1633
  # Is this parameter required?
1634
1634
  optional: bool
1635
1635
  # Additinal options for this command (thanks macroshaft...)
@@ -2858,7 +2858,7 @@ packet_player_auth_input:
2858
2858
  if start_break or abort_break or crack_break or predict_break or continue_break:
2859
2859
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2860
2860
  # block. If that is not the case, the block position will be zero.
2861
- position: BlockCoordinates
2861
+ position: vec3i
2862
2862
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2863
2863
  # concerned a block. If not, the face is always 0.
2864
2864
  face: zigzag32
@@ -3319,4 +3319,4 @@ packet_subchunk_request:
3319
3319
  dimension: zigzag32
3320
3320
  x: zigzag32
3321
3321
  y: zigzag32
3322
- z: zigzag32
3322
+ z: zigzag32