minecraft-data 3.40.0 → 3.42.1

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 (127) hide show
  1. package/data.js +82 -38
  2. package/doc/history.md +8 -0
  3. package/index.d.ts +24 -15
  4. package/minecraft-data/data/bedrock/1.16.201/attributes.json +107 -0
  5. package/minecraft-data/data/bedrock/1.16.201/language.json +8519 -0
  6. package/minecraft-data/data/bedrock/1.16.201/proto.yml +3 -3
  7. package/minecraft-data/data/bedrock/1.16.201/protocol.json +62 -54
  8. package/minecraft-data/data/bedrock/1.16.210/language.json +8529 -0
  9. package/minecraft-data/data/bedrock/1.16.210/proto.yml +4 -4
  10. package/minecraft-data/data/bedrock/1.16.210/protocol.json +62 -54
  11. package/minecraft-data/data/bedrock/1.16.220/language.json +8555 -0
  12. package/minecraft-data/data/bedrock/1.16.220/proto.yml +4 -4
  13. package/minecraft-data/data/bedrock/1.16.220/protocol.json +63 -55
  14. package/minecraft-data/data/bedrock/1.16.220/types.yml +1 -1
  15. package/minecraft-data/data/bedrock/1.17.0/language.json +8804 -0
  16. package/minecraft-data/data/bedrock/1.17.0/proto.yml +3 -3
  17. package/minecraft-data/data/bedrock/1.17.0/protocol.json +63 -55
  18. package/minecraft-data/data/bedrock/1.17.0/types.yml +1 -1
  19. package/minecraft-data/data/bedrock/1.17.10/language.json +8924 -0
  20. package/minecraft-data/data/bedrock/1.17.10/proto.yml +4 -4
  21. package/minecraft-data/data/bedrock/1.17.10/protocol.json +63 -55
  22. package/minecraft-data/data/bedrock/1.17.10/types.yml +1 -1
  23. package/minecraft-data/data/bedrock/1.17.30/language.json +9110 -0
  24. package/minecraft-data/data/bedrock/1.17.30/proto.yml +8 -7
  25. package/minecraft-data/data/bedrock/1.17.30/protocol.json +82 -56
  26. package/minecraft-data/data/bedrock/1.17.30/types.yml +1 -1
  27. package/minecraft-data/data/bedrock/1.17.40/language.json +9122 -0
  28. package/minecraft-data/data/bedrock/1.17.40/proto.yml +7 -6
  29. package/minecraft-data/data/bedrock/1.17.40/protocol.json +82 -56
  30. package/minecraft-data/data/bedrock/1.17.40/types.yml +1 -1
  31. package/minecraft-data/data/bedrock/1.18.0/language.json +9208 -0
  32. package/minecraft-data/data/bedrock/1.18.0/proto.yml +8 -7
  33. package/minecraft-data/data/bedrock/1.18.0/protocol.json +82 -56
  34. package/minecraft-data/data/bedrock/1.18.0/types.yml +1 -1
  35. package/minecraft-data/data/bedrock/1.18.11/language.json +9408 -0
  36. package/minecraft-data/data/bedrock/1.18.11/proto.yml +8 -7
  37. package/minecraft-data/data/bedrock/1.18.11/protocol.json +82 -56
  38. package/minecraft-data/data/bedrock/1.18.11/types.yml +1 -1
  39. package/minecraft-data/data/bedrock/1.18.30/language.json +9539 -0
  40. package/minecraft-data/data/bedrock/1.18.30/proto.yml +8 -7
  41. package/minecraft-data/data/bedrock/1.18.30/protocol.json +84 -58
  42. package/minecraft-data/data/bedrock/1.18.30/types.yml +1 -1
  43. package/minecraft-data/data/bedrock/1.19.1/language.json +9739 -0
  44. package/minecraft-data/data/bedrock/1.19.1/proto.yml +7 -6
  45. package/minecraft-data/data/bedrock/1.19.1/protocol.json +88 -62
  46. package/minecraft-data/data/bedrock/1.19.1/types.yml +1 -1
  47. package/minecraft-data/data/bedrock/1.19.10/language.json +9360 -0
  48. package/minecraft-data/data/bedrock/1.19.10/proto.yml +7 -6
  49. package/minecraft-data/data/bedrock/1.19.10/protocol.json +88 -62
  50. package/minecraft-data/data/bedrock/1.19.10/types.yml +1 -1
  51. package/minecraft-data/data/bedrock/1.19.20/language.json +9404 -0
  52. package/minecraft-data/data/bedrock/1.19.20/proto.yml +7 -6
  53. package/minecraft-data/data/bedrock/1.19.20/protocol.json +88 -62
  54. package/minecraft-data/data/bedrock/1.19.20/types.yml +1 -1
  55. package/minecraft-data/data/bedrock/1.19.21/proto.yml +7 -6
  56. package/minecraft-data/data/bedrock/1.19.21/protocol.json +88 -62
  57. package/minecraft-data/data/bedrock/1.19.21/types.yml +1 -1
  58. package/minecraft-data/data/bedrock/1.19.30/language.json +9462 -0
  59. package/minecraft-data/data/bedrock/1.19.30/proto.yml +7 -6
  60. package/minecraft-data/data/bedrock/1.19.30/protocol.json +88 -62
  61. package/minecraft-data/data/bedrock/1.19.30/types.yml +1 -1
  62. package/minecraft-data/data/bedrock/1.19.40/language.json +9471 -0
  63. package/minecraft-data/data/bedrock/1.19.40/proto.yml +7 -6
  64. package/minecraft-data/data/bedrock/1.19.40/protocol.json +88 -62
  65. package/minecraft-data/data/bedrock/1.19.40/types.yml +1 -1
  66. package/minecraft-data/data/bedrock/1.19.50/language.json +9489 -0
  67. package/minecraft-data/data/bedrock/1.19.50/proto.yml +8 -7
  68. package/minecraft-data/data/bedrock/1.19.50/protocol.json +88 -62
  69. package/minecraft-data/data/bedrock/1.19.50/types.yml +1 -1
  70. package/minecraft-data/data/bedrock/1.19.60/language.json +9544 -0
  71. package/minecraft-data/data/bedrock/1.19.60/proto.yml +8 -7
  72. package/minecraft-data/data/bedrock/1.19.60/protocol.json +88 -62
  73. package/minecraft-data/data/bedrock/1.19.60/types.yml +1 -1
  74. package/minecraft-data/data/bedrock/1.19.62/proto.yml +8 -7
  75. package/minecraft-data/data/bedrock/1.19.62/protocol.json +88 -62
  76. package/minecraft-data/data/bedrock/1.19.62/types.yml +1 -1
  77. package/minecraft-data/data/bedrock/1.19.70/language.json +9597 -0
  78. package/minecraft-data/data/bedrock/1.19.70/proto.yml +7 -6
  79. package/minecraft-data/data/bedrock/1.19.70/protocol.json +88 -62
  80. package/minecraft-data/data/bedrock/1.19.70/types.yml +1 -1
  81. package/minecraft-data/data/bedrock/1.19.80/language.json +9649 -0
  82. package/minecraft-data/data/bedrock/1.19.80/proto.yml +8 -7
  83. package/minecraft-data/data/bedrock/1.19.80/protocol.json +88 -62
  84. package/minecraft-data/data/bedrock/1.19.80/types.yml +1 -1
  85. package/minecraft-data/data/bedrock/1.20.0/biomes.json +1073 -0
  86. package/minecraft-data/data/bedrock/1.20.0/blockCollisionShapes.json +1015 -0
  87. package/minecraft-data/data/bedrock/1.20.0/blockStates.json +266796 -0
  88. package/minecraft-data/data/bedrock/1.20.0/blocks.json +15070 -0
  89. package/minecraft-data/data/bedrock/1.20.0/blocksB2J.json +8203 -0
  90. package/minecraft-data/data/bedrock/1.20.0/blocksJ2B.json +24137 -0
  91. package/minecraft-data/data/bedrock/1.20.0/items.json +10482 -0
  92. package/minecraft-data/data/bedrock/1.20.0/language.json +9858 -0
  93. package/minecraft-data/data/bedrock/1.20.0/proto.yml +8 -7
  94. package/minecraft-data/data/bedrock/1.20.0/protocol.json +88 -62
  95. package/minecraft-data/data/bedrock/1.20.0/types.yml +1 -1
  96. package/minecraft-data/data/bedrock/1.20.10/language.json +9904 -0
  97. package/minecraft-data/data/bedrock/1.20.10/protocol.json +23 -5
  98. package/minecraft-data/data/bedrock/common/features.json +5 -0
  99. package/minecraft-data/data/bedrock/latest/proto.yml +7 -6
  100. package/minecraft-data/data/bedrock/latest/types.yml +1 -1
  101. package/minecraft-data/data/dataPaths.json +83 -39
  102. package/minecraft-data/data/pc/1.10/attributes.json +53 -14
  103. package/minecraft-data/data/pc/1.11/attributes.json +53 -14
  104. package/minecraft-data/data/pc/1.12/attributes.json +53 -14
  105. package/minecraft-data/data/pc/1.13/attributes.json +53 -14
  106. package/minecraft-data/data/pc/1.14/attributes.json +53 -14
  107. package/minecraft-data/data/pc/1.15/attributes.json +53 -14
  108. package/minecraft-data/data/pc/1.16/attributes.json +53 -14
  109. package/minecraft-data/data/pc/1.17/attributes.json +53 -14
  110. package/minecraft-data/data/pc/1.19/protocol.json +13 -8
  111. package/minecraft-data/data/pc/1.19.2/protocol.json +13 -8
  112. package/minecraft-data/data/pc/1.19.3/protocol.json +14 -8
  113. package/minecraft-data/data/pc/1.19.4/protocol.json +19 -17
  114. package/minecraft-data/data/pc/1.20/protocol.json +22 -20
  115. package/minecraft-data/data/pc/1.7/attributes.json +28 -7
  116. package/minecraft-data/data/pc/1.8/attributes.json +49 -13
  117. package/minecraft-data/data/pc/1.9/attributes.json +53 -14
  118. package/minecraft-data/data/pc/common/features.json +5 -0
  119. package/minecraft-data/doc/bedrock.md +3 -1
  120. package/minecraft-data/doc/history.md +18 -0
  121. package/minecraft-data/schemas/attributes_schema.json +13 -1
  122. package/minecraft-data/schemas/blockLoot_schema.json +5 -2
  123. package/minecraft-data/schemas/entityLoot_schema.json +5 -2
  124. package/minecraft-data/schemas/language_schema.json +2 -2
  125. package/minecraft-data/schemas/particles_schema.json +3 -1
  126. package/package.json +2 -2
  127. package/typings/index-template.d.ts +3 -5
