If one breaks a block on which a cake is placed, the cake will not drop as item and will be lost.
Linked issues
is duplicated by 3
Comments 4
I also thought what would happen to only a partial cake. But that's up to Mojang to resolve... They might set that only a whole cake would produce drops.
I know cakes never dropped, regardless of how You tried to get it, but that's what I mean - isn't this technically a glitch (hence I mentioned it here)?
Might be intentional, after all, you can't pick up the cake normally either. And what would a half-eaten cake drop?