Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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