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
| Field | Type | Default | Description |
|---|---|---|---|
food | Integer or Expression | The amount of food points to restore. | |
saturation | Float or Expression | The 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.