This page relates to Cyclic, which has built-in support!
Cyclic Melter
Link to cyclic-melter
The Melter 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 will add a recipe that will output a 222Mb of Water (Fluid) when a Stick and Dirt is Melted.
ZenScript Copy// <recipetype:cyclic:melter>.addRecipe(String name, IIngredient inputFirst, IIngredient inputSecond, IFluidStack fluidStack)
<recipetype:cyclic:melter>.addRecipe("ct_water", <item:minecraft:stick>, <item:minecraft:dirt>, <fluid:minecraft:water> * 222);
Remove Recipes
Link to remove-recipes
The following script will remove the Melting recipe for water from 2 Snow Blocks
ZenScript Copy// <recipetype:cyclic:melter>.removeRecipe(String name);
<recipetype:cyclic:melter>.removeRecipe("cyclic:melter_snowwater");