Cake

Cake is a solid block used as food. It has the special ability to be used for healing multiple times, appearing as a sponge base topped with white frosting and glazed cherries. Cake cannot be eaten while being held - it must be placed on a suitable surface such 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.

Crafting
After the cake is crafted, the three milk buckets are replaced with empty buckets, allowing the player to reuse the buckets. You also get an Achievement "The Lie".

History
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.

Cake used to heal before the Adventure Update, but now it fills.

Advantages

 * Since cakes can be used repeatedly in SMP, they can be shared by several players.
 * Despite its complexity, cake is technically a renewable resource.
 * Cake can be eaten instantly without any eating animation and without switching the currently selected item.
 * Did you think about trying to leave only 1 piece of the cake left then using Silk Touch to get it back? Think again because it is impossible.
 * Cake restores a good amount of hunger.

Disadvantages

 * Cake requires several different items to craft - sugar, wheat, chicken eggs, and three buckets of milk. As such, it takes some time to make a cake.
 * Once cake is placed it can only be retrieved if you have a pickaxe enchanted with silk touch
 * 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.
 * Unlike other foods, cake does not have a lasting effect on your hunger bar.
 * Cake is not stackable.

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

Bugs

 * Placing a cake on an extended Piston Arm and then retracting said arm will make the Cake disappear.

Trivia

 * Placing a cake makes the same sound as placing wool.
 * The icon for the cake is found in the items.png and the terrain.png file, for the cake's icon as an item and its texture when placed, respectively.
 * When cake is placed on ice, walking on the cake will let you slip and slide as if you were standing on the ice, like other half-blocks.
 * Cake, like all transparent 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.
 * Since 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 or Water.
 * Cake can destroy falling sand if placed under the sand, similar to a torch.
 * 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 the inventory looks circular.
 * Cake currently holds the record with Pistons for having the most complex crafting chain and recipe in game, requiring 9 different items to be crafted in order to make it, as well as 4 separate items to make the cake itself.
 * Cake vanishes when a piston extends into the block where the cake is.
 * Cake has a damage value range of 0-15, but the only way to obtain 7-15 is via a map editor.
 * When the damage values of 7-15 are placed in a map, the cake becomes negative in appearance.
 * It is impossible to stand on a cake block with a damage value of 12 or above. This is because the 'negative' cake block requires the player to be in contact with both edges of the block simultaneously.
 * Cake with damage values of 7-15 can still be eaten, but will only fill one hunger icon before disappearing.
 * You can place cake on top of a bed, and while sleeping, the cake shows on your screen as if it were on top of your head.
 * Cake is smaller than a half slab, and thus is usable with fences and a piston loop to make a walkway.