execute if block ~ ~ ~ minecraft:iron_trapdoor[half=bottom,facing=north] run scoreboard players set @s bw_block 1543
execute if block ~ ~ ~ minecraft:iron_trapdoor[half=bottom,facing=east] run scoreboard players set @s bw_block 1544
execute if block ~ ~ ~ minecraft:iron_trapdoor[half=bottom,facing=west] run scoreboard players set @s bw_block 1545
execute if block ~ ~ ~ minecraft:iron_trapdoor[half=bottom,facing=south] run scoreboard players set @s bw_block 1546
execute if block ~ ~ ~ minecraft:iron_trapdoor[half=top,facing=north] run scoreboard players set @s bw_block 1547
execute if block ~ ~ ~ minecraft:iron_trapdoor[half=top,facing=east] run scoreboard players set @s bw_block 1548
execute if block ~ ~ ~ minecraft:iron_trapdoor[half=top,facing=west] run scoreboard players set @s bw_block 1549
execute if block ~ ~ ~ minecraft:iron_trapdoor[half=top,facing=south] run scoreboard players set @s bw_block 1550