Minecraft wiki entry for Raid, associated text: A player with the Bad Omen status effect triggers a raid upon entering a chunk with at least one villager and a claimed bed, or one of the 8 chunks surrounding it in a square. In Java Edition, a villager with a claimed bell or job site block can also trigger a raid, even if no claimed beds are present.