Minecraft Wiki
Register
Advertisement
Information icon
This feature is exclusive to Java Edition. 

Sends message to all players in the team of the entity who runs the command.

Syntax[]

teammsg <message>

Arguments[]

<message>: message

Specifies the message to send to team.
Must be a plain text. Can include spaces as well as target selectors. The game replaces entity selectors in the message with the list of selected entities' names, which is formatted as "name1 and name2" for two entities, or "name1, name2, ... and namen" for n entities.

Result[]

CommandTriggerJava Edition
anythe arguments are not specified correctly Unparseable
<target> fails to resolve to an entity (named player must be online) Failed
the executor is not an entity
the executor is not in any team
OtherwiseSuccessful

Output[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
On success11the number of players in this team

History[]

Java Edition
1.14
{{Extension DPL}}<ul><li>[[Shield|Shield]]<br/>{{Item
| image = Shield.png
| image2 = White Shield.png
| extratext = View [[#Gallery|all renders]]
| durability = 336
| renewable = Yes
| stackable = No
}}
A '''shield''' is a tool used for protecting the [[player]] against attacks.

== Obtaining ==
=== Crafting ===
{{Crafting
|head=1
|showname=0
|A1=Any Planks <!-- the recipe changed in 15w37a, do not change it to the old recipe without reason -->
|B1=Iron Ingot
|C1=Any Planks
|A2=Any Planks
|B2=Any Planks
|C2=Any Planks
|B3=Any Planks
|Output=Shield
|type=Combat
}}
{{Crafting
|ignoreusage=1
|Shield
|Matching Banner
|A2=Shield
|B2=Banner
|Output=Matching Shield
|type=combat
|foot=1
}}

=== Repairing ===
{{Crafting
|ignoreusage=1
|showdescription=1
|Damaged Shield
|Damaged Shield
|Output=Shield
|description= The durability of the two shields is added together, plus an extra 5% durability. The repaired shield has no pattern.
|type= Combat
}}

Shields may also be repaired on an [[anvil]] by using [[planks]] or another shield. Shields repaired on anvils retain their pattern.

=== Trading ===
Journeyman-level armorer [[villager]]s have {{frac|1|3}}{{only|Bedrock|short=1}}/{{frac|2|5}}{{only|Java|short=1}} chance of selling a shield for 5 [[emerald]]s as their sixth trade.

== Usage ==
Despite using iron in its crafting recipe, it cannot be smelted into [[iron nugget]]s.<ref>{{bug|MC-111738}}</ref>

=== Defense ===
Shields are used for [[blocking]] incoming attacks. {{control|Using}}{{Only|Java|short=1}} or {{Control|sneaking}}{{Only|Bedrock|short=1}} causes a player to slow to a [[sneaking]] pace, and after {{convert|5|ticks|seconds}}<ref>{{bug|MC-100949||Shield blocking is delayed}}</ref>, attacks coming from in front of the player are blocked, dealing no damage. When the shield blocks an attack of {{hp|3}} or stronger, it takes durability damage equal to the strength of the attack rounded up.  

Most blocked projectiles that carry status effects (such as [[Shulker#Shulker bullet|shulker bullets]]{{only|java|short=1}}, flaming [[arrow]]s, or tipped arrows) do not affect the blocker. [[Trident]]s & arrows can be deflected into other targets. Knockback from melee attacks and projectiles is prevented, while knockback from [[explosion]]s, [[hoglin]], and [[ravager]] attacks are significantly reduced.

The shield directionally blocks all attacks coming from within the FOV of the direction the wielder is facing, providing a full hemisphere of coverage to them. If the wielder faces straight up, they are likely to miss their blocks.<ref>{{bug|MC-109101||Shields do not block damage while the player faces straight up}}</ref><!--straight down fix: MC-92019-->

Mobs that deal continuous contact damage such as the slime, magma cube, and blaze rapidly drain the shield's durability for as long as the shielded player remains within the mob's hitbox.<ref>{{bug|MC-169167}}</ref><ref>{{bug|MCPE-119451}}</ref>

Blockable attacks include:
*Melee attacks, except by a warden, axe-wielding mobs or by a sprinting player wielding an axe, however even without sprinting an axe still greatly decreases the durability 
** Status effects do not carry through to the blocker{{only|java|short=1}}.
*Normal, tipped, and spectral [[arrow]]s
** Arrows other than [[Piercing]] are totally deflected and can hit other targets.
** Status effects do not carry through to the blocker{{only|java|short=1}}.
***This can be used to damage the attacker or another mob down there.
*[[Flame|Flaming arrows]]
** Burning does not carry through to the blocker{{only|java|short=1}}.
*[[Trident]]s
*[[Snowball]]s and [[egg]]s
*Spines from [[pufferfish]]
*Bullets from [[shulker]]s
** The levitation effect does not carry through to the blocker{{only|java|short=1}}.
*Spit from [[llama]]s
*[[Fireball]]s, such as from [[blaze]]s and [[fire charge]]s
** Burning does not carry through to the blocker.
*Direct hits from [[ghast]] [[fireball]]s
** These still cause environmental damage.
*All explosions{{only|JE|short=1}}
*Explosion damage from [[creeper]]s
*[[TNT]] that another player lit
*[[Ravager]] headbutts
** These still knock the blocker back by about 3 blocks.
** Blocking these strikes can stun the ravager for a moment, and it roars afterward.
*Ravager roars are blocked but still knock back the blocker.
*[[Bee]] stings are blocked, but bees continuously attack until the player stops blocking and the player is stung.
*Beam attacks from [[guardian]]s or [[elder guardian]]s (only reduces damage by 50%).
*Damage reflected from [[Thorns]] enchantment / [[Guardian|guardians]].

They cannot block:
*Arrows from a [[crossbow]] enchanted with [[Piercing]]
** This does not reduce the shield's durability.
*[[Status effect]]s from tipped arrows or shulker bullets {{only|bedrock|short=1}} <ref>{{bug|MCPE-52904}}</ref>
** Direct projectile damage is blocked, but the effect still carries through.
*Status effects from splash/lingering [[potion]]s, [[evoker]]s' fangs, or breath from the [[ender dragon]]
*Beam attacks from [[guardian]]s or [[elder guardian]]s, or the [[warden]]'s sonic boom attack
*TNT that the blocking player lit themselves{{only|BE|short=1}}
*TNT that a [[Redstone (disambiguation)|redstone mechanism]] lit{{only|BE|short=1}}
*[[Fall damage]], including that from [[ender pearl]]s
** This also includes when the player rides an [[entity]] that died due to fall damage.
*Strikes from a warden or any [[axe]]-wielding mob (e.g., [[vindicator]]s, [[piglin brute]]s, [[zombie]]s after disabling players shield they attack another time immediately)
** Such strikes disable being able to use shields for 5 seconds.

=== Applying patterns ===
[[File:Cyan Shield Screenshot.png|250px|thumb|A custom shield.]]
Shields can be decorated by applying a [[banner]].

{{Crafting
|showdescription=1
|Shield
|Matching Banner
|Output=Matching Shield; Ominous Shield
|B2link=Banner
|Olink=Shield
|type=Combat
|description=Applies the banner pattern to the shield. The banner is consumed.<br>The shield must have no preexisting patterns.<br>Does not change existing durability or enchantments on the shield.
}}

Unlike with [[banner]]s, shields cannot be repainted or washed in a [[cauldron]]. Shields have only half the resolution of banners, making patterns look slightly different. In the game files, the pattern textures can be found in a separate directory called entity/shield.

{{IN|java}}, shields with patterns can also be obtained using the same commands as banners, except <code>banner</code> has to be replaced with <code>shield</code>.

=== Enchantments ===
A shield can receive the following [[enchantments]], but only through an [[anvil]]:

{| class="wikitable col-2-center"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|}

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|subtitle=Shield blocks
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|translationkey=subtitles.item.shield.block
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|subtitle=Gear equips
|source=player
|description=When a shield is placed in the offhand slot
|id=item.armor.equip_generic
|translationkey=subtitles.item.armor.equip
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a shield's durability is exhausted
|id=item.shield.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|volume=0.7
|pitch=1.0}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|source=player
|description=When a shield is placed in the offhand slot<wbr>{{Upcoming|BE 1.20.30}}<wbr><ref group=sound>{{Bug|MCPE-168039}}</ref>
|id=armor.equip_generic
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a shield's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Shield
|spritetype=item
|nameid=shield
|form=item
|translationkey=item.minecraft.shield, item.minecraft.shield.white, item.minecraft.shield.orange, item.minecraft.shield.magenta, item.minecraft.shield.light_blue, item.minecraft.shield.yellow, item.minecraft.shield.lime, item.minecraft.shield.pink, item.minecraft.shield.gray, item.minecraft.shield.light_gray, item.minecraft.shield.cyan, item.minecraft.shield.purple, item.minecraft.shield.blue, item.minecraft.shield.brown, item.minecraft.shield.green, item.minecraft.shield.red, item.minecraft.shield.black
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Shield
|spritetype=item
|nameid=shield
|id=355
|form=item
|translationkey=item.shield.name, item.shield.white.name, item.shield.orange.name, item.shield.magenta.name, item.shield.lightBlue.name, item.shield.yellow.name, item.shield.lime.name, item.shield.pink.name, item.shield.gray.name, item.shield.silver.name, item.shield.cyan.name, item.shield.purple.name, item.shield.blue.name, item.shield.brown.name, item.shield.green.name, item.shield.red.name, item.shield.black.name
|foot=1}}

== Advancements ==
{{load advancements|Not Today}}

== History ==
{{History||July 10, 2011|link=http://minetimes.wordpress.com/2011/07/10/interview-mit-jeb-ihr-konntet-die-fragen-stellen/|During an interview, [[Jeb]] says that "shields for the left arm" might be added.}}
{{History|java}}
{{History||1.9|snap=15w33c|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Added shields.
|Shields replace the [[blocking]] functionality of [[sword]]s, although blocking more [[damage]].
|The current [[crafting]] recipe of shields includes [[wool]], producing 16 possible colored shields. There currently isn't a blank, uncolored shield.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Matching Wool |B1=Any Planks
|A2=Matching Wool |B2=Any Planks |C2=Iron Ingot
|A3=Matching Wool |B3=Any Planks
|Output=Matching Shield
|ignoreusage=1
}}
{{!}}}
|Any of the colored base shields can be [[crafting|crafted]] with a [[banner]] of the same base color, to produce a patterned shield.
}}
{{History|||snap=15w34c|When an attack is blocked by a shield, the attacker now may be knocked back.
|Being attacked with an [[axe]] now may disable shield use for 5 seconds.}}
{{History|||snap=15w37a|The [[crafting]] recipe of shields has been changed to 6 [[planks]] and 1 [[iron ingot]].
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Any Planks |B1=Iron Ingot |C1=Any Planks
|A2=Any Planks |B2=Any Planks |C2=Any Planks
|B3=Any Planks
|Output=Shield
|ignoreusage=1
}}
{{!}}}
|[[File:Shield JE1.png|22px]] Crafting a shield now produces a base wooden shield that can be crafted together with any [[banner]].
|The cooldown of shields has been reduced from 0.5s to 0.25s.
|Blocking with shields now prevents some side effects.{{verify}}
|[[Arrow]]s now ricochet off shields.}}
{{History|||snap=15w44a|Shields can now be repaired by combining with other shields. This removes any [[banner]] that had been applied.}}
{{History|||snap=15w45a|Crafting a banner onto a shield now consumes the banner.}}
{{History|||snap=15w47b|Added shield blocking [[sound]]s.}}
{{History|||snap=16w07a|Added more variation of shield blocking sounds.}}
{{History|||snap=pre1|The [[durability]] of shields has been increased from 181 to 337.}}
{{History||1.10|snap=16w21a|Shields can now be equipped by [[dispenser]]s.}}
{{History||1.11|snap=16w33a|[[Crafting]] a shield with a banner no longer changes the durability, nor does it remove [[enchanting|enchantments]] from it.}}
{{History|||snap=16w35a|Shields now block 100% of [[damage]]/[[knockback]]/debuffs dealt in melee combat.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 442.}}
{{History||1.13.2|snap=release|Shields now properly block attacks when the player is facing down.<ref>{{bug|MC-92019|||Fixed}}</ref>}}
{{History||1.14|snap=18w43a|[[File:Shield JE2 BE1.png|22px]] The texture of shields has been changed.
|Shields no longer knockback attackers when they block due to a bug with rework of the blocking mechanic with the introduction of the ravager.<ref>{{bug|MC-147694}}</ref>}}
{{History|||snap=19w11a|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.14.3|snap=Pre-Release 3|Shields blocking flaming [[arrow]]s no longer put the [[player]] on [[fire]].}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft shields.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft shields.}}
{{History||1.19.3|snap=22w43a|Shields can now properly block all explosions.}}
{{History||1.19.4|snap=23w06a|A sound is now played when a shield is placed into the offhand slot.}}

{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|Critical hits now bypass shields.
|The warm-up delay has been removed from shields.
|When in the off-hand, shields now activate when [[sneaking]].}}
{{History|||snap=Combat Test 2|Shields now protect against critical attacks again.
|Shields can only be activated when the weapon is charged to 200%.}}
{{History|||snap=Combat Test 3|A "Shield Indicator" option that displays when the shield is active, similar to the attack indicator, has been added.
|An option to hide shields when active has been added.
|The arc of available protection of shields has been decreased to 100 degrees instead of 180 degrees.}}
{{History|||snap=Combat Test 4|An option to disable shields being activated by pressing {{ctrl|crouch}} has been added.
|The option to hide the shield has been removed.}}
{{History|||snap=Combat Test 6|Shields now protect up to 5 [[damage]] for melee attacks (still 100% against projectiles).
|Shields activate instantly regardless if the weapon is charged, similar to Combat test 1.
|Shields now recover faster after an attack.}}
{{History|||snap=Combat Test 7c|Shields now add a 50% knockback resistance when active.
|Shields now protect against 100% [[explosions|explosion]] damage.}}
{{History|||snap=Combat Test 8c|The knockback calculations for shields have been fixed.{{Info needed}}
|Crouch-shielding while jumping has been disabled.
|Shields with [[banner]]s are now temporarily stronger than normal shields (10 absorption instead of 5, and better knockback resistance) to test different shield types.}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Shield JE2 BE1.png|22px]] Added shields.
|Shields cannot be customized with [[banner]]s.
|Shields are activated by [[sneaking|crouching]] or mounting [[mob]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.16.210|snap=beta 1.16.210.51|Now grants partial knockback protection from the [[goat]] ram attack.}}
{{History||1.16.220|snap=beta 1.16.220.50|[[Mob]]s that pick up shields now place them to their off-hand.}}
{{History||1.18.30|snap=beta 1.18.30.26|Being attacked with an [[axe]] now may disable shield use. This was not mentioned in the official changelog.<ref>{{tweet|kingbdogz|1504505321884196872|We missed a change in recent changelogs for the Bedrock beta that you may like - we have now made a parity fix that makes shields get disabled for 5 seconds when attacked by an Axe-wielding mob or player. We will make sure to list this properly in the next beta :)|March 17, 2022}}</ref>}}
{{History||1.20.0|snap=beta 1.20.0.20|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Shields can now be customized using a banner.}}

{{History|PS4}}
{{History||1.90|[[File:Shield JE1.png|22px]] Added shields.
|Shields do not have [[banner]] application features.}}
{{History|foot}}

== Issues ==
{{issue list|-wither}}

== Gallery ==
<gallery>
Shield.png|Shield
White Shield.png|White Shield
Light Gray Shield.png|Light Gray Shield
Gray Shield.png|Gray Shield
Black Shield.png|Black Shield
Brown Shield.png|Brown Shield
Red Shield.png|Red Shield
Orange Shield.png|Orange Shield
Yellow Shield.png|Yellow Shield
Lime Shield.png|Lime Shield
Green Shield.png|Green Shield
Cyan Shield.png|Cyan Shield
Light Blue Shield.png|Light Blue Shield
Blue Shield.png|Blue Shield
Purple Shield.png|Purple Shield
Magenta Shield.png|Magenta Shield
Pink Shield.png|Pink Shield
</gallery>

=== Screenshots ===
<gallery>
JebShield.png|One of the first images of shields. [[Jeb]] wearing diamond armor while holding a creeper-emblazoned shield during [[MineCon]] 2015.
Jeb Crafting Shield.png|Jeb crafting a shield.
Player with Shield.png|Player holding the default shield.
Shield Block.png|A player blocking with a shield.
ShieldFirstPerson.png|Blocking with a shield as seen in first person.
Enchanted Shield (item).gif|An enchanted shield as seen in the [[inventory]].
-ominous- shield.png|A shield with the [[ominous banner]] on it as seen in the inventory.
Kai-Shield.jpg|An image of [[Kai]] wielding a banner with a shield, used to announce the feature on [[Bedrock Edition]].
Bedrock-Shields.jpg
</gallery>

== References ==
{{reflist}}

== External Links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--shield Taking Inventory: Shield] – Minecraft.net on July 25, 2019

{{Items}}

[[Category:Combat]]
[[Category:Renewable resources]]

[[de:Schild (Kampf)]]
[[fr:Bouclier]]
[[it:Scudo]]
[[ja:盾]]
[[ko:방패]]
[[nl:Schild]]
[[pl:Tarcza]]
[[pt:Escudo]]
[[ru:Щит]]
[[th:โล่]]
[[zh:盾牌]]</li><li>[[Cocoa Beans|Cocoa Beans]]<br/>{{Block
|image=<gallery>
Cocoa Age 0.png|Age 0 JE
Cocoa Age 1.png|Age 1 JE
Cocoa Age 2.png|Age 2 JE
</gallery>
|image2=<gallery>
Cocoa Age 0 BE.png|Age 0 BE
Cocoa Age 1 BE.png|Age 1 BE
Cocoa Age 2 BE.png|Age 2 BE
</gallery>
|transparent=Yes
|light=No
|tool=axe
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}} '''Cocoa beans''' are items obtained from cocoa pods and are used to plant them, as well as to craft [[dye|brown dye]] and [[cookie|cookies]].

'''Cocoa pods''' are [[Bone Meal|bonemealable]] [[plant]]s placed on [[Log|jungle log]] sides that grow cocoa beans, and can be found naturally in [[Jungle|jungles]].

==Obtaining==
In ''Java Edition'', cocoa beans are only obtained through the natural generation of cocoa pods, while in ''Bedrock Edition'', they can also be gotten in bonus chests, from [[fishing]] inside the jungle, bamboo jungle and sparse jungle biomes and during a [[trading]] with a wandering trader.

Cocoa beans come from cocoa pods, which are found on the trunks of normal-sized naturally-generated [[jungle tree]]s in [[jungle]], [[bamboo jungle]]s and [[sparse jungle]] temperate [[biome]]s.

Cocoa pods can be mined with any item, but [[axe]]s are the quickest. Fully grown cocoa pods drop 3 cocoa beans. Using a tool enchanted with Fortune does not increase the amount of cocoa beans dropped.
{{breaking row|horizontal=1|Cocoa|Axe|sword=1|link=none}}
The block itself can be obtained by inventory editing or [[add-on]]s {{in|bedrock}}.

From one to two cocoa beans can be found in 40% of bonus [[chest]]s {{in|bedrock}}.
{{LootChestItem|cocoa-beans}}

Cocoa beans can be obtained from [[fishing]] in a jungle {{in|bedrock}}.

[[Wandering trader]]s may sell 3 cocoa beans for an [[emerald]] during a [[trading]] {{in|bedrock}}.

==Usage==
===Farming===
{{main|Tutorials/Cocoa bean farming}}
Placing cocoa beans on the side of a jungle [[log]] plants a new cocoa pod. The log does not need to be attached to a tree. A cocoa pod can be placed on jungle logs, jungle [[wood]], stripped jungle logs and stripped jungle wood.
[[File:Cocoaplant farm.png|thumb|left|A somewhat efficient cocoa pod farm, minimizing space and wood use.]]
Cocoa has three stages of growth. During its first stage, 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 larger and orange. The cocoa block has a 20% chance to grow a stage when receiving a [[Tick#Random tick|random tick]], giving it an average time of 5 minutes and 41 seconds per stage. When destroyed in the first two stages, the pod yields only one cocoa bean. When destroyed in the third stage, it gives 3 cocoa beans. [[Bone meal]] can be used to force the cocoa pod forward by one growth stage. Cocoa pods burst and drop their beans when struck by flowing water, pushed by a piston or if their [[log]] or wood are removed by any means.

===Composting===
Placing cocoa beans into a [[composter]] has a 65% chance of raising the compost level by 1. {{IN|bedrock}}, cocoa beans are accepted as a direct substitute of brown dye in many recipes.

===Crafting ingredient===
{{crafting usage}}

{{Dye usage}}

{{IN|bedrock}}, cocoa beans can be also used in banner patterns:
{{banner crafting usage}}

{{Banner loom usage|Cocoa Beans}}

==Sounds==
{{Sound table/Block/Wood}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Cocoa
|spritetype=block
|nameid=cocoa
|form=block}}
{{ID table
|displayname=Cocoa Beans
|spritetype=item
|nameid=cocoa_beans
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showforms=y
|showaliasids=y
|shownumericids=y
|generatetranslationkeys=y
|displayname=Cocoa
|spritetype=block
|nameid=cocoa
|id=127
|form=block}}
{{ID table
|displayname=Cocoa Beans
|spritetype=item
|nameid=cocoa_beans
|aliasid=dye / 3
|id=412
|form=item
|translationkey=item.dye.brown.name
|foot=1}}

===Block states===
{{see also|Block states}}
{{/BS}}

==History==
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java beta}}
{{History||1.2|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans.
|Cocoa beans are currently obtainable only through an inventory editor.}}
{{History||1.2_02|Prior to this, Cocoa Beans were misspelled as 'Coco Beans'.}}
{{History||1.4|Cocoa beans have been formally brought into the game as a reward found in [[dungeon]] chests.<ref>{{tweet|notch|53161729990987776}}</ref> (53% chance) Also, brown [[sheep]] now naturally spawn, making brown [[wool]] obtainable without hacking the game.
|Cocoa beans can now be used to craft [[cookie]]s.}}
{{History|java}}
{{History||May 8, 2012|link={{tweet|jeb|199867730927697920}}|[[Jeb]] revealed cocoa with a screenshot.}}
{{History||1.3.1|snap=12w18a|For only this snapshot, cocoa beans have been given a small (0.5%) chance of dropping from destroyed [[jungle tree]] [[leaves]] in a similar fashion to [[apple]]s from oak leaves, which makes cocoa beans [[renewable resource|renewable]] for the first time.}}
{{History|||snap=12w19a|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]]  Added cocoa. The top textures of cocoa always keep a completely constant rotation, regardless of what direction they face. They also not shaded.
|[[File:Cocoa Beans JE2.png|32px]] The texture of cocoa beans has been changed.
|Cocoa has replaced jungle [[leaves]] as the main method of finding cocoa beans.
|[[File:Cocoa Age 3 (S) JE1.png|32px]] Cocoa with values 12–15 is inaccessible normally, and use the texture of the [[dragon egg]]. This is due to the dragon egg texture being to the left of the ripe cocoa texture in <samp>[[terrain.png]]</samp>, as cocoa textures are arranged with the oldest on the left and the youngest on the right, resulting in the unusually ripe cocoa reading the dragon egg texture.}}
{{History|||snap=1.3|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||1.4.2|snap=12w34a|Cocoa beans have been given the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Cocoa beans can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.5|snap=13w02a|Due to textures being stored in individual files, cocoa beans with data 12–15 no longer have a texture to use, and now crash the game if a [[chunk]] containing one is loaded.}}
{{History|||snap=13w03a|Cocoa with data values 12–15 now only crash the game if one is directly in the field of view.}}
{{History|||snap=13w04a|[[Bone meal]] now grows cocoa by only one stage.}}
{{History|||snap=13w10a|[[File:Cocoa Age 3 (S) JE2.png|32px]] Cocoa with data 12–15 now use the age 2 texture, resulting in a broken appearance, preventing previously mentioned crashes.}}
{{History||1.6.1|snap=13w18a|Cocoa beans have been removed from [[dungeon]] [[chest]]s.}}
{{History|||snap=13w19a|Brown [[Terracotta|stained clay]] can now be [[crafting|crafted]] using cocoa beans.}}
{{History||1.7.2|snap=13w41a|Brown [[stained glass]] can now be crafted using cocoa beans.}}
{{History||1.8|snap=14w07a|[[File:Cocoa Age 0 (S) JE2.png|32px]] [[File:Cocoa Age 1 (S) JE2.png|32px]] [[File:Cocoa Age 2 (S) JE2.png|32px]] [[File:Missing Model JE1.png|32px]] The top textures of cocoa now rotate with the blocks themselves (cocoa facing north remaining visually unaffected), and cocoa of age 3 has [[Missing model|no model]].}}
{{History|||snap=14w10a|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]] [[File:Missing Model JE2.png|32px]] The large section of cocoa is shaded, and the missing model (which age 3 cocoa uses) has changed.}}
{{History|||snap=14w25a|[[File:Cocoa Age 0 (S) JE4.png|32px]] [[File:Cocoa Age 1 (S) JE4.png|32px]] [[File:Cocoa Age 2 (S) JE4.png|32px]] The connecting region of cocoa is now shaded.}}
{{History|||snap=14w26a|Cocoa with data 12–15 has been effectively removed from the game, as such blocks now convert to a proper value with {{cmd|setblock}}. Loading worlds with existing out of range cocoa crash the game.}}
{{History|||snap=14w30a|Cocoa beans can now be used to dye [[banner]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's and item's numeral ID were respectively 127 and 351.}}
{{History||1.14|snap=18w43a|Cocoa beans can now be used to craft [[brown dye]].
|Cocoa beans can no longer be used as a [[dye]].
|All of the dye-related functions and crafting recipes of cocoa beans (except cookies) have been transferred to brown dye.
|"Cocoa Beans" item has been renamed to "Cocoa".
|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa has been changed.
|[[File:Cocoa Age 0 (S) JE5.png|32px]] [[File:Cocoa Age 1 (S) JE5.png|32px]] [[File:Cocoa Age 2 (S) JE5.png|32px]] The textures of cocoa have been changed.
|[[File:Cocoa Age 0 (texture) JE2 BE2.png|32px]] [[File:Cocoa Age 1 (texture) JE2 BE2.png|32px]] Textures for cocoa age 0 and 1 has palette left, visible only on particles.
|Cocoa now has a placement [[sound]].}}
{{History|||snap=19w03a|Placing cocoa into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Cocoa now has a 65% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w11b|"Cocoa" item has been renamed back to "Cocoa Beans".{{verify|was this not just one bug that affected other crops as well? if so cite the ticket and add to all other affected pages}}}}
{{History||1.18|snap=Pre-release 5|[[File:Cocoa Age 0 (texture) JE3 BE3.png|32px]] [[File:Cocoa Age 1 (texture) JE3 BE3.png|32px]] Textures for cocoa age 0 and 1 were changed. This visually changes only particles.}}
{{History||1.19|snap=22w11a|[[File:Cocoa Age 2 (S) JE6.png|32px]] The texture and model of cocoa age 2 have been changed.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans. They are currently unobtainable and serve no purpose.}}
{{History||v0.8.0|snap=build 1|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.
|Cocoa beans can be [[crafted]] from an [[orange dye]] and an [[ink sac]], or from [[dandelion yellow]], [[rose red]], and an ink sac, despite there being no way of obtaining ink sacs at the time.}}
{{History|||snap=build 3|Cocoa beans are now available in [[creative]].}}
{{History||v0.9.0|snap=build 1|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]] {{info needed|How did 12-16 appear?}} Added cocoa.
|Cocoa provides an additional way of obtaining cocoa beans.
|Cocoa beans are now used to craft [[cookie]]s.}}
{{History||v0.11.0|snap=build 14|Cocoa now grows over time.<ref>{{bug|MCPE-7887}}</ref>}}
{{History||?|[[File:Cocoa Age 0 (S) BE4.png|32px]] [[File:Cocoa Age 1 (S) BE4.png|32px]] [[File:Cocoa Age 2 (S) BE2.png|32px]] Cocoa no longer has a stem connecting it to the log.}}
{{History||v0.15.0|snap=Realms build 4|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]] Cocoa stems now render again.<ref>{{bug|MCPE-13579}}</ref>}}
{{History||v0.16.0|snap=build 1|Cocoa beans can no longer be crafted from [[orange dye]] and an ink sac.
|Cocoa beans can no longer be crafted from rose red, dandelion yellow and ink sacs.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cocoa beans can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cocoa beans can now be used to dye [[shulker box]]es and [[bed]]s.
|Cocoa beans can now be used to craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cocoa beans can now be used to dye [[banner]]s, [[firework star]]s, and [[glass]].
|Cocoa beans can now be found in [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cocoa beans can now be used to craft brown [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|Cocoa beans can now be used to craft [[brown dye]].}}
{{History||1.10.0|snap=beta 1.10.0.3|Cocoa beans are now [[trading|sold]] by [[wandering trader]]s.
|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa beans has been changed.
|[[File:Cocoa Age 0 (S) BE4.png|32px]] [[File:Cocoa Age 1 (S) BE4.png|32px]] [[File:Cocoa Age 2 (S) BE4.png|32px]] The textures of cocoa have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cocoa beans can now be used to fill up [[composter]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cocoa beans has been changed from <code>dye/3</code> to <code>cocoa_beans</code>.}}
{{History||1.18.10|snap=beta 1.18.10.22|[[File:Cocoa Age 0 (texture) JE3 BE3.png|32px]] [[File:Cocoa Age 1 (texture) JE3 BE3.png|32px]] Textures for cocoa age 0 and 1 were changed. This visually changes only particles.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans.}}
{{History||xbox=TU9|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||xbox=TU12|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]]{{verify|Were these the models used?}} Added cocoa.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa beans has been changed once again.
|[[File:Cocoa Age 0 (S) JE5.png|32px]] [[File:Cocoa Age 1 (S) JE5.png|32px]] [[File:Cocoa Age 2 (S) JE5.png|32px]]{{verify|Were these the models used?}} The textures of cocoa have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cocoa Beans JE3 BE2.png|32px]] Added cocoa beans.
|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]]{{verify|Were these the models used?}} Added cocoa.}}
{{History|foot}}

