Private
constructorReadonly
canThis property can't be read in early-execution mode.
Readonly
isReturns whether the component is valid. A component is considered valid if its owner is valid, in addition to any addition to any additional validation required by the component.
This property can't be read in early-execution mode.
Readonly
nutritionThis property can't be read in early-execution mode.
Readonly
saturationWhen an item is eaten, this value is used according to this formula (nutrition * saturation_modifier * 2) to apply a saturation buff.
This property can't be read in early-execution mode.
Readonly
typeThis property can't be read in early-execution mode.
Readonly
usingThis property can't be read in early-execution mode.
Static
Readonly
component
When present on an item, this item is consumable by entities. Note that this component only applies to data-driven items.