7

I just attacked a llama accidentally instead of taming it. I just went far away from it, out of its sight, and then returned. Now it isn't hostile towards me.

So I wanted to know exactly how and after how much time does a neutral mob become non-hostile after it has become hostile.

I didn't get answer in the wiki.

Edit: Citing sources would be great so that I can rely on it...

Thanks!

8

I looked into the game's source code and it turns out Llamas use the generic.follow_range attribute just like the aggressive mobs. The default value is 16 and when the player goes out of this range it will no longer follow the revenge goal.

Other reasons Llama can stop following you:

  1. You die
  2. You are in the same team as the llama
  3. The llama can't see you for 3 seconds (60 ticks)
  4. You become invulnerable (creative/spectator mode, the invunerable player ability)
3
  • Are you sure about it? – Darkzite May 17 at 11:08
  • @DarkPhoenix You can test and see. – wizzwizz4 May 17 at 17:00
  • Llamas only attack you once, might be because of the HurtTime tag giving you invulnerability. – Korogue May 20 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.