This page relates to Blood Magic, which has built-in support!

Blood Magic Tartaric Forge / Hell Forge

Link to blood-magic-tartaric-forge--hell-forge

The Tartaric Forge / Hell Forge is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe() and removeAll().

The following script will add a recipe that will output a Diamond when Coal is given to a Tartaric Forge / Hell Forge. The Forge requires a minimum of 0 souls and will drain 500 souls.

ZenScript
Copy
// <recipetype:bloodmagic:altar>.addRecipe(name as string, output as IItemStack, input as IIngredient[], minimumSouls as double, soulDrain as double)

<recipetype:bloodmagic:soulforge>.addRecipe("soulforge_test", <item:minecraft:diamond>, [<item:minecraft:coal>], 0, 500);

The following script will remove all recipes from the Tartaric Forge / Hell Forge that output a Soul Axe

ZenScript
Copy
// <recipetype:bloodmagic:soulforge>.removeRecipe(output as IItemStack);

<recipetype:bloodmagic:soulforge>.removeRecipe(<item:bloodmagic:soulaxe>);