execute if block ~ ~ ~ minecraft:spruce_trapdoor[half=bottom,facing=north] run scoreboard players set @s bw_block 1535
execute if block ~ ~ ~ minecraft:spruce_trapdoor[half=bottom,facing=east] run scoreboard players set @s bw_block 1536
execute if block ~ ~ ~ minecraft:spruce_trapdoor[half=bottom,facing=west] run scoreboard players set @s bw_block 1537
execute if block ~ ~ ~ minecraft:spruce_trapdoor[half=bottom,facing=south] run scoreboard players set @s bw_block 1538
execute if block ~ ~ ~ minecraft:spruce_trapdoor[half=top,facing=north] run scoreboard players set @s bw_block 1539
execute if block ~ ~ ~ minecraft:spruce_trapdoor[half=top,facing=east] run scoreboard players set @s bw_block 1540
execute if block ~ ~ ~ minecraft:spruce_trapdoor[half=top,facing=west] run scoreboard players set @s bw_block 1541
execute if block ~ ~ ~ minecraft:spruce_trapdoor[half=top,facing=south] run scoreboard players set @s bw_block 1542