execute if block ~ ~ ~ minecraft:dark_oak_log[axis=x] run scoreboard players set @s bw_block 1566
execute if block ~ ~ ~ minecraft:dark_oak_log[axis=y] run scoreboard players set @s bw_block 1567
execute if block ~ ~ ~ minecraft:dark_oak_log[axis=z] run scoreboard players set @s bw_block 1568