CrucibleRecipe

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

script.zs
import mods.exnihilosequentia.CrucibleRecipe;

Methods

Create a recipe name for the new recipe

Return Type: CrucibleRecipe

script.zs
CrucibleRecipe.create(recipeId as string) as CrucibleRecipe
ParameterTypeDescription
Parameter
recipeId
Type
string
Description
name of recipe

Sets the amount how much fluid the input will generate

Return Type: CrucibleRecipe

script.zs
CrucibleRecipe.setAmount(amount as int) as CrucibleRecipe
ParameterTypeDescription
Parameter
amount
Type
int
Description
Sets the amount of fuild per input

Sets the crucible type. Can only be fired or wood.

Return Type: CrucibleRecipe

script.zs
CrucibleRecipe.setCrucibleType(crucibleType as string) as CrucibleRecipe
ParameterTypeDescription
Parameter
crucibleType
Type
string
Description
Sets the Crucible type (only “fired” or “wood”)

Sets the input that should be smelted

Return Type: CrucibleRecipe

script.zs
CrucibleRecipe.setInput(input as IIngredient) as CrucibleRecipe
ParameterTypeDescription
Parameter
input
Type
IIngredient
Description
smelting item

Sets the output fluid that should be generated

Return Type: CrucibleRecipe

script.zs
CrucibleRecipe.setResultFluid(fluid as IFluidStack) as CrucibleRecipe
ParameterTypeDescription
Parameter
fluid
Type
IFluidStack
Description
generated output