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

Anvil text position doesn't reset properly when shift-clicking input item out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 20w11a, 20w51a, 21w03a, 1.19.3
    • None
    • Confirmed
    • UI

      Summary isn't an exact description of the bug, it's a bit more intricate than that and I'm unable to figure out what exactly is going on. Steps to reproduce:

      1. Give yourself a zombie villager spawn egg (in your hotbar)
      2. Place an anvil
      3. Shift-click the spawn egg into the anvil, observe that the text position is correct (1.png)
      4. Add a few letters to the name field
      5. Shift-click the spawn egg out of the anvil input slot without doing the rename
      6. Shift-click the spawn egg into the anvil input slot again
      7. Observe the blue text highlight at the end of the text input slot indicating the wrong text position (2.png)

      Note that this happens under various circumstances. I've seen inventory position play into it as well, and renaming the item wasn't always necessary. The reproduction steps above are the only ones that work consistently.

        1. Minecraft 20w11a - Singleplayer 2020-03-16 17-30-10.mp4
          5.82 MB
        2. 2020-12-18_19.30.49.png
          2020-12-18_19.30.49.png
          390 kB
        3. 2.png
          2.png
          123 kB
        4. 1.png
          1.png
          123 kB

            Unassigned Unassigned
            redstonehelper [Mod] redstonehelper
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: