Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-679

Compass points wrong direction after returning from nether

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.4.1, Minecraft 1.4.2, Minecraft 1.4.3, Minecraft 1.4.4, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w07a, Snapshot 13w09a, Snapshot 13w09c, Snapshot 13w10a, Snapshot 13w10b, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Snapshot 13w16a, Minecraft 1.5.2, Snapshot 13w17a, Snapshot 13w18b, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w21a, Snapshot 13w21b, Snapshot 13w24a, Snapshot 13w25c, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w38c, Minecraft 13w39b, Minecraft 13w41a, Minecraft 13w41b, Minecraft 13w42a, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w48a, Minecraft 13w48b, Minecraft 13w49a, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 14w02b, Minecraft 14w02c, Minecraft 14w03a, Minecraft 14w08a, Minecraft 1.7.9, Minecraft 14w25a, Minecraft 1.7.10, Minecraft 14w29b, Minecraft 14w30a, Minecraft 14w30b, Minecraft 14w32d, Minecraft 14w33c, Minecraft 14w34a, Minecraft 14w34b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1, Minecraft 1.8.2-pre4, Minecraft 1.8.3, Minecraft 15w31a, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w41b, Minecraft 15w45a, Minecraft 1.8.9, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w06a, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2
    • Fix Version/s: Minecraft 16w32a
    • Confirmation Status:
      Confirmed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jeb [Mojang] Jeb (Jens Bergensten)
                Reporter:
                jadenwong Jaden Wong
              • Votes:
                77 Vote for this issue
                Watchers:
                25 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: