Cake is a food and a block that can be eaten by the player.
A cake with candle is a light-producing variation created when a candle is used on an uneaten cake.
Obtaining[]
Breaking[]
Once the cake is placed, it cannot be recollected even with the use of Silk Touch. Candle cakes always drop their respective candle when broken.
Block | Cake | |
---|---|---|
Hardness | 0.5 | |
Breaking time (secs) | ||
Default | 0.75 |
Chest loot[]
Item | Structure | Container | Quantity | Chance |
---|---|---|---|---|
Bedrock Edition | ||||
Cake | Buried treasure | Chest | 1 | 4.1% |
Crafting[]
Ingredients | Crafting recipe | Description |
---|---|---|
Milk Bucket + Sugar + Egg + Wheat |
Empty buckets remain in the crafting grid after crafting the cake. |
Trading[]
Expert-level farmer villagers can sell cake for a single emerald each. The chance is 2⁄7 in Java Edition.
Usage[]
Unlike most food, the cake cannot be eaten as an item in the hotbar. Before being eaten, it must first be placed on top of a solid block. Placing the cake on a slab also works, as the slab acts like a solid block. The cake instead floats half a block on top of the slab.
Each cake has seven "slices"; each use consumes one slice progressing inward from the west. 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, the cake can be eaten at a rate of one slice per tick. Multiple players can eat from the same cake at the same time. In Java Edition, eating cake makes no sound, unlike other foods.
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.
Cake destroys falling blocks if placed under them, similar to a torch.
Pandas[]
Some pandas move toward a dropped cake to pick up and eat it. Some may not, depending on the cake's location.
Composting[]
Placing a cake into a composter raises the compost level by 1.
Piston interactivity[]
A cake is broken when pushed by a piston, and it drops nothing.
Cakes with candles[]
Using a candle on an uneaten cake creates a candle cake of that color (including uncolored). Eating the cake causes the candle to drop.
Using flint and steel, fire charge, or any flaming projectile on an unlit candle cake lights its candle. Lit candle cakes emit light level of 3. Clicking on the lit candle (but not the cake) extinguishes it.
Sounds[]
Generic[]
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Once the block has broken | block | subtitles | 1.0 | 0.8 | 16 | |
Block placed | Blocks | When the block is placed | block | subtitles | 1.0 | 0.8 | 16 | |
Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.25 | 0.5 | 16 | |
None[sound 1] | Entity-Dependent | Falling on the block with fall damage | block | None[sound 1] | 0.5 | 0.75 | 16 | |
Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16 |
Sound | Source | Description | Resource location | Volume | Pitch |
---|---|---|---|---|---|
Blocks | Once the block has broken | dig | 1.0 | 0.8-1.0 | |
Blocks | When the block is placed | dig | 1.0 | 0.8-1.0 | |
Blocks | While the block is in the process of being broken | hit | 0.35 | 0.5 | |
Players | Falling on the block with fall damage | fall | 0.4 | 1.0 | |
Players | Walking on the block | step | 0.3 | 1.0 | |
Players | Jumping from the block | jump | 0.12 | 1.0 | |
Players | Falling on the block without fall damage | land | 0.18 | 1.0 |
Unique[]
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Cake squishes | Blocks | When a candle is placed on a cake | block | subtitles | 1.0 | 1.0 | 16 |
Sound | Source | Description | Resource location | Volume | Pitch |
---|---|---|---|---|---|
Blocks | When a candle is placed on a cake | cake | 1.0 | 1.0 | |
Players | After a player eats a cake | random | 0.5 | 0.9-1.0 |
Data values[]
ID[]
Name | Identifier | Form | Block tags | Translation key |
---|---|---|---|---|
Cake | cake | Block & Item | None | block.minecraft.cake |
Cake with Candle | candle_cake | Block | candle_cakes | block.minecraft.candle_cake |
Cake with White Candle | white_candle_cake | Block | candle_cakes | block.minecraft.white_candle_cake |
Cake with Orange Candle | orange_candle_cake | Block | candle_cakes | block.minecraft.orange_candle_cake |
Cake with Magenta Candle | magenta_candle_cake | Block | candle_cakes | block.minecraft.magenta_candle_cake |
Cake with Light Blue Candle | light_blue_candle_cake | Block | candle_cakes | block.minecraft.light_blue_candle_cake |
Cake with Yellow Candle | yellow_candle_cake | Block | candle_cakes | block.minecraft.yellow_candle_cake |
Cake with Lime Candle | lime_candle_cake | Block | candle_cakes | block.minecraft.lime_candle_cake |
Cake with Pink Candle | pink_candle_cake | Block | candle_cakes | block.minecraft.pink_candle_cake |
Cake with Gray Candle | gray_candle_cake | Block | candle_cakes | block.minecraft.gray_candle_cake |
Cake with Light Gray Candle | light_gray_candle_cake | Block | candle_cakes | block.minecraft.light_gray_candle_cake |
Cake with Cyan Candle | cyan_candle_cake | Block | candle_cakes | block.minecraft.cyan_candle_cake |
Cake with Purple Candle | purple_candle_cake | Block | candle_cakes | block.minecraft.purple_candle_cake |
Cake with Blue Candle | blue_candle_cake | Block | candle_cakes | block.minecraft.blue_candle_cake |
Cake with Brown Candle | brown_candle_cake | Block | candle_cakes | block.minecraft.brown_candle_cake |
Cake with Green Candle | green_candle_cake | Block | candle_cakes | block.minecraft.green_candle_cake |
Cake with Red Candle | red_candle_cake | Block | candle_cakes | block.minecraft.red_candle_cake |
Cake with Black Candle | black_candle_cake | Block | candle_cakes | block.minecraft.black_candle_cake |
Cake | Identifier | Numeric ID | Form | Item ID[i 1] | Translation key |
---|---|---|---|---|---|
Block | cake | 92 | Block & Ungiveable Item[i 2] | item.cake | tile.cake.name |
Item | cake | 417 | Item | — | item.cake.name |
Cake with Candle | candle_cake | 684 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.candle_cake.name |
Cake with White Candle | white_candle_cake | 685 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.white_candle_cake.name |
Cake with Orange Candle | orange_candle_cake | 686 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.orange_candle_cake.name |
Cake with Magenta Candle | magenta_candle_cake | 687 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.magenta_candle_cake.name |
Cake with Light Blue Candle | light_blue_candle_cake | 688 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.light_blue_candle_cake.name |
Cake with Yellow Candle | yellow_candle_cake | 689 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.yellow_candle_cake.name |
Cake with Lime Candle | lime_candle_cake | 690 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.lime_candle_cake.name |
Cake with Pink Candle | pink_candle_cake | 691 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.pink_candle_cake.name |
Cake with Gray Candle | gray_candle_cake | 692 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.gray_candle_cake.name |
Cake with Light Gray Candle | light_gray_candle_cake | 693 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.light_gray_candle_cake.name |
Cake with Cyan Candle | cyan_candle_cake | 694 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.cyan_candle_cake.name |
Cake with Purple Candle | purple_candle_cake | 695 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.purple_candle_cake.name |
Cake with Blue Candle | blue_candle_cake | 696 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.blue_candle_cake.name |
Cake with Brown Candle | brown_candle_cake | 697 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.brown_candle_cake.name |
Cake with Green Candle | green_candle_cake | 698 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.green_candle_cake.name |
Cake with Red Candle | red_candle_cake | 699 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.red_candle_cake.name |
Cake with Black Candle | black_candle_cake | 700 | Block & Ungiveable Item[i 2] | Identical[i 3] | tile.black_candle_cake.name |
Block states[]
Java Edition Cakes:
Name | Default value | Allowed values | Description |
---|---|---|---|
bites | 0 | 0 1 2 3 4 5 6 | Number of bites taken from the cake. |
Candle cakes:
Name | Default value | Allowed values | Description |
---|---|---|---|
lit | false | false true | Whether the candle on the cake is lit. |
Bedrock Edition Cakes:
Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
---|---|---|---|---|---|
bite_counter | 0x1 0x2 0x4 | 0 | 0 1 2 3 4 5 6 | 0 1 2 3 4 5 6 | Number of bites taken from the cake. |
Candle cakes:
Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
---|---|---|---|---|---|
lit | 0x1 | false | false true | 0 1 | Whether the candle on the cake is lit. |
Achievements[]
Icon | Achievement | In-game description | Actual requirements (if different) | Gamerscore earned | Trophy type (PS4) | |
---|---|---|---|---|---|---|
PS4 | Other | |||||
The Lie | Bake a cake using: wheat, sugar, milk, and eggs. | Pick up a cake from a crafting table output. | 30G | Bronze | ||
Birthday song | Have an Allay drop a cake at a noteblock | Tame an allay by giving it a cake while having dropped cake items and play a noteblock nearby. | 10G | Bronze |
Advancements[]
Icon | Advancement | In-game description | Parent | Actual requirements (if different) | Resource location |
---|---|---|---|---|---|
Birthday Song | Have an Allay drop a Cake at a Note Block | You've Got a Friend in Me | Give an allay a cake and then use a note block to make the allay drop the cake at a note block. This is a hidden advancement, meaning that it can be viewed by the player only after completing it, regardless of if its child advancement(s), if any, have been completed. | husbandry/allay_deliver_cake_to_note_block
|
History[]
Java Edition Beta | |||||
---|---|---|---|---|---|
November 23, 2010 | Notch stated if Minecraft won the 2010 Indie of the Year Awards, he would add cake to Minecraft. | ||||
1.2 | Since Minecraft won the title, cake has been added. | ||||
Cake heals 18 × 9. | |||||
Cakes with six and seven bites exist, but are not accessible. | |||||
Cakes with eight through fifteen bites also exist. These have a glitched appearance, with misaligned cake textures as well as the block placeholder texture on the bottom (as the texture next to the bottom of the cake on terrain.png, which it overflows to, is itself a placeholder). | |||||
1.5 | Achievements have been added, including "The Lie", which is rewarded when the player crafts a cake. | ||||
1.7 | The cake side texture shown from underneath has flipped to the other side. | ||||
1.8 | Pre-release | Cake now restores 12 ( × 6). | |||
Cakes with data 8 through 15 now use the red mushroom block texture with the addition of the red mushroom block. | |||||
Dropped cake items[more information needed] no longer appear larger than normal blocks. | |||||
? | Cake is available both in item and block forms in the creative inventory. | ||||
Java Edition | |||||
1.0.0 | ? | Cake blocks have been removed from creative. | |||
1.2.1 | ? | When cake is crafted, the empty buckets are now moved to the player's inventory, rather than staying in the crafting grid. | |||
1.5 | 13w02a | Cakes now use the inside texture for all orthogonal faces. | |||
With the advent of major changes in texture storage and architecture, overeaten cakes now display other parts of cakes as well as part of a crop texture. | |||||
From this version up until 14w08a, overeaten cakes start to draw from the textures next to them on the texture atlas, in much the same way they previously did with terrain.png. However, as texture atlases are unstable and textures tend to change positions as new blocks and textures are added, overeaten cakes change the texture they draw from every time new textures are added, which includes when textures added by mods. | |||||
13w03a | Cakes now use the outside side texture for the sides again.[1] | ||||
Overeaten cakes now display a different part of the cake texture than before. | |||||
13w09a | Overeaten cakes now display a crop texture on the side. | ||||
1.6.1 | 13w17a | Overeaten cakes now display a part of the powered redstone comparator texture. | |||
13w18a | Overeaten cakes now display the carrots texture. The inside underside also uses the feet of the cauldron. | ||||
1.7.2 | 13w41a | Overeaten cakes now display a part of the block breaking texture, and the texture of the block of diamond inside. | |||
1.8 | 14w02a | Farmer villagers now sell 1 cake for 1 emerald. | |||
14w10a | Cakes with data values 7 and above now have no model. | ||||
14w28a | Cake slices available when eating cakes have been increased from 6 to 7, allowing the 6-bites cake to be obtained legitimately. | ||||
Cake now emits a comparator signal. | |||||
When cake is crafted, empty buckets now stay in the crafting table. | |||||
1.9 | 15w37a | Cake can no longer be eaten in survival with the primary attack (left-click). | |||
1.13 | 17w47a | Prior to The Flattening, this block's numeral ID was 92, and the item's 354. | |||
1.14 | 18w43a | The texture of cake has been changed. | |||
Cakes can now be eaten by pandas when they are thrown to them. | |||||
19w03a | Placing a cake into the new composter now raises the compost level by 1. | ||||
19w08a | The texture of cake items have been changed, this time to have a large cherry in the middle to match its block counterpart. | ||||
May 17–20, 2019 | Cakes now display a "10" above them, textured with white concrete, to celebrate the 10 year anniversary of the first public version of Minecraft (0.0.11a) being released. | ||||
1.17 | 20w45a | Added candle cakes. | |||
21w19a | The name of "Candle Cake" has been changed to "Cake with Candle". | ||||
Pre-release 3 | Changed lit cake with candle textures. | ||||
Pocket Edition Alpha | |||||
v0.7.0 | Added cake. | ||||
Cake restores 18 × 9. | |||||
v0.12.1 | build 1 | Cake now restore 12 ( × 6). | |||
v0.14.0 | build 1 | Cake can now be used to emit a comparator signal. | |||
v0.15.0 | ? | Cake currently does not show its inside texture on two or more bites. | |||
Pocket Edition | |||||
1.0.4 | alpha 1.0.4.0 | Farmer villagers now sell cake for one emerald. | |||
Bedrock Edition | |||||
? | Cake is now stackable. | ||||
1.4.0 | beta 1.2.14.2 | Cake can now be found inside buried treasure chests. | |||
1.8.0 | beta 1.8.0.8 | Cake, as a dropped item, can now be eaten by pandas. | |||
1.10.0 | beta 1.10.0.3 | The texture of cake has been changed. | |||
1.11.0 | beta 1.11.0.1 | Cake can now be used to fill up composters. | |||
beta 1.11.0.4 | Cake sold by farmers now has a 50% chance to cost 8 emeralds. | ||||
beta 1.11.0.5 | The texture of cake items has been changed, once again. | ||||
beta 1.11.0.7 | Cake trades from farmer villagers have been reverted. | ||||
1.16.0 | beta 1.15.0.53 | Cake now shows its inside texture on two or more bites. | |||
1.17.10 | beta 1.17.10.22 | Added candle cakes. | |||
Legacy Console Edition | |||||
TU1 | CU1 | 1.0 | Patch 1 | 1.0.1 | Added cake. |
TU6 | Cake has been made stackable, as a then-version exclusive. | ||||
1.90 | [verify] The single, lone texture of cake has been changed. | ||||
New Nintendo 3DS Edition | |||||
0.1.0 | Added cake. |
Cake "item"[]
- The following content is transcluded from Technical blocks/Cake.
- Was this not the Creative-obtainable version of cake in Console Edition for a while?
- In fact, wasn't this the Survival-obtainable cake for a while as well?
- Stacking.
Java Edition Beta | |||||
---|---|---|---|---|---|
1.2 | Cake has an extra item form corresponding to its block ID, which can be obtained via inventory editors with numeric item ID 92. It is not intended to be obtained in conventional gameplay. | ||||
1.6 | Test Build 3 | Cake items can be obtained from the newly added debug chests, mainly from the 7th slot of the 4th chest from the left, and the 18th slot of the 7th chest from the left. | |||
release | Debug chests no longer spawn, preventing cake items from being obtained this way. | ||||
1.8 | Pre-release | Cake blocks are now available in the Creative inventory. | |||
Pre-release 2 ;) | Added pick block functionality. This changes the currently selected slot to any containing this otherwise-unobtainable cake item, but does not allow it to be obtained if not already in the hotbar. | ||||
Java Edition | |||||
1.0.0 | Beta 1.9 Prerelease 6 | Cake blocks no longer are available in the creative inventory. | |||
1.2.5 | pre | Cake items can now be obtained via Pick Block in creative. | |||
1.3.1 | 12w15a | Cake items can no longer be obtained with pick block in Creative - the proper intended item for cake is returned instead. | |||
12w16a | Cake items can now be obtained in singleplayer worlds via the /give command using the respective numeric ID. | ||||
1.7.2 | 13w37a | The direct item form of cake has been removed from the game. It can no longer exist as an item in any way, only as a placed block. | |||
Pocket Edition Alpha | |||||
v0.7.0 | Cake exists as an item. |
Appearances[]
Java Edition Beta | |||||
---|---|---|---|---|---|
1.2 | The cake item uses this model in inventories, when held in first or third person view or as a dropped item. | ||||
Cakes appear much larger than other 3D rendered blocks when dropped. | |||||
1.6 | Test Build 3 | The cake item now uses this model in inventories, when held in first or third person view or as a dropped item. | |||
This is a result of all 3D items having changed in this version to be brighter and rotated 90 degrees clockwise from their prior appearances. | |||||
1.8 | Pre-release | The cake item now uses this model in inventories, when held in first or third person view or as a dropped item. | |||
This is a result of all 3D items having changed in this version to be even brighter than previously. | |||||
Cakes, among other irregular 3D items, no longer appear much larger than other blocks as dropped items. | |||||
Java Edition | |||||
1.0.0 | RC2 | The cake item now uses this model in inventories, when held in first or third person view or as a dropped item. | |||
This is a result of all 3D items having changed in this version to be more shaded again. | |||||
1.3.1 | 12w22a | The cake item now uses this model in inventories, when held in first or third person view or as a dropped item. | |||
This is a result of all 3D items being rotated 90 degrees anticlockwise from their prior appearances. | |||||
1.4.2 | 12w34a | The cake item now uses this model in inventories, when held in first or third person view, as a dropped item or when in an item frame. | |||
This is a result of all 3D items being brightened to a miniscule degree. | |||||
? | The cake item now uses this model in inventories, when held in first or third person view, as a dropped item or when in an item frame. | ||||
The changes to the cake are currently unknown. | |||||
1.5 | 13w02a | The cake item now uses this model in inventories, when held in first or third person view, as a dropped item or when in an item frame. | |||
This is a result of MC-7119. | |||||
13w03a | The cake item now uses this model in inventories, when held in first or third person view, as a dropped item or when in an item frame. | ||||
This is a result of the aforementioned bug being fixed. | |||||
Pocket Edition Alpha | |||||
v0.7.0 | Cake displays this texture while in the players inventory. | ||||
v0.9.0 | Cake block items will display a different texture depending on the damage value (metadata value) it is given. |
Names[]
- Beta 1.2 - 13w36b: Cake
Issues[]
Issues relating to "Cake" are maintained on the bug tracker. Report issues there.
Trivia[]
Interaction[]
- 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 place cake on top of another 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 causes the upper cake to disappear, as does mining out the block of cake it is sitting on.
- It is also possible to place any block on top of cakes (including another cake) by sneaking and placing the block on top of a cake.
- Mobs on top of cakes rotate while attempting to move, a pathfinding oversight shared with fences.
- If cake is placed in a hole one block deep, players can get across the hole without jumping, although a player standing on the cake must jump to get out of the hole.
- 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 any other method of creating a staircase. This staircase is also extremely overpowered when combined with a horse being one of the fastest forms of travel.
- At some point, it was possible to push cakes into the void using pistons.[2]
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.
- The player can place cake on top of a bed, and while sleeping, the cake shows on the player's screen as if it were on top of their head.
- The name of the achievement for crafting a cake is a reference to the internet meme "The Cake is a Lie", which originated from Valve Software's game, Portal.
- On May 17, 2019, for the 10th anniversary of Minecraft, the cake model was changed to display a "10" above it, made of white concrete.
- Unlike most foods, cakes don't count towards the advancement "A Balanced Diet" in Java Edition.[3]
Gallery[]
Renders[]
In-game[]
The 10-years cake model placed in the world.