parent
6ec73fc256
commit
83059b3594
1 changed files with 11 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||||||
|
// priority: 0
|
||||||
|
|
||||||
|
onEvent("recipes", event => { |
||||||
|
// For every stonecutting recipe that uses cobbled deepslate,
|
||||||
|
// add a recipe that can use regular deepslate as well.
|
||||||
|
event.forEachRecipe({ input: "minecraft:cobbled_deepslate", |
||||||
|
type: "minecraft:stonecutting" }, recipe => { |
||||||
|
let output = recipe.outputItems[0].getId(); |
||||||
|
event.stonecutting(output, "minecraft:deepslate"); |
||||||
|
}); |
||||||
|
}); |
Loading…
Reference in new issue