File:Double Dragon Egg Spawn bug.png

Summary
A bug from 1.13pre-3 allowed for the Ender Dragon to completely respawn (including her egg once defeated) if it had been initially defeated in 1.12.2 and then the world was upgraded to 1.13pre-3. This is currently the only known way to obtain two Dragon eggs on a normal Survival world.