mojira.dev
MC-106679

Marker of map in item frame appears white instead of green if outside of map

The bug

The (normally green) marker that represents a map in an item frame on a map is white if the map in the item frame is outside the area that is covered by the map. This is confusing if you have a copy of that map in your inventory because it looks like there is another player holding this map.

How to reproduce

  1. Create a map

  2. Move outside the area which is visible on the map (your marker changes to a circle)

  3. Place the map in an item frame
    → The map marker which should be green is white

The reason

The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

The reason for this is that the method net.minecraft.world.storage.MapData.updateDecorations(int, World, String, double, double, double) uses always the white point if a marker is outside of the map (type 6).

Attachments

Comments 3

I can't reproduce this in 16w42a - can you?

I'm not even getting a map marker for item frames outside the map

Confirmed fixed for 1.11 and probably earlier. It now removes markers outside of the map which are not player markers (method net.minecraft.world.storage.MapData.func_191095_a(Type, World, String, double, double, double)).

marcono1234

Agnes Larsson

Confirmed

item-frame, map, marker

Minecraft 16w33a

Minecraft 1.11

Retrieved