#####execute positioned ~ ~15000 ~ run kill @e[type=falling_block,sort=nearest,tag=LanternSand,tag=ReplaceMe,distance=..4]
#####execute positioned ~ ~15000 ~ run kill @e[sort=nearest,type=armor_stand,tag=LanternEventStands,tag=ReplaceMe,distance=..4]



execute at @s[tag=!DoNoEffect] run setblock ~ ~1 ~ lantern
execute at @s positioned ~ ~1 ~ run kill @e[type=falling_block,tag=LanternSand,distance=..1]
execute at @s[tag=!DoNoEffect] run fill ~1 ~1 ~1 ~-1 ~2 ~-1 air replace light
execute at @s[tag=!DoNoEffect] run execute at @s run summon armor_stand ~ ~ ~ {Invisible:1,NoGravity:1b,Small:1b,Tags:["LanternEventStandsBlock"],DisabledSlots:4144959}
execute at @s run tp @s ~ ~-150 ~
execute at @s run kill @e[type=falling_block,sort=nearest,tag=LanternSand,distance=..4]
execute at @s run kill @s