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

Reloading a chunk with a map inside item frame duplicates map marker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.13.1
    • Minecraft 1.8, Minecraft 1.8.1-pre4, Minecraft 1.8.1-pre5, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre3, Minecraft 1.8.2-pre4, Minecraft 1.8.2-pre5, Minecraft 1.8.2-pre6, Minecraft 1.8.2-pre7, Minecraft 1.8.2, Minecraft 1.8.3, Minecraft 15w47c, Minecraft 1.12.2
    • None
    • Linux and OS X, Java 1.8u25, Java 1.8.0_66
    • Unconfirmed

      After applying my patch to MC-3416 that draws the map markers in front of the map instead of behind it, bbbbbbbbba was able to take this screenshot that reveals that map markers have been duplicated:

      After a simple test I have a found a way to replicate this bug in vanilla:

      1. Create a new regular superflat world
      2. /tp 0 5 -200
      3. /setworldspawn
        • (to make sure 0,0 gets unloaded)
      4. /tp 5 5 5
      5. Create a map and put a copy in a frame, leaving one copy in your hand.
      6. /tp 5 5 200
      7. /tp 5 5 5
        • Repeat last two steps twice.
      8. Drop the map from your inventory and pick it up again

      Your marker has now disappeared, because MC-3416 hides all markers except the first four and reloading the chunk three times has now duplicated the marker in the frame to fill slots 1-4.

      I took some additional screenshots after a command block machine had teleported me back and forth for some time, which demonstrate both MC-3416 and this bug: The map marker has been duplicated and the markers are being offset in the wrong direction.


      Code analysis by Marcono1234 in this comment.

        1. 2014-11-06_17.05.40.png
          131 kB
          Altti Tammi
        2. 2014-11-09_13.00.00.png
          106 kB
          Altti Tammi
        3. 2014-11-09_13.00.15.png
          85 kB
          Altti Tammi
        4. 2018-01-31_17.14.11.png
          241 kB
          Fang Zhang
        5. 2018-01-31_17.27.26.png
          208 kB
          Fang Zhang

            Unassigned Unassigned
            Angs Altti Tammi
            Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: