execute if entity @s[tag=bw_5] 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_6] if block ~ ~ ~-1 minecraft:tripwire unless entity @e[type=!item,dx=0,limit=1] run function bw:blocks/redstone/tripwire/set