execute if block ~ ~ ~ minecraft:stripped_birch_wood[axis=x] run scoreboard players set @s bw_block 1590
execute if block ~ ~ ~ minecraft:stripped_birch_wood[axis=y] run scoreboard players set @s bw_block 1591
execute if block ~ ~ ~ minecraft:stripped_birch_wood[axis=z] run scoreboard players set @s bw_block 1592