#Display
execute as @a if score @s playerID = @n[type=marker,distance=0..1,tag=mine] playerID if predicate {"condition": "minecraft:random_chance","chance": 0.5} run function subchronos:game/items/mine/particles

#Check for explosion
execute as @a[distance=0..0.6,tag=!spectating] unless score @s playerID = @n[type=marker,distance=0..1,tag=mine,tag=!spectating] playerID run function subchronos:game/items/mine/explode