Ender Dragon

The ender dragon is a versatile, flying Boss mob found when first entering The End. It is the first boss added to Minecraft. It is also the largest mob naturally spawning in the game.

Initial spawning
The ender dragon spawns naturally in the End when the first player enters the dimension, and it spawns on any difficulty. In Peaceful, it still fires damaging fireballs, but its body does no damage.

Re-summoning
Players can re-summon the ender dragon once the fight is over by placing four end crystals on the edges of the exit portal — one on each side. When the dragon is re-summoned, a series of explosions resets the obsidian pillars, iron bars, and end crystals. The top of each pillar will appear to explode, destroying any player-placed blocks.

Commands
The /summon ender_dragon command, by default, summons a harmless ender dragon that hovers in place. Setting the DragonPhase tag (by issuing either the /summon ender_dragon ~ ~ ~ {DragonPhase:0} or the /data merge entity  {DragonPhase:0} commands) starts the ender dragon's ordinary behavior, although there can still be no health bar, since it's managed by the End's dragon fight status rather than by the dragon entity itself. If spawned away from the center of the map (X:0, Z:0), it flies to the center then resumes normal behavior (see #Behavior).

Drops
Once slain, the ender dragon slowly ascends, its wings and body becoming more tattered until it wilts into nothingness, while beams of light erupt from its center. There's an explosion of 12,000 experience points (ten drops of 960 and one drop of 2400) — enough to bring a player from level 0 to level 78. In subsequent completions of the ender dragon fight (after it is re-summoned via the End crystals), only 500 experience points are dropped.

After the dragon is slain for the first time only, its egg warps in above its nest. The nest fills in with an End portal interface to become the exit portal, enabling the player to transport back to the Overworld to respawn in their spawn point.

Every completed dragon fight also creates an End gateway portal floating within 75–100 blocks of the exit portal, up to a maximum of 20 portals.

Behavior
See also: Tutorials/Defeating the ender dragon

The ender dragon has four main states of behavior:
 * Circling
 * The dragon begins in this state: it circles the ring of obsidian pillars on either the outside if there are still End crystals or the inside if the crystals are destroyed.
 * With each crystal's destruction, there is an increased chance of the dragon switching states.
 * Targeting
 * Whenever the dragon finds itself less than 10 blocks or greater than 150 blocks from its current target, it will attempt to choose a new target. When damaged it will target a point just behind itself, causing it to turn away and choose a new target.


 * Strafing
 * Upon the destruction of an End crystal, the dragon immediately switches to this state to fire a fireball at them.
 * The dragon targets a player within 64 blocks of its nest. As soon as it is flying within 64 blocks of the player, it will shoot a fireball at the player.
 * The dragon will resume circling after this state.


 * Diving
 * The dragon dives onto the target player's position, taken at the start of the dive.
 * The dragon resumes circling after this state, whether or not it actually hit the player.


 * Perching
 * The dragon flies to its nest (approaching from the side opposite the player if possible) and lands on the highest block of the coordinates (x=0,z=0). The dragon is immune to arrows in this state (they all catch fire and bounce off).
 * Dragon's Breath
 * After 1.25 seconds, if a player is within 20 blocks of the nest, the dragon roars and use its 3-second breath attack, damaging players similarly to a lingering potion of Harming.
 * The purple clouds emitted from the dragon's breath attack can be collected in an empty bottle to obtain dragon's breath.
 * Charge
 * If player is not near the portal within 5 seconds of the dragon's landing, it will charge at players within 150 blocks.
 * Take-off
 * After four consecutive breath attacks, or if the dragon fails to locate a player within 150 blocks, it takes off from its perch.
 * The dragon resumes circling after this state.
 * Escape
 * If cumulative damage taken while perched exceeds 50 health, the dragon will take off and resets the damage accumulator. The accumulator is not reset if it does not take enough damage.
 * The dragon resumes circling after this state.

The dragon never targets any entity but the player. Other mobs may turn hostile to the dragon when struck. Any entities hit by its wings are dealt 5 damage (or 10 damage if hit by its head) and are thrown into the air, sometimes to fatal heights or even off the island. Neither of these effects are applied for 1⁄2 second after the dragon takes damage.

When the dragon finally takes a fatal blow, it flies towards its nest before dying, unless it cannot find it within 150 blocks, or it is inside blocks.

The dragon can pass through all blocks, destroying almost all types. Blocks not destroyed are those that naturally generate on the central End island and those that are intended to be indestructible:
 * Obsidian
 * End Stone
 * Bedrock
 * Command Block
 * Barrier
 * Iron Bars
 * End Portal (block)
 * End Portal Frame
 * End Gateway (block)

The ender dragon has a light purple health bar that appears at the top of the player's screen. Its health is frequently restored by nearby End crystals, indicated by a magical white beam connecting the dragon and the crystal. Destroying an End crystal that is actively healing the dragon causes 10 damage to it. The dragon can only take damage from explosions and player based damage and takes 1⁄4 normal damage when hit in any part that is not its head. Suffocation is completely non-applicable, as it either phases through or immediately destroys any block it touches.

