minecraft-data
Advanced tools
Comparing version 3.61.2 to 3.62.0
# History | ||
## 3.62.0 | ||
* update `minecraft-data` | ||
## 3.61.2 | ||
@@ -4,0 +8,0 @@ |
@@ -11,3 +11,3 @@ # How to add data for a new version ? | ||
| entities.json | Yes | Use [minecraft-data-generator-server][2] and run `extractPcEntityMetadata.js` script in tools/js to generate entity metadata in entities.json and protocol.json | | ||
| recipes.json | Yes | Use [minecraft-data-generator-server][2] | Make sure that `-1` in output are replaced with `null` | | ||
| recipes.json | Yes | Use [Burger][12], then use [burger-extractor][13] | should eventually be changed to native data generators | | ||
| blockCollisionShapes.json | Yes | Use [minecraft-data-generator-server][2] | | ||
@@ -48,1 +48,3 @@ | commands.json | No? |Use [mc-data-command-generator][3] | Link to jar files have to be manually added | | ||
[11]: https://github.com/PrismarineJS/minecraft-jar-extractor | ||
[12]: https://github.com/Pokechu22/Burger | ||
[13]: https://github.com/PrismarineJS/burger-extractor |
@@ -0,1 +1,4 @@ | ||
## 3.62.0 | ||
* [Fix 1.20.2 and 1.20.3 Recipes, change docs to say to use Burger inste… (#843)](https://github.com/PrismarineJS/minecraft-data/commit/d47396ed1e8962fa0310bb603fc3ff4a4521b4f4) (thanks @wgaylord) | ||
## 3.61.2 | ||
@@ -2,0 +5,0 @@ * [Add style to command param type enum in pc 1.20.3 protocol (#850)](https://github.com/PrismarineJS/minecraft-data/commit/4acaa9bd255951873eb11b12aca15a1079680d67) (thanks @extremeheat) |
@@ -120,3 +120,15 @@ /* eslint-env mocha */ | ||
}) | ||
it('crafting benches has multiple recipes', () => { | ||
const recipes = getIfExist(path.join(p, 'recipes.json')) | ||
const items = getIfExist(path.join(p, 'items.json')) | ||
if (recipes && items) { | ||
const craftingTable = items.find(x => x.name === 'crafting_table') | ||
const oakPlanks = items.find(x => x.name === 'oak_planks') | ||
if (!oakPlanks) return // Bail if version doesn't have seperately defined planks, this prevents the test failing on versions that use metadata | ||
const recipe = recipes[craftingTable.id] | ||
if (!recipe[0]) return | ||
assert.notEqual(recipe.length, 1) // Check that crafting table has multiple recipes. | ||
} | ||
}) | ||
}) | ||
}) |
{ | ||
"name": "minecraft-data", | ||
"version": "3.61.2", | ||
"version": "3.62.0", | ||
"description": "Provide easy access to minecraft data in node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
163112917
5121839