i summon the enderdragon by the command (/Summon EnderDragon)because i want to create a ender portal ,then i discover that the dragon doesn t have a life bar and i cant attack the dragon and the dragon didnt move,it just keep flying at the same place and keep screaming.
/summon-ed dragons functions are disabled, this is to prevent it from going to 0 0 each time in any dimension