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

Compass animates incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 16w36a
    • Minecraft 15w31b, Minecraft 15w31c, Minecraft 15w36c, Minecraft 15w38a, Minecraft 15w39b, Minecraft 15w39c, Minecraft 15w40a, Minecraft 15w40b, Minecraft 15w41b, Minecraft 15w42a, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47a, Minecraft 15w47b, Minecraft 15w47c, Minecraft 15w49a, Minecraft 15w50a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, 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 1, Minecraft 1.9.4, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w33a
    • None
    • OS X, Java 8
    • Confirmed

      Instead of the needle moving naturally to the proper position, the compass loops backwards all the way around to the correct position.

      This happens on two different occasions:

      • when you are turning around and you face south,
      • when you move between the +X,+Z and +X,-Z quadrants.

      A fix is attached, which keeps the angle's local variable in range, rather than just keeping certain return values in range.

            grum [Mojang] Grum (Erik Broes)
            derborgus3333 Derb
            Votes:
            13 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: