Tutorials/Defeating the ender dragon

The ender dragon is one of the two boss mobs in Minecraft, the other being the wither. It is found in the End, which can only be accessed by entering an activated end portal. It is usually considered the final boss of the game, although the achievements related to the wither are unlocked after defeating the dragon.

The dragon is highly anticipated to fight because its defeat will give you access to the End’s outer islands, as it generates an end gateway portal when defeated. It will also activate the exit portal and allow you to return home.

Ender Dragon Bossfight Checklist

 * enchanted with Sharpness V, Looting III, and Fire Aspect II
 * enchanted with Unbreaking III, Power V, and Infinity (Flame is ineffective)
 * Several stacks of
 * Full set of enchanted with Protection IV and Thorns II or III
 * enchanted with Silk Touch and Efficiency IV or V, to break into end crystals’ cages, or to dig up to the surface if you spawn underground
 * At least 10
 * Highly nutritious food, such as or
 * At least three
 * At least three
 * , to collect the
 * Several stacks of, to get around quicker
 * At least three stacks of, to build to the tops of towers
 * , to collect the after the battle
 * and, to spawn snowmen, who will deal with the endermen
 * , to wear and avoid endermen until you spawn the snowmen
 * One or two (optional)
 * One or two (optional)

Preparing
Until the ender dragon is defeated, you cannot leave the End without dying. In hardcore, you must defeat the dragon on your first visit, or die trying. Therefore, thorough preparation is essential to surviving the battle.

Sword
Your sword (preferably diamond) to damage the dragon when she’s on her perch, with a secondary use of dealing with any provoked endermen. If your sword is enchanted with Fire Aspect, any endermen hit by it will be more difficult to deal with since they teleport every time they’re damaged.

Bow
The bow will be your secondary weapon; both for destroying the end crystals, and against the dragon while she is flying through the air. It is recommended that the bow be enchanted with Power V, and Infinity, so that you don’t run out of arrows. Once the end crystals are destroyed, it will take twelve fully charged shots to the head to defeat the dragon. The Unbreaking enchantment is very useful on your bow, but not required. One thing to note is that a bow enchanted with Infinity but without Unbreaking will be able to take 385 shots before breaking, which is equivalent to roughly six stacks of arrows. The Punch and Flame enchantments have no effect on the dragon.

Armor
The dragon has an attack strength of 15 with her head on hard difficulty. It is the second strongest direct attack of any hostile mob in Minecraft, only topped by the vindicator. Therefore, it is recommended that you wear a full set of armor (preferably diamond), enchanted with Protection IV. Because of the dragon's knockback, and the potential for cliffs, Feather Falling IV on your boots is almost necessary. If you think that you may accidentally look at endermen, you may consider wearing a carved pumpkin on your head, instead of a helmet; however, it will not protect you from damage and it will partially obstruct your vision. If you want better vision and more protection, wear your helmet and spawn a few snowmen. They will deal with the endermen.

Pickaxe
When you enter the End, you might spawn underground. A pickaxe will be necessary to reach the surface. It is also needed to break the cages protecting some of the end crystals. If you don't bring a pickaxe, it will take a long time to mine both the iron bars and end stone. It is recommended to have a diamond pickaxe enchanted with Efficiency, so that you can dig your way to the surface and break into the cages quickly.

Healing Items
Even the most well-protected player is likely to take a great deal of damage during the fight if they lack experience, so healing items are absolutely necessary. Golden apples are the most efficient healing item, because they provide Absorption, which will protect you from most damage while you heal. Potent healing potions and extended regeneration potions are recommended, but not required. Enchanted golden apples can heal you more than regular ones, but they are extremely difficult to find, so save them only for emergencies, and use regular golden apples otherwise.

Potions
Potions are highly recommended when fighting the dragon, to enhance your performance as well as healing yourself.

An extended regeneration potion will heal a total of x 24 over the course of its two-minute duration. A splash potion of Healing II will restore x 4 instantly. Thus, while a single regeneration potion will heal more damage overall, it will take 47.5 seconds to fully recover from, whereas two instant health II splash potions will recover x 8 as quickly as the player can throw them. Since the dragon can launch players into the air, slow falling potions are more recommended than leaping potions, as they will completely eliminate fall damage.