=== Cocoa "item" ===
{{:Technical blocks/Cocoa}}

== Issues ==
{{issue list|Cocoa Beans|Cocoa Pod}}

== Trivia ==
*Cocoa pods have a different hitbox for each size; however, the top is always 0.25 blocks below the top of the [[log]] it is on.
*If a cocoa pod grows while the player is standing next to it, the player is forced into the appropriate form of [[suffocation prevention]] depending on available space.
*{{IN|be}}, the pixels on top of the fully grown pod are 8/7 the size of those on the side.<ref>{{bug|MC-109055||Fixed}}</ref><ref>{{bug|MCPE-152862}}</ref>

== Gallery ==
<gallery>
CocoaReveal.png|The first screenshot of cocoa pods tweeted by [[Jens Bergensten]], which revealed the plants.
CocoaPlant.png|A screenshot tweeted by Jens Bergensten, showing the pod.
Cocoa Plants in a Jungle Biome (12w19a).png|Naturally generated cocoa pods.
CPlantsJWood.png|A cocoa pod farm.
Cocoa2.jpg|A cocoa farm.
Cocoa beans phases.png|Three growing phases of the cocoa pod.
AreaOptimizedBeanPods.gif|A log and pod layout for optimizing an example area of 14×14 (including walls).
File:CocoaBean15.png|Cocoa beans with values greater than 12 appeared this way
</gallery>

==Literature==
===References===
{{reflist}}

===External Links===
*[https://www.minecraft.net/en-us/article/taking-inventory--cocoa-beans Taking Inventory: Cocoa Beans] – Minecraft.net on December 5, 2019

{{Items}}
{{Blocks|vegetation}}

[[Category:Dyes]]
[[Category:Food]]
[[Category:Plants]]
[[Category:Renewable resources]]
[[Category:Non-solid blocks]]
[[Category:Natural blocks]]

[[cs:Kakaové boby]]
[[de:Kakaobohnen]]
[[es:Semillas de cacao]]
[[fr:Fèves de cacao]]
[[hu:Kakaóbab]]
[[ja:カカオ豆]]
[[ko:코코아 콩]]
[[nl:Cacaobonen]]
[[pl:Ziarna kakaowe]]
[[pt:Sementes de cacau]]
[[ru:Какао-бобы]]
[[uk:Какао-боби]]
[[zh:可可豆]]</li></ul>
19w02aAdded /teammsg and /tm.
Advertisement