Ender Dragon

The ender dragon is a giant flying hostile boss mob found when first entering the End. It is the largest naturally spawning mob in the game. It guards access to the end gateways that provide entry to the outer end islands in addition to the exit portal that allows return to the Overworld as well as access to the end credits of Minecraft. Because of this, it is known by most Minecraft fans as the 'final boss' of the game. Its attacks involve charging at the player and its unique dragon acid attacks.
== Spawning ==
=== Initial spawning ===
The ender dragon spawns 20 game ticks (1 second) after an entity first arrives in the End, along with the bedrock frame for the exit portal.
=== Re-summoning ===
Players can re-summon the dragon by placing four end crystals on the edges of the exit portal, one on each side. When it is re-summoned, the four end crystals point to the tops of each pillar setting off a series of explosions that resets the obsidian pillars, iron bars, and end crystals. The top of each pillar explodes, destroying any player-placed blocks. Eventually, all of the end crystals point at the coordinates of (0.0, 128, 0.0) and the ender dragon spawns there. The four crystals placed around the exit portal then explode. If the player does not pick up the dragon egg and starts to re-summon the dragon, the dragon egg disappears.
If the dragon goes through an end gateway, another immediately spawns at (0, 128, 0) while the other dragon flies to (0, 128, 0).
== Drops ==
After the ender dragon is slain for the first time, the following events take place:
* It slowly ascends, its wings and body becoming more tattered until it disappears in beams of light erupting from its center.
* There's an explosion of experience points (ten drops of 960 and one drop of 2400) — enough to bring a player from level 0 to level 68. If killed on top of the bedrock structure, some the experience orbs can drop into the exit portal. The experience orbs can then be retrieved in the overworld.
* The bedrock structure fills in with an end portal interface to become the exit portal, enabling the player to transport back to the Overworld and respawn at their spawn point.
* A dragon egg appears above the island's central bedrock structure. If a block exists right above the center of the central bedrock structure, then the dragon egg spawns 1 block above the highest block at (0,0). If the highest block is at the height limit, then the dragon egg does not spawn.
* An end gateway portal is generated floating within 75–100 blocks of the exit portal.
When a re-summoned ender dragon is slain, the same events occur except that only 500 experience points are dropped and no more than 20 gateway portals are generated. The dragon egg appears the first time the ender dragon is slain in Java Edition, and the first and second time in Bedrock Edition; it does not appear after any subsequent dragon slaying.
== Behavior ==
During the battle with the ender dragon, unique music called "Boss" plays, the edges of the screen darkens and black fog appears, and chunks around the exit portal are constantly loaded regardless of render distance. These happen as long as there is at least one player within a Euclidean distance of 192 blocks from (0.0, 128, 0.0).
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 damage to it. 
The dragon can take damage only from explosions and player-based damage, and takes damage of ( × normal damage + 1) when hit on any part that is not its head, making it the most resilient mob in the game. Suffocation is completely non-applicable, as it either phases through or immediately destroys any block it touches.
The dragon is immune to all status effects.
By using the 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.
=== Movement ===
The ender dragon is a flying mob, which cannot actually stand on the ground. It flies around the end main island while fighting the player.
The dragon can pass through all blocks, destroying almost all types, but can still be affected by flowing water, lava and bubble column. Blocks not destroyed are those that naturally generate on the central End island and those that are intended to be indestructible, such as end stone and respawn anchors:
* 
* 
* Command Block
* 
* 
* End portal (block)
* 
* End gateway (block)
* 
* 
* 
* 
* 
* 
* 
, these blocks are marked under the tag, with the exception of light blocks and fire, which are marked as .
Destroyed blocks are not dropped, although containers (such as chests and dispensers, but not shulker boxes) drop their contents.
=== Attacking ===
The dragon never targets any entity but the player, although other mobs may turn hostile to the dragon when hit, and the dragon may sometimes retaliate against other mobs if it takes damage to a projectile. Any entities hit by its wings are dealt damage (or damage if hit by its head), and in Java Edition, are thrown into the air, sometimes to fatal heights or even off the island. Neither of these effects is applied for second after the dragon takes damage.
The ender dragon has four main states of behavior:
; Guarding
* The dragon begins in this state, circling 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, it takes damage and there is an increased chance of the dragon switching states.
:; Targeting
:* Whenever the dragon finds itself less than 10 blocks or more than 150 blocks from its current target, it attempts to choose a new target. When damaged it targets 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 switches to strafing. As soon as it is within 64 blocks, it shoots a fireball at the player.
* The dragon resumes 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
* While Guarding and the dragon has reached the end of the path, it has 1 in (3 + crystals alive) chance (~7.7% up to 33%) to go to the exit portal structure (approaching from the side opposite the player if possible) and lands on the highest block of the coordinates (x=0, z=0), up to (y=101). If there is no block in (x=0, z=0) the dragon freezes right when it switches to perching. The dragon is immune to arrows in this state; they all catch fire and bounce off. it is also immune to thrown tridents in this state.
:; Dragon's Breath
:* Unless the player is in Peaceful difficulty, after 1.25 seconds, if a player is within 20 blocks of the exit portal structure, the dragon roars and use its 3-second breath attack, damaging players similarly to a lingering potion of Harming. An area of visible particles in the shape of a horizontal disc one block tall and 5 to 6 blocks in diameter appears where the breath attack strikes, either on the ground or floating in the air, at whatever point the breath attack struck a block. The harming effect zone where the player takes damage is confined to a smaller area in the center this visible cloud, covering about 3 to 4 blocks.
:* The harming effect portion of the purple clouds emitted from the dragon's breath attack can be collected in a glass bottle to obtain dragon's breath. Each bottle of dragon's breath collected removes one block from the lingering damage zone of the breath attack. The visible clouds remain for 3 seconds whether the dragons breath is bottled or not. By rapidly collecting all of the harmful blocks, usually around three, even a direct hit from the breath attack can be mostly and even entirely negated before the player suffers any damage.
:; Charge
:* If the player is not near the portal within 5 seconds of the dragon's landing, it charges 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. It always takes off in Peaceful difficulty, making it difficult to land melee hits.
:* The dragon resumes circling after this state.
:; Escape
:* If cumulative damage taken while perched exceeds , the dragon takes 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.
, when the dragon finally takes a fatal blow, it flies toward the exit portal structure before dying, unless it cannot find it within 150 blocks, or it is inside blocks.
== 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 effect clouds across the ground that damages players the same way a lingering potion of Harming does. This means that the ender dragon's fireballs deal magic damage, which ignores any damage reduction that comes from the player's armor. However its damage does get reduced by armor enchanted with the Protection enchantment. The purple effect cloud's hitbox slowly grows larger in diameter until it disappears.
As with its close-ranged breath attack, the purple clouds can be bottled to obtain the dragon's breath.
Unlike lingering potions of Harming, the effect cloud does not shrink when affecting mobs.
== Sounds ==
:
Ender dragons use the Hostile Creatures sound category for entity-dependent sound events.
Dragon fireballs use the Friendly Creatures sound category for entity-dependent sound events.
:
== Data values ==
=== ID ===
:
:
=== Entity data ===
Ender dragons have entity data associated with them that contain various properties.
:
: See Bedrock Edition level format/Entity format.
:
Dragon fireballs have entity data associated with them that contain various properties.
=== Command details ===
The command, by default, summons a harmless ender dragon that hovers in place . Setting the DragonPhase tag (by issuing either the or the commands) starts the ender dragon's ordinary behavior, although the health bar does not appear because it is managed by the ender 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).
Target selectors for the ender dragon target a total of 9 entities per dragon, as the ender dragon actually consists of 9 entities internally. So executing at a dragon to summon an arrow summons 9 arrows.
== Achievements ==
== Advancements ==
== History ==
Ender dragon.jpg|The first screenshot of the ender dragon.
Ender dragon-bright.jpg|The same screenshot, only brighter.
Ender Dragon Development 1.png|The ender dragon before being textured.
Ender Dragon Development 2.png|The ender dragon before being textured.
Ender Dragon Development 3.png|The ender dragon before being textured.
Ender Dragon Development 4.png|The ender dragon before being textured.
Dragon.png|The ender dragon before being textured.
DragonMulticolorTexture.png|The first ender dragon texture.
DragonMulticolor.png|The ender dragon with its first texture.
QV0gQ.jpg|The ender dragon's texture taking shape.
Ender Dragon Development Night.jpg|The ender dragon with its first semi-complete texture.
FinalTexture.png|The ender dragon's texture at this stage.
Ender Dragon Development Swamp.jpg|The ender dragon with wings more closely resembling their modern form.
DragonTexture.png|The ender dragon's texture at this stage.
FMAhp.jpg|The ender dragon's head and neck were lowered to make it look more "evil".
BNitw.png|The ender dragon flying over the Overworld. 
== Issues ==
== Trivia ==
* Health depletion effect of The Void does not affect ender dragons.
* If low enough on health, the ender dragon emits beams of light without dying, as if cracked.
* Name tags cannot be used on an ender dragon.
* The ender dragon's hitbox, especially its wings, is unexpected larger than the ender dragon itself, causing players to be pushed away from it from farther away than usual.
* If the player kills a summoned dragon in the Overworld or Nether, it does not create a portal or an egg.
* In Spectator mode, the player cannot view the perspective of the ender dragon, unlike any other mob. However, it is possible through the use of commands (like ). When this happens, the player's camera appears about 1 block over the dragon's body.
* Using to show hitboxes reveals that the ender dragon's head rotation faces in the opposite direction to where its real head faces. This is also why the ender dragon faces the wrong way when set in a monster spawner.
* When an ender dragon is spawned in the Overworld, it flies to coordinates X=0 and Z=0 and dives at the ground or does the same behavior as if in the End. If end crystals are placed in the Overworld, they heal the dragon as normal, but it does not perch anywhere, and continues to fly around forever.
* , there is an unused texture file for a dragon fireball item.
* In Super Smash Bros. Ultimate, one of the spirits that comes with the Steve/Alex DLC is the ender dragon. It appears as a Legend-class "spirit" that makes the user breathe fire for a long time at the start of each battle.
* A wither that is summoned to battle the ender dragon cannot deal damage because the ender dragon flies too fast, and it is immune to projectiles when perching.
* If commands or Creative mode are used to get end portal frames and eyes of ender, a player can basically skip to the end poem.
** If a player destroys ender crystals or even hurts the dragon and then uses a player-made portal, upon returning, the player retains their progress.
*The end dragon has the longest death sound
=== Notch-related ===
* On Reddit, Notch suggested the ender dragon's name to be "Jean?" in the same manner he called the player "Steve?".
**Dinnerbone later stated that he thinks the name is officially "Jean?".
**Despite this, an article on Minecraft.net states that "uttering its true name would unleash a destructive force that would obliterate not only the End, but the Nether and the Overworld at the same time."https://www.minecraft.net/en-us/article/taking-inventory--name-tag
* Also on Reddit, Notch referred to the ender dragon as a she, as well as this the Xbox avatar item Ender Dragon Pet has the description "A cuter, friendlier version of his bigger, less playful Minecraft sister", however it has been later confirmed by Notch,https://web.archive.org/web/20120728170757/http://notch.tumblr.com/post/28188312756/gender-in-minecraft Brandon Pearcehttps://twitter.com/kingbdogz/status/1321887816742219776 and Jebhttps://www.youtube.com/watch?v=pDBf_IKEq3s that all mobs in Minecraft have no gender, which includes the ender dragon.
* Before it was textured, Notch reported that he was afraid to texture the ender dragon as it was a complicated model. 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. (Link to the texture packer)
**Notch joked about how Minecraft was "going next-gen" when deadmau5 mentioned this."Yeah, we're going next gen here!" - @notch on Twitter; October 9, 2011
*Notch has uploaded a video showing why ender dragons do not spawn in the main world, as they would destroy any block they touch.
**On Reddit, Notch explained that ender dragons destroy Overworld matter because "trying to make an AI to properly navigate arbitrary terrain before the code freeze next tuesday isn't feasible".
==Gallery==
===Screenshots ===
DragonBreathAttack.jpg|The first screenshot of ender dragon with toxic breath attack.
EnderDragonDissolve.png|The ender dragon after defeat.
The End....png|A dragon egg and the End portal after the ender dragon is defeated.
TheEnderdragon.png|An ender dragon being healed by an End crystal.
End Screenshot.png|The ender dragon flying over the End.
EnderDragonAttack.png|The ender dragon attacks a player while being healed.
Enderdragondeath.gif|The ender dragon defeated.
Boss Party.png|Dozens of player-spawned ender dragons and withers fighting each other.
Minecraft withers enderdragons.png|More ender dragons fighting withers.
Nether dragon.png|The ender dragon's death inside netherrack.
Enderdragoncrystaldeath.png|The ender dragon dying from the explosion of the end crystal it was using.
DragonPerching.png|The dragon perching on the end portal frame.
AcidBallAttack.png|The dragon firing an ender Acid ball at the player.
DragonCharging.png|The dying dragon quickly charging toward the end portal frame to roost. A pool of acid lies in the foreground.
DragonHitboxes.png|The green hitboxes, visible when is toggled.
Dragon Death.png|The ender dragon dying as seen when the player has night vision in Bedrock Edition.
Ender Dragon Revival.png|Four ender crystals placed at the bottom to respawn the ender dragon.
HealthBarComparison.png|Comparison between the ender dragon and the wither.
Two Dragons.png|Screenshot of a possible glitch resulting in the spawning of two ender dragon.
Glowing Ender Dragon.png|The ender dragon with the glowing effect.
Red Dragon (Real).jpg|An ender dragon taking damage in the overworld.
===In other media===
EnderUpdate.jpg|The ender dragon in promotional artwork for the Ender Update.
Ender Dragon Mobestiary.jpg|The ender dragon pictured in the Mobestiary.
LEGO Ender Dragon Micromob.png|The ender dragon micromob from Lego Minecraft.
LEGO Enderdragon.png|Lego Minecraft Ender Dragon minifigure.
Enderdragon spirit.jpg|The ender dragon spirit in Super Smash Bros. Ultimate.
SSBU spirit Ender Dragon.png|The Super Smash Bros. Ultimate ender dragon spirit.
Ender Dragon Plush.jpg|Ender Dragon Plush in Minecraft.
Ender Dragon Plush Unboxed.jpg|Unboxed Ender Dragon Plush in Minecraft.
Ender Dragon minecraft.net.png|The ender dragon artwork in the official Minecraft site.
Enderdragon JINX.jpg|Official T-shirt artwork "Enderdragon" featuring Steve fighting the ender dragon. Made by JINX.
Minecraft Heroes Crest JINX.jpg|Official T-shirt artwork "Heroes Crest" which features an iron golem and an ender dragon. Made by JINX.
Battle by SamCube.jpg|Official T-shirt artwork "Battle" which features a creeper, an enderman, Steve, a ghast, and either an ender dragon or a red dragon. Made by SamCube.
The End is Nigh JINX.jpg|Official T-shirt artwork "The End is Nigh" made by JINX.
The End is Nigh.jpg|A newer version of "The End is Nigh." The text is the Standard Galactic Alphabet which translates to its title.
Ender Dragon Plush JINX.jpg|Ender dragon plush made by JINX.
==References==
Category:Boss mobs
Category:Hostile mobs
Category:End mobs
Category:Monster mobs
Category:Animal mobs
Category:Flying mobs
cs:Drak z Endu
de:Enderdrache
es:Enderdragón
fr:Ender Dragon
hu:Ender Dragon
it:Enderdrago
ja:エンダードラゴン
ko:엔더 드래곤
nl:Enderdraak
pl:Smok Endu
pt:Dragão Ender
ru:Дракон Края
th:มังกรเอนเดอร์
tr:Ender Ejderhası
uk:Дракон Краю
zh:末影龙
Category:Characters