execute if block ~ ~ ~ minecraft:dark_oak_wood[axis=x] run scoreboard players set @s bw_block 1575
execute if block ~ ~ ~ minecraft:dark_oak_wood[axis=y] run scoreboard players set @s bw_block 1576
execute if block ~ ~ ~ minecraft:dark_oak_wood[axis=z] run scoreboard players set @s bw_block 1577