Cocoa Beans

Cocoa beans are a food ingredient obtained from cocoa that can be used to craft cookies and brown dye.

From block loot
Cocoa pods can be mined with any tool, but axes are the quickest.

$$, fully grown cocoa pods drop 2-3 cocoa beans; fortune and looting have effect on this despite looting only being intended to work on mobs.

From fishing
Cocoa beans can be caught when fishing in a jungle as a junk item.

From trading
Wandering traders sell 3 cocoa beans for an emerald.

Breaking
Cocoa pods can be mined with any tool, but axes are the quickest.

The block itself is a technical block that cannot be obtained as an item, instead as cocoa beans, but they can be obtained by inventory editing or add-ons $$.

Block loot
$$, fully grown cocoa pods drop 2-3 cocoa beans; the chances and fortune behavior of this are unknown.

Farming
Cocoa beans come from cocoa pods, which are found on the trunks of normal-sized naturally-generated jungle trees in jungle biomes. Placing a cocoa bean on the side of a jungle log plants a new cocoa pod. (The log does not need to be attached to a tree).

Cocoa has three stages of growth. During its first, the pod is small and green. In the second stage, the plant is bigger and colored tan. In its last stage, the pod is even bigger, and orange-brown. When destroyed in the first two stages, the pod yields only one cocoa bean. When destroyed in the third stage, it gives two or three cocoa beans. Bone meal can be used to force the cocoa pod forward by one growth stage. Cocoa pods "pop" and drop their beans when struck by flowing water, pushed by a piston, or if their log is removed by any means. So in this way, you can make a cocoa bean farm.

Crafting ingredient
$$, cocoa beans are accepted as a direct substitute of brown dye in many recipes.

$$, cocoa beans can be also used in banner patterns:

Composting
Placing cocoa beans into a composter has a 65% chance of raising the compost level by 1.

ID




In Bedrock Edition, cocoa beans have the ID name, with a data value of 3.

Block data
$$, cocoa uses the following data values:

Trivia

 * Cocoa pods have a different hitbox for each size, however the top is always 0.25 blocks below the top of the wood it is on.
 * If a cocoa pod grows while the player is standing next to it, the player is forced into the appropriate form of suffocation prevention depending on available space.
 * The pixels on top of the fully grown pod are 8/7 the size of those on the side.