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)
 * a way to funnel or guide the raid mobs
 * 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 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.

Java Edition
教程/袭击陷阱