Cocoa Beans

Cocoa beans are a primary color dye and food ingredient.

Farming
Cocoa beans come from cocoa pods, which are found naturally in jungle biomes. Placing a cocoa bean on the side of jungle wood will plant 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 will yield only one cocoa bean. When destroyed in the third stage, it will give two or three cocoa beans. Bone meal can be used to force the cocoa pod forward 1 stage of growth. Cocoa pods will "pop" and drop their beans when struck by flowing water, pushed by a piston, or if their log is removed by any means.

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.