execute if block ~ ~ ~ minecraft:jungle_wood[axis=x] run scoreboard players set @s bw_block 1578
execute if block ~ ~ ~ minecraft:jungle_wood[axis=y] run scoreboard players set @s bw_block 1579
execute if block ~ ~ ~ minecraft:jungle_wood[axis=z] run scoreboard players set @s bw_block 1580