Minecraft Modpack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

17 lines
576 B

// priority: 0
onEvent("recipes", event => {
// Remove default vertical slab crafting recipes.
event.remove({ id: /_vertical_slab/, type: "minecraft:crafting_shaped" });
// Add recipes to craft regular (horizontal) slabs into vertical slabs.
event.forEachRecipe({ id: /_vertical_slab_revert/ }, recipe => {
let input = recipe.inputItems[0];
let output = recipe.outputItems[0].getId();
// Quark limestone is disabled but some recipes still linger.
if (/^quark:.*limestone.*$/.test(output)) return;
event.shapeless(input, [ output ]);
});
});