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

Leashing Trader Llamas to other entities with commands makes them disappear instantly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.4, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w11a, 21w13a, 21w14a, 1.17.1, 21w41a, 1.18.2, 1.19.3
    • Confirmed
    • Commands

      This one is hard to explain, so I'll just tell you how to make it happen.

      1. Run "/summon villager ~ ~ ~

      {UUID:[I;"put UUID here"]}

      2. Run "/summon trader_llama ~ ~ ~ {Leash:{UUID:[I;"make UUID here match UUID above"]}}"
      3. The trader llama spawns, and then disappears instantly!
      4. Spawn a trader llama with a spawn egg
      5. Run "/data merge @e[type=trader_llama,limit=1,sort=nearest] {Leash:{UUID:[I;"make UUID here match UUID of the villager"]}}
      6. It's gone!
      7. Do the same with a normal llama.
      8. It works just fine

      Code Analysis

      The code analysis can be seen with a fix in MC-168188 thanks to Thumpbacker

            Unassigned Unassigned
            Bobbyawesome101 Bobby N.
            Votes:
            8 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: