execute if block ~ ~ ~ minecraft:dispenser[facing=up] run scoreboard players set @s bw_block 1146
execute if block ~ ~ ~ minecraft:dispenser[facing=down] run scoreboard players set @s bw_block 1147
execute if block ~ ~ ~ minecraft:dispenser[facing=north] run scoreboard players set @s bw_block 1148
execute if block ~ ~ ~ minecraft:dispenser[facing=west] run scoreboard players set @s bw_block 1149
execute if block ~ ~ ~ minecraft:dispenser[facing=east] run scoreboard players set @s bw_block 1150
execute if block ~ ~ ~ minecraft:dispenser[facing=south] run scoreboard players set @s bw_block 1151