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

Data command doesn't remove leash from a mob

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.15.2, 1.16.2, 1.16.4, 20w51a, 1.17.1
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed
    • Game Mode:
      Creative
    • Category:
      (Unassigned)

      Description

      By adding a lead to a mob (with item or with command) a leash appears.

      What I expected to happen was...:

      By removing the leash with data, The leash is removed

      What actually happened was...:
      But when I remove it with the following command the leash is always here (in data of the entity and visually)

      Steps to Reproduce:

       

       add the leash (or with item):

      execute as @e[type=!player,distance=..10] at @s run data modify entity @s Leash.UUID set from entity @p[distance=..40] UUID
      

       remove the leash:

      execute as @e[type=!player,distance=..10] run data remove entity @s Leash
      

       

      Update 1.16: the UUID system has changed in 1.16

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Jiogo18 Jiogo18
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: