minecraft-data 3.2.0 → 3.5.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 (56) hide show
  1. package/.github/workflows/npm-publish.yml +5 -0
  2. package/data.js +53 -8
  3. package/doc/history.md +9 -0
  4. package/minecraft-data/.github/workflows/bedrock-ci.yml +1 -1
  5. package/minecraft-data/README.md +2 -2
  6. package/minecraft-data/data/bedrock/1.17.30/proto.yml +2 -2
  7. package/minecraft-data/data/bedrock/1.17.30/protocol.json +2 -2
  8. package/minecraft-data/data/bedrock/1.17.40/proto.yml +2 -2
  9. package/minecraft-data/data/bedrock/1.17.40/protocol.json +2 -2
  10. package/minecraft-data/data/bedrock/1.18.0/proto.yml +4 -4
  11. package/minecraft-data/data/bedrock/1.18.0/protocol.json +212 -202
  12. package/minecraft-data/data/bedrock/1.18.0/types.yml +110 -100
  13. package/minecraft-data/data/bedrock/1.18.11/proto.yml +4 -4
  14. package/minecraft-data/data/bedrock/1.18.11/protocol.json +215 -212
  15. package/minecraft-data/data/bedrock/1.18.11/types.yml +113 -110
  16. package/minecraft-data/data/bedrock/1.18.30/blockCollisionShapes.json +863 -0
  17. package/minecraft-data/data/bedrock/1.18.30/blockStates.json +164203 -0
  18. package/minecraft-data/data/bedrock/1.18.30/blocks.json +12829 -0
  19. package/minecraft-data/data/bedrock/1.18.30/blocksB2J.json +6846 -0
  20. package/minecraft-data/data/bedrock/1.18.30/blocksJ2B.json +20344 -0
  21. package/minecraft-data/data/bedrock/1.18.30/items.json +9679 -0
  22. package/minecraft-data/data/bedrock/1.18.30/proto.yml +3480 -0
  23. package/minecraft-data/data/bedrock/1.18.30/protocol.json +273 -268
  24. package/minecraft-data/data/bedrock/1.18.30/recipes.json +16771 -0
  25. package/minecraft-data/data/bedrock/1.18.30/types.yml +1860 -0
  26. package/minecraft-data/data/bedrock/1.19.1/protocol.json +10278 -0
  27. package/minecraft-data/data/bedrock/1.19.1/version.json +6 -0
  28. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  29. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  30. package/minecraft-data/data/bedrock/latest/proto.yml +122 -25
  31. package/minecraft-data/data/bedrock/latest/types.yml +151 -121
  32. package/minecraft-data/data/dataPaths.json +53 -8
  33. package/minecraft-data/data/pc/1.18/blockLoot.json +3783 -1868
  34. package/minecraft-data/data/pc/1.18/entityLoot.json +23 -2
  35. package/minecraft-data/data/pc/1.19/biomes.json +695 -0
  36. package/minecraft-data/data/pc/1.19/blockCollisionShapes.json +120584 -0
  37. package/minecraft-data/data/pc/1.19/blockLoot.json +12419 -0
  38. package/minecraft-data/data/pc/1.19/blocks.json +34097 -0
  39. package/minecraft-data/data/pc/1.19/effects.json +200 -0
  40. package/minecraft-data/data/pc/1.19/enchantments.json +875 -0
  41. package/minecraft-data/data/pc/1.19/entities.json +1182 -0
  42. package/minecraft-data/data/pc/1.19/entityLoot.json +1218 -0
  43. package/minecraft-data/data/pc/1.19/foods.json +402 -0
  44. package/minecraft-data/data/pc/1.19/instruments.json +66 -0
  45. package/minecraft-data/data/pc/1.19/items.json +7613 -0
  46. package/minecraft-data/data/pc/1.19/language.json +5338 -0
  47. package/minecraft-data/data/pc/1.19/materials.json +154 -0
  48. package/minecraft-data/data/pc/1.19/particles.json +374 -0
  49. package/minecraft-data/data/pc/1.19/tints.json +429 -0
  50. package/minecraft-data/data/pc/1.19/version.json +5 -0
  51. package/minecraft-data/data/pc/common/features.json +3 -3
  52. package/minecraft-data/data/pc/common/protocolVersions.json +42 -0
  53. package/minecraft-data/data/pc/common/versions.json +2 -1
  54. package/minecraft-data/doc/history.md +14 -0
  55. package/minecraft-data/schemas/biomes_schema.json +0 -1
  56. package/package.json +2 -2
