Importing the class

Link to 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.

ZenScript
Copy
import mods.exnihilosequentia.CrucibleRecipe;

Name: create

Create a recipe name for the new recipe

Return Type: CrucibleRecipe

ZenScript
Copy
CrucibleRecipe.create(recipeId as string) as CrucibleRecipe
ParameterTypeDescription
Parameter
recipeId
Type
string
Description
name of recipe

Name: setAmount

Sets the amount how much fluid the input will generate

Return Type: CrucibleRecipe

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

Name: setCrucibleType

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

Return Type: CrucibleRecipe

ZenScript
Copy
CrucibleRecipe.setCrucibleType(crucibleType as string) as CrucibleRecipe
ParameterTypeDescription
Parameter
crucibleType
Type
string
Description
Sets the Crucible type (only "fired" or "wood")

Name: setInput

Sets the input that should be smelted

Return Type: CrucibleRecipe

ZenScript
Copy
CrucibleRecipe.setInput(input as IIngredient) as CrucibleRecipe
ParameterTypeDescription
Parameter
input
Type
IIngredient
Description
smelting item

Name: setResultFluid

Sets the output fluid that should be generated

Return Type: CrucibleRecipe

ZenScript
Copy
CrucibleRecipe.setResultFluid(fluid as IFluidStack) as CrucibleRecipe
ParameterTypeDescription
Parameter
fluid
Type
IFluidStack
Description
generated output