Update : Also works on pandas
Edited just now, that should clear things up
@j_p_smith finally someone gets it... the issue has been here since that update that made endermen faster, maybe older ones too actually
Add : to summarize
Polar bears will sometimes stand still when attacking and break if they get HIT a specific amount of blocks away from the player
I'm just using lunar client. The exact same thing happens in vanilla.
About the comment that said that they just run in a random direction, no they don't, sort of. They will first run in the direction of the melee damage (counter intuitive) THEN run in a random direction. You can test this out by spawning a bunch of stuff and hitting them in creative mode while flying slightly above them.
Adding on to this, for some reason if the animal is running and facing away from you, each hit you land on it will cause it to gradually turn towards you.
Looks like you all are for some reason saying the bug does not exist, I added a demonstration
Nah, they run into the direction they got hit from
Update : Found out it happens to evokers running from players too