mojira.dev
MC-299877

The sizes of items within dialogs aren’t rendered correctly when using modified “width” and “height” values

The Bug:

The sizes of items within dialogs aren’t rendered correctly when using modified “width” and “height” values.

It seems that only the hitbox of the item within the dialog is changed.

Steps to Reproduce:

  1. Display the appropriate dialog by using the command provided below.

    /dialog show @s {"type":"minecraft:notice","title":"MC-299877","body":[{"type":"minecraft:item","item":{"id":"minecraft:diamond","count":64},"description":"This is 64 Diamonds","show_decorations":true,"show_tooltip":false,"width":100,"height":100}]}
  2. Click on the diamond and observe its width and height.

Observed Behavior:

The sizes of items aren’t rendered correctly. It appears that only the hitbox of the item is adjusted, while the actual item and item count themselves remain the same no matter the specified values.

Expected Behavior:

The sizes of items would be rendered correctly.

Attachments

Comments 3

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

Avoma

(Unassigned)

Community Consensus

(Unassigned)

1.21.8

Retrieved