Recipe
Parent |
A struct that holds information about a recipe in its class. Means don’t use it as object, use it as class type!
Functions
getIngredients () → ingredients : Array<Struct<ItemAmount>>
Returns a array of item amounts, this recipe needs (input) so the recipe can be processed.
Details
Flags |
RuntimeSync RuntimeParallel ClassFunc |
Display Name |
Get Ingredients |
| Name | Type | Description |
|---|---|---|
Ingredients |
Array<Struct<ItemAmount>> |
The ingredients of this recipe. |
getProducts () → products : Array<Struct<ItemAmount>>
Returns a array of item amounts, this recipe returns (outputs) when the recipe is processed once.
Details
Flags |
RuntimeSync RuntimeParallel ClassFunc |
Display Name |
Get Products |
| Name | Type | Description |
|---|---|---|
Products |
Array<Struct<ItemAmount>> |
The products of this recipe. |