{{About|the live variant of the non-solid block|the dead variant|Dead Coral|the solid block|Coral Block|other uses|Coral (disambiguation)|}}
{{Infobox block
| group = Tube
| group2 = Brain
| group3 = Bubble
| group4 = Fire
| group5 = Horn
| 1-1 = Tube Coral.png
| 2-1 = Brain Coral.png
| 3-1 = Bubble Coral.png
| 4-1 = Fire Coral.png
| 5-1 = Horn Coral.png
| invimage = Tube Coral
| invimage2 = Brain Coral
| invimage3 = Bubble Coral
| invimage4 = Fire Coral
| invimage5 = Horn Coral
| transparent = Yes
| light = No
| renewable = Yes
| tool = any
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| waterloggable = Yes
}}
'''Coral''' is a type of non-solid block that comes in five variants: tube, brain, bubble, fire, and horn.

== Obtaining ==
=== Breaking ===
[[File:Sea pickles on coral.png|thumb|right|Coral generated in [[warm ocean]]s.]]
Coral can be [[instant mining|broken instantly]] by hand, but can be obtained only when mined with a [[Silk Touch]] enchanted tool. Mining coral does not decrease the Silk Touch tool's [[durability]].
{{breaking row|Coral|drop=0|horizontal=1}}

=== Natural generation ===
Coral naturally generates in [[coral reef]] structures found in [[warm ocean]] biomes.

{{block distribution}}

=== Post-generation ===
When using [[bone meal]] on [[dirt]], [[coarse dirt]], [[sand]], [[red sand]], [[gravel]], or [[clay]] in [[warm ocean]] biomes, coral generates in place of some of the [[seagrass]] in a 5 X 5 area. In [[Bedrock Edition]], the same can happen in any biomes as long as bone meal is used in a water source above the aforementioned solid blocks.

== Usage ==
Coral can be used as a building or decoration block.

=== Placement ===
In order for coral to stay alive, at least one of the blocks surrounding it must be [[water]] or a [[waterlogging|waterlogged block]]. If placed outside of water, it dies and transforms into its respective [[dead coral]] after 3 to 4.95 seconds{{only|JE}} or 2 to 9.95 seconds{{only|BE}}. Coral dies even when the [[game rule]] {{cd|randomTickSpeed}} is set to {{cd|0}}.<ref>{{bug|MC-129942|||Invalid}}</ref> Once a coral turns into its dead variant, it is not possible to turn it back into a live variant.

=== Note Blocks ===
All types of coral can be placed under [[note block]]s to produce "bass drum" sounds.


== Sounds ==
{{Sound table/Block/Wet grass|type=stone}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tube Coral
|spritetype=block
|nameid=tube_coral
|blocktags=corals, coral_plants, underwater_bonemeals}}
{{ID table
|displayname=Brain Coral
|spritetype=block
|nameid=brain_coral
|blocktags=corals, coral_plants, underwater_bonemeals}}
{{ID table
|displayname=Bubble Coral
|spritetype=block
|nameid=bubble_coral
|blocktags=corals, coral_plants, underwater_bonemeals}}
{{ID table
|displayname=Fire Coral
|spritetype=block
|nameid=fire_coral
|blocktags=corals, coral_plants, underwater_bonemeals}}
{{ID table
|displayname=Horn Coral
|spritetype=block
|nameid=horn_coral
|blocktags=corals, coral_plants, underwater_bonemeals
|foot=1}}

{{edition|bedrock}}:
{{ID table2
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tube Coral
|spritetype=block
|nameid=tube_coral
|aliasid=coral / 0
|id=-131
|translationkey=tile.coral.blue.name}}
{{ID table2
|displayname=Brain Coral
|spritetype=block
|nameid=brain_coral
|aliasid=coral / 1
|id=-581
|translationkey=tile.coral.pink.name}}
{{ID table2
|displayname=Bubble Coral
|spritetype=block
|nameid=bubble_coral
|aliasid=coral / 2
|id=-582
|translationkey=tile.coral.purple.name}}
{{ID table2
|displayname=Fire Coral
|spritetype=block
|nameid=fire_coral
|aliasid=coral / 3
|id=-583
|translationkey=tile.coral.red.name}}
{{ID table2
|displayname=Horn Coral
|spritetype=block
|nameid=horn_coral
|aliasid=coral / 4
|id=-584
|translationkey=tile.coral.yellow.name
|foot=1}}

=== Block state ===
{{see also|Block states}}

{{/BS}}

== History ==
{{HistoryTable
|{{HistoryLine|java classic}}
|{{HistoryLine||May 21, 2009|link=wordofnotch:110762705|[[Notch]] expresses interest in a suggestion regarding corals by user "solarblade".}}
|{{HistoryLine|java infdev}}
|{{HistoryLine||June 28, 2010|link=wordofnotch:746938105|Notch mentioned on his blog: "I tried adding corals, but it's really hard to draw a single [[block]] that looks like corals, since it's really more about crazy amounts of variation and diversity. But I do know that the corals will have tiny fish [[particles]] around them."}}
|{{HistoryLine|java}}
|{{HistoryLine||October 5, 2012|link={{tweet|Dinnerbone|253954758489038848}}|Coral were jokingly teased in the fake snapshot [[12marc40awesome]], along with [[fish]] as [[mob]]s and "fish [[block]]s".}}
|{{HistoryLine||November 18, 2017|link=https://www.youtube.com/watch?v=mAapz_nIC_Y|[[File:Green Coral Preview.png|32px]] [[File:Orange Coral Preview.png|32px]] [[File:Orange Coral Preview Type2.png|32px]] Three types of coral were shown in a clip at [[MINECON Earth]].}}
|{{HistoryLine||1.13|dev=18w10a|[[File:Tube Coral JE1 BE1.png|32px]] [[File:Brain Coral JE1 BE1.png|32px]] [[File:Bubble Coral JE1 BE1.png|32px]] [[File:Fire Coral JE1.png|32px]] [[File:Horn Coral JE1 BE1.png|32px]] Added coral plants.}}
|{{HistoryLine|||dev=18w10b|[[File:Fire Coral JE2 BE1.png|32px]] The texture of red coral plants has been changed.}}
|{{HistoryLine|||dev=18w10d|Added [[coral reef]]s, allowing coral plants to generate naturally.}}
|{{HistoryLine|||dev=18w14b|"Coral Plants" have been renamed to "Coral".
|Blue, pink, purple, red, and yellow coral plants have been renamed to tube, brain, bubble, fire, and horn coral, respectively.}}
|{{HistoryLine|||dev=pre6|5 new [[sound]] events that apply to coral have been added: <code>block.wet_grass.break</code>, <code>block.wet_grass.fall</code>, <code>block.wet_grass.hit</code>, <code>block.wet_grass.place</code>, and <code>block.wet_grass.step</code>.}}
|{{HistoryLine|||dev=pre10|Coral can now be collected using [[Silk Touch]]. Prior to this, coral was completely unobtainable in [[survival]].}}
|{{HistoryLine||1.13.1|dev=18w31a|[[Bone meal]] used in [[water]] of [[warm ocean]] [[biome]]s now has a chance of growing coral, making them [[renewable]].}}
|{{HistoryLine|||dev=18w32a|Coral now transforms into [[dead coral]] when placed outside of water.}}

|{{HistoryLine|bedrock}}
|{{HistoryLine||1.4.0|dev=beta 1.2.14.2|[[File:Tube Coral JE1 BE1.png|32px]] [[File:Brain Coral JE1 BE1.png|32px]] [[File:Bubble Coral JE1 BE1.png|32px]] [[File:Fire Coral JE2 BE1.png|32px]] [[File:Horn Coral JE1 BE1.png|32px]] Added coral.}}
|{{HistoryLine||1.4.0|dev=beta 1.2.14.2|Coral with a damage/metadata value of 5 would display '<code>tile.coral..name</code>' as their name.}}
|{{HistoryLine||1.16.0|dev=beta 1.16.0.51|Coral can now be collected using [[Silk Touch]].}}
|{{HistoryLine||1.20.0|dev=Preview 1.20.0.20|The different [[block states]] for the <code>coral</code> ID have now been split up into their own IDs.}}

|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU69|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|[[File:Tube Coral JE1 BE1.png|32px]] [[File:Brain Coral JE1 BE1.png|32px]] [[File:Bubble Coral JE1 BE1.png|32px]] [[File:Fire Coral JE2 BE1.png|32px]] [[File:Horn Coral JE1 BE1.png|32px]] Added coral.}}

|{{HistoryLine|education}}
|{{HistoryLine||1.4.0|[[File:Tube Coral JE1 BE1.png|32px]] [[File:Brain Coral JE1 BE1.png|32px]] [[File:Bubble Coral JE1 BE1.png|32px]] [[File:Fire Coral JE2 BE1.png|32px]] [[File:Horn Coral JE1 BE1.png|32px]] Added coral.}}
}}

<gallery>
1.2_02 secret coral.png|Unused code for a coral block can be found in [[Java Edition Beta 1.2 02 (20110517)|a developer fork of Beta 1.2_02]]. This is an example of how it would look in-game using the unused texture from [[Infdev 20100629]].
</gallery>

== Issues ==
{{issue list}}

== Trivia ==
* In real life, [[wikipedia:Coral|coral]] are colonies of [[wikipedia:Sessility (motility)|sessile (immobile) animals]].
* In the real world, {{W|Rugosa|horn corals|newtab=1}} have been extinct since the {{W|Permian–Triassic extinction event}}.

== Gallery ==

=== Screenshots ===
<gallery>
Coral Reef 18w14b.png|Coral naturally generating in a [[coral reef]].
All Corals.png|All variants of live coral.
Coral reef at night.png|Coral blocks within a coral reef.
</gallery>

== References ==
{{reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--coral Taking Inventory: Coral] – Minecraft.net on October 24, 2019

== Navigation ==
{{Navbox blocks|vegetation}}

[[Category:Animal blocks]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]

[[de:Koralle]]
[[es:Coral]]
[[fr:Corail]]
[[it:Corallo]]
[[ja:サンゴ]]
[[ko:산호]]
[[lzh:珊瑚]]
[[nl:Koraal (doorverwijzing)]]
[[pl:Koralowiec]]
[[pt:Coral]]
[[ru:Коралл]]
[[uk:Корал]]
[[zh:珊瑚]]
