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()
.
使用方式
Link to 使用方式
添加配方
Link to 添加配方
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");