mojira.dev
MC-679

Compass points wrong direction after returning from nether

If you take a compass with you into the nether and back, it don't points anymore to the spawn point.
But always to following coordinates in the world:
x:8 y;?? z:8

It't reproducible in any gamemode.

The only solution I found is to close and reopen the savegame.

edit:
If you die (kill yourself) the compass is also fixed

edit2:
it's not such a big issue but still annoying.


When you travel to a different dimension the client receives a S07PacketRespawn packet (MCP 1.8 names). Because the client does not store all servers for the different dimensions it creates a new WorldClient and copies most of the data from the dimension before, for example if it was hardcore etc. or information contained in the respawn packet. The spawnpoint is however defaulted to the initial spawnpoint which is (8|64|8) because it is neiter contained in the respawn packet nor is it copied to the new WorldClient from the old one.

These might be some possible ways to solve it, that come in my mind right now:

  • Adding the spawnpoint in the respawn packet. This information would be unnecessary when the player dies in the overworld, this however already happens for the difficulty, the world type and the game mode.

  • Sending a S05PacketSpawnPosition from the server when the player changes the dimension and when the player dies in a different dimension. This creates the same bug described in this report when there is latency and the player does not receive this packet.

Linked issues

MC-2478 Compass direction is incorrect after returning from Nether Resolved MC-4420 Compass randomly points in different direction in the over-world. Sometimes it points to the spawn other times it points elsewhere Resolved MC-5186 Compas got broken. Resolved MC-9532 Nether Portal Complete World Change/Delete Resolved MC-15826 Compass needle target changes Resolved

Attachments

Comments 54

I can confirm this issue. It has happened to me. I almost lost my house because it pointed to a random location. Not only that but a new portal was created when I came back to the overworld, so I was in a totally different place. I didn't create a new portal somewhere else in the Nether yet I still ended up in the wrong place.

Can confirm.

Affects also version 1.4.5

I believe this can happen even without going to the nether. Sometimes the compass just doesn't work, but then later fixes itself when you die. I haven't been able to pin it down. It's hard to catch because it takes a while after starting a new world to get redstone to make a compass, so won't notice a world is broken right away, but I believe it has something to do with the spawn protection that keeps you from spawning in water. I'm not sure. It's been happening to me a lot and I'm pretty sure I don't even have to go to the nether for it to break and/or fix itself. Very weird. Annoying too since when it breaks often the compass is pointing far away from where you spawned and made a house etc., making the compass far less useful in that world.

Still exists in Snapshot 13w09a.
It's very annoying, because you can't leave the nether through a new portal.

44 more comments

Confirmed for 1.10.2

@unknown, see the comment above yours

Confirmed fixed for 16w32b (probably 16w32a as well)

Adrian Mignogna

This Bug is in the Bedrock Version in Build 1.2.0.20

Then please create a report for it there.

Jaden Wong

Jens Bergensten

Confirmed

compass, coordinates, direction, nether, spawn

Minecraft 1.4.1, Minecraft 1.4.2, Minecraft 1.4.3, Minecraft 1.4.4, Minecraft 1.4.5, ..., Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2

Minecraft 16w32a

Retrieved