Cocoa

Cocoa Plants are plants found naturally on the trunk of normal-sized Jungle Trees. Cocoa Plants 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 plants, which can be used in further reproduction of Cocoa Plants, as a brown dye, or for Cookies. When harvested, Cocoa Plants will briefly flash red before disappearing.

Farming
The player is able to plant Cocoa Beans on the logs of Jungle Trees. The Cocoa Plant 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. When destroyed in the first two stages, the plant 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 Plant 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 plants drop three beans in their third stage, making up to 24 cookies from one plant.
 * 2) It allows for mass dyeing of sheep.
 * 3) Cocoa plants 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).

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

Trivia

 * If a Cocoa Plant 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 Plants do not drop more Cocoa Beans if a tool enchanted with Fortune is used to destroy them.
 * Water can break Cocoa Plants if the water flows onto them. This also happens when the jungle wood block that the plants 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 plant drop.