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

Renaming Ominous Banner on an anvil inserts formatting codes into item name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 24w13a
    • None
    • Unconfirmed
    • (Unassigned)

      Placing an Ominous Banner into an anvil fails to strip the color formatting codes from the item name, resulting in the text "§r§6Ominous Banner" appearing in the rename field, and the output item's name being prefixed with "r6" if the formatting codes are not removed.

      Steps to reproduce:

      1. Retrieve an Ominous Banner from the creative inventory. Or kill a raid captain, I guess.
      2. Place it in an anvil.
      3. Observe the incorrect text in the "rename" field.
      4. Add any text to the end of the item name.
      5. Observe the extraneous characters remaining at the start of the string.

        1. 2024-03-27_20.06.21.png
          2024-03-27_20.06.21.png
          205 kB
        2. 2024-03-27_20.06.29.png
          2024-03-27_20.06.29.png
          204 kB
        3. 2024-03-27_20.09.28.png
          2024-03-27_20.09.28.png
          203 kB
        4. screenshot-1.png
          screenshot-1.png
          5 kB

            Unassigned Unassigned
            KirbAvion Kirven Avion
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: