1

I run a Spigot server and I was wondering if there's any way to respawn the Ender Dragon using a command block that checks if it's there, and if not summons it, or a plugin that can do this.

1

While Ben's answer is correct, it doesn't address the command blocks as you mentioned in the question. For checking if it's there, I believe you can run a /testfor command to test for the ender dragon within a certain radius (if you place the command block in the End and away from where the dragon would destroy the redstone), use a comparator to take the output from the command block, run it through an inverter (so you get output on a result of there not being a dragon in the radius), then run that into a command block with the /summon command to either summon the dragon directly (but there won't be a health bar) or to summon ender crystals around the exit portal.

If you opt to summon the dragon without the health bar (as it's tied to the boss fight status as opposed to the dragon entity) you can use the following command to summon it. /summon ender_dragon ~ ~ ~ {DragonPhase:0} You can of course replace ~ ~ ~ with XYZ coordinates so you don't spawn the dragon on top of the block and risk it breaking the redstone.

| improve this answer | |
  • Full disclaimer, I can't say for certain if non-player-placed crystals will summon the dragon. In theory it should work but I haven't really played around with the dragon since 1.7.10 and modded. I will test this after work tonight though and update my answer accordingly – Himitsu_no_Yami Mar 31 at 16:31
  • Thank you so what you're saying is use a command block with "testfor ender_dragon xyz" use a comparator hooked up to another command bock with the "summon ender_dragon" command? Im not so good with command blocks so if you have a template with the syntax that would be great. – Jordan casson-jones Apr 1 at 3:16
3

From the Minecraft Wiki:

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. (Fewer crystals can be used by exploiting this trick.) When the dragon is re-summoned, a series of explosions resets the obsidian pillars, iron bars, and end crystals. The top of each pillar appears to explode, destroying any player-placed blocks. example pic

| improve this answer | |

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