Cake Command Examples
- Give 1 to nearest player:
/give @p minecraft:cake 1 - Give 1 to yourself:
/give @s minecraft:cake 1 - Give to a specific player:
/give PlayerName minecraft:cake 1 - Clear from inventory:
/clear @p minecraft:cake
What Is Cake Used For?
Bucket
Milk buckets are returned as empty buckets after crafting cake.
Bread
Both recipes depend on wheat farming.
Chest
Store ingredients before preparing a larger food build.
Crafting Table
Use a full crafting grid for the cake recipe.
Cake FAQ
What is the item ID for Cake?
The item ID for Cake is minecraft:cake. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Cake?
Cake has the historical numerical ID 354, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:cake instead.
How do I give myself Cake in Minecraft?
Open the chat window and run /give @p minecraft:cake 1 to give the nearest player one Cake. Replace @p with a player name to target someone else.
How many Cake can stack in one slot?
Cake stacks up to 1 per inventory slot.
How do you craft Cake?
Cake is crafted on a crafting table with 3 milk buckets, 2 sugars, 1 brown egg and 3 wheats, which yields 1 Cake.
Sources and Data Review
Item facts were reviewed for Java Edition 26.2 on .
