Feed
Feeds the player, filling up their hunger bar as if they had eaten a food item with the provided values.
Type ID: origins:feed
Fields
Field | Type | Default | Description |
---|---|---|---|
food |
Integer | The food amount to restore. | |
saturation |
Float | The saturation amount to restore. |
Example
"entity_action": {
"type": "origins:feed",
"food": 4,
"saturation": 2
}
This action feeds the player 2 hunger shanks (4 hunger points), and 2 saturation points.