{{Distinguish|Woodland mansion}}
<div class="mobileonly">{{relevant tutorial|Defeating a pillager outpost}}</div>
{{Infobox structure
| biome =
* {{BiomeLink|Desert}}
* {{BiomeLink|Plains}}
* {{BiomeLink|Meadow}}
* {{BiomeLink|Grove}}
* {{BiomeLink|Snowy Slopes}}
* {{BiomeLink|Jagged Peaks}}
* {{BiomeLink|Frozen Peaks}}
* {{BiomeLink|Stony Peaks}}
* {{BiomeLink|Savanna}}
* {{BiomeLink|Snowy Taiga}}{{only|bedrock|short=1}}
* {{BiomeLink|Snowy Plains}}
* {{BiomeLink|Sunflower Plains}}{{only|bedrock|short=1}}
* {{BiomeLink|Taiga}}
* {{BiomeLink|Cherry Grove}}
| image = Pillager outpost watchtower.png
| mobs = {{EntityLink|Allay}}<br>{{EntityLink|Iron Golem}}<br>{{EntityLink|Pillager}}
| canspawn = No
| blocks = * {{BlockLink|Birch Planks}}
* {{BlockLink|Carved Pumpkin}}
* {{BlockLink|Chest}}
* {{BlockLink|Cobblestone}}
* {{BlockLink|Cobblestone Stairs}}
* {{BlockLink|Cobblestone Slab}}
* {{BlockLink|Cobblestone Wall}}
* {{BlockLink|Crafting Table}}
* {{BlockLink|Dark Oak Fence}}
* {{BlockLink|Dark Oak Log}}
* {{BlockLink|Dark Oak Planks}}
* {{BlockLink|Dark Oak Slab}}
* {{BlockLink|Dark Oak Stairs}}
* {{BlockLink|Hay Bale}}
* {{BlockLink|Mossy Cobblestone}}
* {{BlockLink|Mossy Cobblestone Slab}}
* {{BlockLink|Mossy Cobblestone Stairs}}
* {{BlockLink|Mossy Cobblestone Wall}}
* {{BlockLink|Ominous Wall Banner}} 
* {{BlockLink|Pumpkin}}
* {{BlockLink|Torch}}
* {{BlockLink|Vines}}
* {{BlockLink|White Wool}}
}}
<div class="nomobile">{{relevant tutorial|Defeating a pillager outpost}}</div>

A '''pillager outpost''' is an assortment of [[Structure|generated structure]]s inhabited by [[pillager]]s.

== Generation ==
Pillager outposts are semi-rare structures, generating every several hundred to couple thousand blocks.<ref>https://chunkbase.com/apps/pillager-outpost-finder</ref> This makes them rarer than [[village]]s<ref>https://chunkbase.com/apps/village-finder</ref> but less rare than [[woodland mansion]]s.

Pillager outposts can generate naturally in any village-generating biome, including:

* {{BiomeLink|Plains}}
* {{BiomeLink|Desert}}
* {{BiomeLink|Savanna}}
* {{BiomeLink|Taiga}}
* {{BiomeLink|Snowy Plains}}
* {{BiomeLink|Snowy Taiga}}{{only|bedrock|short=1}}
* {{BiomeLink|Sunflower Plains}}{{only|bedrock|short=1}}
* {{BiomeLink|Meadow}}
Pillager outposts also generate in the following biomes, where villages do not spawn:
* {{BiomeLink|Grove}}
* {{BiomeLink|Snowy Slopes}}
* {{BiomeLink|Jagged Peaks}}
* {{BiomeLink|Frozen Peaks}}
* {{BiomeLink|Stony Peaks}}
* {{BiomeLink|Cherry Grove}}

{{IN|Java}}, pillager outposts never generate too close to, or within, villages. They can do so {{in|bedrock}} as well as generate far away from villages.