@@ -1734,7 +1734,7 @@ packet_available_commands:
1734
1734
  # The list of overload parameters for this command
1735
1735
  overloads: []varint
1736
1736
  # Each of the parameters gets an array of posible overloads
1737
- _: []varint
1737
+ parameters: []varint
1738
1738
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1739
1739
  parameter_name: string
1740
1740
  value_type: lu16 =>
@@ -1760,9 +1760,9 @@ packet_available_commands:
1760
1760
  # In MC, this + prior field are combined to one 32bit bitfield
1761
1761
  enum_type: lu16 =>
1762
1762
  0x10: valid
1763
- 0x20: enum
1763
+ 0x30: enum
1764
1764
  0x100: suffixed
1765
- 0x400: soft_enum
1765
+ 0x410: soft_enum
1766
1766
  # Is this parameter required?
1767
1767
  optional: bool
1768
1768
  # Additinal options for this command (thanks macroshaft...)
@@ -2860,9 +2860,10 @@ packet_education_settings:
2860
2860
  HasQuiz: bool
2861
2861
  has_external_link_settings: bool
2862
2862
  external_link_settings: has_external_link_settings ?
2863
- has: bool
2864
- url: string
2865
- display_name: string
2863
+ if true:
2864
+ has: bool
2865
+ url: string
2866
+ display_name: string
2866
2867
 
