execute if block ~ ~ ~ minecraft:blue_glazed_terracotta[facing=north] run scoreboard players set @s bw_block 743
execute if block ~ ~ ~ minecraft:blue_glazed_terracotta[facing=east] run scoreboard players set @s bw_block 744
execute if block ~ ~ ~ minecraft:blue_glazed_terracotta[facing=south] run scoreboard players set @s bw_block 745
execute if block ~ ~ ~ minecraft:blue_glazed_terracotta[facing=west] run scoreboard players set @s bw_block 746