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

When using the item component "item_name" for items that can use customizable models (custom potions, shields, etc.), the item name is not reflected.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.21.3
    • None
    • windows11
    • Unconfirmed

      What I expected to happen was...:
      If you put "item_name" in the item component and hit the give command, you would have gotten a custom potion with the original name.

      What actually happened was...:
      But what we actually got were "Uncraftable Potions".

      Steps to Reproduce:
      1. Type the command "/give @p minecraft:potion[minecraft:item_name="aaaaa"]".
      2. I have "Uncraftable Potions" on hand.

      PS: "/give @p minecraft:potion[minecraft:custom_name='{"text": 'aaaaa', 'italic':false}'" This will solve the problem, but it is only a stopgap method.

      There may be something about my English that is not very good, but that is because I am not an English speaker. Of course, I am using a translator for this English text.

        1. 2024-10-25_20.37.34.png
          2024-10-25_20.37.34.png
          2.75 MB
        2. 2024-10-25_20.37.50.png
          2024-10-25_20.37.50.png
          2.87 MB
        3. 2024-10-25_20.38.12.png
          2024-10-25_20.38.12.png
          2.73 MB
        4. 2024-10-25_20.38.26.png
          2024-10-25_20.38.26.png
          2.85 MB

            Unassigned Unassigned
            ayaibu04090818 ayaibu04090818
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: