Relates to MC-236295 and MC-263121.
The bug
If an item is given to the player with an invalid model component, an error is not printed to the game log. This is unlike what happens with resource packs if broken models are present.
How to reproduce
/give @s stick[item_model="minecraft:nonexistent_model"]
Check the game log
Expected results
Since the game failed to locate a valid model for this item, 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]