execute if block ~ ~ ~ minecraft:end_rod[facing=up] run scoreboard players set @s bw_block 1193
execute if block ~ ~ ~ minecraft:end_rod[facing=down] run scoreboard players set @s bw_block 1194
execute if block ~ ~ ~ minecraft:end_rod[facing=north] run scoreboard players set @s bw_block 1195
execute if block ~ ~ ~ minecraft:end_rod[facing=west] run scoreboard players set @s bw_block 1196
execute if block ~ ~ ~ minecraft:end_rod[facing=east] run scoreboard players set @s bw_block 1197
execute if block ~ ~ ~ minecraft:end_rod[facing=south] run scoreboard players set @s bw_block 1198