By using the F3+B shortcut, the dragon's bounding box appears. It cannot be damaged at just any spot in this large volume: eight green sub-hitboxes are also shown, which indicate the locations where the dragon can take damage: The tail, body, head and wings.

The dragon is immune to all status effects, such as poison and even "instant" effects like instant damage.

Dragon Fireball
!Internal ID 79 !Namespaced ID dragon_fireball Dragon fireballs are special fireballs that the Ender dragon fires while strafing. They cannot be deflected unlike ghast fireballs, and they do no impact damage. Instead they deposit purple clouds across the ground, similar to a lingering Potion of Harming II. As with its close-ranged breath attack, the purple fog can be bottled to obtain the dragon's breath. In the Console Edition, dragon fireballs come from the sky rather than the dragon itself.
 * cellspacing="1" cellpadding="4"
 * }

Fireballs fired by Ender dragons also have entity data associated with them that define various properties of the entity.
 * Entity data
 * Tags common to all entities [show]
 * direction: List of 3 doubles. Should be identical to Motion.
 * life: Increments each tick when the projectile is not moving; resets to 0 if it moves. Has no effect, though is still saved/read
 * power: List of 3 doubles that adds to direction every tick. Act as the acceleration.

Data values[edit]
See also: Chunk format

The ender dragon has entity data containing various entity properties.
 * Entity data
 * Tags common to all entities [show]
 * Tags common to all mobs [show]
 * DragonPhase: A number indicating the dragon's current state. Valid values are: 0=circling, 1=strafing (preparing to shoot a fireball), 2=flying to the portal to land (part of transition to landed state), 3=landing on the portal (part of transition to landed state), 4=taking off from the portal (part of transition out of landed state), 5=landed, performing breath attack, 6=landed, looking for a player for breath attack, 7=landed, roar before beginning breath attack, 8=charging player, 9=flying to portal to die, 10=hovering with no AI (default when using the /summon command).

A dragon fireball spawned by command (Left) and the damage and the explosion it caused (Right).

Achievements[edit]
Main article: Achievements

Advancements[edit]
Main article: Advancements

Video[edit]
Note: This video is outdated, as many various changes have been made to the ender dragon battle.

Issues[edit]
Issues relating to "Ender Dragon" are maintained on the bug tracker. Report issues there.

Trivia[edit]

 * Health depletion effect of The Void does not affect Ender Dragons.
 * Name tags cannot be used on an ender dragon.
 * The ender dragon's hitbox is larger than the ender dragon itself, causing players to be pushed away from it.
 * If the player kills a summoned dragon in the Overworld or Nether, it will not create a portal, nor an egg.
 * In Spectator mode, the player cannot view the perspective of the ender dragon, unlike any other mob.
 * Using F3+B to show hitboxes reveals that the ender dragon's head rotation faces in the opposite direction to that which its real head faces. This is also why the ender dragon faces the wrong way when set in a monster spawner.
 * When ender dragon is spawned in the Overworld, it will fly to coordinates x=0 and z=0 and dive at the ground.
 * When perching, the ender dragon will always face roughly west, though the exact directions can vary by several degrees.

Notch-related[edit]

 * On Reddit, Notch referred to the ender dragon as a she, and suggested her name to be "Jean?" in the same manner he called the Player "Steve?".[4]


 * Dinnerbone later stated that he thinks the name is officially "Jean?"[5]
 * The Xbox avatar item 'Ender Dragon Pet' has the description 'A cuter, friendlier version of his bigger, less playful Minecraft sister.'- confirming that the ender dragon is female.
 * Before it was textured, Notch reported that he was afraid to texture it as it was a complicated model.[6]  In the end, the dragon model was so complex Notch stated that he gave up making the texture manually and wrote a texture packer tool to aid him in adding the texture to the model. Notch also uploaded the code for the tool so others could use the pack.[7] [8]


 * Notch joked about how Minecraft was "going next gen" when deadmau5 mentioned this.[9]
 * Notch has uploaded a video showing why ender dragons will not spawn in the main world, as they would destroy any block they come into contact with.[10]


 * On Reddit, Notch explained why ender dragons destroy overworld matter and phase through ender matter.[11]

Gallery[edit]

 * 

The first screenshot of the Ender dragon.
 * 

The same screenshot, only brighter.
 * 

The ender dragon flying overhead.
 * 

The ender dragon after defeat.
 * 

A dragon egg and the End portal after the Ender dragon is defeated.
 * 

An ender dragon being healed by an End crystal.
 * 

The ender dragon flying over the End.
 * 

The ender dragon attacks a player while being healed.
 * 

The ender dragon defeated. (Click image for animation.)
 * 

Dozens of player-spawned Ender dragons and withers fighting each other.
 * 

More ender dragons fighting withers.
 * 

The ender dragon's death inside netherrack
 * 

The ender dragon dying from the explosion of the End crystal it was using.
 * 

The dragon perching on the End portal frame.
 * 

The dragon firing an Ender Acid ball at the player.
 * 

The dying dragon quickly charging towards the End portal frame to roost. A pool of acid lies in the foreground.
 * 

The green hitboxes, visible when F3+B is toggled.
 * 

The ender dragon dying as seen when the player has night vision
 * 
 * 

Four ender crystals placed at the bottom to respawn the ender dragon.