Cocoa

Cocoa Pods are fruits found naturally on the trunk of normal-sized Jungle Trees. Cocoa Pods are a renewable resource, as they grow on and can be planted on a Jungle Log using Cocoa Beans. The player can harvest Cocoa Beans from the fruits, which can be used in further reproduction of Cocoa Pods, as a brown dye, or for Cookies. When harvested, Cocoa Pods will briefly flash red before disappearing.

Farming
The player is able to plant Cocoa Beans on the logs of Jungle Trees. The Cocoa Pod has three stages of growth. During its first, the pod is small and green. In the second stage, the pod is bigger and colored tan. In its last stage, the pod is even bigger and orange. When destroyed in the first two stages, the pod will only yield one Cocoa Bean. When destroyed in the third stage, it will give three Cocoa Beans. Bone meal can be used to immediately mature the Cocoa Pod to its last stage of growth. When Cocoa Beans are grown on jungle tree logs moved by a piston, they will become harvested. Some players use a form of double farming making wheat farms like found in villages but instead of using oak wood they use jungle tree wood—This allows for wheat as well as cocoa bean farming.

Advantages Disadvantages
 * 1) While one cocoa bean makes 8 cookies, cocoa pods drop three beans in their third stage, making up to 24 cookies from one pod.
 * 2) It allows for mass dyeing of sheep.
 * 3) Cocoa pods grow extremely quickly, taking between several seconds and a couple of minutes to fully mature.
 * 1) Cookies restore little hunger compared to other farmable food sources.
 * 2) Crafting cookies and dyeing wool are the only uses for cocoa beans.
 * 3) They can only be grown on jungle wood (however, this isn't a problem if they were found there).
 * 4) Cookies don't keep the hunger bar full as long as meat or bread.

History
Jeb revealed Cocoa Pods on May 8, 2012 with a screenshot.

Trivia

 * If a Cocoa Pod grows while the player is standing next to it, the player will not be pushed out and can move through it.
 * Player-created Jungle Trees do not generate with Cocoa Beans on them.
 * Cocoa Pods do not drop more Cocoa Beans if a tool enchanted with Fortune is used to destroy them.
 * Water can break Cocoa Pods if the water flows onto them. This also happens when the jungle wood block that the pods are attached to is moved by a piston, allowing the player to make semi-automatic Cocoa Bean Farms. There seems to be a bug as of 1.3.1 where pushing a jungle wood block with another jungle wood block will not always make the pod drop beans.
 * Cocoa beans can grow in complete darkness.
 * With the use of external mods to place a Cocoa pod with metadata 12, you can create obsidian skinned cocoa plants. This is caused by the way Minecraft chooses textures based on metadata, and similar effects can be achieved with wheat. This can not be done with the normal /give command.