Well-rounded Minecraft 1.18.2 modpack featuring Tech, Magic, Exploration and Decoration content. Made with love. 💚
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.

18 lines
576 B

2 years ago
// 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;
2 years ago
event.shapeless(input, [ output ]);
});
});