mojira.dev
MC-276750

Items with invalid model components do not print errors to the game log

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

  1. /give @s stick[item_model="minecraft:nonexistent_model"]
  2. 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

I can verify that nothing is printed to the game log. Only the 'give' command:

[media]

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

muzikbike

(Unassigned)

Confirmed

(Unassigned)

24w37a

Retrieved