Testing discovered MC-276770 and MC-276771.
The bug
If an item which can be equipped is specified via components to point to an equipment model that does not exist, the missing texture will not be used when it is equipped.
As per the resolutions of MC-276671 and MC-276673, this may not be intended behaviour.
How to reproduce
/give @s stick[equippable={slot:"chest",equip_sound:"entity.ghast.hurt",model:leather}]
/give @s stick[equippable={slot:"chest",equip_sound:"entity.ghast.hurt",model:nonexistent_model}]
Equip each and observe
Expected results
As leather is a valid model, the first item would display the leather armor texture. As nonexistent_model does not exist, there would be a missing texture displayed.
Actual results
The first does in fact happen, however for the invalid model, there is no missing texture.
How to fix
Either display missing textures here, or fix MC-276671 and MC-276673 by making them fall back to the default textures/models.
Linked issues
is duplicated by 1
Attachments
Comments 2
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 with commands:
And: