Minecraft wiki entry for Raid, associated text: The raid spawns several waves of raider mobs. If a raid wave begins while an illager is somehow already present inside the village, the wave does not spawn at all and entirely fills up with however many existing illagers there are; When these illagers are defeated, the raid resumes as normal. In Java Edition, to find a valid spawn target location at the beginning of each raid wave, there are 3 spawn attempt phases with 20 attempts per phase. For each attempt, a random location is chosen a certain radius away from the raid center (64 blocks in the first phase, 32 in the second, and 0 in the third) at a random horizontal angle, with fractional results rounded down. Additionally, a random 0–4 is added to X and Z coordinates. In Bedrock Edition, the exact spawning mechanics are unknown, but the raid can spawn in the 128x32x128 region around the village center. In effect, the three spawn attempt areas are two rings and a 5×5 square. The target height is always on top of the topmost non-air block. For spawn location to be valid, the block underneath must have a solid opaque top face or be snow.