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

When feeding a tamed horse or llama with a golden apple/carrot or hay bale, the cursor moves to the right

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w36d, Minecraft 15w44b, Minecraft 15w46a, Minecraft 15w49b, Minecraft 16w06a, Minecraft 1.9.4, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w38a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.12, Minecraft 17w31a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w46a, Minecraft 1.13-pre3, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a
    • Confirmed

      The bug

      When I was feeding my horses with golden apple, which are tamed and named, I expected that they would just open their mouths to show happiness. But the cursor instantly moved to the right, moving out of focus. I did not see if they accepted the apple.

      How to reproduce

      1. In creative mode, summon a horse.
      2. Tame the horse and name it.
      3. Put golden apple in your hotkey.
      4. Right-click the horse while the golden apple is in hand.

      Note that this is not MC-61535.

      Code analysis

      Code analysis by marcono1234 can be found in this comment.

      Suggested fix by gnembon can be found in fix_chestHorseChangingDirection.PNG; explanation can be found in this comment.

        1. fix_chestHorseChangingDirection.PNG
          87 kB
          [Mojang] Gnembon
        2. Before Feed LLAMA.png
          507 kB
          ParkHeungRok
        3. After Feed LLAMA.png
          509 kB
          ParkHeungRok

            rockenroll4life rockenroll4life (Josh Letellier)
            TheBascosOne Bryan Bascos
            Votes:
            97 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: