Curious if this is even possible, because I couldn't figure out how to do this with native method access (if it's even possible). Ideally this would allow packmakers to customize entity AI to better integrate with the focus of the pack, or for better cross-mod mob compatibility. If this isn't possible/is too big of an undertaking, I wonder if specifically the ability to make a mob avoid another mob (think creepers with cats)/flee (the way that cows etc do when hit) could be implemented.
Unsure if this second suggestion should be its own entry, but the ability to define custom breeding/taming items for mobs would also be very useful, for similar reasons as stated above.