Minecraft wiki entry for Defeating_a_village_raid, associated text: The only way to trigger a raid is through the Bad Omen effect, which is obtained after killing an illager captain. Illager captains wear ominous banners, also known as illager banners on their heads and appear as part of patrols and pillager outposts, the latter of which can spawn several over time.