-
Bug
-
Resolution: Works As Intended
-
None
-
Minecraft 1.11.2
-
None
-
Unconfirmed
The feature I'm about to start talking about has been long used by both mapmakers and server-side modders. It allowed people to add an empty list of enchants ("ench" tag) to the item's NBT tag so items would receive the enchanted glint even when having no enchants.
For some reason, this feature was removed in 1.11, ruining a lot of existing projects in both domains.
I'm aware that this was certainly an intended change, rather than a bug, however, this really adds nothing to the game and can't really be called a "bug-fix". It wasn't a bug at all, it was something useful for both map-makers and server-side modders.
You might say that that way of adding an enchantment glint is deprecated or was an unintended bug "fixed" in the 1.11 version, and suggest to use instead the HideFlags tag. However, this doesn't work for all the cases. One such case is described bellow (actual story of why I made this issue):
Player receives an item with a custom display name and lore, but no enchants. However, I want it to get the enchantment glint as the lore contains data parsed by my server-side mod in order to apply some effects to the holder, thus acting like some sort of "custom enchantment". However, I don't want to add a normal enchantment to it (even if irrelevant to that kind of item, for instance, a bow with sharpness) because players are actually supposed to further enchant the item with vanilla enchants, and applying the HideFlags tag will make them invisible, which is not a desired behavior.
Therefore, I really think reverting back to the old ante-1.10 behavior would help not only me, but also others in the same situations. Thanks!