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

Trying to use item on mob leashed to yourself always clears leash first


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12.2, Minecraft 18w02a, Minecraft 1.13-pre2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 1.16.4, 20w49a, 21w03a, 21w05b, 21w06a, 1.17.1, 1.18.2, 1.19, 1.19.3, 1.20.1
    • Confirmed
    • (Unassigned)

      The bug

      When you try to use an item, like a name tag or a spawn egg, on a mob leashed to yourself the leash is always cleared. Expected would be that the leash is either only cleared when you are not holding an item or when the item cannot be used on the mob (EnumActionResult.PASS).

      How to reproduce

      1. Leash a pig
      2. Try right clicking the pig with a pig spawn egg to spawn baby pigs
        The leash is cleared

        1. MC-124202.mp4
          3.60 MB
        2. MC-124202.png
          488 kB

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            7 Vote for this issue
            3 Start watching this issue