Skip to content

Blast Furnace and Smoker CraftTweaker Functions

thedarkcolour edited this page Oct 13, 2019 · 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.minecraftfuture.Smoker.addValidItem(IItemStack input, IItemStack output);
mods.minecraftfuture.Smoker.addValidItem(<minecraft:pumpkin>, <minecraft:seeds>); // Pumpkin -> Seeds
// mods.minecraftfuture.BlastFurnace.addRecipe(IItemStack input, IItemStack output);
mods.minecraftfuture.BlastFurnace.addValidItem(<minecraft:cobblestone>, <minecraftfuture>); // Cobblestone -> Smooth Stone

Removing a recipe

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