execute as @a[team=fermer] run function ws:work/misc/farmer/check
execute as @e[type=item_frame,tag=farmer3000] if items entity @s container.0 * run function ws:work/misc/farmer/fill
forceload remove 2210 2259 2166 2316
execute as @e[type=item_frame,tag=farmer3000] if items entity @s container.0 * run item replace entity @s container.0 with air
execute as @a[team=fermer,scores={farmer.buffer=1..}] run function ws:work/misc/farmer/buffer
execute as @a[team=fermer] if items entity @s weapon.mainhand *[minecraft:custom_data~{hoe:1}] run item modify entity @s weapon.mainhand ws:hoe
kill @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{hoe:1}}}}]
execute positioned 2153.5 42.00 2283.5 as @a[team=fermer,dx=3,dy=3,dz=7] run function ws:work/misc/farmer/exit