Add stonecutting recipes for regular deepslate

dev
copygirl 2 years ago
parent 6ec73fc256
commit 83059b3594
  1. 11
      kubejs/server_scripts/recipes/essentials/deepslate_stonecutting.js

@ -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…
Cancel
Save