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",
@@ -5144,7 +5144,7 @@
5144
5144
  "71": "balloon_pop",
5145
5145
  "72": "treasure_hunt",
5146
5146
  "73": "agent_summon",
5147
- "74": "charged_crossbow",
5147
+ "74": "charged_item",
5148
5148
  "75": "fall"
5149
5149
  }
5150
5150
  }
@@ -6456,66 +6456,74 @@
6456
6456
  {
6457
6457
  "countType": "varint",
6458
6458
  "type": [
6459
- "array",
6460
- {
6461
- "countType": "varint",
6462
- "type": [
6463
- "container",
6464
- [
6465
- {
6466
- "name": "parameter_name",
6467
- "type": "string"
6468
- },
6469
- {
6470
- "name": "value_type",
6471
- "type": [
6472
- "mapper",
6473
- {
6474
- "type": "lu16",
6475
- "mappings": {
6476
- "1": "int",
6477
- "2": "float",
6478
- "3": "value",
6479
- "4": "wildcard_int",
6480
- "5": "operator",
6481
- "6": "target",
6482
- "16": "file_path",
6483
- "32": "string",
6484
- "40": "position",
6485
- "44": "message",
6486
- "46": "raw_text",
6487
- "50": "json",
6488
- "63": "command"
6489
- }
6490
- }
6491
- ]
6492
- },
6459
+ "container",
6460
+ [
6461
+ {
6462
+ "name": "parameters",
6463
+ "type": [
6464
+ "array",
6493
6465
  {
6494
- "name": "enum_type",
6466
+ "countType": "varint",
6495
6467
  "type": [
6496
- "mapper",
6497
- {
6498
- "type": "lu16",
6499
- "mappings": {
6500
- "16": "valid",
6501
- "32": "enum",
6502
- "256": "suffixed",
6503
- "1024": "soft_enum"
6468
+ "container",
6469
+ [
6470
+ {
6471
+ "name": "parameter_name",
6472
+ "type": "string"
6473
+ },
6474
+ {
6475
+ "name": "value_type",
6476
+ "type": [
6477
+ "mapper",
6478
+ {
6479
+ "type": "lu16",
6480
+ "mappings": {
6481
+ "1": "int",
6482
+ "2": "float",
6483
+ "3": "value",
6484
+ "4": "wildcard_int",
6485
+ "5": "operator",
6486
+ "6": "target",
6487
+ "16": "file_path",
6488
+ "32": "string",
6489
+ "40": "position",
6490
+ "44": "message",
6491
+ "46": "raw_text",
6492
+ "50": "json",
6493
+ "63": "command"
6494
+ }
6495
+ }
6496
+ ]
6497
+ },
6498
+ {
6499
+ "name": "enum_type",
6500
+ "type": [
6501
+ "mapper",
6502
+ {
6503
+ "type": "lu16",
6504
+ "mappings": {
6505
+ "16": "valid",
6506
+ "48": "enum",
6507
+ "256": "suffixed",
6508
+ "1040": "soft_enum"
6509
+ }
6510
+ }
6511
+ ]
6512
+ },
6513
+ {
6514
+ "name": "optional",
6515
+ "type": "bool"
6516
+ },
6517
+ {
6518
+ "name": "options",
6519
+ "type": "CommandFlags"
6504
6520
  }
6505
- }
6521
+ ]
6506
6522
  ]
6507
- },
6508
- {
6509
- "name": "optional",
6510
- "type": "bool"
6511
- },
6512
- {
6513
- "name": "options",
6514
- "type": "CommandFlags"
6515
6523
  }
6516
6524
  ]
6517
- ]
6518
- }
6525
+ }
6526
+ ]
6519
6527
  ]
6520
6528
  }
6521
6529
  ]
@@ -8513,7 +8521,7 @@
8513
8521
  [
8514
8522
  {
8515
8523
  "name": "position",
8516
- "type": "BlockCoordinates"
8524
+ "type": "vec3i"
8517
8525
  },
8518
8526
  {
8519
8527
  "name": "face",
@@ -8526,7 +8534,7 @@
8526
8534
  [
8527
8535
  {
8528
8536
  "name": "position",
8529
- "type": "BlockCoordinates"
8537
+ "type": "vec3i"
8530
8538
  },
8531
8539
  {
8532
8540
  "name": "face",
@@ -8539,7 +8547,7 @@
8539
8547
  [
8540
8548
  {
8541
8549
  "name": "position",
8542
- "type": "BlockCoordinates"
8550
+ "type": "vec3i"
8543
8551
  },
8544
8552
  {
8545
8553
  "name": "face",
@@ -8552,7 +8560,7 @@
8552
8560
  [
8553
8561
  {
8554
8562
  "name": "position",
8555
- "type": "BlockCoordinates"
8563
+ "type": "vec3i"
8556
8564
  },
8557
8565
  {
8558
8566
  "name": "face",
@@ -8565,7 +8573,7 @@
8565
8573
  [
8566
8574
  {
8567
8575
  "name": "position",
8568
- "type": "BlockCoordinates"
8576
+ "type": "vec3i"
8569
8577
  },
8570
8578
  {
8571
8579
  "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
 
@@ -1614,7 +1614,7 @@ packet_available_commands:
1614
1614
  # The list of overload parameters for this command
1615
1615
  overloads: []varint
1616
1616
  # Each of the parameters gets an array of posible overloads
1617
- _: []varint
1617
+ parameters: []varint
1618
1618
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1619
1619
  parameter_name: string
1620
1620
  value_type: lu16 =>
@@ -1634,9 +1634,9 @@ packet_available_commands:
1634
1634
  # In MC, this + prior field are combined to one 32bit bitfield
1635
1635
  enum_type: lu16 =>
1636
1636
  0x10: valid
1637
- 0x20: enum
1637
+ 0x30: enum
1638
1638
  0x100: suffixed
1639
- 0x400: soft_enum
1639
+ 0x410: soft_enum
1640
1640
  # Is this parameter required?
1641
1641
  optional: bool
1642
1642
  # Additinal options for this command (thanks macroshaft...)
@@ -2865,7 +2865,7 @@ packet_player_auth_input:
2865
2865
  if start_break or abort_break or crack_break or predict_break or continue_break:
2866
2866
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2867
2867
  # block. If that is not the case, the block position will be zero.
2868
- position: BlockCoordinates
2868
+ position: vec3i
2869
2869
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2870
2870
  # concerned a block. If not, the face is always 0.
2871
2871
  face: zigzag32
@@ -3402,4 +3402,4 @@ packet_code_builder_source:
3402
3402
  - code_status
3403
3403
  - instantiation
3404
3404
  # Value contains extra data about the operation performed. It is always empty unless the operation is
3405
- value: string
3405
+ value: string
@@ -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",
@@ -5179,7 +5179,7 @@
5179
5179
  "71": "balloon_pop",
5180
5180
  "72": "treasure_hunt",
5181
5181
  "73": "agent_summon",
5182
- "74": "charged_crossbow",
5182
+ "74": "charged_item",
5183
5183
  "75": "fall"
5184
5184
  }
5185
5185
  }
@@ -6514,66 +6514,74 @@
6514
6514
  {
6515
6515
  "countType": "varint",
6516
6516
  "type": [
6517
- "array",
6518
- {
6519
- "countType": "varint",
6520
- "type": [
6521
- "container",
6522
- [
6523
- {
6524
- "name": "parameter_name",
6525
- "type": "string"
6526
- },
6527
- {
6528
- "name": "value_type",
6529
- "type": [
6530
- "mapper",
6531
- {
6532
- "type": "lu16",
6533
- "mappings": {
6534
- "1": "int",
6535
- "2": "float",
6536
- "3": "value",
6537
- "4": "wildcard_int",
6538
- "5": "operator",
6539
- "6": "target",
6540
- "16": "file_path",
6541
- "32": "string",
6542
- "40": "position",
6543
- "44": "message",
6544
- "46": "raw_text",
6545
- "50": "json",
6546
- "63": "command"
6547
- }
6548
- }
6549
- ]
6550
- },
6517
+ "container",
6518
+ [
6519
+ {
6520
+ "name": "parameters",
6521
+ "type": [
6522
+ "array",
6551
6523
  {
6552
- "name": "enum_type",
6524
+ "countType": "varint",
6553
6525
  "type": [
6554
- "mapper",
6555
- {
6556
- "type": "lu16",
6557
- "mappings": {
6558
- "16": "valid",
6559
- "32": "enum",
6560
- "256": "suffixed",
6561
- "1024": "soft_enum"
6526
+ "container",
6527
+ [
6528
+ {
6529
+ "name": "parameter_name",
6530
+ "type": "string"
6531
+ },
6532
+ {
6533
+ "name": "value_type",
6534
+ "type": [
6535
+ "mapper",
6536
+ {
6537
+ "type": "lu16",
6538
+ "mappings": {
6539
+ "1": "int",
6540
+ "2": "float",
6541
+ "3": "value",
6542
+ "4": "wildcard_int",
6543
+ "5": "operator",
6544
+ "6": "target",
6545
+ "16": "file_path",
6546
+ "32": "string",
6547
+ "40": "position",
6548
+ "44": "message",
6549
+ "46": "raw_text",
6550
+ "50": "json",
6551
+ "63": "command"
6552
+ }
6553
+ }
6554
+ ]
6555
+ },
6556
+ {
6557
+ "name": "enum_type",
6558
+ "type": [
6559
+ "mapper",
6560
+ {
6561
+ "type": "lu16",
6562
+ "mappings": {
6563
+ "16": "valid",
6564
+ "48": "enum",
6565
+ "256": "suffixed",
6566
+ "1040": "soft_enum"
6567
+ }
6568
+ }
6569
+ ]
6570
+ },
6571
+ {
6572
+ "name": "optional",
6573
+ "type": "bool"
6574
+ },
6575
+ {
6576
+ "name": "options",
6577
+ "type": "CommandFlags"
6562
6578
  }
6563
- }
6579
+ ]
6564
6580
  ]
6565
- },
6566
- {
6567
- "name": "optional",
6568
- "type": "bool"
6569
- },
6570
- {
6571
- "name": "options",
6572
- "type": "CommandFlags"
6573
6581
  }
6574
6582
  ]
6575
- ]
6576
- }
6583
+ }
6584
+ ]
6577
6585
  ]
6578
6586
  }
6579
6587
  ]
@@ -8571,7 +8579,7 @@
8571
8579
  [
8572
8580
  {
8573
8581
  "name": "position",
8574
- "type": "BlockCoordinates"
8582
+ "type": "vec3i"
8575
8583
  },
8576
8584
  {
8577
8585
  "name": "face",
@@ -8584,7 +8592,7 @@
8584
8592
  [
8585
8593
  {
8586
8594
  "name": "position",
8587
- "type": "BlockCoordinates"
8595
+ "type": "vec3i"
8588
8596
  },
8589
8597
  {
8590
8598
  "name": "face",
@@ -8597,7 +8605,7 @@
8597
8605
  [
8598
8606
  {
8599
8607
  "name": "position",
8600
- "type": "BlockCoordinates"
8608
+ "type": "vec3i"
8601
8609
  },
8602
8610
  {
8603
8611
  "name": "face",
@@ -8610,7 +8618,7 @@
8610
8618
  [
8611
8619
  {
8612
8620
  "name": "position",
8613
- "type": "BlockCoordinates"
8621
+ "type": "vec3i"
8614
8622
  },
8615
8623
  {
8616
8624
  "name": "face",
@@ -8623,7 +8631,7 @@
8623
8631
  [
8624
8632
  {
8625
8633
  "name": "position",
8626
- "type": "BlockCoordinates"
8634
+ "type": "vec3i"
8627
8635
  },
8628
8636
  {
8629
8637
  "name": "face",
@@ -472,10 +472,10 @@ TransactionUseItem:
472
472
  2: break_block
473
473
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
474
474
  # block position if ActionType is not UseItemActionClickAir.
475
- block_position: vec3i
475
+ block_position: BlockCoordinates
476
476
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
477
477
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
478
- face: varint
478
+ face: zigzag32
479
479
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
480
480
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
481
481
  hotbar_slot: varint
@@ -865,7 +865,7 @@ packet_entity_event:
865
865
  71: balloon_pop
866
866
  72: treasure_hunt
867
867
  73: agent_summon
868
- 74: charged_crossbow
868
+ 74: charged_item
869
869
  75: fall
870
870
  76: grow_up
871
871
  77: vibration_detected
@@ -1622,7 +1622,7 @@ packet_available_commands:
1622
1622
  # The list of overload parameters for this command
1623
1623
  overloads: []varint
1624
1624
  # Each of the parameters gets an array of posible overloads
1625
- _: []varint
1625
+ parameters: []varint
1626
1626
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1627
1627
  parameter_name: string
1628
1628
  value_type: lu16 =>
@@ -1644,9 +1644,9 @@ packet_available_commands:
1644
1644
  # In MC, this + prior field are combined to one 32bit bitfield
1645
1645
  enum_type: lu16 =>
1646
1646
  0x10: valid
1647
- 0x20: enum
1647
+ 0x30: enum
1648
1648
  0x100: suffixed
1649
- 0x400: soft_enum
1649
+ 0x410: soft_enum
1650
1650
  # Is this parameter required?
1651
1651
  optional: bool
1652
1652
  # Additinal options for this command (thanks macroshaft...)
@@ -2879,7 +2879,7 @@ packet_player_auth_input:
2879
2879
  if start_break or abort_break or crack_break or predict_break or continue_break:
2880
2880
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2881
2881
  # block. If that is not the case, the block position will be zero.
2882
- position: BlockCoordinates
2882
+ position: vec3i
2883
2883
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2884
2884
  # concerned a block. If not, the face is always 0.
2885
2885
  face: zigzag32
@@ -3494,4 +3494,4 @@ packet_change_mob_property:
3494
3494
  # IntValue is set if the property value is an int type. If the type is not an int, this field is ignored.
3495
3495
  int_value: zigzag32
3496
3496
  # FloatValue is set if the property value is a float type. If the type is not a float, this field is ignored.
3497
- float_value: lf32
3497
+ float_value: lf32