mojira.dev
MC-278175

item_name component is never visible on potions

The contents of an item_name component are never visible on potions, because they are always overridden by "(Splash / Lingering) Uncraftable Potion", when the item_name component should only be overridden by a minecraft:potion_contents, minecraft:custom_name, or minecraft:written_book_content component.

Steps to Reproduce:

  1. Give yourself a potion with an item_name component

/give @s lingering_potion[minecraft:item_name=f]

 

Observed Results:

The name of the item is "Lingering Uncraftable Potion"

Expected Results:

To have a potion with the name "f"

Screenshots/Videos:

Result in versions 24w36a and above:

[media][media]

Result in version 24w35a:

[media][media]

Linked issues

Attachments

Comments 1

Thank you for your report!
We're tracking this issue in MC-277845, 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

Penguh

(Unassigned)

Unconfirmed

(Unassigned)

1.21.3, 24w45a

Retrieved