mojira.dev
MC-111491

Map shows only one Decorations tag icon

I got map generated by command with 2 markers on it.
However, only one marker is shown on map, and it seems that marker picked randomly after game reloading. (as you may see on screenshot - I've just reloaded game between screenshots)

Screenshot with NBT structure attached.

Attachments

Comments 5

Please provide the command to get the map

/give PlayerName filled_map 1 15 {Decorations:[{id:1,rot:180,type:8,x:-174,z:180},{id:2,rot:180,type:8,x:-1532,z:615}]}

Take note that there are couple of conditions have to be met:
1. Map should allready be created - otherwise player marker will beglitched (related to MC-106684)
2. At first generation markers might be seen (seems like previous marker positioning saved in cache or like that), but as soon as you quit current game (not need to restart whole MC), bug will be reproduced.

Please use {code} in front and after commands to format them properly.

The third marker has no x and z coordinate, is that intended?

And try to use the correct data types to make sure that this is not causing the bug:

/give @p filled_map 1 15 {Decorations:[{id:"1",rot:180d,type:8b,x:-174d,z:180d},{id:"2",rot:180d,type:8b,x:-1532d,z:615d}]}

Fixed previous comment with correct formating, thank you.

Sorry, i've used some small command generator i've written, and third point data was not yet filled (didn't use it on map generation.

Regarding data types - as you may see on screenshot from NBT editor (NBTExplorer-2.7.6), i've used another ids - string ones ("Village1" and "Village2"), still, effect is the same.
UPD: sorry, haven't noticed data types for coords and rotation. Will try, thank you!

Checked with datatypes - worked perfectly!

Please, close the issue or edit accordingly, if you think it's necessary.

~marcono1234 , many thanks for help!

Artem Myagkov

(Unassigned)

Unconfirmed

Minecraft 1.11, Minecraft 16w50a

Retrieved