
# -> Farmland
#execute if block ~ ~ ~ farmland run \
    advancement grant @s only overly_realistic:advancements/iron_age/crop_connoisseur
execute if block ~ ~ ~ farmland run \
    setblock ~ ~ ~ farmland[moisture=7]

# -> Cauldron
execute if block ~ ~ ~ cauldron run \
    setblock ~ ~ ~ water_cauldron[level=3]

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

# -> Replace water bucket
execute if items entity @s weapon.mainhand *[custom_data~{or_bucket_specific:"wooden_bucket",or_bucket_contents:"sea_water"}] run \
    return run \
        loot replace entity @s weapon.mainhand loot overly_realistic:items/wooden_bucket_empty
loot replace entity @s weapon.offhand loot overly_realistic:items/wooden_bucket_empty
