execute if block ~ ~ ~ minecraft:stonecutter[facing=north] run scoreboard players set @s bw_block 982
execute if block ~ ~ ~ minecraft:stonecutter[facing=east] run scoreboard players set @s bw_block 983
execute if block ~ ~ ~ minecraft:stonecutter[facing=south] run scoreboard players set @s bw_block 984
execute if block ~ ~ ~ minecraft:stonecutter[facing=west] run scoreboard players set @s bw_block 985