@@ -36,6 +36,11 @@ jobs:
36
36
  draft: false
37
37
  prerelease: false
38
38
 
39
+ - name: Check if version has been updated
40
+ if: github.event_name != 'workflow_dispatch'
41
+ id: check
42
+ uses: EndBug/version-check@v1
43
+
39
44
  - name: "Trigger new GH Page creation in mcData repo"
40
45
  uses: peter-evans/repository-dispatch@v1
41
46
  if: steps.check.outputs.changed == 'true' || github.event_name == 'workflow_dispatch'
package/data.js CHANGED
@@ -1105,6 +1105,30 @@ module.exports =
1105
1105
  get loginPacket () { return require("./minecraft-data/data/pc/1.18.2/loginPacket.json") },
1106
1106
  get tints () { return require("./minecraft-data/data/pc/1.17/tints.json") },
1107
1107
  get mapIcons () { return require("./minecraft-data/data/pc/1.16/mapIcons.json") }
1108
+ },
1109
+ '1.19': {
1110
+ get attributes () { return require("./minecraft-data/data/pc/1.17/attributes.json") },
1111
+ get blocks () { return require("./minecraft-data/data/pc/1.19/blocks.json") },
1112
+ get blockCollisionShapes () { return require("./minecraft-data/data/pc/1.19/blockCollisionShapes.json") },
1113
+ get biomes () { return require("./minecraft-data/data/pc/1.19/biomes.json") },
1114
+ get effects () { return require("./minecraft-data/data/pc/1.19/effects.json") },
1115
+ get items () { return require("./minecraft-data/data/pc/1.19/items.json") },
1116
+ get enchantments () { return require("./minecraft-data/data/pc/1.19/enchantments.json") },
1117
+ get recipes () { return require("./minecraft-data/data/pc/1.18/recipes.json") },
1118
+ get instruments () { return require("./minecraft-data/data/pc/1.19/instruments.json") },
1119
+ get materials () { return require("./minecraft-data/data/pc/1.19/materials.json") },
1120
+ get language () { return require("./minecraft-data/data/pc/1.19/language.json") },
1121
+ get entities () { return require("./minecraft-data/data/pc/1.19/entities.json") },
1122
+ get protocol () { return require("./minecraft-data/data/pc/1.18.2/protocol.json") },
1123
+ get windows () { return require("./minecraft-data/data/pc/1.16.1/windows.json") },
1124
+ get version () { return require("./minecraft-data/data/pc/1.19/version.json") },
1125
+ get foods () { return require("./minecraft-data/data/pc/1.19/foods.json") },
1126
+ get particles () { return require("./minecraft-data/data/pc/1.19/particles.json") },
1127
+ get blockLoot () { return require("./minecraft-data/data/pc/1.19/blockLoot.json") },
1128
+ get entityLoot () { return require("./minecraft-data/data/pc/1.19/entityLoot.json") },
1129
+ get loginPacket () { return require("./minecraft-data/data/pc/1.18.2/loginPacket.json") },
1130
+ get tints () { return require("./minecraft-data/data/pc/1.19/tints.json") },
1131
+ get mapIcons () { return require("./minecraft-data/data/pc/1.16/mapIcons.json") }
1108
1132
  }
1109
1133
  },
1110
1134
  'bedrock': {
@@ -1281,13 +1305,13 @@ module.exports =
1281
1305
  get version () { return require("./minecraft-data/data/bedrock/1.18.11/version.json") }
1282
1306
  },
