diff --git a/kubejs/server_scripts/recipes/essentials/deepslate_stonecutting.js b/kubejs/server_scripts/recipes/essentials/deepslate_stonecutting.js new file mode 100644 index 0000000..7756968 --- /dev/null +++ b/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"); + }); +});