Minecraft Portal/Teleporting between 2 Overworlds

minecraft-java-edition

I would prefer if my players can walk in the Custom Portal i made with water and they get teleported to another place in another Overworld (World). It would still be okay with presure plate. I just don't know how to make that. Can anyone Help me with this ? Also my server is 1.16.4.

Best Answer

If you will build them in vanilla it doesn´t work to teleport to another dimension, but you can teleport someone very far away if this player stands in endgateway in the overworld. the command: /execute as @a in minecraft:overworld at @s if block ~ ~ ~ minecraft:end_gateway run tp @s x y z I hope I can help