Skip to content

Blast Furnace and Smoker CraftTweaker Functions

thedarkcolour edited this page Mar 28, 2022 · 14 revisions

Add and remove recipes for the Blast Furnace and Smoker. If you want to change the output for a specific item like sand, you can remove its recipe and then add a new one.

Adding a recipe

// mods.futuremc.Smoker.addRecipe(IIngredient input, IItemStack output);
mods.futuremc.Smoker.addRecipe(<minecraft:pumpkin>, <minecraft:seeds>); // Pumpkin -> Seeds
// mods.futuremc.BlastFurnace.addRecipe(IIngredient input, IItemStack output);
mods.futuremc.BlastFurnace.addRecipe(<minecraft:cobblestone>, <futuremc:smooth_stone>); // Cobblestone -> Smooth Stone

Removing a recipe by input

// mods.futuremc.Smoker.removeRecipe(IItemStack input);
mods.futuremc.Smoker.removeRecipe(<minecraft:beef>); // Removes the recipe for cooking steak
// mods.futuremc.BlastFurnace.removeRecipe(IItemStack input);
mods.futuremc.BlastFurnace.removeRecipe(<minecraft:diamond_ore>); // Removes the recipe for smelting diamonds

Remove a recipe by output

// mods.futuremc.Smoker.removeRecipeForOutput(IItemStack output);
mods.futuremc.Smoker.removeRecipeForOutput(<minecraft:cooked_beef>); // Removes the recipe for steak
// mods.futuremc.BlastFurnace.removeRecipeForOutput(IItemStack output);
mods.futuremc.BlastFurnace.removeRecipeForInput(<minecraft:iron_ingot>); // Removes the recipe for iron ingot