https://gfycat.com/ForthrightRedCoot
Skeleton, wither skeleton, stray and bogged mobs will twitch their arms ("dance") if they try to pathfind to you but continuously fail.
After the version 1.9.1-pre2:
Only affects skeleton, wither skeleton and stray.
Occurred in:
Skeleton, wither skeleton, stray or bogged must attack the player, they must also avoid the sunlight.
But the player in exposure to sunlight.When they were trapped on the boat and minecart.
Related issues
is duplicated by
relates to
Attachments
Comments

Confirmed for 15w35e
Confirmed for 15w36a/b/c
Confirmed Zombie Pigman also have this issues

Confirmed for
15w36c This sometimes happens when you are in front of them as well
Confirmed for 15w36d
Confirmed for 15w37a
Confirmed for 15w38a
Confirmed for 15w38b
Confirmed for 15w39b
Confirmed for 15w39c
Confirmed for 15w40a
Confirmed for 15w41b

Reporter seems inactive, giving ticket to Les3awe.
Thanks for Mod.

Not completely fixed for 15w49b, still happening in some cases and when another mob is blocking the path (see attached videos)

Reopened.
This issue has been fixed in 15w50a

Confirmed for
1.9.1-pre2
See attached video "Skeleton arm animation (1.9.1-pre2).mp4"
This issue appears again in 1.9.1-pre2.
Mod please reopened.
This issue relates to MC-101136

Affects 1.13-pre1

This Problem occurs for me in a night time situation with any skeleton that is armed with a melee weapon. It feels new in 1.14, as I never had any problems with skeletons acting weird in 1.13. It totally busts the skeleton's AI, and After testing it in 1.13 and 1.14 multiple times, what I am noticing is a totally new glitch. I also want to mention that spiders and wolves act weird too, where they will bounce off of their target harmlessly. (The Wolf glitch WAS partially fixed in 1.14.1). The skeleton AI is not running into occasional issues, but it feels constant now. I don't know what's wrong with them in 1.14, but they seem to have a seizure every single time!

Affects 20w21a
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.

Confirmed in 21w07a
Can confirm in 21w11a.


d a n c e
Can confirm in 1.18.1.

Affects 1.18.2-pre1
Can confirm in 1.18.2.

In 23w05a and affects Piglins as well.