Trader llamas won't despawn
Linked Issues
is duplicated by5
Created Issue:
Trader Llamas won't despawn.
Trader llamas won't despawn with wandering trader, slowly filling up my world with llamas.
is duplicated by
is duplicated by
MC-146140
is duplicated by
relates to
relates to
is duplicated by
relates to
is duplicated by
relates to
relates to
is duplicated by
relates to
Thank you for your report!
However, this issue is a Duplicate of MC-143699.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
@Kerwin Sneijders If the wandering trader despawning isn't "natural", then one could say the same about endermites, which use a virtually similar despawning method, the only difference is that their despawn timer (Lifetime) counts up until it reaches 2400, whereas the wandering traders' despawn timer (DespawnDelay) counts down until it reaches 0. As using a name tag prevents endermites from despawning, it might be expected that the same happen for wandering traders and their trader llamas (once MC-143699 is fixed).
Duplicate of MC-143699
This was fixed in 1.14-pre1 (MC-143699). Is this still happening to trader llamas that spawned after this version?
Duplicate of MC-143699
Probably caused by the fix of MC-143699.
The trader llama spawns with a despawn delay of 0, which causes it to instantly despawn.
To work around this, give yourself an egg with a proper delay set:
/give @s minecraft:trader_llama_spawn_egg{EntityTag:{DespawnDelay:3000}}



Same here!!!!
Ditto. I never saw another trader after the first one (which I had to kill because reasons) but now I'm up to 6 llamas. I feel fairly harassed. Perhaps they have taken to eating villager flesh and I'm next...
EDIT: It almost seems like the number of llamas changes when I teleport away/back (long distance) but not sure. I can't stop them from re-spawning. They are a plague upon my hill. Death to all traders and llamas!
19w05a/19w06a
I have observed naturally spawning trader llamas, and the llamas had a despawn delay in their NBT. The number is set when they spawn, but the trader llamas don't despawn when DespawnDelay goes down to 0 for some reason.
same in 19w09a
can reproduce in 19w11a
can reproduce in 19w12b
can reproduce in 19w14a
Bob, I hope you are ok and Llamas didn't eat you. I now have close to 30 llamas around my castle. Its just a matter of time..
According to
MC-148814, this is still an issue. Can anyone else still reproduce?In at least some circumstances, the llamas do not despawn. If the leads break and they are no longer attached to the trader, they definitely do not despawn.
I second that.
Every trader I met has lost at least one of his llamas, but most of them lost all of their llamas, usually by the trader walking somewhere the llama couldn't follow and thus the lead breaking.
I even could pick up the broken lead sometimes.
Trouble is, as already tamed (by the trader), those llamas are of no use, and they even gather around the next trader as soon as he gets near, but still, when that trader vanishes, those llamas without lead stay.
Plus the llamas the trader lost that time.
I guess the only solution to that issue will be the llamas tamed by a trader disappearing together with him, attached to a lead or not.
Not resolved in 1.14 release as far as I can tell. The wandering trader disappears, but the llamas stay.
I've been running a 1.14 server for about a week and my world is littered with them. I've already started killing every such llama I see. I hope it gets resolved because there are spots in caves where players don't go often. This puts a bit of unnecessary maintenance work for survival server owners.
Reopened.
Had this happen on two separate occasions in the same world. Trader Llamas have been on my island for many days, not despawning
Based on what I can see, Trader Llamas will not despawn if they are no longer leashed to the Wandering Trader. I think the best course would be to give them their own timer, if not tamed by a player, to despawn - separate from the Wandering Trader. Or, run an event to get rid of any Trader Llamas that are untamed by players along with his despawn.
The fix of this probably causes
MC-151047.On Java 1.15.2 happens even if they are still leashed to the trader at times, and happens if the llamas gets detached from the trader because he wandered too far away from them.
If he spawns back, he'll have more llamas with him, meaning you could have infinite wandering trader llamas in your base, without interacting with him at all.
Well, this explains why my first llama didn't despawn, but the ones I've collected today are despawning. I thought it was intentional to allow the player to keep trader llamas when they were separated from the trader. Welp, off to write a datapack to revert this bug fix.
Edit: It turns out you cannot make a trader llama undespawnable even with commands. Setting the timer to 0 makes it despawn instantly and setting it to a high value still has a countdown. Looks like the only workaround is to use the schedule command and a high tick value to repeatedly up the despawn delay of the llamas. The traders themselves work fine though.
When playing on a 1.16.5 spigot server we're still collecting trader llama's... Maybe it's the server...