beginFlee
public Optional<TransientMovementOverride> beginFlee(LivingEntity livingEntity, Location threatLocation, double speedModifier)
Temporarily makes a pathfinding entity flee from a threat while leaving its permanent goals, combat target, and AI flags untouched. Unsupported adapters and entity types fail closed.