#If already a mine, dont place
    execute align xyz positioned ~.5 ~ ~.5 if entity @e[type=marker,tag=mine,distance=0..0.2] run return fail
    execute align xyz positioned ~.5 ~.5 ~.5 if entity @e[type=marker,tag=mine,distance=0..0.2] run return fail

#Gen, if its slab summons +.5 y
    execute align xyz if block ~ ~ ~ #minecraft:slabs[type=bottom] run summon marker ~.5 ~.5 ~.5 {Tags:["mine","mine.ini"]}
    execute align xyz unless block ~ ~ ~ #minecraft:slabs[type=bottom] run summon marker ~.5 ~ ~.5 {Tags:["mine","mine.ini"]}

execute on origin run scoreboard players operation @e[type=marker,tag=mine.ini] playerID = @s playerID
tag @e[type=marker,tag=mine.ini] remove mine.ini
kill @s