The easiest way to beat the Mongols and Timurids is by defending a city with lots of pikemen or even halberd militia.

Sicily or HRE gets early halberds, followed by pike militia. The garrison in Antioch is usually enough to whip them both