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

Trader llama 'DespawnDelay' tag is active, even when spawned with a spawn egg/commands

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w08a, 20w09a, 20w11a, 20w12a, 20w13b, 20w18a, 20w19a, 20w20b, 20w21a, 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, 20w30a, 1.16.2 Pre-release 1, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands, Mob behaviour
    • Mojang Priority:
      Low

      Description

      The bug

      The trader llama's DespawnDelay tag is active, even when spawned with commands or with their own spawn egg. After spawning a trader llama with commands or spawn egg, the tag starts at 47999 and begins to go down to 0 instead of the tag being default to 0 similar to wandering traders spawned by commands and their own spawn egg (and also makes them not despawn).

      How to reproduce

      1. Spawn trader llama using a spawn egg (untamed)
      2. Run
         /data get entity @e[type=trader_llama,limit=1] DespawnDelay 

        The trader llama's DespawnDelay tag is active as it is not default to 0.

      3. Spawn a wandering trader with a spawn egg
      4. Use the /data get again
        It's DespawnDelay is default to 0

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            drownedzombie01 [Helper] DrownedZombie
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: