Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Melting Crucibles

Machines that can melt items into liquids.

Import

script.zs
import mods.foundry.Melting;

Methods

script.zs
// Adds a recipe with input ingredient, (optional) melting point in K, (optional) speed of the melting, and an output liquid to the melting crucibles
Melting.addRecipe(ILiquidStack output, IIngredient input, @Optional int meltingPoint, @Optional int speed);
// Removes a recipe with the given input item from the melting crucibles
Melting.removeRecipe(IItemStack input);
// Clears all recipes from the melting crucibles
Melting.clear();