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
@@ -943,11 +943,11 @@
943
943
  },
944
944
  {
945
945
  "name": "block_position",
946
- "type": "vec3i"
946
+ "type": "BlockCoordinates"
947
947
  },
948
948
  {
949
949
  "name": "face",
950
- "type": "varint"
950
+ "type": "zigzag32"
951
951
  },
952
952
  {
953
953
  "name": "hotbar_slot",
@@ -5260,7 +5260,7 @@
5260
5260
  "71": "balloon_pop",
5261
5261
  "72": "treasure_hunt",
5262
5262
  "73": "agent_summon",
5263
- "74": "charged_crossbow",
5263
+ "74": "charged_item",
5264
5264
  "75": "fall",
5265
5265
  "76": "grow_up",
5266
5266
  "77": "vibration_detected"
@@ -6597,68 +6597,76 @@
6597
6597
  {
6598
6598
  "countType": "varint",
6599
6599
  "type": [
6600
- "array",
6601
- {
6602
- "countType": "varint",
6603
- "type": [
6604
- "container",
6605
- [
6606
- {
6607
- "name": "parameter_name",
6608
- "type": "string"
6609
- },
6610
- {
6611
- "name": "value_type",
6612
- "type": [
6613
- "mapper",
6614
- {
6615
- "type": "lu16",
6616
- "mappings": {
6617
- "1": "int",
6618
- "2": "float",
6619
- "3": "value",
6620
- "4": "wildcard_int",
6621
- "5": "operator",
6622
- "7": "target",
6623
- "9": "wildcard",
6624
- "16": "file_path",
6625
- "38": "string",
6626
- "46": "block_position",
6627
- "47": "position",
6628
- "50": "message",
6629
- "52": "raw_text",
6630
- "56": "json",
6631
- "69": "command"
6632
- }
6633
- }
6634
- ]
6635
- },
6600
+ "container",
6601
+ [
6602
+ {
6603
+ "name": "parameters",
6604
+ "type": [
6605
+ "array",
6636
6606
  {
6637
- "name": "enum_type",
6607
+ "countType": "varint",
6638
6608
  "type": [
6639
- "mapper",
6640
- {
6641
- "type": "lu16",
6642
- "mappings": {
6643
- "16": "valid",
6644
- "32": "enum",
6645
- "256": "suffixed",
6646
- "1024": "soft_enum"
6609
+ "container",
6610
+ [
6611
+ {
6612
+ "name": "parameter_name",
6613
+ "type": "string"
6614
+ },
6615
+ {
6616
+ "name": "value_type",
6617
+ "type": [
6618
+ "mapper",
6619
+ {
6620
+ "type": "lu16",
6621
+ "mappings": {
6622
+ "1": "int",
6623
+ "2": "float",
6624
+ "3": "value",
6625
+ "4": "wildcard_int",
6626
+ "5": "operator",
6627
+ "7": "target",
6628
+ "9": "wildcard",
6629
+ "16": "file_path",
6630
+ "38": "string",
6631
+ "46": "block_position",
6632
+ "47": "position",
6633
+ "50": "message",
6634
+ "52": "raw_text",
6635
+ "56": "json",
6636
+ "69": "command"
6637
+ }
6638
+ }
6639
+ ]
6640
+ },
6641
+ {
6642
+ "name": "enum_type",
6643
+ "type": [
6644
+ "mapper",
6645
+ {
6646
+ "type": "lu16",
6647
+ "mappings": {
6648
+ "16": "valid",
6649
+ "48": "enum",
6650
+ "256": "suffixed",
6651
+ "1040": "soft_enum"
6652
+ }
6653
+ }
6654
+ ]
6655
+ },
6656
+ {
6657
+ "name": "optional",
6658
+ "type": "bool"
6659
+ },
6660
+ {
6661
+ "name": "options",
6662
+ "type": "CommandFlags"
6647
6663
  }
6648
- }
6664
+ ]
6649
6665
  ]
6650
- },
6651
- {
6652
- "name": "optional",
6653
- "type": "bool"
6654
- },
6655
- {
6656
- "name": "options",
6657
- "type": "CommandFlags"
6658
6666
  }
6659
6667
  ]
6660
- ]
6661
- }
6668
+ }
6669
+ ]
6662
6670
  ]
6663
6671
  }
6664
6672
  ]
@@ -8660,7 +8668,7 @@
8660
8668
  [
8661
8669
  {
8662
8670
  "name": "position",
8663
- "type": "BlockCoordinates"
8671
+ "type": "vec3i"
8664
8672
  },
8665
8673
  {
8666
8674
  "name": "face",
@@ -8673,7 +8681,7 @@
8673
8681
  [
8674
8682
  {
8675
8683
  "name": "position",
8676
- "type": "BlockCoordinates"
8684
+ "type": "vec3i"
8677
8685
  },
8678
8686
  {
8679
8687
  "name": "face",
@@ -8686,7 +8694,7 @@
8686
8694
  [
8687
8695
  {
8688
8696
  "name": "position",
8689
- "type": "BlockCoordinates"
8697
+ "type": "vec3i"
8690
8698
  },
8691
8699
  {
8692
8700
  "name": "face",
@@ -8699,7 +8707,7 @@
8699
8707
  [
8700
8708
  {
8701
8709
  "name": "position",
8702
- "type": "BlockCoordinates"
8710
+ "type": "vec3i"
8703
8711
  },
8704
8712
  {
8705
8713
  "name": "face",
@@ -8712,7 +8720,7 @@
8712
8720
  [
8713
8721
  {
8714
8722
  "name": "position",
8715
- "type": "BlockCoordinates"
8723
+ "type": "vec3i"
8716
8724
  },
8717
8725
  {
8718
8726
  "name": "face",
@@ -480,10 +480,10 @@ TransactionUseItem:
480
480
  2: break_block
481
481
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
482
482
  # block position if ActionType is not UseItemActionClickAir.
483
- block_position: vec3i
483
+ block_position: BlockCoordinates
484
484
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
485
485
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
486
- face: varint
486
+ face: zigzag32
487
487
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
488
488
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
489
489
  hotbar_slot: varint
@@ -872,7 +872,7 @@ packet_entity_event:
872
872
  71: balloon_pop
873
873
  72: treasure_hunt
874
874
  73: agent_summon
875
- 74: charged_crossbow
875
+ 74: charged_item
876
876
  75: fall
877
877
  76: grow_up
878
878
  77: vibration_detected
@@ -1632,7 +1632,7 @@ packet_available_commands:
1632
1632
  # The list of overload parameters for this command
1633
1633
  overloads: []varint
1634
1634
  # Each of the parameters gets an array of posible overloads
1635
- _: []varint
1635
+ parameters: []varint
1636
1636
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1637
1637
  parameter_name: string
1638
1638
  value_type: lu16 =>
@@ -1658,9 +1658,9 @@ packet_available_commands:
1658
1658
  # In MC, this + prior field are combined to one 32bit bitfield
1659
1659
  enum_type: lu16 =>
1660
1660
  0x10: valid
1661
- 0x20: enum
1661
+ 0x30: enum
1662
1662
  0x100: suffixed
1663
- 0x400: soft_enum
1663
+ 0x410: soft_enum
1664
1664
  # Is this parameter required?
1665
1665
  optional: bool
1666
1666
  # Additinal options for this command (thanks macroshaft...)
@@ -2898,7 +2898,7 @@ packet_player_auth_input:
2898
2898
  if start_break or abort_break or crack_break or predict_break or continue_break:
2899
2899
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2900
2900
  # block. If that is not the case, the block position will be zero.
2901
- position: BlockCoordinates
2901
+ position: vec3i
2902
2902
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2903
2903
  # concerned a block. If not, the face is always 0.
2904
2904
  face: zigzag32
@@ -943,11 +943,11 @@
943
943
  },
944
944
  {
945
945
  "name": "block_position",
946
- "type": "vec3i"
946
+ "type": "BlockCoordinates"
947
947
  },
948
948
  {
949
949
  "name": "face",
950
- "type": "varint"
950
+ "type": "zigzag32"
951
951
  },
952
952
  {
953
953
  "name": "hotbar_slot",
@@ -5310,7 +5310,7 @@
5310
5310
  "71": "balloon_pop",
5311
5311
  "72": "treasure_hunt",
5312
5312
  "73": "agent_summon",
5313
- "74": "charged_crossbow",
5313
+ "74": "charged_item",
5314
5314
  "75": "fall",
5315
5315
  "76": "grow_up",
5316
5316
  "77": "vibration_detected"
@@ -6644,72 +6644,80 @@
6644
6644
  {
6645
6645
  "countType": "varint",
6646
6646
  "type": [
6647
- "array",
6648
- {
6649
- "countType": "varint",
6650
- "type": [
6651
- "container",
6652
- [
6653
- {
6654
- "name": "parameter_name",
6655
- "type": "string"
6656
- },
6657
- {
6658
- "name": "value_type",
6659
- "type": [
6660
- "mapper",
6661
- {
6662
- "type": "lu16",
6663
- "mappings": {
6664
- "1": "int",
6665
- "3": "float",
6666
- "4": "value",
6667
- "5": "wildcard_int",
6668
- "6": "operator",
6669
- "7": "command_operator",
6670
- "8": "target",
6671
- "10": "wildcard_target",
6672
- "17": "file_path",
6673
- "23": "integer_range",
6674
- "38": "equipment_slots",
6675
- "39": "string",
6676
- "47": "block_position",
6677
- "48": "position",
6678
- "51": "message",
6679
- "53": "raw_text",
6680
- "57": "json",
6681
- "67": "block_states",
6682
- "70": "command"
6683
- }
6684
- }
6685
- ]
6686
- },
6647
+ "container",
6648
+ [
6649
+ {
6650
+ "name": "parameters",
6651
+ "type": [
6652
+ "array",
6687
6653
  {
6688
- "name": "enum_type",
6654
+ "countType": "varint",
6689
6655
  "type": [
6690
- "mapper",
6691
- {
6692
- "type": "lu16",
6693
- "mappings": {
6694
- "16": "valid",
6695
- "32": "enum",
6696
- "256": "suffixed",
6697
- "1024": "soft_enum"
6656
+ "container",
6657
+ [
6658
+ {
6659
+ "name": "parameter_name",
6660
+ "type": "string"
6661
+ },
6662
+ {
6663
+ "name": "value_type",
6664
+ "type": [
6665
+ "mapper",
6666
+ {
6667
+ "type": "lu16",
6668
+ "mappings": {
6669
+ "1": "int",
6670
+ "3": "float",
6671
+ "4": "value",
6672
+ "5": "wildcard_int",
6673
+ "6": "operator",
6674
+ "7": "command_operator",
6675
+ "8": "target",
6676
+ "10": "wildcard_target",
6677
+ "17": "file_path",
6678
+ "23": "integer_range",
6679
+ "38": "equipment_slots",
6680
+ "39": "string",
6681
+ "47": "block_position",
6682
+ "48": "position",
6683
+ "51": "message",
6684
+ "53": "raw_text",
6685
+ "57": "json",
6686
+ "67": "block_states",
6687
+ "70": "command"
6688
+ }
6689
+ }
6690
+ ]
6691
+ },
6692
+ {
6693
+ "name": "enum_type",
6694
+ "type": [
6695
+ "mapper",
6696
+ {
6697
+ "type": "lu16",
6698
+ "mappings": {
6699
+ "16": "valid",
6700
+ "48": "enum",
6701
+ "256": "suffixed",
6702
+ "1040": "soft_enum"
6703
+ }
6704
+ }
6705
+ ]
6706
+ },
6707
+ {
6708
+ "name": "optional",
6709
+ "type": "bool"
6710
+ },
6711
+ {
6712
+ "name": "options",
6713
+ "type": "CommandFlags"
6698
6714
  }
6699
- }
6715
+ ]
6700
6716
  ]
6701
- },
6702
- {
6703
- "name": "optional",
6704
- "type": "bool"
6705
- },
6706
- {
6707
- "name": "options",
6708
- "type": "CommandFlags"
6709
6717
  }
6710
6718
  ]
6711
- ]
6712
- }
6719
+ }
6720
+ ]
6713
6721
  ]
6714
6722
  }
6715
6723
  ]
@@ -8725,7 +8733,7 @@
8725
8733
  [
8726
8734
  {
8727
8735
  "name": "position",
8728
- "type": "BlockCoordinates"
8736
+ "type": "vec3i"
8729
8737
  },
8730
8738
  {
8731
8739
  "name": "face",
@@ -8738,7 +8746,7 @@
8738
8746
  [
8739
8747
  {
8740
8748
  "name": "position",
8741
- "type": "BlockCoordinates"
8749
+ "type": "vec3i"
8742
8750
  },
8743
8751
  {
8744
8752
  "name": "face",
@@ -8751,7 +8759,7 @@
8751
8759
  [
8752
8760
  {
8753
8761
  "name": "position",
8754
- "type": "BlockCoordinates"
8762
+ "type": "vec3i"
8755
8763
  },
8756
8764
  {
8757
8765
  "name": "face",
@@ -8764,7 +8772,7 @@
8764
8772
  [
8765
8773
  {
8766
8774
  "name": "position",
8767
- "type": "BlockCoordinates"
8775
+ "type": "vec3i"
8768
8776
  },
8769
8777
  {
8770
8778
  "name": "face",
@@ -8777,7 +8785,7 @@
8777
8785
  [
8778
8786
  {
8779
8787
  "name": "position",
8780
- "type": "BlockCoordinates"
8788
+ "type": "vec3i"
8781
8789
  },
8782
8790
  {
8783
8791
  "name": "face",
@@ -480,10 +480,10 @@ TransactionUseItem:
480
480
  2: break_block
481
481
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
482
482
  # block position if ActionType is not UseItemActionClickAir.
483
- block_position: vec3i
483
+ block_position: BlockCoordinates
484
484
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
485
485
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
486
- face: varint
486
+ face: zigzag32
487
487
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
488
488
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
489
489
  hotbar_slot: varint
@@ -927,7 +927,7 @@ packet_entity_event:
927
927
  71: balloon_pop
928
928
  72: treasure_hunt
929
929
  73: agent_summon
930
- 74: charged_crossbow
930
+ 74: charged_item
931
931
  75: fall
932
932
  76: grow_up
933
933
  77: vibration_detected
@@ -1683,7 +1683,7 @@ packet_available_commands:
1683
1683
  # The list of overload parameters for this command
1684
1684
  overloads: []varint
1685
1685
  # Each of the parameters gets an array of posible overloads
1686
- _: []varint
1686
+ parameters: []varint
1687
1687
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1688
1688
  parameter_name: string
1689
1689
  value_type: lu16 =>
@@ -1709,9 +1709,9 @@ packet_available_commands:
1709
1709
  # In MC, this + prior field are combined to one 32bit bitfield
1710
1710
  enum_type: lu16 =>
1711
1711
  0x10: valid
1712
- 0x20: enum
1712
+ 0x30: enum
1713
1713
  0x100: suffixed
1714
- 0x400: soft_enum
1714
+ 0x410: soft_enum
1715
1715
  # Is this parameter required?
1716
1716
  optional: bool
1717
1717
  # Additinal options for this command (thanks macroshaft...)
@@ -2949,7 +2949,7 @@ packet_player_auth_input:
2949
2949
  if start_break or abort_break or crack_break or predict_break or continue_break:
2950
2950
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2951
2951
  # block. If that is not the case, the block position will be zero.
2952
- position: BlockCoordinates
2952
+ position: vec3i
2953
2953
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2954
2954
  # concerned a block. If not, the face is always 0.
2955
2955
  face: zigzag32