mojira.dev
MC-278172

item_model component name is now unintuitive

The bug

As of 24w45a, the item_model component now points to resources in assets/minecraft/items, rather than assets/minecraft/models/item. This means that certain item models can no longer be selected like they can in previous snapshots.

How to reproduce

/give @s stone[minecraft:item_model="minecraft:spyglass_in_hand"]

Expected results

A stone item that uses the handheld spyglass model, since spyglass_in_hand is a valid item model.

Actual results

No model.

How to fix

The item_model component needs to be renamed to something more intuitive to indicate more clearly that it doesn't control the item model, but rather one of the item display definitions from that part of the resources.

Linked issues

Attachments

Comments 3

MC-278143, WAI; these "Item display definitions" as you call them, are actually called "Item models" per the changelogs. What you call "Item models" are just "Models".

Thank you for your report!
We're tracking this issue in MC-278143, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

muzikbike

(Unassigned)

Unconfirmed

(Unassigned)

24w45a

Retrieved