This page relates to Tinkers' Construct, which has built-in support!
Tinkers' Construct Alloying
Link to tinkers-construct-alloying
Alloying is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe()
and removeAll()
.
Methods
Link to methods
Add Recipe
Link to add-recipe
The following script adds an Alloying recipe that will produce Water (Fluid) from 1mb of Molten Rose Gold (Fluid) and 1mb of Lava (Fluid) when combined with a heat of atleast 50°C
ZenScript Copy// <recipetype:tconstruct:alloying>.addRecipe(name as string, ingredients as CTFluidIngredient[], output as IFluidStack, temperature as int)
<recipetype:tconstruct:alloying>.addRecipe("alloy_test", [<fluid:tconstruct:molten_rose_gold>, <fluid:minecraft:lava>], <fluid:minecraft:water>, 50);
Remove Recipes
Link to remove-recipes
The following script will remove all Allying recipes that output Molten Pig Iron (Fluid).
ZenScript Copy// <recipetype:tconstruct:alloying>.removeRecipe(output as Fluid)
<recipetype:tconstruct:alloying>.removeRecipe(<fluid:tconstruct:molten_pig_iron>);