mojira.dev
MC-296851

Y-axis translation in display.ground has no effect on item models

Using a custom translation on the Y-axis to counteract the change of item entities on the ground being related to their size does not work — the item’s position remains visually unchanged, the Y translation has no effect at all. The x and z translations work as expected.

Attached resource pack applies a model to cookie demonstrating this issue.

Steps to reproduce:

  1. Create a custom model file for an item (or use the attached resource pack)
    assets/minecraft/models/item/cookie.json

  2. Use the following model JSON:

    {
      "parent": "minecraft:item/generated",
      "textures": {
        "layer0": "item/cookie"
      },
      "display": {
        "ground": {
          "translation": [0, -30, 0],
          "scale": [3, 3, 3]
        }
      }
    }
  3. Drop the item (cookie) on the ground

Expected Result:

  1. The item should appear only larger (due to scaling) and not positioned high above the ground.

  2. The translation on the Y-axis should visibly move it downward.

Observed Result:

The item scales up correctly but floats significantly above the ground. The Y-axis translation has no visible effect (while X and Z translations do).

Attachments

Comments 6

If I’m understanding this correctly, this is intended as per the 25w07a changelog:

Item entity

  • When on ground, model size is now taken into account when determining hovering motion

    • That means that models should never clip into the block below, no matter what size they are

Thank you for the clarification — I hadn’t noticed that change.

That said, I still believe there’s a separate issue here: the Y-axis translation value appears to have no effect at all. Even if the base hover height is auto-adjusted, I’d expect translation to act as an additional offset, not be completely ignored.

Please attach a datapack and provide the commands needed to reproduce this issue using that datapack

Thank you for your response!

Just to clarify, this issue is related specifically to resource packs, not datapacks. It’s a visual/rendering issue with how item models behave when using the display.ground transformation in the item model JSON.

I’ve already attached a resource pack that demonstrates the issue and included reproduction steps (just dropping the cookie item on the ground is enough). No datapack or commands are involved in reproducing it. Please let me know if you’d like me to reattach the pack or provide any additional details.

I reworded the description a bit to reflect the summary / title of the report better – as others pointed out the change that a scaled item will appear higher now is an intentional change.

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

XD_CZ

(Unassigned)

Confirmed

(Unassigned)

1.21.5, 25w16a, 25w20a

Retrieved