|Catches fire from lava||
dec: 127 hex: 7F bin: 1111111
|— Alex Wiltshire|
Cocoa is a fruit that grows in pods on jungle trees.
Cocoa pods can be mined with any tool, but axes are the quickest.
|Breaking time[note 1]|
- Times are for unenchanted tools in seconds. For more information, see Haste § Instant mining.
The block itself is a technical block that cannot be obtained as an item, instead as Cocoa Beans.[Java and Legacy Console editions only]. But they can be obtained by inventory editing or add-ons in Bedrock Edition.
Cocoa pods can be found on the trunks of normal-sized naturally-generated jungle trees. They will not generate on user-grown trees.
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 3 cocoa beans in Java Edition, and 2 in Bedrock Edition. Bone meal can be used to advance it one stage. 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.
In Bedrock Edition, cocoa uses the following data values:
|A two-bit field storing a value from 0 to 4 specifying the direction the pod is attached to:
|A two-bit field storing a value from 0 to 3 specifying the stage of growth of the plant:
|Name||Default value||Allowed values||Description|
|age||The stage of the pod's growth, 2 is fully grown.|
|facing||The direction from the cocoa bean to the log.|
The direction the player faces when placing the cocoa.
|May 8, 2012||Jeb revealed cocoa with a screenshot.|
|1.3.1||12w19a||Added cocoa pods.|
|1.5||13w04a||Bone meal will now only grow cocoa pods by one stage.|
|1.8||14w25a||The item form of block ID 127 (cocoa pod) was removed from the game. It can no longer exist in inventories, only as a block in the world.|
|1.13||17w47a||Prior to The Flattening, this block's numeral ID was 127.|
|1.14||18w43a||The texture of cocoa pods has now been updated.|
|Pocket Edition Alpha|
|0.9.0||build 1||Added cocoa pods.|
|0.11.0||build 14||Cocoa pods now grow over time.|
|Legacy Console Edition|
|TU12||CU1||1.0||Patch 1||Added cocoa pods.|
|New Nintendo 3DS Edition|
- Cocoa pods have a different hitbox for each size, however the top is always 0.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.