Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I accidentally spawned the Enderdragon in my normal world using the Single Player Command "spawn random". Can I use any single player commands to remove this Enderdragon (or is there any other way)? It is currently destroying all my hard earned creations.

share|improve this question
Have you tried killing it? It's really not hard at all - I did it my first time with a few wooden swords and no armor, without dying. If you attack him when he gets near you, he doesn't hurt you, he just sort of pushes you (which I'm assuming is a bug) – BlueRaja - Danny Pflughoeft Dec 12 '11 at 8:01
@BlueRaja-DannyPflughoeft Unfortunately I'm within a massive underwater city connected by corridors. The dragon is impossible to fight, it just destroys a module and swoops out of range! – Resorath Dec 12 '11 at 8:50
up vote 5 down vote accepted

If you're on Minecraft 1.8 (or the development snapshots leading up to it), you can remove the dragon fairly easily. This actually won't kill the dragon, but rather delete it outright (which means it will not drop a portal).

/kill @e[type=EnderDragon]

If that doesn't work, you can do this instead:

/gamemode c
/give @p diamond_sword
/effect @p 5 60 255

... which switches you over to Creative, gives you a diamond sword and an ridiculous damage buff. Fly up to the dragon and bonk it with the sword, then clean up the End portal it drops.

Also, if you already have Single Player Commands installed, then you can do this easily using the commands it provides.

  • /killall EnderDragon will delete the dragon from the world.
  • /killnpc will kill all NPCs in a certain radius around you, including the dragon. Note that this will trigger the death animation and cause a portal to the End to spawn.
share|improve this answer
Thank you! /killall EnderDragon worked great. Now the rebuilding begins.. – Resorath Dec 12 '11 at 8:49

protected by Frank Nov 28 '14 at 6:05

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.