Composter
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
Members
setValue(stack as IItemStack, amount as float)
Sets the compost value of the given IItemStack.
The amount should be between 0 and 1, anything above 1 would just be wasted.
The amount should be between 0 and 1, anything above 1 would just be wasted.
Parameters:
amount: float
Type: float
- The amount of Compost that should be added when the item is put in a Composter.