Blood Magic has built in mod support! You don't need any other mods for this to work!

Blood Magic Blood Altar

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

Methods

Add Recipe

The following script will add a recipe that will output a Diamond when Coal is given to a Blood Altar. The Altar will take 5 seconds to craft, requires a minimum tier of 0 and will drain (syphon) 500 LP from the player, consuming 1 LP per tick and will drain 1 LP per tick when not enough LP is provided.

ZenScript
Copy
// <recipetype:bloodmagic:altar>.addRecipe(name as string, output as IItemStack, input as IIngredient, minimumTier as int, syphon as int, consumeRate as int, drainRate int)

<recipetype:bloodmagic:altar>.addRecipe("altar_test", <item:minecraft:diamond>, <item:minecraft:coal>, 0, 500, 1, 1);

Remove Recipes

The following script will remove all recipes from the Blood Altar that output a Reinforced Slate.

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

<recipetype:bloodmagic:altar>.removeRecipe(<item:bloodmagic:reinforcedslate>);