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, although since 13w04a it will only advance it one step. When Cocoa Beans grown on jungle tree logs are moved by a piston, they will become harvested. They will also become harvested when touched by water. 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) Cocoa pods grow extremely quickly, taking between several seconds and a couple of minutes to fully mature.
 * 3) Cocoa pods will grow normally in complete darkness, so if you have an underground farm and not enough torches at the moment you can still grow cocoa beans.
 * 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

 * Cocoa plants have a different hitbox for each size, however the top is always .25 blocks below the top of the wood it's on.
 * 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 data values 12-15, you can create dragon egg textured cocoa plants. This is caused by the way Minecraft chooses textures based on metadata, and similar effects can be achieved with wheat, pumpkin and melon stems. This cannot be done with the normal /give command.