Cocoa Beans
Item

Cocoa Beans

Namespaced ID
minecraft:cocoa_beans
Legacy numeric ID
351:3(1.8 & earlier)
Stack size
64
Edition
Java & Bedrock

/give command

Run in chat or a command block. Replace @p with a player name to target someone specific.

Command builder

Set the count, custom name, lore, and enchantments to generate a ready-to-paste /give command for Cocoa Beans.

Shown above the item in the inventory.
Italic text shown below the item name. One line per row.
1 compatible with Cocoa Beans.

Component syntax for Minecraft 1.21.8.

Obtained from

Blocks that drop Cocoa Beans when broken.

  • Cocoa

Used to craft

2 items use Cocoa Beans as an ingredient. Click any item to see its recipe.

Across versions

Legacy numeric ID
351:3 (pre-1.13, from 1.8)
Modern ID (1.13+)
minecraft:cocoa_beans (numeric IDs were removed in 1.13 — not usable in commands)
Editions
Java & Bedrock

Browse the full item list for a specific version:

About Cocoa Beans

Where do you get Cocoa Beans in Minecraft?

Cocoa Beans can be obtained by breaking Cocoa.

What is the Minecraft ID for Cocoa Beans?

The namespaced ID is minecraft:cocoa_beans, used in the /give command: /give @p minecraft:cocoa_beans 1. In legacy versions before 1.13, Cocoa Beans used the numeric ID 351:3. Numeric item IDs were removed in the 1.13 "Flattening" and no longer work in modern commands.

What can you craft with Cocoa Beans in Minecraft?

Cocoa Beans is used as an ingredient in 2 recipes, including Brown Dye, and Cookie. See the Used to craft section above for the complete list.