en 11.2 /summon Mobs & Pets Want to defeat the ender dragon call him and he will kill the ender dragon.