Pillager Outpost

A pillager outpost is an assortment of structures inhabited by pillagers.

Generation
Pillager outposts are semi-rare structures, generating every several hundred to couple thousand blocks. This makes them rarer than villages but less rare than woodland mansions.

Pillager outposts can generate naturally in any village-generating biome, including: Pillager outposts also generate in the following biomes, where villages do not spawn:

$$, pillager outposts never generate too close to, or within, villages. They can do so $$ as well generate far away from villages.

$$, if an outpost spawns in the water or in the air (e.g., spawning near a savanna plateau), then a platform of grass (or sand), dirt, and stone spawns underneath it in a circular shape. This also applies to the smaller structures such as tents, targets, log piles, and cages. On occasion, the smaller structures still spawn in the air despite having a platform below them, depending on how high up they are.

$$, pillager outposts generate with foundations similar to that of a woodland mansion: watchtowers use cobblestone, birch planks, and dark oak logs as their foundation; tents and cages generate dark oak planks as their foundation; log piles use horizontal dark oak logs as their foundation; and targets generate cobblestone as a foundation.

The outpost tower generates each time. Up to 4 other smaller structures may spawn around the periphery of the main outpost structure.

Eight extra air blocks also generate around the outpost.

Mobs
Iron golems and allays spawn only during the generation of the outpost structures. If an iron golem or an allay spawns, it does so only inside a cage.

Both regular pillagers and pillager captains can continuously spawn around the structure. Pillagers can still spawn if a player is inside the tower. $$ they spawn in a 72×54×72    area centered on the top level of the watchtower, the same level as the chest. $$, they spawn at or below a particular location in the outpost; specifically, they choose the northwest corner of the highest opaque block with a non-solid block on top.

$$, only pillagers and passive mobs may spawn within a pillager outpost spawn area. Pillagers may spawn on any valid opaque block as long as the sky light level is 11 or lower, and the block light level is 8 or lower, but can also spawn on grass or sand blocks regardless of sky light level. Therefore, players may pacify an outpost by removing all grass/sand blocks and properly lighting the area as they normally would to prevent enemy mob spawns.

A total of eight pillagers, including the pillager captain, spawns in a pillager outpost.

Bad Omen
Upon killing an outpost captain, the player receives 1 level of the effect applied to them for 100 minutes (5 in-game days).

Structure
A pillager outpost consists of a 4 level watchtower with other smaller structures around it.

Structure blocks can be used to manually load pieces of the pillager outpost from the folder in minecraft.jar. To do so, set a structure block to Load mode, enter, and press LOAD.

Trivia

 * Pillager outposts, together with ocean monuments, swamp huts, and nether fortresses, are the only four generated structures in the game that have special mob spawning rules within their bounding boxes.
 * Dungeons are not included, since the spawning condition is dictated by the spawner rather than the dungeon structure.