execute if block ~ ~ ~ minecraft:birch_log[axis=x] run scoreboard players set @s bw_block 1554
execute if block ~ ~ ~ minecraft:birch_log[axis=y] run scoreboard players set @s bw_block 1555
execute if block ~ ~ ~ minecraft:birch_log[axis=z] run scoreboard players set @s bw_block 1556