mojira.dev
MC-301179

Custom item model display not working correctly (resource packs).

I was working on fixing the position and scale for my models in my resource pack to fit in the shelfs with the new “on_shelf“ display. Everything was working.. rotation, scale.. but when I wanted to edit the translation/position I noticed a problem. The horizontal movement worked just fine but moving it vertical did not work when the items are centered in the shelf, but only when they are placed on the bottom.

Steps to reproduce:

  1. Download the resourcepack in the comment below.

  2. Install en enable it.

  3. Get a stick from the creative menu.

  4. Place one of the shelfs.

  5. place the stick in the shelf.

  6. Get a debug stick and change it from cenetered to bottom, etc.

  7. To test it open minecraft/models/item/stick.json and edit the vertical part in “translation“ for “on_shelf“ display (the middle number).

Environment

Windows 11

Java: 21.0.7
CPU: 8x Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Display: 3840x2054 (NVIDIA Corporation)
NVIDIA GeForce RTX 2080/PCIe/SSE2
OpenGL 3.2.0 NVIDIA 572.83

Attachments

Comments 6

Hi!
Could you please provide the mentioned resource pack?

This ticket will automatically reopen when you reply. Thanks!

Quick Links
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki 

I can’t find a button where I can add more files, but I can share a google drive link for the resource pack? https://drive.google.com/file/d/15ZU6zXCKtJXUhOr5mCds1lwEncRoOo-I/view?usp=sharing

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

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

Sorry but this is not “Working as Intended.“ Even in snapshot 23w34a with the align_items_to_bottom blockstate removed my model is stuck in the shelf and no way to move it up or down with the display feature.

JustTimm

(Unassigned)

Confirmed

(Unassigned)

25w33a

Retrieved