execute if block ~ ~ ~ minecraft:oak_fence_gate[facing=north] run scoreboard players set @s bw_block 735
execute if block ~ ~ ~ minecraft:oak_fence_gate[facing=east] run scoreboard players set @s bw_block 736
execute if block ~ ~ ~ minecraft:oak_fence_gate[facing=south] run scoreboard players set @s bw_block 737
execute if block ~ ~ ~ minecraft:oak_fence_gate[facing=west] run scoreboard players set @s bw_block 738