ItemComponent - Food Properties (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.11.2
Syntax
[the] food (nutrition|saturation) of %itemstacks/itemtypes/slots%Description
Get the food properties of an item. This will only return a value if the item has a food component. See [Food Component](https://minecraft.wiki/w/Data_component_format#food) on McWiki for more details.
Examples
set {_nutrition} to food nutrition of player's tool
if food saturation of player's tool > 0: