Mojira Archive
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:


Result in version 24w35a:

Duplicate

Penguh

2024-11-07, 07:07 PM

2024-11-08, 12:40 PM

2024-11-08, 12:40 PM

0

2

Unconfirmed

(Unassigned)

1.21.3, 24w45a

-