Because there is no benefit to drinking multiple regeneration potions at the same time, the number that you bring should be limited by how long the fight lasts. It should not last more than twenty minutes, so ten potions of Regeneration will allow the player to regenerate health for the full duration of the fight. After all other equipment is considered, any remaining spaces should be filled with splash potions of Healing II.

Blocks
Blocks can be useful for climbing up the towers if you are not good at archery. Harder blocks, such as cobblestone, are better than softer blocks. It is recommended to use blocks on the taller ones, but just shoot the short ones. Also, you will need blocks to get up on top of the two obsidian pillars that have cages around the end crystals. If you forget blocks, you will have to shoot over the iron bars in order to get the end crystals, which can be very difficult for the taller towers. Alternatively, you can throw an ender pearl to get to the top.

Ender Pearls
Ender pearls are not required to go the End, but they are strongly recommended. You can use them to get up to high obsidian pillars, or if you spawned on a platform away from the main island, you can use them so that you don't waste blocks. Also, if you are high up in the air, get knocked down, and don't have a water bucket right off hand to soften your fall, you can use ender pearls to teleport, and take less damage this way. Be prepared to fight endermen if you want to use a lot of ender pearls, so that you have inventory space for other items besides ender pearls. Trapping endermen in boats is the safest way to get the ender pearls needed to accomplish this, since endermen cannot teleport when they are in a boat.

Food
There should never be a time when the player does not have food on them, if they can possibly help it. Steak, cooked porkchops, and bread are some of the best foods in the game, so it it highly recommended to bring either of these. Cake is recommended to bring, so that if you need to eat very quickly, you can just instantly place it down, and start eating without any delay. However, cake has a low saturation and hunger-filling value, so unless you have to eat at that exact moment, better foods, like steak or porkchops, are recommended.

If the player has golden or enchanted golden apples, they should favor them over any other food, as they have a relatively high saturation level and can also inflict the player with positive status effects, making potions unnecessary. Bringing golden apples instead of potions saves a lot of inventory space, because of the fact that golden apples can stack. However, enchanted golden apples are very hard to find, so if you did bring these, save them for emergency, and use regular golden apples otherwise.

Enchanting equipment
In order to take full advantage of the ender dragon's experience drop, the player should bring an enchantment table, fifteen bookshelves, and at least ten books. It is best to bring these in an ender chest, because otherwise, you will lose these items if you die. It is also recommended to bring wood, in case you place a bookshelf wrong and have to mine it.

The portal room
Because the trip to the End is one-way, it is recommended that the player avoid activating the end portal until all other preparations are complete. After reaching the portal room, the player should block off any adjoining hallways that they don't plan on using, and then either dig a shaft directly to the surface or construct a Nether portal, to use as a shortcut. Consider storing the needed eyes of ender in a nearby chest until they are required.

When the player is ready to activate the portal, they should place blocks outside of the portal ring, and stand on them when placing the eyes of ender. This is to prevent the player from falling into the lava, as well as from entering the portal before they are ready. A player playing on Survival mode should sleep in a bed near the portal, so that they can quickly return to the End in the event that they die.

Preparing on Survival Mode
In addition to the usual preparations, a Survival player should prepare for the possibility that they are defeated. This includes having a backup chest near the portal. It should contain the following:


 * Two full sets of iron armor (will be better enchanted)
 * Two pumpkins (if being used)
 * Two backup bows with arrows
 * Two backup swords
 * Ender pearls
 * Backups of any potions used
 * Food

These are to allow the player to survive while they retrieve their items. In the event that the player falls into the void, they should consider returning to their base to regroup, unless all of the end crystals are destroyed, and the player is confident that they can defeat the dragon with the supplies in the chest.

One tip would be to place a bed in the end portal room so when you respawn you can jump straight back to the fight.

Another possibility is to, if you have commands enabled, type into the chat bar, so you keep your items if you should be defeated. For some, this may be considered cheating, though.

Before entering
When the player is ready, their hotbar should contain the following:


 * Beds (Color does not matter): can be used to set your spawn point in the stronghold so that you won't have to spawn all the way back at your house if you die.
 * Bow (Enchanted, preferably with Infinity; otherwise, bring plenty of arrows)
 * Sword (Enchanted)
 * Food
 * Pickaxe
 * Ender pearls
 * A potion of Swiftness II (If being used)
 * Potions of Regeneration II
 * Splash potions of Healing II
 * Potions of Slow Falling (to eliminate all fall damage)
 * Potions of Strength (Strength II or extended)
 * Have a shield in your offhand slot, to help deflect some of the ender dragon's damage or in case you have to fight an enderman.
 * (Optional) TNT. Can be used to take away large chunks of the dragon's health. Be careful, though, as the TNT might kill you if you are too close. TNT can also be used to safely blow up the caged crystals after cutting open the cage; the fuse delay will give the player time to move away.

After drinking the potions of Swiftness and Regeneration, those slots should be replaced with potions of Healing II. The player should have at least two potions of Healing II on their hotbar at all times, unless they have enchanted golden apples with them.

With the ender pearls selected, enter the portal.

The Fight
After arriving in the End, the player will be on a 5x5 platform of obsidian. If the platform is away from the main island, an ender pearl should be used to teleport there, or the player can carefully build a bridge, sneaking the whole way, to avoid falling into the void. If the platform is underground, the player should mine towards the surface.

Healing
The player should have a reasonable idea of how well their armor and enchantments will protect them from the dragon. With the suggested armor, on the hard difficulty, the player can expect to take an average of each time they are hit by the dragon. If the dragon manages to close, they can expect to be hit one to two times, and may take additional damage from falling after being knocked back.

If a player heals needlessly out of fear, they may burn through their healing supplies more quickly than they need to, and be left without a means of healing themselves later on. On the other hand, being too conservative with their healing can get them killed. Thus, a player should let regeneration take care of any minor wounds, and save their splash potions of Healing for when they are at risk of being killed outright. Try to heal when you are down half of your health, or 5 hearts.

Terrain
Because falling into the void will kill the player and destroy the items they are carrying, it is recommended to stick to the center of the island, unless you have to destroy end crystals. They should also be aware of any holes in the End, and avoid them. Due to the dragon's knockback ability, the player should stay at least ten blocks away from any edge. If the player falls off an edge, they should immediately throw an ender pearl up onto the ledge. If they are quick enough, and very lucky, it is possible for a player to teleport out of the void and back onto the island. Chances are better if the player's ender pearls are held in a hotbar slot that can be easily accessed via hotkey such as 1-3 (or assigning them an unused hotkey of their own).

Managing the endermen
If the player is wearing a pumpkin, they cannot provoke the endermen by looking at them, and they become harmless. Because the player will spend most of their time looking up, first from shooting at the crystals, and then at the dragon itself, it is possible to go the entire fight without provoking a single enderman, even without a pumpkin, or making an active effort to avoid doing so. Using water as a deterrent or a boat as a trap to provoked endermen is a good idea. Or, if you find yourself fighting an enderman, just attack its legs. This will cause it to not teleport, and there is virtually no risk of provoking other endermen.

Managing the dragon's attacks
The dragon is able to pass through any block, and will destroy any block that isn't end stone, obsidian, bedrock, or end crystals on contact. As such, there is no point in constructing shelters.

The player should be listening and looking for the dragon at all times. When the dragon's health bar is visible, it means that the dragon is nearby. If the dragon charges the player, it can be repelled by shooting it. Shields also work against both the damage and knockback of the melee attack of the dragon—but they don't work against the breath, as it is considered magic damage, and they take inordinate amounts of damage if the dragon continues flying into the player for any length of time. If the player hears that the dragon is close, but doesn't see it, they should sprint, then make a 90° turn and repeat until they can see the dragon.

The dragon has the potential to launch players high into the air. A high level of Feather Falling will allow the player to survive most launches if their HP is not low. Placing a bucket of water just before landing, though difficult, can negate the fall damage. When high in the air, throwing an ender pearl toward the ground will negate most of the fall damage. If the player is launched off the side of the End island, throwing an ender pearl toward the island may be their only chance at survival.

When the dragon shoots a fireball or perches atop the exit portal, it will create a pool of deadly dragon breath. This lingers for some time and deals repeated damage, so the player should move away as quickly as possible.

Destroying the end crystals
The end crystals heal the ender dragon. With all of the crystals active, the dragon will recover faster than a player could ever hope to damage it. It is possible to defeat the ender dragon while some end crystals remain, provided the dragon spends enough time away from them, but it is usually recommended to destroy as many crystals as possible. Crystals on very large pillars may be difficult to see, but the healing beam they emit when the dragon is nearby will give away their location.

Climbing
Attempting to climb the obsidian pillars is a very risky idea. Even if the player builds platforms from a dragon-proof material, the dragon can easily knock them off while they are climbing, and they will need some kind of delay, such as TNT to avoid being damaged by the crystals' explosions. (Note: Ender pearls combined with Protection IV diamond armor can negate most of the above damage.) If the player absolutely must climb the towers, hollowing out the inside with an Efficiency-enchanted diamond pickaxe and using end stone to pillar jump is the safest method. This, however, is an unimaginably slow process, and there is nothing preventing the dragon from damaging the player inside the pillar.

The player may be forced to climb the pillars to destroy those crystals protected by iron bars in the event that the remaining crystals are healing enough to out-heal the player's damage. In such an event, they should either use ender pearls to climb a lower tower and work from there, or stick to a corner of the tower and pillar jump as fast as they can (provided they have Feather Falling boots).

If none of those are an option, trapping a couple endermen in boats and collecting their ender pearls, and then throwing the pearls against the iron cages will work. Keep in mind that a great deal of skill is needed to successfully pull this off.

Shooting
The best method for destroying the end crystals is simply shooting them with a bow. The player should position themselves so that the crystal is at least partially visible. They should aim above the crystal, pay attention to where the arrow hits the pillar, and adjust their aim accordingly. The Flame enchantment helps to make the arrows more visible. Be aware that the crystal may have been destroyed, even if an explosion was not seen. Alternatively, snowballs could be used instead to save on arrows, if the bow does not have the Infinity enchantment.

Defeating the dragon
Once the majority of the crystals have been destroyed, the player can attempt to defeat the dragon. At a distance, the dragon is nearly impossible to hit, and the majority of shots will miss. Thus, it is best to conserve ammunition by only firing when the dragon is at point-blank range or sniping them from one of the obsidian pillars.

While shots to anywhere other than the head only deal one-quarter of the normal damage, hits to the body will add up over time. While the dragon is flying, the player should keep it in sight. When it charges, the player should charge up their bow, line up their shot, and then shoot it in the head. When the dragon recoils, they should attempt a quick second shot. When it flies away, the player should follow. When it flies low while fleeing, it will most likely charge. It is important that the player be patient, and not lose track of their health.

When the dragon is perched on the exit portal, it is immune to arrow shots. It will attempt to keep players from getting close by using its breath attack. However, it is possible to stand in the exit portal directly beneath the dragon without being caught in its breath; this will allow the player a number of easy hits with a sword or axe.

Summoning the wither is another tactic of defeating the ender dragon. The wither will fight the dragon and may take heavy damage in the process, becoming easier for the player to finish off. However, as the wither is itself very dangerous, this tactic requires even more preparation than normal. There is also a chance for the wither to destroy the one-of-a-kind dragon egg after the dragon dies, preventing the player from ever obtaining it.

Once the player has inflicted damage, the dragon will explode, dropping experience orbs and causing the exit portal to activate.

Experience
Once defeated, the ender dragon will drop enough experience orbs to reach level 78 (approximately 12,000 xp.) Since it takes progressively more experience to gain a level at higher levels, it's optimal to make it to level 30, and begin enchanting there; only picking up enough experience at a time to put the player over 30 before making their next enchant. However, since the magnetism range for experience orbs is much higher than items, this can be impractical.

Dragon egg
To collect the dragon egg, the player should simply position a single piston behind the egg, and a redstone signal next to the piston. This will cause the egg to be knocked down where the player can grab it as an item drop. To prevent the egg falling into the portal, the player may place some blocks around the egg before the push it with the piston.

There is another way to obtain the egg without a piston. Attempt to mine the egg, causing it to teleport someplace else. Find it, then mine the block two blocks underneath it. Place a non-solid block there, such as a torch, sign, or ladder. Then, mine the block directly underneath the egg, so that it falls on the non-solid block, dropping as an item. Note that this can be risky, as the player may not find the egg after it teleports.

Respawning the dragon
Main Article: Tutorials/Respawning the ender dragon with fewer crystals

The ender dragon can be respawned by placing end crystals on the exit portal: