CrucibleRecipe
Link to cruciblerecipe
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 Copyimport mods.exnihilosequentia.CrucibleRecipe;
Methods
Link to methods
Name: create
Create a recipe name for the new recipe
Return Type: CrucibleRecipe
ZenScript CopyCrucibleRecipe.create(recipeId as string) as CrucibleRecipe
Parameter | Type | Description |
---|---|---|
Parameter recipeId | Type string | Description name of recipe |
Name: setAmount
Sets the amount how much fluid the input will generate
Return Type: CrucibleRecipe
ZenScript CopyCrucibleRecipe.setAmount(amount as int) as CrucibleRecipe
Parameter | Type | Description |
---|---|---|
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 CopyCrucibleRecipe.setCrucibleType(crucibleType as string) as CrucibleRecipe
Parameter | Type | Description |
---|---|---|
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 CopyCrucibleRecipe.setInput(input as IIngredient) as CrucibleRecipe
Parameter | Type | Description |
---|---|---|
Parameter input | Type IIngredient | Description smelting item |
Name: setResultFluid
Sets the output fluid that should be generated
Return Type: CrucibleRecipe
ZenScript CopyCrucibleRecipe.setResultFluid(fluid as IFluidStack) as CrucibleRecipe
Parameter | Type | Description |
---|---|---|
Parameter fluid | Type IFluidStack | Description generated output |