mojira.dev
MC-49476

NBT "HideFlags" does not hide "Dyed" on leather armor

The bug

This isn't so much a bug as an oversight. You should include the "Dyed" or "color:(hex #)" as a line that you can hide for leather armor.

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Comments 27

To better explain what he's saying:
Dyed Armor contains a line of lore saying that it is dyed. HideFlags cannot currently hide this and it should be able to.

Is this still a concern in the current Minecraft version 14w18b / Launcher version 1.3.11 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Confirmed for 14w18b, launcher version 1.4.2.

Method:

Note: Usually, HideFlags uses values of 0-31 (2^5 values). Adding another line to hide would make it use 0-63 (2^6 values).

I used a simple command,
give @p leather_chestplate 1 0 {display:,HideFlags:31}
to test it (this would hide all lines available to hide). The line still displayed.
As I said, adding the other line would bring the values to 63, so I tried
give @p leather_chestplate 1 0 {display:,HideFlags:63}
and got the same result.

I can confirm this for 14w30c

Confirmed as of Minecraft version 1.8.

17 more comments

I support adding an extra flag, this is really annoying for mapmakers.
I wish this gets added in 1.16

Confirmed in 1.15.2

@@unknown, I have added 1.15.2 as affected version now based on your comment. In case we miss a comment and don't update the affected versions within a week or so, feel free to add another comment or contact us on Discord or Reddit.

What do you mean by "bumping"? If you mean adding a comment without any relevant information (such as only "bump") in an attempt to increase the importance of a report, then the answer is no. It will only unnecessarily notify all watchers (16 people here) and since no Mojang developer is assigned they would not even notice it. And even if one was assigned they will probably rather be annoyed by such comments as well.

Confirmed in 1.16.1.

Added new flag with value 64 to hide that tooltip line

Ben Meulink

boq

Confirmed

Normal

Commands

mojang_internal_1

Minecraft 14w06b, Minecraft 14w30c, Minecraft 1.8, Minecraft 1.8.8, Minecraft 15w33b, ..., Minecraft 19w04a, 1.14.4, 1.15.1, 1.15.2, 1.16.1

20w27a

Retrieved