1283
1307
  '1.18.30': {
1284
- get blocks () { return require("./minecraft-data/data/bedrock/1.18.11/blocks.json") },
1285
- get blockStates () { return require("./minecraft-data/data/bedrock/1.18.11/blockStates.json") },
1286
- get blockCollisionShapes () { return require("./minecraft-data/data/bedrock/1.18.11/blockCollisionShapes.json") },
1308
+ get blocks () { return require("./minecraft-data/data/bedrock/1.18.30/blocks.json") },
1309
+ get blockStates () { return require("./minecraft-data/data/bedrock/1.18.30/blockStates.json") },
1310
+ get blockCollisionShapes () { return require("./minecraft-data/data/bedrock/1.18.30/blockCollisionShapes.json") },
1287
1311
  get biomes () { return require("./minecraft-data/data/bedrock/1.18.0/biomes.json") },
1288
1312
  get entities () { return require("./minecraft-data/data/bedrock/1.18.11/entities.json") },
1289
- get items () { return require("./minecraft-data/data/bedrock/1.18.11/items.json") },
1290
- get recipes () { return require("./minecraft-data/data/bedrock/1.18.11/recipes.json") },
1313
+ get items () { return require("./minecraft-data/data/bedrock/1.18.30/items.json") },
1314
+ get recipes () { return require("./minecraft-data/data/bedrock/1.18.30/recipes.json") },
1291
1315
  get instruments () { return require("./minecraft-data/data/bedrock/1.17.0/instruments.json") },
1292
1316
  get materials () { return require("./minecraft-data/data/pc/1.17/materials.json") },
1293
1317
  get enchantments () { return require("./minecraft-data/data/pc/1.17/enchantments.json") },
@@ -1295,11 +1319,32 @@ module.exports =
1295
1319
  get protocol () { return require("./minecraft-data/data/bedrock/1.18.30/protocol.json") },
1296
1320
  get windows () { return require("./minecraft-data/data/bedrock/1.16.201/windows.json") },
1297
1321
  get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
1298
- get blocksB2J () { return require("./minecraft-data/data/bedrock/1.18.11/blocksB2J.json") },
1299
- get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.18.11/blocksJ2B.json") },
1322
+ get blocksB2J () { return require("./minecraft-data/data/bedrock/1.18.30/blocksB2J.json") },
1323
+ get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.18.30/blocksJ2B.json") },
1324
+ proto: __dirname + '/minecraft-data/data/bedrock/1.18.30/proto.yml',
1325
+ types: __dirname + '/minecraft-data/data/bedrock/1.18.30/types.yml',
1326
+ get version () { return require("./minecraft-data/data/bedrock/1.18.30/version.json") }
1327
+ },
1328
+ '1.19.1': {
1329
+ get blocks () { return require("./minecraft-data/data/bedrock/1.18.30/blocks.json") },
1330
+ get blockStates () { return require("./minecraft-data/data/bedrock/1.18.30/blockStates.json") },
1331
+ get blockCollisionShapes () { return require("./minecraft-data/data/bedrock/1.18.30/blockCollisionShapes.json") },
1332
+ get biomes () { return require("./minecraft-data/data/bedrock/1.18.0/biomes.json") },
1333
+ get entities () { return require("./minecraft-data/data/bedrock/1.18.11/entities.json") },
1334
+ get items () { return require("./minecraft-data/data/bedrock/1.18.30/items.json") },
1335
+ get recipes () { return require("./minecraft-data/data/bedrock/1.18.30/recipes.json") },
1336
+ get instruments () { return require("./minecraft-data/data/bedrock/1.17.0/instruments.json") },
1337
+ get materials () { return require("./minecraft-data/data/pc/1.17/materials.json") },
1338
+ get enchantments () { return require("./minecraft-data/data/pc/1.17/enchantments.json") },
1339
+ get effects () { return require("./minecraft-data/data/pc/1.17/effects.json") },
1340
+ get protocol () { return require("./minecraft-data/data/bedrock/1.19.1/protocol.json") },
1341
+ get windows () { return require("./minecraft-data/data/bedrock/1.16.201/windows.json") },
1342
+ get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
1343
+ get blocksB2J () { return require("./minecraft-data/data/bedrock/1.18.30/blocksB2J.json") },
1344
+ get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.18.30/blocksJ2B.json") },
1300
1345
  proto: __dirname + '/minecraft-data/data/bedrock/latest/proto.yml',
1301
1346
  types: __dirname + '/minecraft-data/data/bedrock/latest/types.yml',
1302
- get version () { return require("./minecraft-data/data/bedrock/1.18.11/version.json") }
1347
+ get version () { return require("./minecraft-data/data/bedrock/1.19.1/version.json") }
1303
1348
  }
