execute if block ~ ~ ~ minecraft:jungle_log[axis=x] run scoreboard players set @s bw_block 1557
execute if block ~ ~ ~ minecraft:jungle_log[axis=y] run scoreboard players set @s bw_block 1558
execute if block ~ ~ ~ minecraft:jungle_log[axis=z] run scoreboard players set @s bw_block 1559