execute if block ~ ~ ~ minecraft:hopper[facing=down] run scoreboard players set @s bw_block 1188
execute if block ~ ~ ~ minecraft:hopper[facing=north] run scoreboard players set @s bw_block 1189
execute if block ~ ~ ~ minecraft:hopper[facing=west] run scoreboard players set @s bw_block 1190
execute if block ~ ~ ~ minecraft:hopper[facing=east] run scoreboard players set @s bw_block 1191
execute if block ~ ~ ~ minecraft:hopper[facing=south] run scoreboard players set @s bw_block 1192