Tutorials/Ender dragon farming

Ender dragon farming is the process of farming Minecraft's final boss by respawning it using end crystals and killing it with a farm mechanism, ideally with TNT, withers or a player. It does not yield any drops on its own but is one of the most powerful XP farms in the game. You can also farm end stone with this because end stone generates under the bedrock portal frame every time the dragon respawns, and torches with a system that will break them and collect them. You can even farm obsidian with this method using trapped withers in the right places, since the obsidian that makes up the end spikes/towers regenerate when the dragon is resurrected.

Components

 * A way to resurrect the ender dragon
 * A way to manipulate where the dragon spawns
 * An area where the ender dragon will spawn
 * A way to kill the ender dragon
 * A way to restart the process
 * Systems that will move the player to the right places and make them do the right tasks (e.g. placing the end crystals)

FastJaz's design
Works in 1.18