execute at @s unless items entity @s container.0 *[minecraft:custom_data~{crop:1}] run return run function ws:work/misc/farmer/failfill
execute at @s run playsound minecraft:item.crop.plant block @a ~ ~ ~
tellraw @a[team=fermer] {"translate":"farmer.field"}
forceload add 2210 2259 2166 2316
execute if items entity @s container.0 minecraft:potato[minecraft:custom_data~{crop:1}] run return run fill 2166 42 2316 2210 42 2258 minecraft:potatoes[age=7]
execute if items entity @s container.0 minecraft:carrot[minecraft:custom_data~{crop:1}] run return run fill 2166 42 2316 2210 42 2258 minecraft:carrots[age=7]
execute if items entity @s container.0 minecraft:beetroot_seeds[minecraft:custom_data~{crop:1}] run return run fill 2166 42 2316 2210 42 2258 minecraft:beetroots[age=3]
execute if items entity @s container.0 minecraft:wheat_seeds[minecraft:custom_data~{crop:1}] run return run fill 2166 42 2316 2210 42 2258 minecraft:wheat[age=7]
execute if items entity @s container.0 minecraft:pitcher_pod[minecraft:custom_data~{crop:1}] run return run fill 2166 42 2316 2210 42 2258 minecraft:pitcher_crop[age=1]
