Tutorials/Defeating a village raid

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

Reasons
Raids are events where illagers and witches come to attack and kill villagers and players in a village. They can be difficult to tackle without resulting in the death of any of the villagers.

Defeating a raid will require good armor and weapons. If player defeats a raid, he or she will get the hero of the village status effect, which makes villagers give discounts on their trades and reward player with some useful items. Raids are also one of the best ways to get the totem of undying and drops from illagers and witches.

Materials
To defeat a raid you'll need:


 * A diamond sword enchanted with Sharpness V, Unbreaking III, Fire Aspect II, Sweeping Edge III and Knockback II (optional).
 * A Bow enchanted with Power V, Infinity(optional), Flame, Unbreaking III and Punch I (recommended).
 * A crossbow enchanted with Quick charge III, Piercing IV and Unbreaking III. * A crossbow enchanted with Quick Charge III, Multishot and Unbreaking III.
 * A stack of arrows.
 * A diamond helmet enchanted with Protection IV, Projectile Protection IV, Unbreaking III and Mending.
 * A diamond chestplate enchanted with Protection IV, Projectile Protection IV, Unbreaking III and Mending.
 * A diamond legging enchanted with Protection IV, Projectile Protection IV, Unbreaking III and Mending.
 * A diamond boot enchanted with Protection IV, Projectile Protection IV, Unbreaking III and Mending.
 * A stack of cooked beef (or other similar food item).
 * Some golden apples.
 * A shield enchanted with Unbreaking III and Mending (optional).
 * A few iron golems.
 * A water bucket.
 * A stack of dirt.
 * A few potions of healing, regeneration and speed.
 * A stack of TNT blocks and a flint and steel.
 * A few cobwebs (optional).
 * Some milk buckets.

Preparing the village
First you'll need to prepare a village for the raid, because evokers and vindicators can open/break doors and they will kill villagers and if couple of the villagers died then the player will not receive the hero of the village.

Desert, plains and snowy tundra villages are recommended due to the lack of trees, which makes raiders more visible.

Raids can happen in player-made villages, so make sure to surround your village with a wall. Before getting bad omen, make sure to hide villagers inside their houses and block off doors and windows to not let illagers reach them. It will be easier to hide villagers during nighttime because they go to their beds for sleeping.

Getting Bad Omen
After preparing the village, you need to get bad omen status effect by killing an illager captain. Illager captains spawn in pillager outposts, woodland mansions and illager patrols.

Triggering the raid
Once you get the bad omen effect, go back to the village and you'll see that raid bar appears and bad omen will be removed. Each bad omen level will increase the chance of vindicators and pillagers spawning with enchanted weapons.

Here are the waves you'll get depending on the difficuly you set:

Starting The Battle
Once the raid starts ,villagers will start running and sweating ,and raiders will spawn 50 blocks away from the village and here are some instructions:

-Vindicators deal a lot of damage so make sure to use your piercing crossbow to shoot at them from far distance.

-Witches are more dangerous if they spawn in group of 3 because they will harm you easily regardless of the enchanted armor so use your crossbows to kill them from a safe distance.

-If you were attacked by a lot of vindicators,vexes,ravagers and pillagers,then bring them to iron golems.

-If you see many evokers don't attack them initially because they can reinforce and summon vexes to attack you even they are out of their detecting range,so let iron golems attack them.

-If you are followed by more than one ravager,provoke them first and let iron golems do the rest for you or build 8 block tall pillar throw tnt at them.

-If you are followed by many vindicators,then build a 2 blocks tall protection pillar and stand on it and they won't be able to reach you and use your sword to attack and kill them.

-If you are attacked by many vexes then use tnt to blow them up.

-If you weren't able to detect raiders you can use a bell to reveal them.

-If you are poisoned then drink milk.

-Avoid melee attack on witch and vindicators and pillagers.

If you defeat the raid for your first time you'll get the hero of the village advancement.