How do I remove a summoned Ender Dragon with no AI?

Use /kill @e[type=EnderDragon,r=100] while you are in the same dimension as the Ender Dragon you want to kill. This command doesn't require any command blocks, so you can just type it in the chat.


Using mincraft 1.11, /kill @e[type=ender_dragon] will kill all enderdragons in your surroundings


try /kill @e[type=EnderDragon] It normally works, unless you are on a server and you are not admin.


There is a command called /kill There are different targets you can select like @a=all players,@s=self,@p=closest players to where the command was executed,@r=random player,@e=all entities you also can direct it at a name or mob with [type=(mob name)] However you claimed to want it to stay still so as for that there is two ways.

  1. Follow the enderdragon to x and z coordinantes (0,0) where the enderdragon will fly in circles like the end stopping briefly on 0,0.

2.type in the chat /give @s command_block place the command block on creative mode and type in it /tp @e[type=enderdragon] (x y z of dragon placement) make the command block repeating and always active so all dragons will teleport to the x y z 20 times every second or every .05 seconds. If the dragon destroys blocks type the command in chat /gamerule mobgriefing false

NOTE: creepers, ghasts, withers,(maybe silverfish), endermen and enderdragon will not break blocks after the last command unless you type /gamerule mobgriefing false