Cross-dimension teleportation using command block or datapack?

Is it possible to teleport a player in coordinates in another dimension? If not, is it possible using a datapack?

I’m using MultiVerse with 1.14 but their portals plugin is broken. I tried to use a command block but mvtp @p otherworld breaks, saying “can’t find player @p”. I assume Minecraft doesn’t parse this since it’s not a vanilla command.

Our goal is to teleport players after pushing a button on a block because we’re a full survival server and don’t allow teleports. Otherwise I could grant every permission to use mvtp directly.

Answer

You can teleport yourself to the end with this command

/execute in minecraft:the_end run tp @s <coordinates>

To the nether with this:

/execute in minecraft:the_nether run tp @s <coordinates>

Or to the overworld:

/execute in minecraft:overworld run tp @s <coordinates>

Attribution
Source : Link , Question Author : BotskoNet , Answer Author : Community

Leave a Comment