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

Babies of tamed trader llamas despawn

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.14.3 Pre-Release 1, 1.14.4, 19w46b, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w45a, 20w49a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w07a, 21w08b, 21w11a, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w40a, 21w44a, 1.18 Release Candidate 1, 1.18 Release Candidate 4, 1.18, 1.18.1, 22w03a, 1.18.2, 1.19 Pre-release 1, 1.21.4
    • None
    • Community Consensus
    • Mob behaviour
    • Normal
    • Gameplay

      What I expected to happen:

      1. I breed 2 wanderer llamas tamed by me
      2. I get a baby trader llama
      3. The baby llama should eventually grow up and I would be able to use them when I return from another objective I was doing in the world

      What happens:

      1. I breed 2 wanderer llamas tamed by me
      2. I get a baby trader llamas
      3. By the time I return the baby trader llamas are gone
      • Using /data get entity on a bred baby trader llama I was able to see that they were not assigned an owner and that their despawn delay was still ticking. With other tamable mobs like wolves I automatically get an owned pet when I breed 2 of the (e.g. cats or dogs).

      Potential fixes suggested:

      • Baby trader llamas should automatically get an owner tag from one of the parents.
      • Have tradder llamas only despawn when DespawnDelay reaches 1, and any bred trader llama baby should have it set to 0. That way the despawn delay will never tick down to the baby llamas, while naturally spawned ones would still despawn as intended.

      Code Analysis

      The Code Analysis with a potential fix can be seen in MC-168188 thanks to Thumpbacker

            Unassigned Unassigned
            Ozone Ozone
            Votes:
            26 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: