execute as @s[tag=!refresh_temp_graveplaced] positioned ~ ~ ~ if block ~ ~ ~ #vanilla_refresh:gravestone_permeable if block ~ ~1 ~ #vanilla_refresh:gravestone_permeable if block ~ ~2 ~ #vanilla_refresh:gravestone_permeable if block ^ ^ ^1 #vanilla_refresh:gravestone_permeable run function vanilla_refresh:death/grave/place_marker
execute as @s[tag=!refresh_temp_graveplaced] positioned ~ ~ ~1 if block ~ ~ ~ #vanilla_refresh:gravestone_permeable if block ~ ~1 ~ #vanilla_refresh:gravestone_permeable if block ~ ~2 ~ #vanilla_refresh:gravestone_permeable if block ^ ^ ^1 #vanilla_refresh:gravestone_permeable run function vanilla_refresh:death/grave/place_marker
execute as @s[tag=!refresh_temp_graveplaced] positioned ~1 ~ ~ if block ~ ~ ~ #vanilla_refresh:gravestone_permeable if block ~ ~1 ~ #vanilla_refresh:gravestone_permeable if block ~ ~2 ~ #vanilla_refresh:gravestone_permeable if block ^ ^ ^1 #vanilla_refresh:gravestone_permeable run function vanilla_refresh:death/grave/place_marker
execute as @s[tag=!refresh_temp_graveplaced] positioned ~ ~ ~-1 if block ~ ~ ~ #vanilla_refresh:gravestone_permeable if block ~ ~1 ~ #vanilla_refresh:gravestone_permeable if block ~ ~2 ~ #vanilla_refresh:gravestone_permeable if block ^ ^ ^1 #vanilla_refresh:gravestone_permeable run function vanilla_refresh:death/grave/place_marker
execute as @s[tag=!refresh_temp_graveplaced] positioned ~-1 ~ ~ if block ~ ~ ~ #vanilla_refresh:gravestone_permeable if block ~ ~1 ~ #vanilla_refresh:gravestone_permeable if block ~ ~2 ~ #vanilla_refresh:gravestone_permeable if block ^ ^ ^1 #vanilla_refresh:gravestone_permeable run function vanilla_refresh:death/grave/place_marker

execute as @s[tag=!refresh_temp_graveplaced] positioned ~1 ~ ~1 if block ~ ~ ~ #vanilla_refresh:gravestone_permeable if block ~ ~1 ~ #vanilla_refresh:gravestone_permeable if block ~ ~2 ~ #vanilla_refresh:gravestone_permeable if block ^ ^ ^1 #vanilla_refresh:gravestone_permeable run function vanilla_refresh:death/grave/place_marker
execute as @s[tag=!refresh_temp_graveplaced] positioned ~1 ~ ~-1 if block ~ ~ ~ #vanilla_refresh:gravestone_permeable if block ~ ~1 ~ #vanilla_refresh:gravestone_permeable if block ~ ~2 ~ #vanilla_refresh:gravestone_permeable if block ^ ^ ^1 #vanilla_refresh:gravestone_permeable run function vanilla_refresh:death/grave/place_marker
execute as @s[tag=!refresh_temp_graveplaced] positioned ~-1 ~ ~-1 if block ~ ~ ~ #vanilla_refresh:gravestone_permeable if block ~ ~1 ~ #vanilla_refresh:gravestone_permeable if block ~ ~2 ~ #vanilla_refresh:gravestone_permeable if block ^ ^ ^1 #vanilla_refresh:gravestone_permeable run function vanilla_refresh:death/grave/place_marker
execute as @s[tag=!refresh_temp_graveplaced] positioned ~-1 ~ ~1 if block ~ ~ ~ #vanilla_refresh:gravestone_permeable if block ~ ~1 ~ #vanilla_refresh:gravestone_permeable if block ~ ~2 ~ #vanilla_refresh:gravestone_permeable if block ^ ^ ^1 #vanilla_refresh:gravestone_permeable run function vanilla_refresh:death/grave/place_marker

tag @s remove refresh_temp_graveplaced