# North
execute if block ~-1 ~-2 ~2 end_portal_frame[eye=true] positioned ~-1 ~-2 ~2 run function stellarity:sfx/end_portal/fill_stop/delete
execute if block ~ ~-2 ~2 end_portal_frame[eye=true] positioned ~ ~-2 ~2 run function stellarity:sfx/end_portal/fill_stop/delete
execute if block ~1 ~-2 ~2 end_portal_frame[eye=true] positioned ~1 ~-2 ~2 run function stellarity:sfx/end_portal/fill_stop/delete

# East
execute if block ~2 ~-2 ~1 end_portal_frame[eye=true] positioned ~2 ~-2 ~1 run function stellarity:sfx/end_portal/fill_stop/delete
execute if block ~2 ~-2 ~ end_portal_frame[eye=true] positioned ~2 ~-2 ~ run function stellarity:sfx/end_portal/fill_stop/delete
execute if block ~2 ~-2 ~-1 end_portal_frame[eye=true] positioned ~2 ~-2 ~-1 run function stellarity:sfx/end_portal/fill_stop/delete

# South
execute if block ~1 ~-2 ~-2 end_portal_frame[eye=true] positioned ~1 ~-2 ~-2 run function stellarity:sfx/end_portal/fill_stop/delete
execute if block ~ ~-2 ~-2 end_portal_frame[eye=true] positioned ~ ~-2 ~-2 run function stellarity:sfx/end_portal/fill_stop/delete
execute if block ~-1 ~-2 ~-2 end_portal_frame[eye=true] positioned ~-1 ~-2 ~-2 run function stellarity:sfx/end_portal/fill_stop/delete

# West
execute if block ~-2 ~-2 ~-1 end_portal_frame[eye=true] positioned ~-2 ~-2 ~-1 run function stellarity:sfx/end_portal/fill_stop/delete
execute if block ~-2 ~-2 ~ end_portal_frame[eye=true] positioned ~-2 ~-2 ~ run function stellarity:sfx/end_portal/fill_stop/delete
execute if block ~-2 ~-2 ~1 end_portal_frame[eye=true] positioned ~-2 ~-2 ~1 run function stellarity:sfx/end_portal/fill_stop/delete
