Tutorials/Defeating a village raid

This tutorial will show you how to defeat a village raid and protecting villagers from illagers.

Reason
Village raids are in-game event where group of illagers and witches come to kill players and villagers in the village,and they can be a little bit difficult to defeat them because they need a good armor and better weapons(ranged attack weapons are recommended).

If the player beat a raid without losing any of the villagers in the village ,he/she will get the hero of the village effect which gives discounts on villagers trades.In addition to getting a lot of items from killed 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 stacks of arrows or tipped arrows of harming II (optional). * A diamond helmet enchanted with Protection IV,Projectile Protection IV,Unbreaking III and Mending. * A diamond  enchanted with Protection IV,Projectile Protection IV,Unbreaking III and Mending. * A diamond leggings enchanted with Protection IV,Projectile Protection IV,Unbreaking III and Mending. * A diamond boots enchanted with Protection IV,Projectile Protection IV,Unbreaking III and Mending. * A stacks of cooked beef. * Some golden apples. * A shield enchanted with Unbreaking III and Mending (optional)
 * A few iron golems for giving some help if your health is low or armor is broken.
 * 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 for the protection pillars.

Preparing the village
First you need to find village where you can trigger the raid,and villages can be found in plains,savanna,taiga,desert and snowy tundra.villages that spawn in plains,desert and snowy tundra are recommened because there are no trees that annoy the player. Once you find a village,you need to hide all the villagers inside their houses by waiting until the night comes and blocking off doors and windows(only if the village spawned in desert) because illagers can open doors and reach villagers.

You can build a wall that surrounds the village if you weren't able to hide villagers.

Getting Bad Omen
First you need to kill an illager captain to get bad omen effect,once you find a pillager outpost,next search for a pillager wearing an ominous banner on its head and kill it and when you finish you'll receive the bad omen effect. If you weren't able to find an outpost,you can wait for an illager patrol to spawn in of these biomes:plains,savanna,taiga,desert and snowy tundra. You can increase bad omen level by killing many illager captains.

Triggering The Raid
Once you're ready to defeat the raid and you have the bad omen effect,enter the village then you'll see that raid bar appears on the top of the screen ,each bad omen level increases the chance of pillagers and vindicators spawn with enchanted weapons. In Easy mode you'll have 3 waves. In Normal mode you'll have 5 waves. In Hard mode you'll have 7 waves. If you have bad omen VI you will get a bonus wave.

When raid bar is full,you'll hear an ominous horn sound and raiders will spawn 50 blocks away from the village,and when you locate them use your piercing IV crossbow to shoot arrows through them. If vindicators came to you,use your sword to kill them and if your health went down to 5 hearts while having a full hunger bar ,eat golden apples to regenerate it. When ravagers spawn use your bow and crossbow to shoot at them and make sure to use shield to block their attack and a sword to kill them while they stun. If you are followed by a group of vindicators use water bucket to keeping them away from you and attack them. If you are fighting many pillagers use your shield to deflect their own arrows. Raid will become more harder if witches and evokers spawn because armor is useless towards witch magical attack and evoker can summon vexes that deal a massive amount of damage and they pass through blocks and are immune to fire damage and can't drown. If you see an evoker and weren't surrounded by other illagers and witches,kill it and do not let it summon vexes. If you are attacked by many illagers and ravagers ,use tnt to damage them and make sure to run away from ingnited tnt or build an 9 block tall pillar and place a cobweb on the top for not letting arrows and vexes knock you back and ignite the tnt block and tnt will fall on illagers and witches after you ignite it and then it will explode at them and kill or damage them. If your hunger bar is not full eat some food to fill it.

You can defeat a raid easily with many players on your LAN world.