mojira.dev
MC-144043

Trader llamas continue to spit after their target died

The bug

A wandering trader spawned in my world. I started playing around with it, and I summoned a zombie. The llama spit at the zombie, but kept spitting after the zombie was killed.

Note that the llama stopped when I logged out and back in.

How to reproduce

  1. /summon trader_llama ~ ~ ~

  2. /summon zombie ~ ~ ~

➕  - Llama spits at zombie
➕  - Zombie dies
➖  - Llama continues spitting at nothing

Attachments

Comments 10

Still an issue in 19w12b?

Please check if that's still an issue for you in the latest 1.14.4 release.

Still happening in 1.14.4 according to MC-159957

This is still happening in 20w20b

Can confirm in 20w51a. Happens quite rarely so it may take a while to reproduce.

Just had this happen in 1.16.4. The wandering llama was spitting at a second one and after it died the first keeps on spitting onto the ground, where it was previously standing. I can confirm that after restarting it stops and behaves as expected.

Experienced this on 1.16.4 survival mode, these llamas are quite broken

I opened a report, but I didn't find that it was already discussed

You can reproduce it by using a leash on a llama and hitting him.

When spit loop starts, u can stop it by either stretching the leash (by running away) or by removing the leash with right-click on the llama.

Without the leash, the llama will never spit endlessly. That's also why it can happen with a wandering trader, hit a llama once and it will stop spitting only when the trader, by running away, stretches the leash enough to make the llamas follow him.

By my thought, this is not intentional.

Here's a 1.16.5 reproduction that I did 

[media]

This bug is still a thing in 1.18.1.

Albert Wen

slicedlime

Confirmed

Normal

Mob behaviour

llama, llama_spit, mob, trader_llama, wandering_trader, zombie

Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, 1.14.4, 1.15.1, ..., 1.16.4, 20w51a, 1.16.5, 1.17.1, 1.18.1

22w24a

Retrieved