Wiki ArticleLocal entity data availableRenewable resourcesMissing stackabilityPages using simple calculatorPages with sound tables

Cake

A cake is a block that can serve as food. It can be eaten by placing and it, with each use consuming one of its seven slices. The entire cake gives the most hunger points out of every food item, but has low saturation. A cake with candle is an uneaten cake with any type of candle placed on it, which can be lit with a flint and steel to emit light.

Local game data

Cake with Candle

Java 1.21.4
Typeblock
Stack64
Hardness0.5
Sections6
Canonical IDblock:candle_cake
Minecraft IDminecraft:candle_cake
Wiki sourcecached

A cake is a block that can serve as food. It can be eaten by placing and it, with each use consuming one of its seven slices. The entire cake gives the most hunger points out of every food item, but has low saturation. A cake with candle is an uneaten cake with any type of candle placed on it, which can be lit with a flint and steel to emit light.

Breaking

Once the cake is placed, it cannot be recollected even with the use of Silk Touch, meaning placing it is final. Cakes with candles always drop their respective candle when broken.

Usage

and Alex eating a cake together.]] 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 hunger and 0.4 hunger saturation. Eating all seven slices of a cake restores 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. , 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. A player who is sneaking can place any block (including a cake or a falling block) on top of a cake without the block breaking.

Pandas

Some pandas move toward a dropped cake to pick up and eat it. Some may not, depending on the cake's location. Cake cannot be used to breed pandas.

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

a candle on an uneaten cake creates a cake with candle of that color (including uncolored). Eating any of the cake causes the candle to drop. flint and steel, fire charge, or any flaming projectile on an unlit cake with candle lights its candle. Lit cakes with candles emit a light level of 3 and point lighting of when the "Render Dragon Features for Creators" experiment is enabled in Minecraft Preview. with the lit candle (but not the cake) extinguishes it. Lit candled cakes emit the same point lighting as candles.

Local Data Properties

displayNameCake with Candle
namecandle_cake
id914
stackSize64
hardness0.5
resistance0.5
diggableYes
materialdefault
transparentNo
emitLight0
filterLight0
boundingBoxblock