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

Persistent trader llamas will still despawn when leashed to wandering traders

XMLWordPrintable

    • Community Consensus
    • Mob spawning
    • Normal
    • Platform

      Per this comment by MojangMoesh, trader llamas which are marked as persistent should not despawn when leashed to wandering traders. However, this is not the case. This issue prevents the player from being able to artificially create naturally spawned wandering traders plus their two llamas.

      Steps to Reproduce:

      1. Summon a persistent, leashed trader llama:
        /summon trader_llama ~ ~ ~ {Leashed:1b,PersistenceRequired:1b}
        
      2. Spawn a wandering trader
      3. Leash the llama to the wandering trader:
        /data modify entity @n[type=minecraft:trader_llama] leash.UUID set from entity @n[type=minecraft:wandering_trader] UUID
        

      Observed Behavior:

      The trader llama will despawn when leashed, despite being marked as persistent.

      Expected Result:

      The trader llama would not despawn, but instead would be leashed to the wandering trader as expected.

      Screenshots/Videos:

      TraderLlamaDespawn.mp4

      Notes:

      Related to MC-258553

            Unassigned Unassigned
            Jingy [Helper] Jiingy
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: