Minecraft – ny way to teleport someone to the nether? (1.14)

minecraft-commandsminecraft-java-edition

I wanted to try to make a new dimension, by teleporting them over the bedrock in the nether.

/execute as AaronKanaron in minecraft:the_nether run tp @p ~ 128 ~

I know I've done something wrong but I'm not the best at commands.

/execute in minecraft:the_nether run tp @p ~ 128 ~

Using this you get teleported to nether if you type it in chat, but is there a way to teleport someone to the nether by a command block?
Thanks!

Best Answer

Oh! I figured out the command!

/execute as (player) run execute in minecraft:the_nether run tp (player) ~ 128 ~

Will teleport them over the bedrock in nether!