execute if block ~ ~ ~ minecraft:brown_shulker_box[facing=up] run scoreboard players set @s bw_block 1044
execute if block ~ ~ ~ minecraft:brown_shulker_box[facing=down] run scoreboard players set @s bw_block 1045
execute if block ~ ~ ~ minecraft:brown_shulker_box[facing=north] run scoreboard players set @s bw_block 1046
execute if block ~ ~ ~ minecraft:brown_shulker_box[facing=west] run scoreboard players set @s bw_block 1047
execute if block ~ ~ ~ minecraft:brown_shulker_box[facing=east] run scoreboard players set @s bw_block 1048
execute if block ~ ~ ~ minecraft:brown_shulker_box[facing=south] run scoreboard players set @s bw_block 1049