execute if block ~ ~ ~ minecraft:dead_fire_coral_wall_fan[facing=north] run scoreboard players set @s bw_block 1235
execute if block ~ ~ ~ minecraft:dead_fire_coral_wall_fan[facing=south] run scoreboard players set @s bw_block 1236
execute if block ~ ~ ~ minecraft:dead_fire_coral_wall_fan[facing=east] run scoreboard players set @s bw_block 1237
execute if block ~ ~ ~ minecraft:dead_fire_coral_wall_fan[facing=west] run scoreboard players set @s bw_block 1238