Cake

Cake is a solid block used as food. It has the special ability to be used for healing multiple times, appearing as a brown base topped with white frosting and red square dots. Cake cannot be eaten while being held - it must be placed on a suitable surface as a block. Slices are removed each time the cake is used. Breaking the cake block or the block underneath it will destroy the cake and not return anything.

Cake heals every use, and may be used up to six times for a total of. If the player is already at full health, no cake will be consumed.

Crafting
After the cake is crafted, the three milk buckets are replaced with empty buckets, allowing the player to take back the buckets.

Origin
Notch stated if Minecraft won the 2010 Indie of the Year Awards, he would add cake to Minecraft. When he earned the title it was added on 13 January 2011, in the Beta 1.2 update.

Advantages

 * Each cake heals total in installments of  per use, making it more versatile than bread ( each) while rivaling the healing capability of a golden apple. This makes cake an excellent portable first-aid kit that can be left in any shelter or consumed during brief pauses while traveling.
 * Since cakes can be used repeatedly in SMP, they can be shared by several players.
 * Cakes can be placed before fighting in an area and used while fighting without having to switch items.
 * Despite its complexity, cake is technically a renewable resource.

Disadvantages

 * Cake requires several different items to craft - sugar, wheat, eggs, and three buckets of milk. As such, it takes some time to make a cake.
 * If you only eat part of a cake, you'll have to come back to that exact spot to eat the rest of it later on.
 * Once cake is placed it cannot be retrieved, much like glass.

Achievements
A cake must be made in order to complete "The Lie" achievement. The name is a reference to the internet catchphrase, popularized by Valve's game, Portal.

Trivia

 * Cake is slightly less than half a block tall ($7/16$ of a block), and does not make for a very good staircase.
 * When you hold a cake in your hand, it appears as though the cake is an item. However, the image for the cake while it is your hand is found in the terrain.png and the items.png file. However, only the items.png image is used.
 * When cake is placed on ice, walking on the cake will let you slip and slide as if you were just standing on the ice.
 * Cake, unlike most other blocks, will not prevent chests from opening beneath it.
 * It is possible to place cake on top of cake by placing a cake on the ground, then placing another cake on the side of a block above and to the side of the first cake, similar to placing torches on a chest. Eating the lower cake completely will cause the upper cake to disappear, same as mining out the block of cake it is sitting on.
 * Placing cake on a half-block will cause it to 'levitate' as if it had been placed on a normal block.
 * Cake and Soulsand next to each other can be used to make a staircase.
 * So can Cake and beds.
 * Because cake is only 7/8 blocks wide, it is possible to stand on the edge of a block beneath a cake. It is possible to perform this using a cactus as well, but it is not recommended since physical contact with cacti causes the player to take damage.
 * Cake cannot be destroyed by Lava and Water.
 * Cake can destroy falling sand if placed under the sand, similar to a torch and a slab.
 * Cake exists in two instances: as a block, and as an item. The item is what you receive when crafting, and does not stack.  The block can only be obtained through inventory editing and 64 can be stacked, like all other blocks.
 * Cake is rectangular but in inventory looks circular.
 * Cake currently holds the record with Pistons for having the most complex crafting chain and recipe in game, requiring 10 different items to be crafted in order to make it, as well as 4 separate items to make the cake itself.