execute if block ~ ~ ~ minecraft:blast_furnace[facing=north] run scoreboard players set @s bw_block 966
execute if block ~ ~ ~ minecraft:blast_furnace[facing=east] run scoreboard players set @s bw_block 967
execute if block ~ ~ ~ minecraft:blast_furnace[facing=south] run scoreboard players set @s bw_block 968
execute if block ~ ~ ~ minecraft:blast_furnace[facing=west] run scoreboard players set @s bw_block 969