Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-278175

item_name component is never visible on potions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.3, 24w45a
    • None
    • Unconfirmed
    • (Unassigned)

      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:

            Unassigned Unassigned
            Penguh Penguh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: