To Reproduce
Change your game mode to spectator.
/gamemode spectator/gamemode spectator
Summon an entity, like an armor stand.
/summon minecraft:armor_stand ~ ~ ~ {Tags: ["target"]}/summon minecraft:armor_stand ~ ~ ~ {Tags: ["target"]}
Make the current chunk forceloaded in case the entity despawns.
/forceload add ~ ~/forceload add ~ ~
Fly away, or use command.
/tp ~1234 ~ ~/tp ~1234 ~ ~
Use spectate command.
/spectate @e[limit=1,tag=target]/spectate @e[limit=1,tag=target]
❌ You can fly to anywhere freely at clientside.
You can find that you don't move at serverside by executing
/data get entity @s Pos/data get entity @s Pos
Linked issues
is duplicated by 1
Comments 7
Can confirm in 20w51a. To add on, when you stop spectating the entity, you will be teleported to its position.
I see the issue I opened was a duplicate but please check out MC-167621 either way because it does contains a bit of extra information that was not mentioned here.