advancement revoke @s only samsung:right_click/samsung_portal
execute in samsung:samsung_store positioned 0 -100000 0 if entity @s[tag=!samsung_portal_cooldown,distance=1..] at @s in minecraft:overworld run function samsung:tp_to_dimension
execute in overworld positioned 0 -100000 0 if entity @s[tag=!samsung_portal_cooldown,distance=1..] at @s in samsung:samsung_store run function samsung:tp_to_dimension