{{IN|Java}}, if an outpost spawns in the water or in the air (e.g., spawning near a [[savanna plateau]]), then a platform of [[grass block|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.

{{IN|Bedrock}}, 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.<ref>{{bug|MC-139711||Jigsaw block creates holes in the ground when generating pillager outposts}}</ref>

{{Calculator|chunkbase|pois=Po|zoom=0.25}}

== <span class="anchor" id="Spawning"></span>Mobs ==
{| style="text-align:center"
|-
| scope="col" style="width:70px" |
[[File:AllayFace.png|link=Allay]]
| scope="col" style="width:70px" |
[[File:IronGolemFace.png|link=Iron Golem]]
| scope="col" style="width:70px" |
[[File:PillagerFace.png|link=Pillager]]
|-
| style="vertical-align:top" | [[Allay]]
| style="vertical-align:top" | [[Iron Golem]]
| style="vertical-align:top" | [[Pillager]]
|}

Iron golems and allays spawn only during the generation of the outpost structures. An iron golem has a 85% chance of spawning. Meanwhile, the allay has a 50% chance of spawning. These mobs spawn in cages. The iron golem can punch pillagers who are one block away from the fences of the cage. 

Both regular pillagers and [[pillager captain]]s can continuously spawn around the structure. Pillagers can still spawn if a player is inside the tower. {{IN|Java}}, they spawn in a 72×54×72 area centered on the top level of the watchtower, the same level as the chest.

{{IN|Bedrock}}, pillagers spawn at the highest available position in up to 4 columns depending on which direction the structure generates. The number of spawning locations vary based on the orientation of the structure: 2 spots when the door is facing east/west (50%), 4 for north (25%), and 1 for south (25%). The first spawning column is one block diagonally toward the chest at the top from the center of the structure; the other possible 3 are 8 blocks east, south, and southeast of the first. Pillagers can spawn in these columns, beginning from the bottom floor and extending vertically up to 18 blocks. Pillagers spawn on the northwest corner of a block and require a clear 2×2×2 area for spawning. Any solid block in this region inhibits spawning, while transparent blocks like leaves or glass don't impede spawning if they aren't positioned on the actual spawning spot.

Additionally, since 1.21.?, pillagers also spawn on spots in the outbuildings of the outpost. The spawning spots are either level with, or one block above the generated floor of the outbuilding. Extending the floor of an outbuilding outside the originally generated boundary of the floor can sometimes reveal additional spawning spots.

{{IN|Java}}, only pillagers may spawn within a pillager outpost spawn area. Pillagers may naturally spawn on any valid opaque block (except leaves) as long as the block light level is 8 or less. They cannot, however, spawn on blocks that emit a light level of 14 or greater. There is a 6% chance for a pillager to spawn as a patrol leader.

{{IN|Java}}, there are 15 jigsaw blocks that can generate the structures around the tower. Each structure has a 1 in 13 chance of being generated, including allay and iron golem cages. When generated, iron golem cages spawn one golem, and allay cages spawn two allays.

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

=== Bad Omen ===
Upon killing an outpost captain, it drops an [[Ominous Bottle]] of a random level between 1 and 5. Drinking it causes the [[player]] to receive the corresponding level of the [[Bad Omen]] effect, active for 100 minutes (5 in-game days).

== Structure ==
{{main|/Structure}}
A pillager outpost consists of a 4 level watchtower with other smaller structures around it.

[[Structure block]]s can be used to manually load pieces of the pillager outpost from the {{cd|/data/minecraft/structures/pillager_outpost}} folder in [[minecraft.jar]]. To do so, set a structure block to Load mode, enter {{cd|pillager_outpost/''<structure_name>''}}, and press LOAD.

{| class="wikitable collapsible"
! scope="col" style="width: 200px" | Structure name
! scope="col" style="width: 250px" | Description
! scope="col" style="width: 250px" | Consists of
! scope="col" style="width: 250px" | Images
|-
| {{cd|pillager_outpost/watchtower}}
| A large tower with a loot [[chest]] on the top level.
|
347 {{BlockLink|Dark Oak Planks}}<br>
290 {{BlockLink|Birch Planks}}<br>
207 {{BlockLink|Cobblestone}}<br>
144 {{BlockLink|Dark Oak Log}}<br>
48 {{BlockLink|Dark Oak Fence}}<br>
45 {{BlockLink|Dark Oak Slab}}<br>
33 {{BlockLink|Cobblestone Stairs}}<br>
16 {{BlockLink|Dark Oak Stairs}}<br>
8 {{BlockLink|Cobblestone Wall}}<br>
4 {{BlockLink|Cobblestone Slab}}<br>
4 {{BlockLink|Torch}}<br>
1 {{BlockLink|Chest}} (random loot)<br>
8 [[File:Illager Banner.png|x16px]] [[Ominous Banner]]{{only|java|short=1}}/Illager Banner{{only|bedrock|short=1}}
|
[[File:Pillager outpost watchtower.png|center|220px]]
|-
| {{cd|pillager_outpost/feature_cage1}}<br>{{cd|pillager_outpost/feature_cage2}}
| A wooden cage, with cage_2 having an [[iron golem]].
|
24 {{BlockLink|Dark Oak Fence}}<br>
12 {{BlockLink|Dark Oak Log}}<br>
8 {{BlockLink|Dark Oak Stairs}}<br>
4 {{BlockLink|Dark Oak Slab}}<br>
0~1 {{EntityLink|Iron Golem}}
|
[[File:Pillager outpost feature cage1.png|center|220px]]
|-
| {{cd|pillager_outpost/feature_cage_with_allays}}
| A wooden cage, with some [[Allay|allays]] trapped inside.
|
28 {{BlockLink|Dark Oak Fence}}<br>
12 {{BlockLink|Dark Oak Log}}<br>
8 {{BlockLink|Dark Oak Stairs}}<br>
4 {{BlockLink|Dark Oak Slab}}<br>
0~3 {{EntityLink|Allay}}
|
|-
| {{cd|pillager_outpost/feature_logs}}
| A pile of dark oak [[log]]s.
|
21 {{BlockLink|Dark Oak Log}}
|
[[File:Pillager outpost feature logs.png|center|220px]]
|-
| {{cd|pillager_outpost/feature_targets}}
| Two scarecrow-like targets.
|
6 {{BlockLink|Dark Oak Fence}}<br>2 {{BlockLink|Carved Pumpkin}}<br>2 {{BlockLink|Hay Bale}}
|
[[File:Pillager outpost feature targets.png|center|220px]]
|-
| {{cd|pillager_outpost/feature_tent1}}
| A small tent  made of [[wool]], with a [[crafting table]] inside.
|
20 {{BlockLink|White Wool}}<br>10 {{BlockLink|Dark Oak Fence}}<br>1 {{BlockLink|Crafting Table}}
|
[[File:Pillager outpost feature tent1.png|center|220px]]
|-
| {{cd|pillager_outpost/feature_tent2}}
| A small tent made of wool, with a crafting table and [[pumpkin]]s inside.
|
20 {{BlockLink|White Wool}}<br>10 {{BlockLink|Dark Oak Fence}}<br>4 {{BlockLink|Pumpkin}}<br>1 {{BlockLink|Crafting Table}}
|
[[File: Pillager outpost feature tent2.png|center|220px]]
|}

=== Technical structures ===
{| class="wikitable collapsible"
! scope="col" style="width: 200px" | Structure name
! scope="col" style="width: 250px" | Description
! scope="col" style="width: 250px" | Consists of
! scope="col" style="width: 250px" | Images
|-
| {{code|pillager_outpost/watchtower_overgrown}}
| Generated with a [[Structure Block#Load|structure integrity]] of around 0.03 on top of a regular watchtower to add random mossy cobblestone and vines into the build.
|
347 {{BlockLink|Dark Oak Planks}}<br>
290 {{BlockLink|Birch Planks}}<br>
207 {{BlockLink|Mossy Cobblestone}}<br>
144 {{BlockLink|Dark Oak Log}}<br>
113 {{BlockLink|Vines}}<br>
48 {{BlockLink|Dark Oak Fence}}<br>
45 {{BlockLink|Dark Oak Slab}}<br>
33 {{BlockLink|Mossy Cobblestone Stairs}}<br>
16 {{BlockLink|Dark Oak Stairs}}<br>
8 {{BlockLink|Mossy Cobblestone Wall}}<br>
4 {{BlockLink|Mossy Cobblestone Slab}}<br>
4 {{BlockLink|Torch}}<br>
1 {{BlockLink|Chest}} (random loot)<br>
8 [[File:Illager Banner.png|x16px]] [[Ominous Banner]]{{only|java|short=1}}/Illager Banner{{only|bedrock|short=1}}
|
[[File:Pillager outpost watchtower overgrown.png|center|220px]]
|-
| {{cd|pillager_outpost/base_plate}}
| This generates first, to mark the locations of both watchtowers and each outer structure, using [[jigsaw block]]s. 
|
N/A
|
[[File:Pillager outpost base plate.png|center|220px]]
|-
| {{cd|pillager_outpost/feature_plate}}
| The horizontal jigsaw block connects to the base plate to determine its own location, while the vertical jigsaw block connects to an outer structure.
|
N/A
|
[[File:Pillager outpost feature plate.png|center|220px]]
|}

== Loot ==
{{seealso|Chest loot}}
{{LootChest|pillager-outpost}}
{{notelist}}

== Data values ==
=== ID ===
{{el|je}}:
{{ID table
|edition=java
|firstcolumnname=Structure type
|displayname=[[Jigsaw structure|Jigsaw]]
|spritename=jigsaw
|spritetype=block
|nameid=jigsaw
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Structure
|displayname=Pillager Outpost
|spritetype=env
|nameid=pillager_outpost
|foot=1}}

{{el|be}}:
{{ID table
|edition=bedrock
|firstcolumnname=Structure
|showaliasids=y
|generatetranslationkeys=y
|displayname=Pillager Outpost
|spritetype=env
|nameid=pillager_outpost
|aliasid=pillageroutpost
|translationkey=feature.pillager_outpost
|foot=1}}

== History ==
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.14|dev=18w47a|Added pillager outposts.}}
|{{HistoryLine|||dev=18w47b|Reduced the amount of [[pillager]]s that spawn around outposts.}}
|{{HistoryLine|||dev=18w50a|[[Raid captain]]s can now spawn in outposts.}}
|{{HistoryLine||1.18|dev=Experimental Snapshot 1|Pillager outposts now generate in the newly added [[mountain meadow]]s biome.}}
|{{HistoryLine|||dev=experimental snapshot 3|Pillager outposts now generate in all the new mountain biomes.}}
|{{HistoryLine||1.19|dev=22w13a|[[Allay]]s can now spawn in cages.}}
|{{HistoryLine|||dev=22w17a|[[Goat horn]]s now generate in pillager outpost chests.}}
|{{HistoryLine||1.19.4|exp=Update 1.20|dev=23w04a|[[Sentry armor trim]]s are now found in pillager outpost chests.}}
|{{HistoryLine|||dev=23w05a|Increased the chance of finding [[sentry armor trim]]s in pillager outposts chests from 20% to 25%.|Sentry armor trims now always generate two templates in a pillager outpost chest when found.}}
|{{HistoryLine|||dev=23w07a|Pillager outposts now generate in [[cherry grove]]s.}}
|{{HistoryLine||1.20.2|exp=[[Villager Trade Rebalance]]|dev=1.20.2 Pre-release 1|Quick Charge enchanted books now have a higher chance of generating in pillager outpost chest loot.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|Added pillager outposts, which are available only through [[Experimental Gameplay]].
|Pillager outposts generate with black banners on them.}}
|{{HistoryLine||1.11.0|dev=beta 1.11.0.1|Pillager outpost now generate with gray banners on them.|
Pillager outpost are rarer.|
Outpost captains spawn in pillager outpost watchtower.}}
|{{HistoryLine|||dev=beta 1.11.0.3|Fully implemented pillager outposts, separate from Experimental Gameplay.|
Pillager outpost now generate with pillager banner, instead of a gray banner.}}
|{{HistoryLine||1.17.40|exp=Caves and Cliffs|dev=beta 1.17.40.20|Pillager outposts now generate in all the new mountain biomes.}}
|{{HistoryLine||1.18.30|exp=Wild Update|dev=Preview 1.18.30.23|Allays sometimes can spawn in a cage, similar to iron golems.}} 
|{{HistoryLine||1.18.30|exp=Vanilla Experiments|dev=Preview 1.18.30.27|Copper horns as well as goat horns have been added to the loot pool.}}
|{{HistoryLine||1.19.0|exp=Vanilla Experiments|dev=Preview 1.19.0.25|Copper horns have been removed, therefore can no longer generate in chests.}}
|{{HistoryLine||1.19.80|exp=Next Major Update|dev=Preview 1.19.80.21|[[Sentry armor trim]]s are now found in pillager outpost chests.}}
|{{HistoryLine||1.20.30|dev=Preview 1.20.30.21|Pillager outposts now generate in cherry groves.}}
|{{HistoryLine||1.20.40|exp=[[Villager Trade Rebalancing]]|dev=Preview 1.20.40.20|Quick Charge enchanted books now have a higher chance of generating in pillager outpost chest loot.}}
|{{HistoryLine|ps4}}
|{{HistoryLine||1.91|Added pillager outposts.}}
}}

