playsound minecraft:block.dispenser.fail player @a ~ ~ ~ 1 1.03
summon minecraft:item ~ ~ ~ {Item:{count:1,id:"barrier"},Tags:[farmer.item.temp]}
item replace entity @n[type=item,tag=farmer.item.temp] container.0 from entity @s container.0
tag @n[tag=farmer.item.temp] remove farmer.item.temp