Pixel art illustration of a round tan cookie with dark chocolate chips
Minecraft Java Item ID

Cookie ID

Cookie restores 2 hunger points. It is crafted from 2 wheat and 1 cocoa beans, yielding 8 cookies per craft.

Partial data
Namespaced item ID minecraft:cookie

Cookie Item Facts

Maximum stackNot yet verified
Historical numerical ID357

Historical numerical ID: Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Cookie

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:cookie 1

Customize this command → View crafting recipe →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 357 1

Give command syntax by version

Java 1.13+
/give @p minecraft:cookie 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 357 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:cookie 1
Same namespaced ID (namespace optional)

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

Crafting Recipe

WheatCocoa BeansWheat

Crafting table recipe — makes 8 × Cookie.

Prefer commands? Jump back to the give command matrix above to get Cookie instantly.

Cookie Command Examples

  • Give 1 to nearest player: /give @p minecraft:cookie 1
  • Give 1 to yourself: /give @s minecraft:cookie 1
  • Give to a specific player: /give PlayerName minecraft:cookie 1
  • Clear from inventory: /clear @p minecraft:cookie
What is the item ID for Cookie?

The item ID for Cookie is minecraft:cookie. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Cookie?

Cookie has the historical numerical ID 357, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:cookie instead.

How do I give myself Cookie in Minecraft?

Open the chat window and run /give @p minecraft:cookie 1 to give the nearest player one Cookie. Replace @p with a player name to target someone else.

How do you craft Cookie?

Cookie is crafted on a crafting table with 2 wheats and 1 cocoa beans, which yields 8 Cookie.

Related Food & Drinks

Item ID: minecraft:golden_apple
Item ID: minecraft:honey_bottle
Item ID: minecraft:apple
Item ID: minecraft:bread
Item ID: minecraft:cooked_beef
Item ID: minecraft:cooked_porkchop
Item ID: minecraft:cooked_chicken
Item ID: minecraft:carrot