1304
1349
  }
1305
1350
  }
package/doc/history.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 3.5.0
2
+ * update mcdata
3
+
4
+ ## 3.4.0
5
+ * update mcdata
6
+
7
+ ## 3.3.0
8
+ * update mcdata
9
+
1
10
  ## 3.2.0
2
11
  * update mcdata
3
12
 
@@ -9,7 +9,7 @@ on:
9
9
  jobs:
10
10
  build:
11
11
  runs-on: ubuntu-latest
12
- timeout-minutes: 10
12
+ timeout-minutes: 12
13
13
 
14
14
  steps:
15
15
  - name: Use Node.js 14.x
@@ -9,8 +9,8 @@ Language independent module providing minecraft data for minecraft clients, serv
9
9
 
10
10
  Supports
11
11
  * Minecraft PC version 0.30c (classic), 1.7.10, 1.8.8, 1.9 (15w40b, 1.9, 1.9.1-pre2, 1.9.2, 1.9.4),
12
- 1.10 (16w20a, 1.10-pre1, 1.10, 1.10.1, 1.10.2), 1.11 (16w35a, 1.11, 1.11.2), 1.12 (17w15a, 17w18b, 1.12-pre4, 1.12, 1.12.1, 1.12.2), 1.13 (17w50a, 1.13, 1.13.1, 1.13.2-pre1, 1.13.2-pre2, 1.13.2), 1.14 (1.14, 1.14.1, 1.14.3, 1.14.4), 1.15 (1.15, 1.15.1, 1.15.2), 1.16 (20w13b, 20w14a, 1.16-rc1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5), 1.17, 1.17.1, 1.18 (1.18, 1.18.1, 1.18.2)
13
- * Minecraft bedrock version 0.14, 0.15, 1.0, 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30
12
+ 1.10 (16w20a, 1.10-pre1, 1.10, 1.10.1, 1.10.2), 1.11 (16w35a, 1.11, 1.11.2), 1.12 (17w15a, 17w18b, 1.12-pre4, 1.12, 1.12.1, 1.12.2), 1.13 (17w50a, 1.13, 1.13.1, 1.13.2-pre1, 1.13.2-pre2, 1.13.2), 1.14 (1.14, 1.14.1, 1.14.3, 1.14.4), 1.15 (1.15, 1.15.1, 1.15.2), 1.16 (20w13b, 20w14a, 1.16-rc1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5), 1.17, 1.17.1, 1.18 (1.18, 1.18.1, 1.18.2), 1.19
13
+ * Minecraft bedrock version 0.14, 0.15, 1.0, 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1
14
14
 
15
15
  ## Wrappers
16
16
 
@@ -2121,7 +2121,7 @@ packet_photo_transfer:
2121
2121
  # SourceType is the source photo type. It is one of the three photo types above.
2122
2122
  source_type: u8
2123
2123
  # OwnerEntityUniqueID is the entity unique ID of the photo's owner.
2124
- owner_entity_unique_id: i64
2124
+ owner_entity_unique_id: li64
2125
2125
  # NewPhotoName is the new name of the photo.
2126
2126
  new_photo_name: string
2127
2127
 
@@ -3241,7 +3241,7 @@ packet_edu_uri_resource_packet:
3241
3241
  packet_create_photo:
3242
3242
  !id: 0xab
3243
3243
  # EntityUniqueID is the unique ID of the entity.
3244
- entity_unique_id: i64
3244
+ entity_unique_id: li64
3245
3245
  # PhotoName is the name of the photo.
3246
3246
  photo_name: string
3247
3247
  # ItemName is the name of the photo as an item.
@@ -7283,7 +7283,7 @@
7283
7283
  },
7284
7284
  {
7285
7285
  "name": "owner_entity_unique_id",
7286
- "type": "i64"
7286
+ "type": "li64"
7287
7287
  },
