
# -> Advancement
advancement grant @s only overly_realistic:advancements/stone_age/the_base_of_life

# -> If player is in creative then return
execute if entity @s[gamemode=creative] run \
    return fail

# -> Water bucket
execute if items entity @s weapon.mainhand water_bucket run \
    return run \
        item replace entity @s weapon.mainhand with bucket

# -> Water bottle
execute if items entity @s weapon.mainhand potion run \
    return run \
        item replace entity @s weapon.mainhand with glass_bottle[max_stack_size=1]
