When burned in open air, the magnesium gets hot enough to produce noticeable amounts of yellow magnesium nitride. Burning in a covered crucible that allows enough air in to support combustion will reduce the burning temperature, thus maximizing the production of the nitride.