Target Audience: Applies to all standard mobs (Bosses such as the Wither and Ender Dragon are excluded).
Mechanism: If a mob cannot reach the player (pathfinding fails or completes with no path) and fails to land an attack for 10 seconds (200 ticks), its target is automatically cleared.
Mechanism: The mod records the player's exact coordinates the moment the target is cleared.
Behavior: Using LivingChangeTargetEvent, the mob is blocked from re-targeting the player until the player moves at least 5 blocks away from that recorded position, preventing mobs from instantly re-locking onto a stationary player.

