mojira.dev
MC-224960

The spectate command does not work between dimensions

When you make player A spectate entity B using the /spectate command, but they are in different dimensions, then player A will teleport to the correct coordinates, but not the correct dimension and won't actually spectate entity B.

How to reproduce

  1. Spawn an entity (or get another player), and then go to different dimension at different coordinates

  2. Switch to spectator mode

  3. Use the /spectate command to spectate the other entity

Now you and the entity will be at the same coordinates, but in different dimensions.

Linked issues

Comments 4

Confirmed in 1.16.5

Edit: it doesn't actually have to be another player, it also happens when spectating other entities

Still happens in 1.19.4. Player now teleports to the correct dimension, but still does not "/spectate" the specified entity. (Also F3+N doesn't work after this teleport. I had to run the /gamemode command myself.)

@unknown That is tracked in MC-261799.

JochCool

slicedlime

Confirmed

Platform

Low

Player

1.16.5, 21w18a, 21w19a, 1.17.1, 21w37a, 1.19.3

23w03a

Retrieved