Optional
initializer: ((requirement: default) => any)Readonly
itemReadonly
quantityReadonly
typeStatic
Readonly
BASESets this item requirement to be changed into another item on recipe completion.
The item to change into.
Optional
initializer: ((output: default) => any)An initializer for configuring the item that the input will be changed into.
Notes:
ChangeInto
will ignore the Consumed
settingItemOutput
in the initializer will have no effect.Sets this items used for this item requirement to contribute their decay to the output items at the given weight.
The default weight is 1
, so if there is one item at default weight and one item at a weight of 2
, the final decay would be
66% of the 2
weight item and 33% of the 1
weight item.
Sets the ItemOutput
that this requirement will be used for.
This is called internally, it should have no real use in recipe construction.
Generated using TypeDoc
Returns the
ItemOutput
that this requirement is used for.This is called internally, it should have no real use in recipe construction.