execute if block ~ ~ ~ minecraft:bone_block[axis=x] run scoreboard players set @s bw_block 1134
execute if block ~ ~ ~ minecraft:bone_block[axis=y] run scoreboard players set @s bw_block 1135
execute if block ~ ~ ~ minecraft:bone_block[axis=z] run scoreboard players set @s bw_block 1136