minecraft-data 3.3.0 → 3.5.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 (48) hide show
  1. package/.github/workflows/npm-publish.yml +1 -1
  2. package/data.js +46 -1
  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 +2 -2
  11. package/minecraft-data/data/bedrock/1.18.0/protocol.json +204 -194
  12. package/minecraft-data/data/bedrock/1.18.0/types.yml +107 -97
  13. package/minecraft-data/data/bedrock/1.18.11/proto.yml +2 -2
  14. package/minecraft-data/data/bedrock/1.18.11/protocol.json +207 -204
  15. package/minecraft-data/data/bedrock/1.18.11/types.yml +110 -107
  16. package/minecraft-data/data/bedrock/1.18.30/proto.yml +3480 -0
  17. package/minecraft-data/data/bedrock/1.18.30/protocol.json +265 -260
  18. package/minecraft-data/data/bedrock/1.18.30/types.yml +1860 -0
  19. package/minecraft-data/data/bedrock/1.19.1/protocol.json +10278 -0
  20. package/minecraft-data/data/bedrock/1.19.1/version.json +6 -0
  21. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  22. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  23. package/minecraft-data/data/bedrock/latest/proto.yml +120 -23
  24. package/minecraft-data/data/bedrock/latest/types.yml +148 -118
  25. package/minecraft-data/data/dataPaths.json +46 -1
  26. package/minecraft-data/data/pc/1.18/blockLoot.json +3783 -1868
  27. package/minecraft-data/data/pc/1.18/entityLoot.json +23 -2
  28. package/minecraft-data/data/pc/1.19/biomes.json +695 -0
  29. package/minecraft-data/data/pc/1.19/blockCollisionShapes.json +120584 -0
  30. package/minecraft-data/data/pc/1.19/blockLoot.json +12419 -0
  31. package/minecraft-data/data/pc/1.19/blocks.json +34097 -0
  32. package/minecraft-data/data/pc/1.19/effects.json +200 -0
  33. package/minecraft-data/data/pc/1.19/enchantments.json +875 -0
  34. package/minecraft-data/data/pc/1.19/entities.json +1182 -0
  35. package/minecraft-data/data/pc/1.19/entityLoot.json +1218 -0
  36. package/minecraft-data/data/pc/1.19/foods.json +402 -0
  37. package/minecraft-data/data/pc/1.19/instruments.json +66 -0
  38. package/minecraft-data/data/pc/1.19/items.json +7613 -0
  39. package/minecraft-data/data/pc/1.19/language.json +5338 -0
  40. package/minecraft-data/data/pc/1.19/materials.json +154 -0
  41. package/minecraft-data/data/pc/1.19/particles.json +374 -0
  42. package/minecraft-data/data/pc/1.19/tints.json +429 -0
  43. package/minecraft-data/data/pc/1.19/version.json +5 -0
  44. package/minecraft-data/data/pc/common/protocolVersions.json +28 -0
  45. package/minecraft-data/data/pc/common/versions.json +2 -1
  46. package/minecraft-data/doc/history.md +10 -0
  47. package/minecraft-data/schemas/biomes_schema.json +0 -1
  48. package/package.json +2 -2
@@ -38,7 +38,7 @@ jobs:
38
38
 
39
39
  - name: "Trigger new GH Page creation in mcData repo"
40
40
  uses: peter-evans/repository-dispatch@v1
41
- if: steps.check.outputs.changed == 'true' || github.event_name == 'workflow_dispatch'
41
+ if: steps.publish.outputs.type != 'none' || github.event_name == 'workflow_dispatch'
42
42
  with:
43
43
  token: ${{ secrets.PAT_PASSWORD }}
44
44
  repository: PrismarineJS/minecraft-data
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': {
@@ -1297,9 +1321,30 @@ module.exports =
1297
1321
  get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
1298
1322
  get blocksB2J () { return require("./minecraft-data/data/bedrock/1.18.30/blocksB2J.json") },
1299
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.1
2
+ * update mcdata
3
+
4
+ ## 3.5.0
5
+ * update mcdata
6
+
7
+ ## 3.4.0
8
+ * update mcdata
9
+
1
10
  ## 3.3.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",
@@ -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
 
@@ -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.