minecraft-data 3.72.0 → 3.74.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.
package/data.js CHANGED
@@ -1432,7 +1432,7 @@ module.exports =
1432
1432
  get effects () { return require("./minecraft-data/data/pc/1.20.5/effects.json") },
1433
1433
  get items () { return require("./minecraft-data/data/pc/1.20.5/items.json") },
1434
1434
  get enchantments () { return require("./minecraft-data/data/pc/1.20.5/enchantments.json") },
1435
- get recipes () { return require("./minecraft-data/data/pc/1.20.3/recipes.json") },
1435
+ get recipes () { return require("./minecraft-data/data/pc/1.20.5/recipes.json") },
1436
1436
  get instruments () { return require("./minecraft-data/data/pc/1.20.5/instruments.json") },
1437
1437
  get materials () { return require("./minecraft-data/data/pc/1.20.5/materials.json") },
1438
1438
  get language () { return require("./minecraft-data/data/pc/1.20.5/language.json") },
package/doc/history.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # History
2
2
 
3
+ ## 3.74.0
4
+
5
+ * update `minecraft-data`
6
+
3
7
  ## 3.72.0
4
8
 
5
9
  * update `minecraft-data`
@@ -1431,7 +1431,7 @@
1431
1431
  "effects": "pc/1.20.5",
1432
1432
  "items": "pc/1.20.5",
1433
1433
  "enchantments": "pc/1.20.5",
1434
- "recipes": "pc/1.20.3",
1434
+ "recipes": "pc/1.20.5",
1435
1435
  "instruments": "pc/1.20.5",
1436
1436
  "materials": "pc/1.20.5",
1437
1437
  "language": "pc/1.20.5",
@@ -57,5 +57,6 @@
57
57
  "1.20.2",
58
58
  "1.20.3",
59
59
  "1.20.4",
60
- "1.20.5"
60
+ "1.20.5",
61
+ "1.20.6"
61
62
  ]
@@ -1,3 +1,9 @@
1
+ ## 3.74.0
2
+ * [update recipes for 1.20.6](https://github.com/PrismarineJS/minecraft-data/commit/636d3a7e027e75ab1deeb4cd214b73306a836473) (thanks @rom1504)
3
+
4
+ ## 3.73.0
5
+ * [add missing 1.20.6 in versions.json](https://github.com/PrismarineJS/minecraft-data/commit/214ae40d2d2c383cf5ef5050529be1693961930b) (thanks @rom1504)
6
+
1
7
  ## 3.72.0
2
8
  * [Add 1.20.6 support assuming no change from 1.20.5.](https://github.com/PrismarineJS/minecraft-data/commit/9e9e84df7890b1a59f2f074fb1b0c0eb0885ca74) (thanks @rom1504)
3
9
 
@@ -127,7 +127,7 @@ require('./version_iterator')(function (p, versionString) {
127
127
  const recipe = recipes[craftingTable.id]
128
128
  if (!recipe[0]) return
129
129
  // remove the if after fixing https://github.com/PrismarineJS/minecraft-data/issues/917
130
- if (versionString !== 'pc 1.20.5') {
130
+ if (versionString !== 'pc 1.20.5' && versionString !== 'pc 1.20.6') {
131
131
  assert.notEqual(recipe.length, 1) // Check that crafting table has multiple recipes.
132
132
  }
133
133
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "3.72.0",
3
+ "version": "3.74.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",