to hatch a dragon egg in minecraft, first, you have to find some eggs. after having around 5-10 eggs, kill the mob and place one egg for each type of mob you want to hatch. then walk away from them at least 30 blocks or so, then come back, and they should hatch, one after another in a specific order.