Minecraft wiki entry for Cake, associated text: Using flint and steel, fire charge, or any flaming projectile on an unlit candle cake lights its candle. Lit candle cakes emit light level of 3. Clicking on the lit candle (but not the cake) extinguishes it.