I have finished working out ratios for rendering values that will allow me to make the number of uses configurable. However, I am not familiar with reading from files in Java, so if someone can help me I'd be very grateful.
The mod is now called Configurable Cake. You can now set the number of uses of the cake by dragging cakeconfig.txt from the download into the \.minecraft\mods\ folder. Then put the number of uses you want in the file. Leave it at zero if you want infinite uses. Works with 1.5_01 only.