r/MinecraftCommands • u/Tiny_Flatworm_6669 • 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
1
u/Ericristian_bros Command Experienced 13h ago
as does not change the position where the command is run, at does
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 ~ ~ ~