Skip to content

Player Food

Provides the food level value of a player.

Type ID: kaya:player/food

Format

Field Type Default Description
entity Entity Provider The player to get the food level value from.

Example

{
    "type": "kaya:player/food",
    "entity": "actor"
}

This example will provide the food level of the player provided by the kaya:actor_entity context parameter.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.