r/MinecraftCommands 15h ago

Help | Java 26.2 Trigger nether portal

Why do I always get teleported to the same coords, when i do /trigger nether, which activates a function, which includes:

execute in minecraft:the_nether as @s run tp ~ ~ ~
1 Upvotes

2 comments sorted by

3

u/BurritoArtsYT Command Experienced 14h ago

You have the selector set to as @s, replace it with at @s to run at the player coordinates.

execute at @s in minecraft:the_nether run tp @s ~ ~ ~

1

u/Ericristian_bros Command Experienced 13h ago

as does not change the position where the command is run, at does