execute if block ~ ~ ~1 #bw:gothrough positioned ~ ~ ~1 run function bw:particle/to_z
scoreboard players set #bw_cdrod bw_calc 0
execute if block ~ ~ ~-1 #bw:gothrough positioned ~ ~ ~-1 run function bw:particle/to_nez