== Issues ==
{{Issue list}}

== Gallery ==
=== Screenshots ===
<gallery>
Pillager outpost in taiga.png|A pillager outpost in a [[taiga]] biome.
Beachside pillager outpost.png|A [[beach]]side pillager outpost with targets and a tent.
Submerged watchtower.png|A submerged platform around a watchtower.
Odd Pillager outpost.png|An unusual pillager outpost generation {{in|Java}}. Note how the structure generates new blocks around it, likely because it spawned too close to an [[ocean]].
Pillager outpost Loot.png|Example of loot in a pillager outpost chest.
Pillager Min Max Height Spawn Platforms.png|The complete area, relative to the tower, in which pillagers naturally spawn.
PillagerOutpost SpawnBlock Bedrock.png|A pillager outpost with the roof removed to show the spawn location of pillagers {{in|Bedrock}}.
Pillager outpost destroyed land.png|A pillager outpost above a ravine in ''Java Edition''.
Fossil in Pillager Tower.png|An extremely rare instance of a [[fossil]] generated inside a pillager outpost.
Warzone.png|A pillager outpost that generated near a village.
Outpost badlands.png|A pillager outpost generated near a badlands biome.
Desertoutpost.png|A pillager outpost located in a desert biome.
Allays in outpost cage.png|Some allays trapped in an outpost cage.
Allays in outpost cage top down view.png|A top down view of some allays trapped in an outpost cage.
Frozen Peak Outpost.jpg|A pillager outpost on a snowy mountaintop.
Frozen Peak Pillagers.jpg|Pillagers on a snowy mountaintop.
Allays In Savanna Outpost.jpg|Allays in a savanna pillager outpost.
Pillager Outpost Inside Desert Temple.png|A pillager outpost that generated inside of a [[desert pyramid]].
Pillager outpost in desert village.png|A pillager outpost that generated inside a desert village.
Outpost and pyramid.png|A pillager outpost and a desert pyramid generated on top of each other.
3 outposts close together.png|3 pillager outposts generated close together.
Pillager outpost in 1.18cave.png|A pillager outpost inside a cave entrance.
Mountainside Outpost.jpg|A pillager outpost on the side of a mountain.
File:Outpost in a Pond.png|A ''Bedrock Edition'' pillager outpost in a lake.
</gallery>

== References ==
{{reflist}}

== Navigation ==
{{Navbox generated structures}}

[[cs:Základna nájezdníků]]
[[de:Plünderer-Außenposten]]
[[es:Puesto de saqueadores]]
[[fr:Avant-poste de pillards]]
[[it:Avamposto dei predoni]]
[[ja:ピリジャーの前哨基地]]
[[ko:약탈자 전초기지]]
[[lzh:劫寇望樓]]
[[pl:Posterunek złosadniczy]]
[[pt:Posto de saqueadores]]
[[ru:Аванпост разбойников]]
[[uk:Аванпост розбійників]]
[[zh:掠夺者前哨站]]
