Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement

Cock is a food block that can be eaten by the player

Obtaining

Once the cake is placed, it cannot be recollected even with the use of Silk Touch.

Block Cake
Hardness 0.5
Breaking time (secs)
Default 0.75

Crafting

Ingredients Crafting recipe Description
Milk +
Sugar +
Egg +
Wheat

After crafting the cake, the milk will become buckets and will remain in the crafting grid.

Trading

Farmer villagers sell 1 cake for 1 emerald as a fourth tier trade.

Usage

Unlike most foods, cake cannot be eaten as an item in the hotbar. Before being eaten, it must first be placed on top of a block.

To eat from a placed cake, click on the cake with use button. Each cake has seven "slices", and each use will consume one slice. A single slice restores 2 (🍗) hunger and 0.4 hunger saturation. Eating all seven slices of a cake restores 14 (🍗 × 7) hunger and 2.8 hunger saturation.

Since eating a cake comes with no animation, cake can be eaten at a rate of one slice per tick. Multiple players can eat from the same cake at the same time. Unlike the other foods, eating cake makes no sound.

As a redstone component, when connected to a comparator, a whole cake emits a signal strength of 14. The signal strength decreases two units with each slice.

Data values

ID

Cake/ID

Block data

See also: Data values
Value Stage
0 Whole intact cake
1 1 piece eaten
2 2 pieces eaten
3 3 pieces eaten
4 4 pieces eaten
5 5 pieces eaten
6 6 pieces eaten

Block state

See also: Block states

Java Edition Cakes:

Name Default value Allowed values Description
bites00
1
2
3
4
5
6
Number of bites taken from the cake.

Candle cakes:

Name Default value Allowed values Description
litfalsefalse
true
Whether the candle on the cake is lit.

Bedrock Edition Cakes:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
bite_counter0x1
0x2
0x4
00
1
2
3
4
5
6
0
1
2
3
4
5
6
Number of bites taken from the cake.

Candle cakes:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
lit0x1falsefalse
true
0
1
Whether the candle on the cake is lit.

Video

Note: This video is outdated, as cake now has 7 slices as of 1.8.

Bread and Cake/video

Achievements

Icon Achievement In-game description Actual requirements (if different) Gamerscore earned Trophy type (PS4)
PS4 Other
The LieBake a cake using: wheat, sugar, milk, and eggs.Pick up a cake from a crafting table output.30GBronze

History

beta
November 23, 2010Notch stated if Minecraft won the 2010 Indie of the Year Awards, he would add cake to Minecraft.
1.2When he earned the title it was added, healing 18♥ × 9.
1.5Achievements were added, including “The Lie".
1.8Cake now restores 12 (🍗 × 6).
release
1.2.1When crafted, the empty buckets are now moved to the player's inventory, rather than staying in the crafting grid.
1.7.213w37aBlock ID 92 (cake) was removed from the /give command.
1.814w02aFarmer villagers now sell 1 cake for 1 emerald.
14w28aCake slices increased from 6 to 7.
Now emits comparator signal.
Empty Buckets now stay in the crafting table.
Pocket Edition Alpha
0.7.0Added cake. It restores 18♥ × 9.
0.12.1build 1Cake now restores 12 (🍗 × 6).
Legacy Console Edition
TU1CU1 1.0 Patch 1Added cake.
TU6Made cake stackable as a version exclusive.

Issues

Issues relating to "Cake" are maintained on the bug tracker. Report issues there.

Trivia

Interaction

  • Since cake is only 7/8 blocks wide, it is possible to stand on the edge of a block beneath a cake.
  • Cake will destroy falling blocks if placed under them, similar to a torch.
  • 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.
  • It is also possible to place cakes (or any other block) on top of cakes by sneaking and placing a cake on top of another cake
  • Mobs on top will rotate while attempting to move, a path finding oversight shared with fences.
  • If cake is placed in a one deep hole you can get across the hole without jumping but if you are standing on the cake you will have to jump to get out of the hole unlike a slab.
  • Cake can be used to create a functioning staircase, by placing a cake on each level of a 1 block by 1 block incline. This would be one of the most labor intensive staircases available, given the requirements to craft a cake, compared to all other possible methods for creating a staircase.

Miscellaneous

  • Cake was added to Minecraft following the ModDB 2010 Indie of the Year Awards. Notch agreed to add cake to Minecraft if it won, which led to a campaign called "The Quest For Cake". Minecraft won 3 of the 7 awards, including the "Indie of the Year" award.
  • Placing a cake makes the same sound as placing wool.
  • 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.
  • The name of the achievement is a reference to the internet meme "The Cake is a Lie", which originated from Valve's game, Portal.

Gallery


Advertisement