Until 25w03a it was possible to hide the additional tooltips of Smithing Templates and Disc Fragments using the hide_additional_tooltip
component. However, this has no equivalent in 25w04a since those tooltips are not added by any component but the items themselves.
How to reproduce:
(It's difficult to prove that something isn't possible. Below is a reproduction showing that tooltips show up when updating from 25w03a to 25w04a, but this issue is not exclusively a datafixer issue)
In 25w03a run the following commands:
/give @s minecraft:bolt_armor_trim_smithing_template[minecraft:hide_additional_tooltip={}] /give @s minecraft:disc_fragment_5[minecraft:hide_additional_tooltip={}]
✔ Observe that those items don't have any tooltip except their name
Update to 25w04a
❌ Observe that those items now do have an additional tooltip
Cause:
These items still create their tooltip in the appendHoverText
method of the item subclass. Skipping this method was previously the effect of the hide_additional_tooltip
component. Other uses were moved to components but these 2 cases still use this method, which can no longer be skipped.
Linked issues
is duplicated by 2
Comments 5
That, or add a seperate component for armor trim descriptions. I could see replacing them with the lore messing up datapacks that allow players to change item lore. Could really use a fix, some of my server's custom datapack items have the trim text now!
Hey, if data packs want to keep the line, they can just prepend it to the lore list then. 😃
It feels weird to add such a specific component just to toggle a line whish is based on item ID.
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Perhaps it might be a good idea to move the item-ID dependent lines to default lore entries; then you can just overwrite the lore to remove it, without needing to introduce a unique component for lines unique to item IDs.