This page relates to Cyclic, which has built-in support!
Cyclic Solidifier
Link to cyclic-solidifier
The Solidifier is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe()
and removeAll()
.
Metodi
Link to metodi
Add Recipe
Link to add-recipe
The following script will add a recipe that will output 4 Stone when Gravel, Dirt and Cobblestone are Solidified using 200Mb of Lava (Fluid).
ZenScript Copy// <recipetype:cyclic:solidifier>.addRecipe(String name, IIngredient inputFirst, IIngredient inputSecond, IIngredient inputThird, IFluidStack fluid, IItemStack output)
<recipetype:cyclic:solidifier>.addRecipe("change_this_everytime", <item:minecraft:gravel>, <item:minecraft:dirt>, <item:minecraft:cobblestone>, <fluid:minecraft:lava> * 200, <item:minecraft:stone> * 4);
Remove Recipes
Link to remove-recipes
The following script will remove the Solifider recipe for Cyan Concrete.
ZenScript Copy// <recipetype:cyclic:solidifier>.removeRecipe(String name);
<recipetype:cyclic:solidifier>.removeRecipe("cyclic:solidifier_conc_cyan");