2867
2868
  # Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
2868
2869
  # the server, after which the server will broadcast the packet to other players online.
@@ -3958,4 +3959,4 @@ packet_open_sign:
3958
3959
  !id: 0x12f
3959
3960
  !bound: client
3960
3961
  position: BlockCoordinates
3961
- is_front: bool
3962
+ is_front: bool
@@ -1041,7 +1041,7 @@
1041
1041
  },
1042
1042
  {
1043
1043
  "name": "hotbar_slot",
1044
- "type": "varint"
1044
+ "type": "zigzag32"
1045
1045
  },
1046
1046
  {
1047
1047
  "name": "held_item",
@@ -7133,72 +7133,80 @@
7133
7133
  {
7134
7134
  "countType": "varint",
7135
7135
  "type": [
7136
- "array",
7137
- {
7138
- "countType": "varint",
7139
- "type": [
7140
- "container",
7141
- [
7142
- {
7143
- "name": "parameter_name",
7144
- "type": "string"
7145
- },
7146
- {
7147
- "name": "value_type",
7148
- "type": [
7149
- "mapper",
7150
- {
7151
- "type": "lu16",
7152
- "mappings": {
7153
- "1": "int",
7154
- "3": "float",
7155
- "4": "value",
7156
- "5": "wildcard_int",
7157
- "6": "operator",
7158
- "7": "command_operator",
7159
- "8": "target",
7160
- "10": "wildcard_target",
7161
- "17": "file_path",
7162
- "23": "integer_range",
7163
- "43": "equipment_slots",
7164
- "44": "string",
7165
- "52": "block_position",
7166
- "53": "position",
7167
- "55": "message",
7168
- "58": "raw_text",
7169
- "62": "json",
7170
- "71": "block_states",
7171
- "74": "command"
7172
- }
7173
- }
7174
- ]
7175
- },
7136
+ "container",
7137
+ [
7138
+ {
7139
+ "name": "parameters",
7140
+ "type": [
7141
+ "array",
7176
7142
  {
7177
- "name": "enum_type",
7143
+ "countType": "varint",
7178
7144
  "type": [
7179
- "mapper",
7180
- {
7181
- "type": "lu16",
7182
- "mappings": {
7183
- "16": "valid",
7184
- "32": "enum",
7185
- "256": "suffixed",
7186
- "1024": "soft_enum"
7145
+ "container",
7146
+ [
7147
+ {
7148
+ "name": "parameter_name",
7149
+ "type": "string"
7150
+ },
7151
+ {
7152
+ "name": "value_type",
7153
+ "type": [
7154
+ "mapper",
7155
+ {
7156
+ "type": "lu16",
7157
+ "mappings": {
7158
+ "1": "int",
7159
+ "3": "float",
7160
+ "4": "value",
7161
+ "5": "wildcard_int",
7162
+ "6": "operator",
7163
+ "7": "command_operator",
7164
+ "8": "target",
7165
+ "10": "wildcard_target",
7166
+ "17": "file_path",
7167
+ "23": "integer_range",
7168
+ "43": "equipment_slots",
7169
+ "44": "string",
7170
+ "52": "block_position",
7171
+ "53": "position",
7172
+ "55": "message",
7173
+ "58": "raw_text",
7174
+ "62": "json",
7175
+ "71": "block_states",
7176
+ "74": "command"
7177
+ }
7178
+ }
7179
+ ]
7180
+ },
7181
+ {
7182
+ "name": "enum_type",
7183
+ "type": [
7184
+ "mapper",
7185
+ {
7186
+ "type": "lu16",
7187
+ "mappings": {
7188
+ "16": "valid",
7189
+ "48": "enum",
7190
+ "256": "suffixed",
7191
+ "1040": "soft_enum"
7192
+ }
7193
+ }
7194
+ ]
7195
+ },
7196
+ {
7197
+ "name": "optional",
7198
+ "type": "bool"
7199
+ },
7200
+ {
7201
+ "name": "options",
7202
+ "type": "CommandFlags"
7187
7203
  }
7188
- }
7204
+ ]
7189
7205
  ]
7190
- },
7191
- {
7192
- "name": "optional",
7193
- "type": "bool"
7194
- },
7195
- {
7196
- "name": "options",
7197
- "type": "CommandFlags"
7198
7206
  }
7199
7207
  ]
7200
- ]
7201
- }
7208
+ }
7209
+ ]
7202
7210
  ]
7203
7211
  }
7204
7212
  ]
@@ -9009,7 +9017,25 @@
9009
9017
  "switch",
9010
9018
  {
9011
9019
  "compareTo": "has_external_link_settings",
9012
- "fields": {},
9020
+ "fields": {
9021
+ "true": [
9022
+ "container",
9023
+ [
9024
+ {
9025
+ "name": "has",
9026
+ "type": "bool"
9027
+ },
9028
+ {
9029
+ "name": "url",
9030
+ "type": "string"
9031
+ },
9032
+ {
9033
+ "name": "display_name",
9034
+ "type": "string"
9035
+ }
9036
+ ]
9037
+ ]
9038
+ },
9013
9039
  "default": "void"
9014
9040
  }
9015
9041
  ]
@@ -512,7 +512,7 @@ TransactionUseItem:
512
512
  face: zigzag32
513
513
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
514
514
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
515
- hotbar_slot: varint
515
+ hotbar_slot: zigzag32
516
516
  # HeldItem is the item that was held to interact with the block. The server should check if this item
517
517
  # is actually present in the HotBarSlot.
518
518
  held_item: Item