execute if block ~ ~ ~ minecraft:loom[facing=north] run scoreboard players set @s bw_block 923
execute if block ~ ~ ~ minecraft:loom[facing=east] run scoreboard players set @s bw_block 924
execute if block ~ ~ ~ minecraft:loom[facing=south] run scoreboard players set @s bw_block 925
execute if block ~ ~ ~ minecraft:loom[facing=west] run scoreboard players set @s bw_block 926