Relates to: MC-236295 MC-263121 MC-276750
The bug
If an item is given to the player with an invalid tooltip style component, an error is not printed to the game log. This is unlike what happens with resource packs if there are issues loading textures, such that the missing texture is used.
How to reproduce
/give @s stick[minecraft:tooltip_style="minecraft:nonexistent_texture"]
Mouse over the item
Check the game log
Expected results
Since the game failed to locate a valid texture for this item's tooltip, an error would be logged.
Actual results
There is no error recorded.
Attachments
Comments 3
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
Can confirm:
[media]