mojira.dev
MC-301848

Custom item models no longer allows items to render outside the inventory slot

In Minecraft Java Edition 1.21.6 and later, the display.gui.scale property in item models no longer works as before.
Previously, resource packs could define a custom model for an item and use display.gui.scale to increase the size of the item’s icon. When the scale was set higher than 1.0, the item icon would extend outside of its inventory slot, sometimes overlapping neighboring slots.
As of 1.21.6, the rendering behavior has changed: icons are now clipped or restricted to fit strictly inside the slot, regardless of the display.gui.scale value.

Attachments

Comments 1

Thank you for your report!
However, this issue is Working as Intended.

The report you have submitted is working as intended: see the 1.21.6 Pre-Release 1 changelog:

Item Models

  • Item model definitions now have a boolean field oversized_in_gui which is false by default

    • If true, the item model will be allowed to be bigger than its item slot

    • If false, the item model will be clipped to the item slot size when being rendered in gui

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

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

Rubén Chavarría

(Unassigned)

Unconfirmed

(Unassigned)

1.21.8

Retrieved