
# -> Reset adv trigger
advancement revoke @s only overly_realistic:items/consumption/consume_foods_or_liquids

# -> Advancement
advancement grant @s only overly_realistic:advancements/livelyhood/eatery

# -> If player's head is in water then deal drowning damage
execute anchored eyes \
    positioned ^ ^ ^ \
    anchored feet \
    if block ~ ~ ~ water run \
        damage @s 3.0 drown
