Feed
Feeds the entity, filling up their hunger bar as if they had eaten a food item with the provided values.
Type ID: origins: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 | The amount of food points to restore. | |
saturation |
Float | The amount of saturation points to restore. |
Examples
"entity_action": {
"type": "origins:feed",
"food": 4,
"saturation": 2
}
This example will feed the player 2 hunger shanks (4 hunger points), and 16 saturation points.