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...