Skip to main content

MINECRAFT · ITEM

Minecraft Cake item

Cake

  • Item

A decorative food block that restores hunger when eaten; non-stackable and easily destroyed by hand.

The Cake is just the start. Join the GameServersHub Discord for the full playbook on running your server. As of .

About

Cake is a block item in Minecraft that players place on solid surfaces to eat. Unlike most food, cake cannot be eaten directly from inventory, it must be placed first, then consumed one slice at a time by right-clicking. Each slice restores a small amount of hunger.

Admins can spawn cake with /give @p minecraft:cake 1. Because cake does not stack, each spawn command creates one placeable block. The block has low hardness and breaks instantly when mined, making it easy to remove or relocate.

Frequently Asked Questions

What is the Cake used for?
Cake is a block item in Minecraft that players place on solid surfaces to eat. Unlike most food, cake cannot be eaten directly from inventory, it must be placed first, then consumed one slice at a time by right-clicking. Each slice restores a small amount of hunger.
When was the Cake data last updated?
The Cake entry was last verified on GameServersCodex on June 29, 2026. We track the live Minecraft build, so the IDs and commands here reflect the current patch.
What items are related to the Cake?
See the Related section at the bottom of this page for items commonly used alongside the Cake, or open Browse Games to explore the full Minecraft database.
Which game is the Cake from?
The Cake is from Minecraft. Every ID, code, and command on this page is specific to Minecraft and its current live build.
What is the Cake?
A decorative food block that restores hunger when eaten; non-stackable and easily destroyed by hand.
Can I get the Cake without spawning it?
Yes. The Cake can also be obtained through normal Minecraft progression. Admins usually spawn it for speed when testing, running events, or outfitting players, which is what the commands on this page are for.
What is the item id of the Cake?
The item id of the Cake is minecraft:cake.
What is the numerical id of the Cake?
The numerical id of the Cake is 354.
What is the give command of the Cake?
The give command of the Cake is /give @p minecraft:cake 1.
What is the stackable of the Cake?
The stackable of the Cake is No.
What is the hardness of the Cake?
The hardness of the Cake is 0.5.
What is the diggable of the Cake?
The diggable of the Cake is Yes.