Feed (Entity Action Type)
Feeds the player, filling their hunger bar as if they had eaten a food item with the given values.
Type ID: apoli:feed
note
This action only works on players. The saturation the player gets is worked out as food * saturation * 2.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
food | Integer or Expression | required | How many food points to restore. |
saturation | Float or Expression | required | The saturation value of the food, used in the formula above. |
Examples
"entity_action": {
"type": "apoli:feed",
"food": 4,
"saturation": 2
}This restores 2 hunger shanks (4 food points) and 16 saturation points.