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

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • 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
    • None
    • Confirmed
    • (Unassigned)

    Description

      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

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              CHK: