- Added cooldown feature to eaten items.
Changes in food-components.yml
Code (YAML):
food:
'default':
components
:
# Should this item have a cooldown of X seconds before they can be used again?
# The cooldown is shown in the hotbar by a white overlay on the item stack
# that shrinks and must disappear before the player can use it again.
cooldown
: 0