mojira.dev
MC-198821

using "/execute in the_nether" doesn't keep the coordinates the same

I am unsured if this is intended but it messes up seamless transitions between overworld and nether
for example do /execute in the_nether run teleport ~ ~ ~ and you will see in f3 that your coords will change even though you are using relative coordinates

Attachments

Comments 4

This is intended. As of minecraft 1.16.2, execute in respects dimension scaling, meaning that overworld coordinates are divided by 8 when executing in the nether.

This is unforturnate because the is no easy way of multiplying by 8 within the command block, it should use normal scaling if you are doing math to the relatives coordinates because I would need to export it to a scoreboard object and do a significant amount of logic to preserve decimals

workaround:

/execute in the_nether positioned as @s run tp ~ ~ ~

Alex

(Unassigned)

Unconfirmed

(Unassigned)

1.16.2

Retrieved