Mojira Archive
MC-163266

When the target in /spectate command is too far, the player's movement will not be restricted at client-side

To Reproduce

  1. Change your game mode to spectator.
    • /gamemode spectator
  2. Summon an entity, like an armor stand.
    • /summon minecraft:armor_stand ~ ~ ~ {Tags: ["target"]}
  3. Make the current chunk forceloaded in case the entity despawns.
    • /forceload add ~ ~
  4. Fly away, or use command.
    • /tp ~1234 ~ ~
  5. Use spectate command.
    • /spectate @e[limit=1,tag=target]
  6. 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