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.
Methods
Create a recipe name for the new recipe
Return Type: CrucibleRecipe
Parameter | Type | Description |
---|---|---|
Parameter recipeId | Type string | Description name of recipe |
Sets the amount how much fluid the input will generate
Return Type: CrucibleRecipe
Parameter | Type | Description |
---|---|---|
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
Parameter | Type | Description |
---|---|---|
Parameter crucibleType | Type string | Description Sets the Crucible type (only “fired” or “wood”) |
Sets the input that should be smelted
Return Type: CrucibleRecipe
Parameter | Type | Description |
---|---|---|
Parameter input | Type IIngredient | Description smelting item |
Sets the output fluid that should be generated
Return Type: CrucibleRecipe
Parameter | Type | Description |
---|---|---|
Parameter fluid | Type IFluidStack | Description generated output |