Tutorials/Defeating a village raid

This tutorial will show you how to defeat a village raid.

Raid basics
Raids are events where, s, , s (which can summon ) and invade a village in an attempt to kill as many  as possible. They can be very difficult to tackle early-game and can result in many villager deaths if not properly handled.

Defending a raid will require strong equipment and proper planning to ensure no villagers are killed. A successful defense of a raid has many benefits such as the status effect, which gives players a temporary discount while trading with villagers.

Necessary equipment
To defeat a raid, you will need strong equipment, such as:

Either...
 * A, preferably diamond or netherite enchanted with Sharpness and Unbreaking
 * , preferably iron armor or stronger enchanted with Protection and Unbreaking
 * A, preferably enchanted with Unbreaking III if possible*
 * A, preferably enchanted with Power and Unbreaking.
 * A, preferably enchanted with Piercing or Multishot, Quick Charge to make your crossbow load quicker and Unbreaking, along with to deal splash damage
 * to regenerate health when necessary

Optional equipment
This equipment is not necessary, but can aid in defending a raid:

Note: You can defeat a raid with only iron stuff, but better stuff is recommended.
 * , preferably with Riptide, for possible quick escapes.
 * , to remove any negative status effects obtained
 * , to inflict status effects such as or  on a group of raiders.
 * , to tank enemy attacks and to quickly heal (or enchanted ones)
 * , to either barricade the village or protect oneself
 * , to cause fire damage and to temporarily segment off particular areas
 * , to slow down and trap enemies
 * and, to create if necessary (As of 1.14.3, villagers, when panicked, summon iron golems.)
 * several totems of undying
 * , to remove the poison status effect, and to use as a food source.

Preparing the village
Before the raid starts, a good idea is to prepare the village before the raiders attack. There are multiple ways to do so:

Walling off the village
A solid strategy is to wall off the perimeter of the village using a strong block, such as cobblestone or wood. As there are no ways for raiders to destroy solid blocks, they will not be able to penetrate the wall, and will, therefore, be stuck attempting to pathfind around it. Once you have walled off your village, you can use ladders to scale the wall and shoot the raiders with a bow. You can alternatively use walls or fences to border your village.

Setting traps
Once you have walled off your village, you can set traps outside of the perimeter to deal damage. Lava traps and cobweb traps can slow down and damage the raiders, and iron golems can dispatch of them rather quickly. Holes surrounding the outside of the wall can also be used to trap the raiders and prevent them from progressing any further. A moat is also helpful with water, lava or just a deep ditch. Raiders will not walk off edges so an easy way to get them in a hole is to make steps down. Raiders will path-find into the hole but not walk out.(to deal damage your can add magma, lava, wither roses, or sweet berries)

Blocking villager doorways
A very effective strategy is to wall off entrances to villager houses; this way, there is no way for the raiders (other than Vexes) to access the villagers inside the houses, effectively keeping them safe while you deal with the raiders. An easy way to get the villagers into their houses to begin with is to ring a bell.

Finding a captain
The only way to trigger a raid is through the effect, which is obtained after killing a raid captain. Raid captains wear ominous banners on their head and spawn as part of patrols, spawn in pillager outposts in numbers of 1 to 3, or spawn in woodland mansions.

Once a raid captain is killed, the afflicting player will receive 1:40:00 (five full Minecraft days) of the Bad Omen status effect. The Bad Omen status effect can only be removed through waiting or drinking a Milk Bucket to clear the status effect.

$$, if multiple raid captains are killed, the Bad Omen effect will stack, increasing the difficulty of the raid.

Triggering the raid
Once you have the Bad Omen status effect, walk into a village, and the raid will start. A raid bar will appear at the top of the screen and slowly fill up as raiders spawn. Note that player-made villages will also trigger raids.

When the raid starts, a group of raiders will spawn within 64 blocks of the village; this depends on the render distance as well.

Defeating the raid
Once the raid starts, your immediate priority should be to locate the raiders and swiftly kill them.

If there is a village bell, it can be right-clicked and will attempt to affect any nearby raiders with the status effect and produce a resonating sound if successful.

Your priority should be ravagers and witches, as ravagers can deal heavy damage and witches can heal other raiders; evokers are also important to target as they will spawn multiple vexes, which can cause distractions, rapid decreases in shield and armor durability, and more villager deaths (even if you wall off the entrance since vexes can pass through walls).

Once the current wave has been defeated, the next one will start shortly. This process will repeat until every wave has been defeated.

Post-raid
Once the raid has been defeated, any player in the village boundary will be awarded the Hero of the Village advancement and be affected with the Hero of the Village status effect for 60:00.

Villagers will throw gifts at nearby players once the raid has been defeated.

Wave numbers
In the Java Edition, the number of waves depends on the difficulty, with additional waves if the Bad Omen level is greater than one.

There are three waves in Easy, five waves in Normal, and seven waves in Hard.

Bedrock Edition
In Bedrock Edition, the number of waves only depends on difficulty and not the level of Bad Omen.

The Easy Way
If you want to win the raid easily, follow these steps


 * 1) Ring the bell and make sure every single villager is inside of a building. This will also make the attackers glow.
 * 2) Barricade the doors of those buildings with a building block.
 * 3) Summon as many Iron Golems as you can before the raiders arrive.
 * 4) Fight with your best combat skills.
 * 5) another way to easily kill the raiders is to stay on a roof with a bow, preferably enchanted with infinity, and make sure to be on a roof with an overhang, or the raiders can shoot you