Beta
When present on an item, this item is consumable by entities. Note that this component only applies to data-driven items.
Readonly
If true, the player can always eat this item (even when not hungry).
This property can throw when used.
Represents how much nutrition this food item will give an entity when eaten.
When an item is eaten, this value is used according to this formula (nutrition * saturation_modifier * 2) to apply a saturation buff.
Identifier of the component.
When specified, converts the active item to the one specified by this property.
Static
Identifier of this component. Should always be 'minecraft:food'.
When present on an item, this item is consumable by entities. Note that this component only applies to data-driven items.