| Name | food |
| Object | ItemTag |
| Input | MapTag |
| Related Tags | <ItemTag.food> (Property) Returns an item's food Item Components. (...)
|
| Description | (Property) Sets an item's food Item Components.
The map includes keys: - "nutrition", ElementTag(Number) representing the amount of food points restored by this item. - "saturation", ElementTag(Decimal) representing the amount of saturation points restored by this item. - "can_always_eat", ElementTag(Boolean) controlling whether the item can always be eaten, even if the player isn't hungry. Provide no input to reset the item to its default value. |
| Group | Properties |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/datacomponents/FoodAdapter.java#L11 |