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 or scaffolding; 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.
 * 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 captain 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 emeralds they possess. Additionally, raid farms are an easy way to renewable 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.

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

Very simple and efficient (3,000 emeralds/hour) raid farm that can be built in early game, for Java Edition version 1.16.

This is an extremely complex but highly efficient raid farm using floating snow layers (Java Edition Only) with immense rates. This is done using raid stacking and specific positions to allow for multiple concurrent raids at once to spawn. Due to the sheer rate at which raids are spawned, this farm can produce witch drops equivalent to 25 witch huts.

Simple raid farm to build early game (Java Edition)