7288
7288
  {
7289
7289
  "name": "new_photo_name",
@@ -9071,7 +9071,7 @@
9071
9071
  [
9072
9072
  {
9073
9073
  "name": "entity_unique_id",
9074
- "type": "i64"
9074
+ "type": "li64"
9075
9075
  },
9076
9076
  {
9077
9077
  "name": "photo_name",
@@ -2121,7 +2121,7 @@ packet_photo_transfer:
2121
2121
  # SourceType is the source photo type. It is one of the three photo types above.
2122
2122
  source_type: u8
2123
2123
  # OwnerEntityUniqueID is the entity unique ID of the photo's owner.
2124
- owner_entity_unique_id: i64
2124
+ owner_entity_unique_id: li64
2125
2125
  # NewPhotoName is the new name of the photo.
2126
2126
  new_photo_name: string
2127
2127
 
@@ -3241,7 +3241,7 @@ packet_edu_uri_resource_packet:
3241
3241
  packet_create_photo:
3242
3242
  !id: 0xab
3243
3243
  # EntityUniqueID is the unique ID of the entity.
3244
- entity_unique_id: i64
3244
+ entity_unique_id: li64
3245
3245
  # PhotoName is the name of the photo.
3246
3246
  photo_name: string
3247
3247
  # ItemName is the name of the photo as an item.
@@ -7284,7 +7284,7 @@
7284
7284
  },
7285
7285
  {
7286
7286
  "name": "owner_entity_unique_id",
7287
- "type": "i64"
7287
+ "type": "li64"
7288
7288
  },
7289
7289
  {
7290
7290
  "name": "new_photo_name",
@@ -9072,7 +9072,7 @@
9072
9072
  [
9073
9073
  {
9074
9074
  "name": "entity_unique_id",
9075
- "type": "i64"
9075
+ "type": "li64"
9076
9076
  },
9077
9077
  {
9078
9078
  "name": "photo_name",
@@ -1139,9 +1139,9 @@ packet_crafting_data:
1139
1139
  # PotionContainerChangeRecipes is a list of all recipes to convert a potion from one type to another,
1140
1140
  # such as from a drinkable potion to a splash potion, or from a splash potion to a lingering potion.
1141
1141
  potion_type_recipes: PotionTypeRecipes
1142
+ potion_container_recipes: PotionContainerChangeRecipes
1142
1143
  # MaterialReducers is a list of all material reducers which is used in education edition chemistry.
1143
1144
  material_reducers: MaterialReducer[]varint
1144
- potion_container_recipes: PotionContainerChangeRecipes
1145
1145
  # ClearRecipes indicates if all recipes currently active on the client should be cleaned. Doing this
1146
1146
  # means that the client will have no recipes active by itself: Any CraftingData packets previously sent
1147
1147
  # will also be discarded, and only the recipes in this CraftingData packet will be used.
@@ -2128,7 +2128,7 @@ packet_photo_transfer:
2128
2128
  # SourceType is the source photo type. It is one of the three photo types above.
2129
2129
  source_type: u8
2130
2130
  # OwnerEntityUniqueID is the entity unique ID of the photo's owner.
2131
- owner_entity_unique_id: i64
2131
+ owner_entity_unique_id: li64
2132
2132
  # NewPhotoName is the new name of the photo.
2133
2133
  new_photo_name: string
2134
2134
 
@@ -3091,7 +3091,7 @@ packet_animate_entity:
3091
3091
  # StopCondition is a MoLang expression that specifies when the animation should be stopped.
3092
3092
  stop_condition: string
3093
3093
  # StopConditionVersion is the MoLang stop condition version.
3094
- stop_condition_version: li64
3094
+ stop_condition_version: li32
3095
3095
  # Controller is the animation controller that is used to manage animations. These controllers decide when
3096
3096
  # to play which animation.
3097
3097
  controller: string
@@ -3249,7 +3249,7 @@ packet_edu_uri_resource_packet:
3249
3249
  packet_create_photo:
3250
3250
  !id: 0xab
3251
3251
  # EntityUniqueID is the unique ID of the entity.
3252
- entity_unique_id: i64
3252
+ entity_unique_id: li64
3253
3253
  # PhotoName is the name of the photo.
3254
3254
  photo_name: string
3255
3255
  # ItemName is the name of the photo as an item.