place template nitref:city/oyster ~-7 ~ ~-8
setblock ~ 255 ~-1 minecraft:barrier

###Places the siteplanner on top###
place template nitref:siteplanner ~ ~8 ~

advancement grant @a[distance=..20] only nitref:nitref/ach3.3 build-oyster

###Places the nitEndermollusks###
execute as @e[tag=nitOyster] at @s run summon minecraft:shulker ~ ~ ~ {CustomName:'{"text":"Endermollusk"}',Invulnerable:1b,PersistenceRequired:1b,NoAI:1b,Peek:79b,Color:8b,NoGravity:1b,Tags:[nitEndermollusk,nitEntity,smithed.entity,smithed.strict]}
execute as @e[tag=nitOyster] at @s run tp @e[tag=nitEndermollusk,distance=..1,limit=1] @s
kill @e[tag=nitOyster]

function nitref:siteplanner/cleanup