execute if block ~ ~ ~ minecraft:fire_coral_wall_fan[facing=north] run scoreboard players set @s bw_block 1203
execute if block ~ ~ ~ minecraft:fire_coral_wall_fan[facing=south] run scoreboard players set @s bw_block 1204
execute if block ~ ~ ~ minecraft:fire_coral_wall_fan[facing=east] run scoreboard players set @s bw_block 1205
execute if block ~ ~ ~ minecraft:fire_coral_wall_fan[facing=west] run scoreboard players set @s bw_block 1206