Hızlı yanıt: kod örneği
This is an interesting question. changes the position of execution using the position, rotation, and dimension of the target. only uses the position of the target. You can test this yourself by running this command from a command block in the overworld (make sure the chunk is loaded):The entity with the tag is just a switch so you can activate the command from the end/nether. The command will place a glass block at your position but in the overworld (which proves that only uses the position). Now try using and you will see that the glass block is placed not only at your position, but also in the same dimension you are in.
at
positioned as
/execute if entity @e[tag=test] positioned as @p run setblock ~ ~2 ~ glass
positioned as
at