execute if block ~ ~ ~ minecraft:stripped_birch_log[axis=x] run scoreboard players set @s bw_block 1605
execute if block ~ ~ ~ minecraft:stripped_birch_log[axis=y] run scoreboard players set @s bw_block 1606
execute if block ~ ~ ~ minecraft:stripped_birch_log[axis=z] run scoreboard players set @s bw_block 1607