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

Maps in item frames can output different values for the same orientation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 14w05a, Minecraft 14w29b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 16w41a, Minecraft 1.12.1, 20w07a, 1.16.1, 20w28a, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 20w51a, 21w03a, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 23w43b, 23w45a, 23w46a, 1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2, 1.20.3 Pre-Release 4, 1.20.3 Release Candidate 1, 1.20.3, 1.20.4 Release Candidate 1, 1.20.4, 1.20.5, 1.20.6, 1.21
    • Confirmed
    • Entities, Maps, Redstone

      The bug

      Maps in item frames (both regular and glow item frames) being tested by comparators will output 1,2,3,4 for the four orientations a map can have on an item frame, but will then output 5,6,7,8 for those same orientations when rotated a second time.

      Steps to reproduce

      1. Place an item frame, and a comparator that reads from it. Place a map (already 'used,' with some drawing that is not rotationally symmetrical) inside it. The map will expand to fill the edge, as expected.
      2. Rotate the map 3 times; the comparator will output signals with respective strengths of 1, 2, 3, and 4, as expected.
      3. Rotate the map again. The map is now back to an orientation identical to the original orientation of the map, yet the comparator now outputs 5. Continuing rotation of the map will step through 6, 7, and 8.

      Code analysis

      Code analysis by HiroTDK can be found in this comment.

        1. maps 1.png
          103 kB
          zeda dex
        2. Minecraft 1.20.3 Pre-Release 4 - Singleplayer 2023-11-28 18-01-53.mp4
          9.93 MB
          [Mod] turbo
        3. RotationBug.gif
          1.86 MB
          Jeff Miranda

            Unassigned Unassigned
            zTxrbq [Mod] turbo
            Votes:
            15 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: