execute if block ~ ~ ~ minecraft:jungle_fence_gate[facing=north] run scoreboard players set @s bw_block 731
execute if block ~ ~ ~ minecraft:jungle_fence_gate[facing=east] run scoreboard players set @s bw_block 732
execute if block ~ ~ ~ minecraft:jungle_fence_gate[facing=south] run scoreboard players set @s bw_block 733
execute if block ~ ~ ~ minecraft:jungle_fence_gate[facing=west] run scoreboard players set @s bw_block 734