Tutorials/Raid farming

Raid farming is a means to obtain items dropped by raid mobs (pillagers, vindicators, witches, evokers, and ravagers). Farms can be made from a village with a spawning platform for the raiders, or be made at a pillager outpost. $$, a raid farm also yields special items dropped by these mobs during raids: emeralds, enchanted books, iron tools, and iron armor (of which half have enchantments). $$, getting Hero of the Village has the additional benefit of making some resources renewable, especially clay.

Mechanics
Broadly, the components of a raid farm are:
 * A village (1 bed and 1 villager are sufficient).
 * A surface on which the raid is forced to spawn (the ground, or an isolated surface above). Raids cannot spawn on leaves, scaffolding, or liquids; this can be used to help localize the raid spawn point.
 * A way to funnel or guide the raid mobs into the killing area.
 * A killing area; that is, mob grinder to kill the mobs, or a holding area for the player to kill them and earn experience as well as loot, sometimes containing slabs to prevent evoker |evoker fangs and/or hoppers and chests to collect loot.
 * A way to get Bad Omen again, so that the next raid can start:
 * A pillager outpost converted to a pillager trap to allow the player to kill raid captains that spawn in the outpost. This is actually a type of pillager farm. $$, this type of farm yields mob drops but no raid loot.
 * A way to force the raid captains in the raid out of the raid context, so that they give Bad Omen when killed.

Loot
Raid farms are primarily build for two drops: emeralds and totems of undying. Most raid farms provide a sufficient amount of emeralds to allow players to disregard the prices of villager trading due to the sheer amount of emeralds they possess. Additionally, raid farms are an easy way to farm totems of undying, allowing players to use them without fear of losing them.

Additionally, raids can drop saddles, iron axes, crossbows, ominous banners, and witch drops including sticks, gunpowder, redstone dust, glowstone dust, sugar, spider eyes, and glass bottles. $$, only mob drops are available from raid farming.

Video examples
This is a basic raid farm that can be built early in the games progression with minimal and easy to get materials; it works in both Bedrock and Java editions of the game.
 * Any edition

This is a more advanced raid farm that is also simple, but uses more materials.
 * Bedrock Edition only

Simple raid farm to build early game..
 * Java Edition only

https://www.youtube.com/watch?v=n3mOlrMGjUg

Simple and efficient (56k emeralds/hour) raid farm that can be built in early game, for Java Edition version 1.16.

de:technik:Überfallfarm (Mechanik)