Tested on Spigot-1.10, 1.14, 1.15, 1.16, 1.19, 1.20, 1.20.6, 1.21.
Improve aiming of creatures.

takeaim reload - reload config from disk
An example of how to engage TakeAim in your plugins to target mobs at players and how to fallback when TakeAim is disabled: TakeAimAdapter.java
I will be happy to add some features or fix bugs. My mail: [email protected].