-
Notifications
You must be signed in to change notification settings - Fork 31
Blast Furnace and Smoker CraftTweaker Functions
thedarkcolour edited this page Jul 7, 2019
·
14 revisions
Modify the list of valid inputs for the blast furnace or smoker. These machines have different ZenClasses, but their functions are the same. Blast Furnace and Smoker rely on normal furnace recipes, these functions choose which of the normal recipes can be used in the Blast Furnace or Smoker. The DEFAULT RECIPES for the Blast Furnace are any recipes that use an item whose OreDictionary name is prefixed with "ore". DEFAULT RECIPES for the Smoker are any recipes that use an edible item as an input.
Allows a recipe from the vanilla furnace to be used in the Smoker/Blast furnace that has the specified IItemStack input.
// mods.minecraftfuture.Smoker.addValidItem(IItemStack item, int chance);
mods.minecraftfuture.Smoker.addValidItem(<minecraft:sand>); // Allows Glass to be crafted in the smoker.
// mods.minecraftfuture.BlastFurnace.addValidItem(IItemStack item, int chance);
mods.minecraftfuture.BlastFurnace.addValidItem(<minecraft:cobblestone>); // Allows Stone to be crafted in the blast furnace.