This page relates to Astral Sorcery, which has built-in support!
Astral Sorcery Infusion
Infusion 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 adds a Starlight Infuser recipe that produces Dirt when a Diamond is infused with Water (Fluid).
The recipe takes 200 ticks to craft (10 seconds) and consumes multiple blocks of Water (Fluid).
The recipe will accept water from Containment Chalices that are around the Infuser.
The recipe will not transfer it’s NBT from the input to the output. (If you wanted to make a recipe to Infuse a Diamond Sword to create a Netherite Sword, you can set copyNBTToOutputs
to true
so that enchantments carry over.
Remove Recipes
The following script will remove the Starlight Infuser recipe for Diamond.