The bug
When you summon a skeleton/stray with a melee weapon in water, during the daytime, it won't be able to decide what to do.
How to reproduce
Summon a skeleton with a melee weapon in a pool of water:
/summon skeleton ~ ~1 ~ {HandItems:[{Count:1,id:diamond_sword},{}]}
Go onto land near the skeleton and go into survival mode. Observe the skeleton's strange behavior.
Demonstration: https://www.youtube.com/watch?v=TuJMg0toTzg&feature=youtu.be
Related issues
relates to
Comments


Yes @unknown! Confirmed for 1.13.1.

I'd suggest to add this link demonstrating the issue to the description:
https://www.youtube.com/watch?v=TuJMg0toTzg&feature=youtu.be

affects 20w17a

affects 20w18a

affects 20w19a
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 1.19.
Please check if that's still an issue for you in 1.13.1.