CompostRecipe
Link to compostrecipe
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.CompostRecipe;
Methods
Link to methods
Name: create
Create a recipe name for the new recipe
Return Type: CompostRecipe
ZenScript CopyCompostRecipe.create(recipeId as string) as CompostRecipe
Parameter | Type | Description |
---|---|---|
Parameter recipeId | Type string | Description name of recipe |
Name: setAmount
Sets the amount of compost per input.
Return Type: CompostRecipe
ZenScript CopyCompostRecipe.setAmount(amount as int) as CompostRecipe
Parameter | Type | Description |
---|---|---|
Parameter amount | Type int | Description Sets the amount. |
Name: setInput
Sets the input. Can be a tag or an item
Return Type: CompostRecipe
ZenScript CopyCompostRecipe.setInput(input as IIngredient) as CompostRecipe
Parameter | Type | Description |
---|---|---|
Parameter input | Type IIngredient | Description Sets the input tag or item. |