Feed (Entity Action Type)

Feeds the entity, filling up their hunger bar as if they had eaten a food item with the provided values.

Feeds the entity, filling up their hunger bar as if they had eaten a food item with the provided values.

Type ID: apoli:feed

!!! note

The actual food saturation level is determined by the food * saturation * 2 formula.

!!! note

This entity action type will only work on players.

Fields

FieldTypeDefaultDescription
foodInteger or ExpressionThe amount of food points to restore.
saturationFloat or ExpressionThe amount of saturation points to restore.

Examples

"entity_action": {
    "type": "apoli:feed",
    "food": 4,
    "saturation": 2
}

This example will feed the player 2 hunger shanks (4 hunger points), and 16 saturation points.