execute if entity @s[tag=bw_3] if block ~ ~1 ~ minecraft:tripwire unless entity @e[type=!item,dx=0,limit=1] run function bw:blocks/redstone/tripwire/set
execute if entity @s[tag=bw_4] if block ~ ~-1 ~ minecraft:tripwire unless entity @e[type=!item,dx=0,limit=1] run function bw:blocks/redstone/tripwire/set