Cocoa Item ID

Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for cocoa in Minecraft is shown below:

Cocoa Spawn Command

The Cocoa item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.

If you are running the Essentials plugin, you will need to run /minecraft:give instead of simply /give. This is because the Essentials /give command overrides Minecraft's built-in command.

Mining Tools

Below is a table of the tools that can be used to break Cocoa blocks, and the speed it will take to break at (in seconds). This is calculated with the formula (1.5 * Block Hardness) / Tool Multiplier.

Tool Speed
Golden Axe Golden Axe 0.03s
Diamond Axe Diamond Axe 0.04s
Iron Axe Iron Axe 0.05s
Stone Axe Stone Axe 0.08s
Wooden Axe Wooden Axe 0.15s
Netherite Axe Netherite Axe 0.3s

All Minecraft 1.18 Item IDs

Find thousands more items on our complete list of 1,325 Minecraft IDs.

/show list

Cocoa Information

Cocoa

The cocoa block cannot be obtained in Vanilla Minecraft - it is the block that grows on trees when cocoa beans are planted. When broken, cocoa beans are dropped (the amount is based on how much the cocoa bean block has grown). It is a useful ingredient in several crafting recipes, such as dyes.

Item ID minecraft:cocoa
Numerical ID 127
Stackable Yes
Max Stack Size 64
Hardness 0.2
Material Plant
Diggable Yes
Min / Max State IDs 5158 - 5169

Cocoa Block States

Block states are values assigned to a block that changes its state. For example, many blocks have a "direction" block state which can be used to change the direction a block faces.

Find a table of all blockstates for the Cocoa block below.

Block State Name Type Values
age int ?
  • 0
  • 1
  • 2
facing enum ?
  • north
  • south
  • west
  • east