This mod allows uneaten cakes to drop as their item form when broken by a player or an explosion (explosions still have a chance of destroying the item).
Harvestcraft is supported (in 1.12), and if there are other mods that add cakes, I am open to suggestions.
Regarding the 1.14 release:
As of 1.14, this mod can actually be recreated using a data pack! The reason for me still releasing this mod is I also change piston behaviour to allow cakes to be pushed with pistons. If you are not interested in this mechanic, you can check out my data pack version here.
Bugs, suggestions, and crashes should be reported to the GitHub issue tracker.