Mobs gain a hidden emotional state (calm, panic, or rage) that spreads through same-type herds and decays. Hit one sheep and the flock stampedes; enrage a wolf and its pack turns. Server-side, Paper/Spigot/Bukkit/Purpur 1.21+.