Minecraft Wiki
(→‎Post-processing shaders: change "There are only 5 post-processing shaders are used in the game" to "There are only 5 post-processing shaders used in the game")
(Added more information on what rendertype_entity_translucent is used on)
Line 279: Line 279:
 
|-
 
|-
 
|rendertype_entity_translucent
 
|rendertype_entity_translucent
|Translucent entities and parts of entities: slimes, players (possibly outer layers of player skins?), markings on horses, shulker bullets, elder guardian particle effect.
+
|Translucent entities and parts of entities: slimes, players (all layers) along with player heads with custom skins on them, markings on horses, shulker bullets, elder guardian particle effect.
 
|
 
|
 
|-
 
|-

Revision as of 09:54, 3 July 2021

Gear (item)
This article is a work in progress. 
Please help in the expansion or creation of this article by expanding or improving it. The talk page may contain suggestions.
This article is about the in-game shaders. For the shaders provided by the modification, see ftb:Optifine.

Shaders are used to depict how to render the game.

Java Edition

There are two kinds of shaders: core shaders and post-processing shaders.

Core shaders are used to render different parts of the game.

Post-processing shaders are used for mob view in spectator mode, blending of translucent layers in Fabulous! graphics, and glowing status effect.

Shaders are written in OpenGL Shading Language (GLSL). Each single render program come in two parts, vertex and fragment. The vertex shaders modify the positions of individual vertices and are most often used to create waving foliage and water. Fragment shaders are applied to every pixel and can be used to add effects like bloom, god rays, and blur.

Shaders are stored in the assets/minecraft/shaders/ directory of minecraft.jar. Can be replaced with a resource pack. Note that if any error occurs when loading the shaders, the resource pack will be disabled and fabulous graphics mode will be turned off.

Core shaders

Core shaders are responsible for rendering parts of the game. They are used to render not only blocks and entities when playing the game, but also the main screen, option screen and so on.

Each core shader is a single render program defined by a JSON file, in which vertex and fragment shader file are specified.

Core shaders are stored in the assets/minecraft/shaders/core directory of minecraft.jar.

The following table lists them all including a short description of what the shader renders, as well as, an image highlighting the shaders target in red.

Include shaders

Include shaders aren't stand-alone shader programs. They should be invoked by other shader files.

Include shaders contain helper functions that are commonly used. To import a glsl file in a shader use #moj_import <FILENAME.glsl> or #moj_import "FILENAME.glsl". NOTE: The imported file needs to end with an empty line, otherwise the shader will not load.

Core shaders are stored in the assets/minecraft/shaders/include directory of minecraft.jar.

Name Description
fog Contains the linear_fog function to calculate the color based on the vertex distance.
light Contains the minecraft_mix_light function.
matrix Contains the mat2_rotate_z function that returns the rotation matrix for a vec2 around the z-axis.
projection Contains the projection_from_position function.

Post-processing shaders

Currently, post-processing shaders is used for mob view in spectator mode, blending of translucent layers in Fabulous! graphics, and glowing status effect.

Post-processing shaders use "post" files to define a pipeline made up of applying a sequence of "programs".

Each "program" is then defined by another JSON file, in which a single render program is defined.

"post" files are stored in the assets/minecraft/shaders/post directory of the version .jar, while "program" files are stored in assets/minecraft/shaders/program.

There are only 5 post-processing shaders used in the game:

  • creeper.json: Used when spectating a creeper
  • invert.json: Used when spectating an enderman
  • spider.json: Used when spectating a spider
  • entity_outline.json: Used when a glowing entity is on screen
  • transparency.json: Used when in "Fabulous!" graphics mode.

In these two directories, there are also many useless shaders, which were used for "Super Secret Settings" before 1.9 (15w31a). See Shaders/Before 1.9.

Render process

Jigsaw Block (top texture) JE2 BE2
This section needs expansion. 
You can help by expanding it.

File format

Render program

  • The root tag
    •   blend: Settings for OpenGL blending.
      •   func: Operator to be used when blending. Can be add, subtract, reversesubtract, reverse_subtract, min, or max. Not case sensitive. Defaults to add. Used as mode parameter of glBlendEquation
      •   srcrgb: Used as sfactor parameter of glBlendFunc or srcRGB parameter of glBlendFuncSeparate. Can be 0, 1, srccolor, 1-srccolor, dstcolor, 1-dstcolor, srcalpha, 1-srcalpha, dstalpha, or1-dstalpha. Case insensitive. Ignores "_". "1", "0", "-" can be replaced by "one", "zero", "minus".
      •   dstrgb: Used as dfactor parameter of glBlendFunc or dstRGB parameter of glBlendFuncSeparate. Can be 0, 1, srccolor, 1-srccolor, dstcolor, 1-dstcolor, srcalpha, 1-srcalpha, dstalpha, or1-dstalpha. Case insensitive. Ignores "_". "1", "0", "-" can be replaced by "one", "zero", "minus".
      •   srcalpha: Used as srcalpha parameter of glBlendFuncSeparate. Can be 0, 1, srccolor, 1-srccolor, dstcolor, 1-dstcolor, srcalpha, 1-srcalpha, dstalpha, or1-dstalpha. Case insensitive. Ignores "_". "1", "0", "-" can be replaced by "one", "zero", "minus".
      •   dstalpha: Used as dstalpha parameter of glBlendFuncSeparate. Can be 0, 1, srccolor, 1-srccolor, dstcolor, 1-dstcolor, srcalpha, 1-srcalpha, dstalpha, or1-dstalpha. Case insensitive. Ignores "_". "1", "0", "-" can be replaced by "one", "zero", "minus".
    •   cull: If true, run glEnable(GL_CULL_FACE). If false, run glDisable(GL_CULL_FACE). Defaults to true.
    •   vertex: The name (without file extension) of the vertex shader to be used.
    •   fragment: The name (without file extension) of the fragment shader to be used.
    •   attributes: Attributes to be used by the vertex shader.
      • : An attribute. Available values are hard-coded.
    •   samplers: A list of samplers that may be used in the shaders.
    •   uniforms: A list of uniforms that can be used in the shaders.
      • : A uniform.
        •   name: The name of the uniform as referenced in the GLSL code. Some names give a uniform special behavior(Note that these following special uniform does not work in all shader programs):
          • Time: A value from 0 to 1, representing time in seconds. Resets every second.
          • InSize: The width and height of the input buffer in pixels.
          • OutSize: The width and height of the output buffer in pixels.
          • ModelViewMat: The model-view matrix.
          • ProjMat: The projection matrix.
          • TextureMat: 4D matrix used to transform UV's for item glint effects
          • ScreenSize: vec2 containing the current framebuffer width and height, in that order
          • ColorModulator: A global vec4 of multipliers that can be set from the game code as a color multiplier
          • Light0_Direction: First light direction as vec3 for entity rendering
          • Light1_Direction: Second light direction, see Light0_Direction
          • FogStart: Fog start distance from the camera
          • FogEnd: Fog end distance from the camera
          • FogColor: vec4 fog color
          • LineWidth: Line width, used for rendering wireframe lines such as the block selection frame and debug hitboxes
          • GameTime: Global time of the world, in fractional days
          • ChunkOffset: When rendering a chunk section, the offset from the camera world position to the chunk section's base point
        •   type: The type of the uniform. Can be one of int, float, matrix4x4, matrix3x3 and matrix2x2. int can also be interpreted as ivec2, ivec3 or ivec4 depending on how many values are actually included in values. float can also be interpreted as vec2, vec3 or vec4 depending on how many values are actually included in values.
        •   count: The number of values included in values.
        •   values: The value of the uniform, given as a list of floats. The length of the list should be the same as count.

Render pipeline

Here's the process of how a post-processing shader is used in game: first, the shader initializes all of the render targets specified in the "targets" list with the proper width and height. After that, the shader goes through each render pass specified in the "passes" list from first in the list to last in the list. Each pass will apply the program shader on the render target specified by "intarget" (with any extra data provided by other auxiliary render targets) and output the end result on the render target specified by "outtarget".

  • The root tag
    •  targets: A list of render targets. They can be buffer provided by the game, or new buffer with any name.
      • : The name of a render target. The size defaults to screen resolution.
      • : A render target to add.
        •  name: The name of the render target to add.
        •  width: The width of the render target.
        •  height: The height of the render target.
    •  passes: A list of passes.
      • : A render pass.
        •  name: The name of a program shader to apply on the input and post into the output. Use "blit" to copy the data from intarget to outtarget.
        •  intarget: The name of a render target to use as an input. Use minecraft:main to specify the main screen.
        •  outtarget: The name of a render target to output to. It should not be the same as intarget. Use minecraft:main to specify the main screen.
        •  auxtargets: A list of auxiliary targets.
          • An auxiliary target.
            •  name: The auxiliary target's name that is passed into the "Program" JSON.
            •  id: The auxiliary target's id. Either points into the name of a buffer that is defined in targets or into the location of a texture under assets/<namespace>/textures/effect (use a namespaced id to reference it).
            •  width: Required if id references a texture. Describes the width of the texture in pixels.
            •  height: Required if id references a texture. Describes the height of the texture in pixels.
            •  bilinear: Required if id references a texture. Determines whether the scaling algorithm used for the image is bilinear or nearest neighbour.
        •  uniforms: A list of overrides that change the values in the uniforms list in the "Program" JSON.
          • : A uniform.
            •  name: The name of the field that should be changed.
            •  values: The values that the field should be changed to.

Tutorials and useful docs

Here are some guides with additional information on creating your own shaders:

Bedrock Edition

Jigsaw Block (top texture) JE2 BE2
This section needs expansion. 
You can help by expanding it.

Since Bedrock Edition 1.16.200, third party shader resource packs are no longer supported on Windows 10 or Console versions, although they still work on mobile devices.

History

Java Edition
1.7.2
{{Extension DPL}}<ul><li>[[Bottle o' Enchanting|Bottle o' Enchanting]]<br/>{{ItemEntity
|image=Bottle o' Enchanting.gif
|imagesize=160px
|invimage=Bottle o' Enchanting
|stackable=Yes (64)
|renewable=Yes
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
|rarity=Uncommon
|networkid='''[[JE]]''': 75
}}

A '''bottle o' enchanting''' is a throwable item that releases [[experience]] orbs on impact.

== Obtaining ==

=== Trading ===
Master-level cleric [[villager]]s sell bottles o' enchanting for 3 emeralds as part of their trade.

=== Natural generation ===

{{LootChestItem|bottle-o'-enchanting}}

== Usage ==

A bottle o' enchanting can be thrown by pressing {{control|use}}. On impact, it drops [[experience]] orbs worth {{xp|3|11}} (average 7.0) and sends out blue particles.

== Sounds ==
{{Edition|Java}}:<br>
Bottles o' enchanting use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Glass dig1.ogg
|sound2=Glass dig2.ogg
|sound3=Glass dig3.ogg
|subtitle=Bottle smashes
|source=neutral
|description=When a bottle o' enchanting impacts something
|id=entity.splash_potion.break
|translationkey=subtitles.entity.potion.splash
|volume=1.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Bow shoot.ogg
|subtitle=Bottle thrown
|source=neutral
|description=When a bottle o' enchanting is thrown by a player
|id=entity.experience_bottle.throw
|translationkey=subtitles.entity.potion.throw
|volume=0.5
|pitch={{frac|1|3}}-0.5
|distance=16}}
{{Sound table
|subtitle=Dispensed item
|source=block
|description=When a bottle o' enchanting is dispensed from a [[dispenser]]
|id=block.dispenser.launch
|translationkey=subtitles.block.dispenser.dispense
|volume=1.0
|pitch=1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Glass dig1.ogg
|sound2=Glass dig2.ogg
|sound3=Glass dig3.ogg
|source=block
|description=When a splash potion impacts something
|id=random.glass
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=2
|sound=Bow shoot.ogg
|source=player
|description=When a splash potion is thrown by a player
|id=random.bow
|volume=0.5
|pitch=0.33-0.5}}
{{Sound table
|source=player
|description=When a splash potion is dispensed from a dispenser
|id=random.bow
|volume=1.0
|pitch=0.83-1.25
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Bottle o' Enchanting
|spritetype=item
|nameid=experience_bottle
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Thrown Bottle o' Enchanting
|spritetype=entity
|spritename=Bottle o' Enchanting
|nameid=experience_bottle
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bottle o' Enchanting
|spritetype=item
|nameid=experience_bottle
|id=508
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Bottle o' Enchanting
|spritetype=entity
|nameid=xp_bottle
|id=68
|foot=1}}

=== Entity data ===
{{see also|Chunk format}}

Thrown bottles o' enchanting have entity data that define various properties of the entity.

{{/ED}}

== History ==
<!--When were dispensers made able to fire these? Or was this always a thing?-->
{{History|java}}
{{History||1.2.1|snap=12w04a|[[File:Bottle o' Enchanting JE1 BE1.png|32px]] Added bottles o' enchanting. 
|Bottles o' enchanting can currently be obtained only in [[creative]] mode.}}
{{History||1.3.1|snap=12w21a|With the implementation of the [[trading]] system, the [[player]] can now trade with priest [[villager]]s to obtain 2–4 bottles o' enchanting for 1 [[emerald]].}}
{{History||1.8|snap=14w02a|With the trading revamp, villagers no longer [[trading|sell]] bottles o' enchanting, making them again unobtainable in regular [[survival]].}}
{{History|||snap=14w31a|Cleric [[villager]]s now sell bottles o' enchanting for 3–11 [[emerald]]s each, making them [[renewable resource|renewable]] again.}}
{{History||1.9|snap=15w49a|Bottles o' enchanting, like all projectiles, now take thrower's motion into account.}}
{{History||1.11|snap=16w32a|The entity ID has now been changed from <code>ThrownExpBottle</code> to <code>xp_bottle</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 384.}}
{{History|||snap=18w11a|Bottles o' enchanting can now generate in [[shipwreck]] chests.}}
{{History|||snap=pre5|The entity ID has now been changed to <code>experience_bottle</code>.}}
{{History||1.14|snap=18w43a|[[File:Bottle o' Enchanting JE2 BE2.png|32px]] The texture of bottles o' enchanting has now been changed.}}
{{History|||snap=18w47a|Bottles o' enchanting can now generate in [[pillager outpost]] chests.}}
{{History||1.19|snap=22w13a|Bottles o' enchanting may now be found in [[ancient city]] [[chest]]s.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Bottle o' Enchanting JE1 BE1.png|32px]] Added bottles o' enchanting. 
|Due to the lack of [[trading]], bottles o' enchanting are currently available only in [[creative]] mode, similar to [[Java Edition 12w04a|12w04a]] when it was first released.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|With [[villager]] [[trading]] added, it is now possible to obtain bottles o' enchanting legitimately.}}
{{History||1.1.0|snap=alpha 1.1.0.0|The entity ID has now been changed from <code>potion.experience</code> to <code>xp_bottle</code>.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Bottles o' enchanting can now be found inside [[shipwreck]] and [[buried treasure]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Bottles o' enchanting can now be found in [[pillager outpost]] chests.
|[[File:Bottle o' Enchanting JE2 BE2.png|32px]] The texture of bottles o' enchanting has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed and bottles o' enchanting are now [[trading|sold]] by cleric [[villager]]s for 3 [[emerald]]s.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Bottle o' Enchanting JE1 BE1.png|32px]] Added bottles o' enchanting.
|Bottle o' enchanting can be found in the Miscellaneous tab in the [[Creative inventory]].}}
{{History||xbox=TU12|Moved bottle o' enchanting to the Brewing tab in the Creative inventory.}}
{{History|PS4}}
{{History||1.90|[[File:Bottle o' Enchanting JE2 BE2.png|32px]] The texture of bottles o' enchanting has now been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Bottle o' Enchanting JE1 BE1.png|32px]] Added bottles o' enchanting.
|Bottles o' enchanting are not available within the [[Creative inventory]].}}
{{History||?|Added bottles o' enchanting to the Creative inventory.{{info needed|Which update did this occur?}}}}
{{History|foot}}

== Issues ==
{{issue list|Bottle o' Enchanting|Experience Bottle}}

== Gallery ==

<gallery>
Bottle O' Enchanting Splash.gif|Bottle o' enchanting splash animation on impact.
Bottle O' Enchanting villager.png|Players may trade with villagers to obtain bottles o' enchanting in survival mode.
</gallery>


{{Items}}
{{Entities}}

[[cs:Lektvar očarování]]
[[de:Erfahrungsfläschchen]]
[[es:Frasco con experiencia]]
[[fr:Fiole d'expérience]]
[[ja:エンチャントの瓶]]
[[ko:경험치 병]]
[[pl:Zaklęta butelka]]
[[pt:Frasco de experiência]]
[[ru:Зелье опыта]]
[[th:ขวดแห่งเวทมนตร์]]
[[zh:附魔之瓶]]</li><li>[[Horse Saddle|Horse Saddle]]<br/>{{About|the removed item|the current item|Saddle}}
{{outdated feature|edition=java}}
{{Item
| title = Horse Saddle
| image = Horse Saddle.png
| renewable = Yes
| stackable = Yes (32)
}}

'''Horse saddles''' were [[item]]s which allowed the player to ride [[horse]]s.

== Obtaining ==
=== Crafting ===
{{crafting |ignoreusage=1
|A1=Leather    |B1=Leather    |C1=Leather
|A2=Leather    |B2=Iron Ingot |C2=Leather
|A3=Iron Ingot                |C3=Iron Ingot
|Output=Horse Saddle
}}

== Usage ==
Horse saddles worked just like regular [[saddle]]s, but for [[horse]]s instead of [[pig]]s. Taming a horse was required before putting a horse saddle on it. Unlike any other items, horse saddles could be stacked up to 32.

== Sounds ==
''None''<ref>{{ytl|2a6BQeW6is4|t=330}}; sounds for horses were not added until [[13w22a]]</ref>

== Data values ==
=== ID ===
{{ID table
|nonameid=y
|shownumericids=y
|showforms=y
|generatetranslationkeys=java
|displayname=Horse Saddle
|spritetype=item
|id=416
|form=item
|translationkey=item.horsesaddle.name
|foot=y}}

== History ==
{{History|java}}
{{History||1.6.1|snap=13w16a|[[File:Horse Saddle JE1.png|32px]] Added horse saddles.}}
{{History|||snap=13w18a|Horse saddles have been removed.
|[[Horse]]s and [[zombie horse]]s can now be ridden using regular [[saddle]]s.}}
{{History|foot}}

== Issues ==
Horse saddles have been removed from the game, and as such are no longer supported.

{{Items}}
{{Removed Features}}

[[es:Montura de caballo]]
[[fr:Selle de cheval]]
[[it:Sella di cavallo]]
[[ja:ウマの鞍]]
[[ko:말 안장]]
[[pt:Sela para cavalo]]
[[zh:马鞍]]</li></ul>
13w38aShaders were added for Super Secret Settings.
1.8
{{Extension DPL}}<ul><li>[[Blaze Powder|Blaze Powder]]<br/>{{Item‎
| image = Blaze Powder.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Blaze powder''' is an item made from a [[blaze rod]], which is dropped by a [[blaze]] when killed. Its main uses are to fuel [[brewing stand]]s, to brew [[strength]] [[potions]], and to make [[eyes of ender]] to take the player to [[the End]].

== Obtaining ==

=== Crafting ===
{{Crafting
|Blaze Rod
|Output= Blaze Powder,2
|type= Brewing
}}

== Usage ==

=== Crafting Ingredient ===

{{crafting usage}}

=== Brewing stand fuel ===
In addition to being a [[brewing]] ingredient, blaze powder is needed to fuel a [[brewing stand]]. Each piece of blaze powder can brew up to 20 batches of [[Potion|potions]].

=== Brewing ingredient ===
{{brewing
  |showname=1
  |head=1
  |Blaze Powder
  |Mundane Potion
  |base=Water Bottle
}}
{{brewing
  |foot=1
  |Blaze Powder
  |Potion of Strength
}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Blaze Powder
|spritetype=item
|nameid=blaze_powder
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Blaze Powder
|spritetype=item
|nameid=blaze_powder
|id=429
|form=item
|foot=1}}

== Video ==

{{Video note|This video does not mention that blaze powder must be used to fuel [[brewing stand]]s.|minor}}

<div style="text-align:center">{{yt|FSP2qBpe9vI}}</div>

==History==
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Blaze Powder JE1.png|32px]] Added blaze powder.
|Blaze powder can be used to craft [[eyes of ender]] and [[magma cream]].}}
{{History|||snap=Beta 1.9 Prerelease 3|Blaze powder can now be [[brewing|brewed]] in a [[water bottle]] to create a [[mundane potion]], or in an [[awkward potion]] to create a [[potion of Strength]].}}
{{History||1.2.1|snap=12w04a|Blaze powder can now be used to craft [[fire charge]]s.}}
{{History||1.3.1|snap=1.3|[[File:Blaze Powder JE2 BE1.png|32px]] The texture of blaze powder has been changed.}}
{{History||1.9|snap=15w42a|Blaze powder is now required to operate a [[brewing stand]].}}
{{History|||snap=15w43a|Blaze powder now [[fuel]]s 20 operations rather than 30.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 377.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Blaze Powder JE2 BE1.png|32px]] Added blaze powder.
|Blaze powder can be used to craft [[magma cream]].
|Blaze powder is used as an ingredient to brew [[potion]]s.}}
{{History||v0.15.0|snap=build 1|Blaze powder is now used to craft [[fire charge]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Blaze powder is now used to craft [[eyes of ender]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Blaze powder is now required to operate a [[brewing stand]].}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Blaze Powder JE2 BE1.png|32px]] Added blaze powder.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|Blaze powder is now required to operate a [[brewing stand]].}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Blaze Powder JE2 BE1.png|32px]] Added blaze powder.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* [[The Nether]]
* [[Potions]]

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--blaze-powder Taking Inventory: Blaze Powder] – Minecraft.net on November 25, 2021

{{Items}}

[[Category:Renewable resources]]

[[cs:Ohnivý prach]]
[[de:Lohenstaub]]
[[es:Polvo de blaze]]
[[fr:Poudre de Blaze]]
[[hu:Őrlángpor]]
[[ja:ブレイズパウダー]]
[[ko:블레이즈 가루]]
[[nl:Blazepoeder]]
[[pl:Płomienny proszek]]
[[pt:Pó de blaze]]
[[ru:Огненный порошок]]
[[th:ผงปีศาจไฟ]]
[[zh:烈焰粉]]</li><li>[[Emerald|Emerald]]<br/>{{About|the item|the currency in ''Minecraft Dungeons''|MCD:Emerald|the skin|MCD:Emerald (skin)|the ore|Emerald Ore|the mineral block|Block of Emerald}}
{{Item
| image = Emerald.png
| renewable =  Yes
| stackable = Yes (64)
| rarity = Common}}
'''Emeralds''' are rare minerals that are used primarily as the currency for [[trading]] with [[villager]]s and [[wandering trader]]s. Naturally-occurring emeralds are rarer than [[diamond]]s.

== Obtaining ==

=== Trading (how emerald is renewable) ===
{{main|Trading}}
Emeralds can be obtained by trading with [[villager]]s, since they are the currency that villagers use for trading. Villagers either buy or sell specific goods for emeralds. Some villagers trade stuff that is renewable with emerald.

=== Mining ===
[[Emerald ore]] drops one emerald when mined using an iron or better [[pickaxe]]. If the pickaxe is enchanted with [[Fortune]], it may drop an extra emerald per level of Fortune, up to a maximum of 4 emeralds with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops itself in ore form instead of an emerald.

=== Crafting ===

{{Crafting
|Block of Emerald
|Output= Emerald,9
|type= Material
}}

=== Smelting ===

{{Smelting
|Emerald Ore; Deepslate Emerald Ore
|Emerald
|1
}}

=== Natural generation ===
{{see also|Emerald Ore#Natural generation}}

Emeralds can generate in [[chest]]s in some [[village]] houses or other generated [[Generated structures|structures]].

{{needs update|inaccurate=1|section=1}}
{{LootChestItem|emerald}}

=== Drops ===
[[Vindicator]]s and [[evoker]]s drop 0–1 emeralds upon death. [[Looting]] increases the maximum emerald drop by one per level, for a maximum of 4 emeralds with Looting III.

[[Fox]]es that are holding emeralds also have a chance of 100% to drop the emerald they are holding upon death. Alternatively, the player can drop a food item to entice the fox to drop the emerald without killing it.

{{IN|bedrock}}, vindicators and [[pillager]]s spawned from [[raids]] can drop 0–1 emeralds. Depending on difficulty, vindicators and pillagers spawned from raids also have a chance of dropping additional emeralds. There is a 65% chance of dropping on easy and normal, and an 80% chance of dropping on hard. If this additional drop condition is met, different emerald counts can drop with different chances. There is a {{frac|10|39}} chance to drop an additional 0–1 emeralds, a {{frac|5|39}} chance to drop an additional 2–3, and a {{frac|2|39}} chance to drop an additional 4–5.

{{IN|bedrock}}, with Looting III, it is possible for a vindicator in a raid to drop up to 16 emeralds upon death (vindicator drops + raid drops + an additional drop<!-- emerald from 2/39 chance-->).

== Usage ==

=== Trading ===

{{main|Trading}}

Emeralds are primarily used as currency for [[trading]] with villagers and wandering traders. Trading is typically a faster way to obtain emeralds than by mining, as an emerald ore is rarer than a diamond ore.

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

===Beacons===

Emeralds can be used to select powers from a [[beacon]]. The player must select one of the available powers and then insert an emerald into the item slot. 

An emerald can be substituted for an [[iron ingot]], a [[gold ingot]], a [[diamond]] or a [[netherite ingot]] in a beacon.

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Emerald
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Emerald
|Emerald Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.
|tail=1
}}

;Trim color palette
The following color palette is shown on the designs on trimmed armor:
*{{TrimPalette|emerald}}

== Achievements ==

{{load achievements|The Haggler;Buy Low;Master Trader}}

== Advancements ==
{{load advancements|What a Deal!}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Emerald
|spritetype=item
|nameid=emerald
|itemtags=beacon_payment_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Emerald
|spritetype=item
|nameid=emerald
|id=512
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100129|Added [[diamond]]s, referred to as emeralds in the code.}}
{{History|java}}
{{History||May 21, 2012|link={{tweet|jeb_|204619936616808451}}|[[File:Ruby pJE20120521.png|32px]] [[Jens Bergensten|Jeb]] released a screenshot of himself testing the [[trading]] system. At this time, what would become emeralds were [[History_of_textures/Unused_textures#Ruby|rubies]].<ref>http://www.minecraftforum.net/topic/1621716-15-new-blocksitems/#entry19977082</ref>}}
{{History||1.3.1|snap=12w21a|[[File:Emerald JE1 BE1.png|32px]] Added emeralds and [[emerald ore]].
|Emeralds can be [[trading|traded]] with [[villager]]s in exchange for different [[item]]s.
|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing emeralds.
|[[File:Ruby JE1 BE1.png|32px]] The texture of [[History_of_textures/Unused_textures#Ruby|rubies]] can be found in the (at this time unused) file {{cd|items.png}}.<ref name="en_US 12w21">Snapshot 12w21a/b ''lang/en_US.lang'': '''item.ruby.name=Ruby'''</ref>}}
{{History|||snap=12w22a|[[Block of emerald]] has now been added, which is [[crafting|crafted]] from nine emeralds and can be placed as a decorative [[block]].
|Added [[jungle temple]]s, which contain loot [[chest]]s with emeralds.}}
{{History||1.4.2|snap=12w32a|As [[zombie villager]]s can now spawn and be cured, emeralds can now still be obtained in [[trading|trades]] even if [[generated structures]] are disabled.}}
{{history||1.9|snap=15w31a|Emeralds now generate in [[end city]] ship [[chest]]s.}}
{{history|||snap=15w43a|Emeralds now generate in [[igloo]] basement chests.}}
{{history|||snap=15w44a|The average yield of emeralds in [[desert temple]] chests has now been increased.}}
{{History||1.11|snap=16w39a|Added [[vindicator]]s and [[evoker]]s, which drop emeralds if killed by a player.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 388.}}
{{History|||snap=18w09a|Emeralds can now generate in the loot [[chest]]s of [[underwater ruins]].}}
{{History|||snap=18w10a|Emeralds can now generate in [[buried treasure]] chests.}}
{{History|||snap=18w11a|Emeralds can now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Emerald JE2 BE2.png|32px]] The texture of emeralds has now been changed.
|Added [[pillager]]s, which can [[drops|drop]] emeralds.}}
{{History|||snap=18w46a|Pillagers no longer drop emeralds.}}
{{History|||snap=18w48a|Emeralds now generate in chests in [[village]] tanneries, fisher cottages and plains village houses.}}
{{History|||snap=18w49a|Emeralds now generate in chests in [[village]] shepherd houses, mason houses, butcher shops, and savanna and snowy village houses.}}
{{History|||snap=18w50a|Emeralds now generate in chests in [[village]] fletcher houses, temples, and desert and taiga village houses.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with emeralds in their mouths.}}
{{History|||snap=19w08a|[[File:Emerald JE3 BE3.png|32px]] The texture of emeralds has now been changed, once again and it looks smaller.}}
{{History||1.17|snap=21w13a|The unused [[History_of_textures/Unused_textures#Ruby|rubies]] texture was removed.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Emeralds can now be used as an armor trim material.}}
{{History|||snap=23w07a|Emeralds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s or [[desert well]]s.}}
{{History||1.20|snap=23w12a|The probability for the emerald to generate in the [[suspicious sand]] in [[desert temple]] and in [[desert well]] has been changed from 1/7 to 1/8.|Emerald can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Emerald no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; emerald now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.9.0|snap=build 1|[[File:Emerald JE1 BE1.png|32px]] Added emeralds.}}
{{History|||snap=build 5|Emeralds can now be used to craft [[blocks of emerald]].}}
{{History||v0.13.0|snap=build 1|Emeralds can now be found inside [[desert temple]] [[chest]]s.}}
{{History||v0.15.0|snap=build 1|Added [[jungle temple]]s, which contain loot chests with emeralds.}}
{{History||v0.16.0|snap=build 1|Emeralds can now be used to power [[beacon]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Emeralds can now be found in [[end city]] ship [[chest]]s.
|Emeralds can now be found in [[igloo]] basement chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Emeralds are now used as "currency" for [[villager]] [[trading]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Added [[evoker]]s and [[vindicator]]s, which [[drops|drop]] emeralds when killed.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Emeralds can now be found in some [[shipwreck]] [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Emeralds can now be found inside [[underwater ruins]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Emeralds can now be used to [[trading|buy]] items from [[wandering trader]]s.
|Emeralds can now be found in [[plains]] [[village]] house and tannery [[chest]]s.
|[[File:Emerald JE2 BE2.png|32px]] The texture of emeralds has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Emeralds can now be found in [[village]] [[chest]]s other than [[plains]].}}
{{History|||snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn from [[raid]]s can now [[drops|drop]] bonus emeralds.}}
{{History|||snap=beta 1.11.0.5|[[File:Emerald JE3 BE3.png|32px]] The texture of emeralds has now been changed, once again.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] emeralds.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Emeralds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s or [[desert well]]s.}}
{{History|||snap=beta 1.19.80.21|Emeralds can now be used as an armor trim material.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Emerald JE1 BE1.png|32px]] Added emeralds.}}
{{History|Ps4}}
{{History||1.90|[[File:Emerald JE2 BE2.png|32px]] The texture of emeralds has now been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Emerald JE1 BE1.png|32px]] Added emeralds.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
Villager trading preview.png|The first image of the trading system released by [[Jeb]]. What would become emeralds can be seen in the [[inventory]] space.
Emerald Ore 12w21a.png|A wall of [[emerald ore]] utilizing a previous texture in snapshot [[12w21a]].
Room of Emeralds.png|All forms of emeralds in one photo: emerald (in the form of [[emerald block|block]], [[emerald ore|ore]] and the emerald itself).
</gallery>

==Trivia==

*The [[History_of_textures/Unused_textures#Ruby|ruby]] was going to be the [[villager]] currency but was changed to emeralds before the update's release.

== References ==

{{Reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Smaragd]]
[[de:Smaragd]]
[[es:Esmeralda]]
[[fr:Émeraude]]
[[hu:Smaragd]]
[[it:Smeraldo]]
[[ja:エメラルド]]
[[ko:에메랄드]]
[[nl:Smaragd]]
[[pl:Szmaragd]]
[[pt:Esmeralda]]
[[ru:Изумруд]]
[[th:มรกต]]
[[tr:Zümrüt]]
[[uk:Смарагд]]
[[zh:绿宝石]]</li></ul>
14w05aThe Creeper and Spider shaders were added. Shaders are automatically applied in spectator mode when viewing the world as a Creeper, Spider or Enderman.
14w05bShaders are now removed from view when changing perspective while spectating a mob.[2]
F4 now toggles different shaders rather than turning them off.[2]
14w06aThe Entity Outline shader was added.
1.9
{{Extension DPL}}<ul><li>[[Clock|Clock]]<br/>{{about|the item|the redstone circuit|Redstone circuits/Clock}}
{{Item
| image = Clock.gif
| renewable = Yes
| stackable = Yes (64)
}}

'''Clocks''' are [[Daylight cycle|time]]-telling devices that display the current in-game position of the sun and the moon. Clocks only function properly in the [[Overworld]].

== Obtaining ==

=== Crafting ===

{{Crafting
|B1= Gold Ingot
|A2= Gold Ingot
|B2= Redstone Dust
|C2= Gold Ingot
|B3= Gold Ingot
|Output= Clock
|type= Tool
}}

=== Natural generation ===

{{LootChestItem|clock}}

=== Trading ===

Expert-level [[Trading#Librarian|librarian villagers]] have a {{frac|1|3}} (roughly 33.3%) chance to sell a single clock for 4 [[emerald]]s as part of their trades.{{only|bedrock}}

Expert-level librarian villagers have a {{frac|1|2}} (50%) chance to sell a clock for 5 emeralds.{{only|java}}

== Usage ==

[[File:WatchCycle.gif|thumb|Clock animation]]
The clock dial consists of two halves, a day side and a night side. The dial spins clockwise slowly to indicate the time of day, corresponding to the sun or moon's actual position in the sky. The player is able to [[bed|sleep]] a few seconds after the clock shows exactly dusk.

The dial always shows the current in-game time when in the [[Overworld]], regardless of where it appears. This includes a player's hand, an inventory slot, a [[Crafting table|crafting grid]], an [[item frame]], or even as a dropped [[Item (entity)|item]]. For a clock to be mounted on a wall, an [[item frame]] is required.

Because there is no day/night cycle in [[the Nether]] or [[the End]], clocks do not work properly in these dimensions. Instead, the dial rotates rapidly and randomly {{in|JE}} or clockwise {{in|BE}}, making them useless.

=== Piglins ===
{{EntityLink|Piglin|Piglins}} are attracted to clocks and run toward any clock on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Clock
|spritetype=item
|nameid=clock
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Clock
|spritetype=item
|nameid=clock
|id=393
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Oooh, shiny!}}
== Advancements ==
{{load advancements|Oh Shiny}}

== Video ==
''Note: This video doesn't state that clocks can be found in [[shipwreck]]s or [[ruined portal]]s because the video was released in an earlier [[Java Edition version history|version]].''
<div style="text-align:center">{{yt|Q3bsT84oVz4}}</div>

== History ==
{{History|java alpha}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|[[File:Clock JE1.gif|32px]] Added clocks.
|They have 228 visually distinct frames due to how the texture is generated – see the section below.}}
{{History|java}}
{{History||1.3.1|snap=12w21a|Librarian [[villager]]s now [[trading|sell]] clocks for 10-11 [[emerald]]s, making them [[renewable]].}}
{{History||1.5|snap=13w02a|[[File:Clock JE2 BE2.gif|32px]] Clocks now use the new animation feature included in [[texture pack]]s. As a result, they are considerably less precise, having only 64 frames.}}
{{History||1.8|snap=14w02a|Librarian [[villager]]s now [[trading|sell]] clocks for 10-12 [[emerald]]s.}}
{{History||1.9|snap=15w31a|Clocks are now broken up into individual textures, instead of having every individual frame on one vertical strip like with animated textures.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 347.}}
{{History|||snap=18w14a|Clocks can now be found in [[shipwreck]] map rooms.}}
{{History||1.16|snap=20w09a|Clocks can now be used to distract [[piglin]]s.<ref>{{bug|MC-172363}}</ref>}}
{{History|||snap=20w16a|Clocks now generate in [[ruined portal]] chests.}}
{{History|||snap=20w19a|Clocks no longer work in the [[recipe book]].<ref>{{bug|MC-116293}}</ref>}}
{{History|||snap=20w22a|Clocks no longer work in the villager trading GUI.<ref>{{bug|MC-182888}}</ref>}}
{{History||1.17|snap=20w48a|[[File:Clock JE3.gif|32px]] The texture of clocks has been changed to match the new gold ingot texture from the texture update.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Clock BE1.png|32px]] Added clocks.
|Clocks currently have no function or legitimate method of obtaining them.}}
{{History||v0.8.0|snap=build 1|Clocks are now functional and [[crafting|craftable]]. They have been added into the Creative inventory.
|[[File:Clock JE2 BE2.gif|32px]] The texture of clocks has been changed. They use an predefined texture file with 64 different frames.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|sell]] clocks for 10-12 [[emerald]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|Clocks can now be found inside map room [[chest]]s in [[shipwreck]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, librarian [[villager]]s now have {{frac|1|3}} chance to [[trading|sell]] a clock for 4 [[emerald]]s as part of their [[trading|trades]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Clocks now generate in [[ruined portal]] chests.}}
{{History||1.17.0|snap=beta 1.17.0.54|[[File:Clock JE3.gif|32px]] The texture of clocks has been changed to match the new gold ingot texture from the texture update.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Clock JE2 BE2.gif|32px]] Added clocks.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Clocks can now be found in [[shipwreck]] map rooms.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Clock JE2 BE2.gif|32px]] Added clocks.}}
{{History|foot}}

=== Texture generation prior to Java Edition 13w02a ===
{{:Procedural animated texture generation/Clocks}}

== Issues ==

{{issue list}}

== Trivia ==
* {{IN|java}}, a clock can be viewed under the item [[statistics]] page as long as one obtained a clock at some point.
* {{IN|java}}, the default resource pack for the clock contains 64 individual frames, each frame lasting about 18.75 seconds in real time (375 ticks) (1350 seconds (22 minutes, 30 seconds) in Minecraft time).
* When the time of day changes suddenly, such as after sleeping or when {{cmd|time}} is used, the clock dial spins rapidly to catch up.
* Although clocks do not function in the Nether or the End, the actual daylight cycle does continue.

== Gallery ==
<gallery>
File:Clockonawall.png|A clock in an [[item frame]] on a wall in a [[player]]'s base, showing the night is near.
File:Player Holding Clock.png|Early-game player holding a clock.
File:Clock In Item Frame.png|A clock placed in an item frame.
</gallery>

== References ==
{{Reflist}}

{{Items}}

[[Category:Tools]]
[[Category:Renewable resources]]

[[cs:Hodiny]]
[[de:Uhr]]
[[es:Reloj]]
[[fr:Montre]]
[[hu:Óra]]
[[it:Orologio]]
[[ja:時計]]
[[ko:시계]]
[[nl:Klok]]
[[pl:Zegar]]
[[pt:Relógio]]
[[ru:Часы]]
[[th:นาฬิกา]]
[[uk:Годинник]]
[[zh:时钟]]</li><li>[[Iron Ingot|Iron Ingot]]<br/>{{About|the ingot|the ore|Iron Ore|the mineral block|Block of Iron|the nugget|Iron Nugget|the raw mineral|Raw Iron}}
{{Item
| image = Iron Ingot.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}

'''Iron ingots''' are versatile [[metal]] ingots used extensively in [[crafting]].

== Obtaining ==
=== Chest loot ===
{{LootChestItem|iron-ingot}}

=== Crafting ===

{{Crafting
|head=1
|showname=0
|Block of Iron
|Output=Iron Ingot,9
|type=Material
}}

{{Crafting
|A1= Iron Nugget
|B1= Iron Nugget
|C1= Iron Nugget
|A2= Iron Nugget
|B2= Iron Nugget
|C2= Iron Nugget
|A3= Iron Nugget
|B3= Iron Nugget
|C3= Iron Nugget
|Output=Iron Ingot
|type= Material
|foot=1
}}

=== Smelting ===
{{see also|Iron Ore#Natural generation}}[[Smelting]] raw iron in a [[furnace]] or [[blast furnace]] is the most common way to obtain iron ingots.

{{Smelting
|head=1
|Iron Ore;Deepslate Iron Ore
|Iron Ingot
|0,7
}}
{{Smelting
|foot=1
|Raw Iron
|Iron Ingot
|0,7
}}

=== Compound creation ===

Iron Ingot can be created from its base [[element]]s, using the [[compound creator]].{{only|bedrock|education}}

{| class="wikitable"
!Name
!Elements
!Example recipe
|- <!-- Temporarily using crafting grid as a substitute for the compound creator (template not yet available), since the layout is the same, even if the appearance is different -->
!Iron Ingot
|Iron <br>
|{{Crafting Table
|shapeless= 1
|A2=Iron
|Output=Iron Ingot}}
|}

=== Mob loot ===
{{see also|Tutorials/Iron golem farming}}
[[Iron golem]]s drop 3-5 iron ingots upon death, regardless of the way they die. The looting enchantment does not increase the amount of iron ingots dropped.

[[Zombie]]s, [[husk]]s, and [[zombie villager]]s have a 2.5% ({{frac|1|40}}) chance of dropping either an iron ingot, [[carrot]], or [[potato]] when killed by a player or tamed wolf. This is increased by 1% ({{frac|1|100}}) per level of looting. This gives iron ingots the following chances of dropping:
* {{frac|1|120}} (about 0.83%)
* {{frac|7|600}} (about 1.17%) with Looting I
* {{frac|9|600}} (1.50%) with Looting II
* {{frac|11|600}} (about 1.83%) with Looting III

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===
Apprentice-level Armorer, Toolsmith, and Weaponsmith [[Villager|villagers]] buy 3 iron ingots for an [[emerald]] as their third trade.{{only|bedrock}}

Apprentice-level Armorer villagers have a 50% chance to buy 4 iron ingots for one emerald, and apprentice-level Toolsmith and Weaponsmith villagers always offer to buy 4 iron ingots for one emerald.{{only|java}}

=== Repairing ===

Iron ingots are the repair items for the iron [[tier]] and chainmail and iron [[armor material]]s, and thus can be used to [[item repair|repair]] the following items in an [[anvil]]:
* {{ItemLink|Chainmail Helmet}}
* {{ItemLink|Chainmail Chestplate}}
* {{ItemLink|Chainmail Leggings}}
* {{ItemLink|Chainmail Boots}}
* {{ItemLink|Iron Helmet}}
* {{ItemLink|Iron Chestplate}}
* {{ItemLink|Iron Leggings}}
* {{ItemLink|Iron Boots}}
* {{ItemLink|Iron Sword}}
* {{ItemLink|Iron Axe}}
* {{ItemLink|Iron Pickaxe}}
* {{ItemLink|Iron Shovel}}
* {{ItemLink|Iron Hoe}}

=== Healing iron golems ===

{{control|Using}} an iron ingot on an [[iron golem]] restores its health by {{hp|25}}. 

=== Beacons ===

Iron ingots can be used to select powers from a [[beacon]]. The player must select one of the available powers, and then insert an iron ingot in the item slot. 

An iron ingot can be substituted for an [[emerald]], a [[gold ingot]], a [[diamond]], or a [[netherite ingot]].

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Iron Ingot
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Iron Ingot
|Iron Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.<br/>
|tail=1
}}

;Trim color palette
The following color palettes are shown on the designs on trimmed armor:
*{{TrimPalette|iron ingot}}
*{{TrimPalette|iron ingot|darker=1}} (a darker color palette is used when an iron armor piece is trimmed using an iron ingot).

== Achievements ==
{{load achievements|Acquire Hardware}}

== Advancements ==
{{load advancements|Acquire Hardware}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Iron Ingot
|spritetype=item
|nameid=iron_ingot
|itemtags=beacon_payment_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Iron Ingot
|spritetype=item
|nameid=iron_ingot
|id=305
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100128|[[File:Iron Ingot JE1.png|32px]] Added iron ingots.}}
{{History|||snap=20100129|[[File:Iron Ingot JE2 BE1.png|32px]] The texture of iron ingots has been changed.
|Iron ingots can be [[smelting|smelted]] from [[iron ore]] and [[drops|drop]] 3–5 iron ingots. 
|Iron ingots can be used to craft [[iron block]]s, [[flint and steel]] and iron [[sword]]s, [[shovel]]s, [[pickaxe]]s and [[axe]]s.}}
{{History|||snap=20100130|Iron ingots are now used to craft [[arrow]]s.|[[Iron block]]s now require 9 iron ingots (3×3) instead 4 (2×2) to be [[crafting|crafted]], making them much more expensive.}}
{{History||20100206|Iron ingots can now be used to [[crafting|craft]] iron [[hoe]]s.}}
{{History||?|[[Smelting]] now [[drops]] only 1 iron ingot (down from 3–5).}}
{{History||20100218|Iron ingots are now used to craft iron [[helmet]]s, [[chestplate]]s, [[leggings]] and [[boots]].}}
{{History|java infdev}}
{{History||20100615|Iron ingots are now used to craft [[bucket]]s.}}
{{History||20100618|Iron ingots are now used to craft [[rail]]s and [[minecart]]s.}}
{{History||20100625-2|Iron ingots can be found in [[dungeon]] [[chest]]s.}}
{{History|java alpha}}
{{History||v1.0.1|Iron ingots are now used to [[crafting|craft]] iron [[door]]s.}}
{{History||v1.0.14|Iron ingots are no longer used to craft [[arrow]]s.}}
{{History||v1.1.0|Iron ingots are now used to craft [[compass]]es.}}
{{History|java beta}}
{{History||1.5|Iron ingots are now used to craft [[detector rail]]s.}}
{{History||1.7|Iron ingots are now used to craft [[piston]]s and [[shears]].}}
{{History||1.8|snap=Pre-release|Iron ingots are found in the new [[stronghold]] storeroom and [[mineshaft]] [[chest]]s.
|Iron ingots are now used to craft [[iron bars]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Iron ingots are now used to craft [[cauldron]]s.}}
{{History|||snap=Beta 1.9 Prerelease 3|Iron ingots are now found in the new stronghold altar [[chest]]s.}}
{{History||1.1|snap=12w01a|Iron ingots are now found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|[[Zombie]]s now rarely [[drops|drop]] iron ingots, making it a [[renewable resource]].}}
{{History|||snap=12w08a|[[Iron golem]]s now drop 3–5 iron ingots.}}
{{History||1.3.1|snap=12w21a|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing iron ingots.
|Blacksmith [[villager]]s now [[trading|buy]] 8–9 iron ingots for 1 [[emerald]].}}
{{History|||snap=12w22a|Added [[jungle temple]]s, which contain loot [[chest]]s with iron ingots.
|Iron ingots are now used to craft [[tripwire hook]]s.}}
{{History||1.4.2|snap=12w32a|Iron ingots can be used to activate [[beacon]]s.}}
{{History|||snap=12w41a|Iron ingots are now used to craft [[anvil]]s.}}
{{History|||snap=12w42a|Anvils now need 4 iron ingots to [[craft]] instead of 1.}}
{{History||1.5|snap=13w01a|Iron ingots are now used to [[crafting|craft]] heavy [[weighted pressure plate]]s.}}
{{History|||snap=13w02a|Iron ingots are now used to craft [[hopper]]s and [[activator rail]]s.}}
{{History||1.6.1|snap=13w16a|Iron ingot is now used to craft iron [[horse armor]] and [[horse saddle]].}}
{{History|||snap=13w18a|Iron ingot is no longer used to craft iron [[horse armor]] and [[horse saddle]].|Iron ingots are now found in [[nether fortress]] [[chest]]s.}}
{{History||1.8|snap=14w02a|[[Trading]] for iron ingots has been changed: armorer, weapon smith and tool smith [[villager]]s now [[trading|buy]] 7–9 iron ingots for 1 [[emerald]].}}
{{History|||snap=14w07a|Iron ingots are now used to craft [[iron trapdoor]]s.}}
{{History||1.9|snap=15w31a|Iron ingots are now found in [[end city]] ship [[chest]]s.}}
{{History|||snap=15w33c|Iron ingots are now used to craft [[shield]]s.}}
{{History|||snap=15w44a|The average yield from [[dungeon]] and [[desert temple]] chests has been substantially decreased. 
|The average yield from [[mineshaft]] and [[nether fortress]] chests has been slightly decreased.}}
{{History||1.11|snap=16w39a|Iron ingots are now found in the new [[woodland mansion]] chests.}}
{{History||1.11.1|snap=16w50a|Iron ingots are now used to craft [[iron nugget]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 265.}}
{{History|||snap=18w10a|Iron ingots now generate in [[buried treasure]] [[chest]]s.}}
{{History|||snap=18w11a|Iron ingots can now be found in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|Iron ingots can now be used to craft [[crossbow]]s.
|[[File:Iron Ingot JE3 BE2.png|32px]] The texture of iron ingots has been changed.}}
{{History|||snap=18w47a|Iron ingots can now be found inside of loot [[chest]]s on top of [[pillager outpost]]s.}}
{{History|||snap=18w50a|Iron ingots can now be found in chests in [[village]] toolsmith houses.
|Iron ingots can now be used to craft a [[blast furnace]].}}
{{History|||snap=19w04a|Iron ingots can now be used to craft [[stonecutter]]s.}}
{{History||1.15|snap=19w41a|Iron ingots can now be used to heal [[iron golem]]s.}}
{{History||1.16|snap=20w16a|Iron ingots now generate in [[bastion remnants]] chests.
|Iron ingots are now used to craft [[chain]]s.}}
{{History||1.16.2|snap=20w30a|The average yield of iron ingots from bastion remnant chests has been slightly increased.}}
{{History||1.17|snap=21w08a|Iron ingots can now be smelted from [[deepslate iron ore]].}}
{{History|||snap=21w14a|Iron ingots can now be smelted from [[raw iron]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Iron ingots can now be used as an armor trim material.}}
{{History|||snap=23w05a|Iron ingots can now be trimmed with iron [[armor]].}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Iron Ingot JE2 BE1.png|32px]] Added iron ingots. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.2|Iron ingots are now obtainable by [[smelting]] iron ore in a [[furnace]].
|Iron ingots can be used to craft [[shears]], [[blocks of iron]] and iron [[pickaxe]]s, [[axe]]s, [[sword]]s and [[shovel]]s.}}
{{History||v0.4.0|Iron ingots are now used to craft [[flint and steel]] and iron [[hoe]]s.}}
{{History||v0.5.0|Iron ingots are now used to craft [[nether reactor core]]s.}}
{{History||v0.6.0|Iron ingots are now used to craft iron [[armor]].}}
{{History||v0.7.0|Iron ingots are now used to craft [[bucket]]s.}}
{{History||v0.8.0|snap=build 1|Iron ingots are now used to craft [[compass]]es and [[iron bars]].}}
{{History|||snap=build 2|Iron ingots are now used to craft [[minecart]]s and [[rail]]s.}}
{{History||v0.9.0|snap=build 1|Iron ingots can now be found in [[village]] blacksmith [[chest]]s, [[stronghold]] altar chests and [[dungeon]] chests.
|[[Zombie]]s now rarely drop iron ingots.}}
{{History||v0.12.1|snap=build 1|Iron ingots are no longer used to craft [[nether reactor core]]s and are instead dropped by it.
|Iron ingots are now used to craft [[anvil]]s.
|Iron ingots are now found in [[nether fortress]] chests.
|Added [[iron golem]]s, which [[drops|drop]] iron ingots.
|Iron ingots can now be used to repair iron [[tool]]s, [[armor]] and [[weapon]]s in [[anvil]]s.
|Added [[zombie villager]]s, which rarely drop iron ingots.}}
{{History||v0.13.0|snap=build 1|Iron ingots are now used to craft [[tripwire hook]]s, [[detector rail]]s, [[iron trapdoor]]s and heavy [[weighted pressure plate]]s.
|Added [[desert temple]]s, which have hidden [[chest]] rooms and loot containing iron ingots.}}
{{History||v0.14.0|snap=build 1|Iron ingots are now used to craft [[hoppers]] and [[cauldron]]s.
|Iron ingots can now be found in [[minecart with chest|minecart chests]] generated in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Iron ingots are now used to craft [[piston]]s.
|Added [[jungle temple]]s, which have hidden [[chest]] rooms and main treasure rooms that have loot containing iron ingots.
|Added [[husk]]s, which rarely [[drops|drop]] iron ingots.}}
{{History||v0.16.0|snap=build 4|Iron ingots can now be used to activate [[beacon]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Iron ingots can now be found in [[end city]] ship [[chest]]s.
|Iron ingots can now be found in [[stronghold]] storeroom chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Added [[trading]]—armorer, weaponsmith and toolsmith [[villager]]s now [[trading|buy]] 7–9 iron ingots for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron ingots can now be [[crafting|crafted]] using [[iron nugget]]s.
|Iron ingots can now be used to [[crafting|craft]] iron nuggets.
|Iron ingots can now be found in [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Iron ingots now generate in [[buried treasure]] [[chest]]s.
|Iron ingots can now be found in [[shipwreck]] treasure chests.}}
{{History||1.8.0|snap=beta 1.8.0.10|Iron ingots can now be used to craft [[crossbow]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Iron ingots can now be found inside [[pillager outpost]]s and plains [[village]]s' weaponsmith chests.
|Iron ingots can now be used to craft [[blast furnace]]s, [[stonecutter]]s and [[shield]]s.
|[[File:Iron Ingot JE3 BE2.png|32px]] The texture of iron ingots has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron ingots can now be found in [[village]] armorer and toolsmith [[chest]]s.
|Iron ingots can now be found in [[savanna]], [[taiga]], [[desert]] and [[snowy taiga]] village weaponsmiths.}}
{{History|||snap=beta 1.11.0.4|Armorer, toolsmith, and weaponsmith [[villager]]s now [[trading|buy]] 4 iron ingots for an [[emerald]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Iron ingots now generate in bastion remnants chests.}}
{{History||1.17.0|snap=beta 1.16.230.52|Iron ingots can now be smelted from [[deepslate iron ore]].}}
{{History|||snap=beta 1.17.0.50|Iron ingots can now be smelted from [[raw iron]].}}
{{History||1.18.10|snap=beta 1.18.10.26|Iron ingots can now be used to heal iron golems.}}
{{History||1.19.80|snap=beta 1.19.80.21|Iron ingots can now be used as an armor trim material.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Iron Ingot JE2 BE1.png|32px]] Added iron ingots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Iron Ingot JE3 BE2.png|32px]] The texture of iron ingots has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Iron Ingot JE2 BE1.png|32px]] Added iron ingots.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

* To craft each recipe once, a player would need 152 iron ingots, including 27 for the iron blocks in an [[anvil]], while using the extra tripwire hook for the [[crossbow]] and the [[iron nuggets]] for the [[chain]].

== See also ==

* {{BlockLink|Block of Iron}}
* {{ItemSprite|Iron Chestplate}} [[Iron armor]]
* {{ItemLink|Iron Nugget}}
* {{BlockLink|Iron Ore}}
* [[Ores]]

== External links ==
* {{Mcnet|taking-inventory--iron-ignot|Taking Inventory: Iron Ingot}}

{{Items}}

[[cs:Železný ingot]]
[[de:Eisenbarren]]
[[es:Lingote de hierro]]
[[fr:Lingot de fer]]
[[hu:Vasrúd]]
[[it:Lingotto di ferro]]
[[ja:鉄インゴット]]
[[ko:철괴]]
[[nl:IJzerstaaf]]
[[pl:Sztabka żelaza]]
[[pt:Barra de ferro]]
[[ru:Железный слиток]]
[[uk:Залізний зливок]]
[[zh:铁锭]]
[[Category:Renewable resources]]</li></ul></nowiki>
15w31aRemoved the Super Secret Settings button for an internal rewrite.[3]
1.16
{{Extension DPL}}<ul><li>[[End Crystal|End Crystal]]<br/>{{ItemEntity
|image=End Crystal.gif
|imagesize=150px
|invimage=End Crystal
|renewable=Yes
|stackable=Yes (64)
|rarity=Rare
|drops=None
|size=
Height: 2 Blocks<br>Width: 2 Blocks
}}
An '''end crystal''' is an [[entity]] that can be [[Crafting|crafted]] or found on [[the End]]'s main island, where it heals the [[Ender Dragon|ender dragon]]. It can only be placed on [[obsidian]] or [[bedrock]] and [[Explosion|explodes]] instantly when attacked or damaged in most ways.

== Spawning ==

=== Natural generation ===

An end crystal is found atop each [[obsidian pillar]] on the central island of the End, each on top of a piece of [[bedrock]]. There are 10 end crystals in total, of which two are protected in "cages" of [[iron bars]]. All end crystals respawn one after another as the respawning process of the [[ender dragon]] starts.

== Obtaining ==

=== Crafting ===

{{Crafting
  |A1=Glass
  |B1=Glass
  |C1=Glass
  |A2=Glass
  |B2=Eye of Ender
  |C2=Glass
  |A3=Glass
  |B3=Ghast Tear
  |C3=Glass
  |Output= End Crystal
  |type= Decoration block
}}

== Usage ==

=== Healing the ender dragon ===

Their primary purpose is to recharge the health of the ender dragon, who gains a charge from the nearest crystal within a cuboid extending 32 blocks from the dragon in all directions. The dragon is healed {{hp|1}} each half-second. If multiple ender dragons are spawned, an end crystal can affect multiple dragons at the same time. The healing beam is neither obstructed nor is its power diminished by entities or blocks.

=== Respawning the ender dragon ===
[[File:End Crystals on the Exit portal.png|right|thumb|How to arrange end crystals on the exit portal to respawn the ender dragon.]]

As items, end crystals may be placed on bedrock and [[obsidian]], if the two blocks above the bedrock or obsidian block are air or replaceable blocks and no other entities intersect the area. When an end crystal is placed in [[the End]], a [[fire]] block is created at the end crystal location. If four are placed on the end [[exit portal]], one on each of the flat sides, the crystals respawn the original end crystals on the obsidian pillars, as well as resurrect the dragon itself, before exploding. The top of each pillar also explodes, destroying any player-placed blocks. This happens even if TNT explosions are turned off in settings.

If the exit portal is ever broken for any reason, end crystals can still be placed on obsidian blocks with the same location as the exit portal.

=== Explosions ===

End crystals explode when attacked or damaged in most ways, even by attacks that normally do zero damage. They are not affected by exploding fireworks, and if damaged by an explosion, they disappear instead of exploding.{{Only|Java}}<ref>{{bug|MC-118429||End crystals don't explode when destroyed by nearby explosions}}</ref> The end crystal's [[explosion]] has an [[Explosion#Explosion strength|explosion strength]] of 6, the same as a [[charged creeper]]. The end crystal's fire often remains after the crystal explodes. Any ender dragon charging from the crystal when it is destroyed takes {{hp|10}} damage.

{{IN|java}}, an end crystal's explosion can be [[blocking|blocked]] by a [[shield]].

Although an ender dragon damages most blocks and entities in its path, it cannot destroy end crystals simply by going near them.

Placing [[water]] on the end crystal will neutralize the blast effect, but not the [[damage]] or knockback.

End crystals with obsidian or bedrock below them will not damage blocks below them when they explode.

{{IN|bedrock}}, having the game rule {{cd|mobGriefing}} to {{cd|false}} will prevent the End Crystal from destroying any blocks. While {{in|java}} the same game rule will not prevent the End Crystal from destroying any blocks.

=== Beams ===
The end crystal naturally shoots a beam at the ender dragon and heals it when the dragon is within range. This beam can be manually created using the command {{cmd|data merge entity @e[type{{=}}end_crystal,limit{{=}}1] {BeamTarget:{X:0, Y:0, Z:0<nowiki>}}}}. The beam can be pointed in any direction, allowing it to mark locations or objects.

=== Properties ===
[[File:End Crystal (Slateless).gif|thumb|A base-less end crystal.]]  

End crystals are of two kinds: the ones with a base beneath them are created either by game mechanism or by the {{cmd|summon}} command; while the base-less ones are created by players by manually placing the crystal items on top of [[obsidian]] or [[bedrock]].

The base appears to be made of bedrock, with a crystal hovering over it. While in the End, a crystal continually generates fire at its current position, one block above the base (directly on top of the block the base is embedded in), replacing any other block at that location. This fire is capable of spreading.

The end crystal entity is not solid and can be walked through freely. End crystals can be pushed by [[piston]]s, but they explode if moved while on fire. Because fire is checked only when an entity moves, end crystals do not normally take damage from their own fire unless moved.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|subtitle=Explosion
|source=block
|description=When an end crystal explodes
|id=entity.generic.explode
|translationkey=subtitles.entity.generic.explode
|volume=4.0
|pitch=0.56-0.84
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=block
|description=When an end crystal explodes
|id=random.explode
|volume=4.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=item
|nameid=end_crystal
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=entity
|nameid=end_crystal
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=item
|nameid=end_crystal
|id=637
|form=item
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=entity
|nameid=ender_crystal
|id=71
|foot=1}}

=== Entity data ===

End crystals have entity data that define various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]].

== Achievements ==
{{load achievements|The End... Again...}}

== Advancements ==
{{load advancements|The End... Again...}}

== History ==
[[File:End Crystal 19w38a.gif|thumb|Java Edition 19w38a]]
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 6|[[File:End Crystal JE1 BE1.png|32px]] Added ender crystals.}}
{{History||1.2.1|snap=12w04a|Previously, ender crystals could be spawned using [[spawn egg]]s with ID 200 (in a [[server]], these were created using {{cmd|give 383 1 200}}). The spawned crystal would be positioned where a natural crystal would be if there was a bedrock block at the location. It was still possible until 1.9 to obtain an end crystal spawn egg, but it would not spawn anything.}}
{{History||1.7.2|snap=13w36a|Ender crystals can now be spawned with the {{cmd|summon}} command.}}
{{History||1.8|snap=14w06a|Ender crystals now generate one [[block]] lower. The fire they generate destroys the [[bedrock]] block that is supposed to be underneath (see {{bug|MC-47526}}).}}
{{History||1.9|snap=15w31a|Ender crystals generate at the correct Y-level again.}}
{{History|||snap=15w33c|Respawning the ender dragon now also respawns the ender crystals on the obsidian pillars.
|Ender crystals now have a compound BeamTarget tag that hold the X, Y, Z block location the beam points to.}}
{{History|||snap=15w44a|"Ender crystals" have been renamed to "end crystals".
|[[File:End Crystal (item) JE1 BE1.png|32px]] End crystals can now be obtained as an item.
|End crystals now drop from [[skeleton trap]] horses and can be placed only on [[obsidian]] or bedrock. Placing several of them atop the end exit portal respawns the ender dragon.}}
{{History|||snap=15w44b|End crystals are no longer dropped by [[skeleton horse]]s.
|Added crafting recipe for end crystals, making end crystals [[renewable]].}}
{{History|||snap=15w49a|End crystals now require [[air]]/replaceable [[block]]s and lack of [[entity|entities]] for placement.}}
{{History|||snap=15w51a|End crystals can no longer be placed in [[Adventure mode]].}}
{{History||1.11|snap=16w32a|The entity ID has been changed from <code>EnderCrystal</code> to <code>ender_crystal</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 426.}}
{{History|||snap=18w20b|Renamed to "End Crystal".}}
{{History|||snap=pre5|Entity ID has been changed to <code>end_crystal</code>.}}
{{History||1.14|snap=18w43a|[[File:End Crystal JE2.png|32px]][[File:End Crystal (item) JE2 BE2.png|32px]] The textures of end crystals and the end crystal [[item]] have been changed.}}
{{History||1.19.3|snap=22w43a|End crystal explosions can now be [[blocking|blocked]] by [[shield]]s.<ref>{{bug|MC-188247|||Fixed}}</ref>}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:End Crystal JE1 BE1.png|32px]][[File:End Crystal (item) JE1 BE1.png|32px]] Added end crystals.}}
{{History|bedrock}}
{{History||1.6.0|snap=?|[[File:End Crystal BE2.png|32px]] [[File:End Crystal BE2.gif|32px]] The model of the end crystals has been changed. It has now two cubes instead of three.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:End Crystal BE3.png|32px]][[File:End Crystal (item) JE2 BE2.png|32px]] The textures of end crystals and the end crystal item have been changed.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[File:End Crystal JE2.png|32px]] The model of the end crystals has been changed to have three cubes again, and to match ''Java Edition''.}}
{{History||1.19.70|snap=beta 1.19.70.20|Increased end crystal collision box size to match ''Java Edition''.|End crystals with obsidian or bedrock below them now will not damage blocks below them when they explode.}}

{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:End Crystal JE1 BE1.png|32px]] Added ender crystals.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Ender crystals now generate one block lower. The fire they generate destroys the [[bedrock]] block that is supposed to be underneath.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|"Ender crystals" have been renamed to "end crystals".
|[[File:End Crystal (item) JE1 BE1.png|32px]] End crystals can now be obtained as an [[item]]. 
|End crystals now drop from [[skeleton trap]] horses and can be placed only on [[obsidian]] or bedrock. Placing several of them atop the [[end portal|end exit portal]] respawns the ender dragon.
|Added a crafting recipe for end crystals.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:End Crystal JE2.png|32px]][[File:End Crystal (item) JE2 BE2.png|32px]] The textures of end crystals and the end crystal item have been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:End Crystal JE1 BE1.png|32px]][[File:End Crystal (item) JE1 BE1.png|32px]] Added end crystals.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* According to [[Jens Bergensten|Jeb]], the reason behind the current crafting recipe using glass as opposed to [[Chorus Fruit|chorus fruit]] or any materials introduced in [[Java Edition 1.9|1.9]] is as a means for players to craft end crystals in older worlds that the dragon has already been killed in.<ref>{{tweet|jeb_|667000226524372992|The problem is that you need to be able to craft the crystals on worlds in which the dragon has been destroyed already|November 18, 2015}}</ref>
* A historical rendition of the [[beacon]] block featured an animated entity within it, which resembled a yellow miniaturized end crystal. The bedrock platform of the end crystal entity would also render below the beacon, though this would normally be hidden within the block below.
* Using a [[piston]] to push an end crystal's fire into an end portal block deletes the end portal block. However, natural portal blocks regenerate if the end crystal is moved.

== Gallery ==
<gallery>
End Crystal Usage.png|Using end crystals to respawn the ender dragon.
Crystal Link.png|An ender dragon being hit with the "healing beam" of an end crystal.
Ender Crystal.png|An end crystal.
EnderCrystalOverworld.png|An end crystal in the Overworld spawned using {{cmd|summon}} {{code|end_crystal}}.
Ender Dragon Revival.png|End crystals respawning the ender dragon.
CagedEnderCrystal.png|A caged end crystal.
Respawn ender dragon.png|A [[player]] trying to respawn the ender dragon.
End Crystal (item).gif|An animation of the item of the end crystal.
</gallery>

== References ==
{{reflist}}

{{Entities}}
{{Items}}

[[de:Enderkristall]]
[[el:Κρύσταλλος του Ender]]
[[es:Cristal del End]]
[[fr:Cristal de l'End]]
[[ja:エンドクリスタル]]
[[ko:엔드 수정]]
[[nl:Endkristal]]
[[pl:Kryształ Endu]]
[[pt:Cristal do End]]
[[ru:Кристалл Края]]
[[th:คริสตัลเอนด์]]
[[uk:Кристал Енду]]
[[zh:末影水晶]]</li><li>[[Pitcher Pod|Pitcher Pod]]<br/>{{wip}}
{{Block
| image = <gallery>
Pitcher Crop Age 0 JE1.png| Age 0
Pitcher Crop Age 1 JE1.png| Age 1
Pitcher Crop Age 2 JE1.png| Age 2
Pitcher Crop Age 3 JE1.png| Age 3
Pitcher Crop Age 4 JE1.png| Age 4
</gallery>
| image2 = Pitcher Pod.png
| transparent = Yes
| light = Yes
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| rarity = Common
| flammable = No
| lavasusceptible = No
}}

A '''pitcher pod''' is an ancient bulbous seed that has a chance to be dropped by [[Sniffer|sniffers]] when they finish digging. It is the seed for [[Pitcher Plant]]s.

== Obtaining ==
[[Sniffer]]s occasionally bury their nose in the ground and start digging. Once the sniffer has finished digging, one pitcher pod has a chance to be dropped on the floor as an item.

Sniffers can only dig for pitcher pods in the following blocks:
*{{BlockLink|Dirt}}
*{{BlockLink|Grass Block}}
*{{BlockLink|Podzol}}
*{{BlockLink|Coarse Dirt}}
*{{BlockLink|Rooted Dirt}}
*{{BlockLink|Moss Block}}
*{{BlockLink|Mud}}
*{{BlockLink|Muddy Mangrove Roots}}
They cannot dig for pitcher pods on [[mycelium]].<ref>{{bug|MC-260259||Sniffers cannot dig nor find seeds on mycelium|WAI}}</ref>

== Usage ==
=== Pitcher Crop ===
{{main|Tutorials/Crop farming|title1=Pitcher Crop Farming}}
Pitcher pods can be placed on [[farmland]] by {{ctrl|using}}, where they grow through three stages as a '''pitcher crop'''.

Breaking the crop before it matures drops the pitcher pod, while breaking the final stage produces a [[pitcher plant]] and does ''not'' yield the pod. Pitcher crops break if pushed by a [[piston]] or if their supporting farmland breaks or turns to dirt (i.e. by being trampled), dropping their usual drops.

Farmer [[villager]]s can plant pitcher pods, but cannot harvest them once they have fully grown.<ref>{{bug|MC-263382|||WAI}}</ref>

=== Feeding ===
Pitcher pods can be used to breed [[chicken]]s and reduce the remaining growth duration of chicks by 10%.

=== Taming ===
Pitcher pods can be used to tame [[parrot]]s.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pitcher Crop
|spritetype=block
|nameid=pitcher_crop
|form=block
|blocktags=bee_growables, crops}}
{{ID table
|displayname=Pitcher Pod
|spritetype=item
|nameid=pitcher_pod
|form=item
|itemtags=villager_plantable_seeds
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pitcher Crop
|spritetype=block
|nameid=pitcher_crop
|id=-574
|form=block
|translationkey=-}}
{{ID table
|displayname=Pitcher Pod
|spritetype=item
|nameid=pitcher_pod
|id=297
|form=item
|foot=1}}

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

== Achievements ==
{{Load achievements|Planting The Past}}

== Advancements ==
{{load advancements|A Seedy Place;Planting The Past}}

== History ==
{{History|java}}
{{History||1.20|snap=23w12a|[[File:Pitcher Crop Age 0 JE1.png|32px]] [[File:Pitcher Crop Age 1 JE1.png|32px]] [[File:Pitcher Crop Age 2 JE1.png|32px]] [[File:Pitcher Crop Age 3 JE1.png|32px]] [[File:Pitcher Crop Age 4 JE1.png|32px]] [[File:Pitcher Pod JE1.png|32px]] Added pitcher crops and pods.
|[[File:Pitcher Crop Age 0 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 1 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 2 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 3 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 4 (bottom) JE1.png|32px]] The bottom face on all pitcher crop models is missing.<ref>{{bug|MC-261208}}</ref>}}
{{History|||snap=23w13a|Placing a pitcher pod in farmland now gives the player the "A Seedy Place" [[advancement]].
|Fully grown pitcher crops are now destroyed when the farmland they are placed in is destroyed.}}
{{History|||snap=23w14a|Pitcher crops can now be destroyed by [[ravagers]].|Pitcher crops' hitboxes now change according to their age.|[[File:Pitcher Crop Age 0 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 1 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 2 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 3 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 4 (bottom) JE2.png|32px]] Pitcher crops now have their bottom texture.}}
{{History|||snap=23w16a|Hitbox shape of pitcher crop has been changed for each stage of its growth.|[[Villager]]s can now plant pitcher pods.}}
{{History|||snap=23w17a|The player now get the [[advancement]] "Planting the past" when they plant pitcher pods on [[farmland]].}}

{{History|bedrock}}
{{History||1.20.0|snap=beta 1.20.0.20|[[File:Pitcher Crop Age 0 JE1.png|32px]] [[File:Pitcher Crop Age 1 JE1.png|32px]] [[File:Pitcher Crop Age 2 JE1.png|32px]] [[File:Pitcher Crop Age 3 JE1.png|32px]] [[File:Pitcher Crop Age 4 JE1.png|32px]] [[File:Pitcher Pod JE1.png|32px]] Added pitcher crops and pods.
|Unlike in Java Edition, pitcher pods can be used to feed chickens and parrots.}}
{{history|foot}}

== Notelist ==
{{notelist}}

== References ==
{{reflist}}

{{Blocks|upcoming}}
{{Items}}

[[Category:Plants]]
[[Category:Non-solid blocks]]

[[de:kannenpflanzentrieb]]
[[es:Vaina de planta odre]]
[[ja:ウツボカズラのさや]]
[[pt:Muda de planta-jarro]]</li></ul></nowiki>
20w22aThe Transparency shader was added for Fabulous! graphics mode.
1.17
{{Extension DPL}}<ul><li>[[Le Tricolore|Le Tricolore]]<br/>{{Exclusive|Java}}
{{Joke feature}}
{{Item
| image = 
| renewable = Yes
| stackable = Yes (64)
}}

'''Le Tricolore''' (French for ''The Tricolour'') is a joke item from [[Java Edition 23w13a_or_b]].

== Obtaining ==
One le tricolore and one [[la baguette]] is given to all players when [[French mode]] gets activated. Deactivating the mode will remove le tricolore from the player's inventory (but not la baguette; [[container]]s such as [[chest]]s are not affected).

Le Tricolore is not available in the creative inventory, but can be obtained by using the {{cmd|give}} command.

== Data values ==

=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=Le Tricolore
|spritetype=item
|nameid=le_tricolore
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||23w13a or b|[[File:Le Tricolore.png|32px]] Added Le Tricolore.}}
{{History|foot}}

{{Items}}
{{Jokes}}

[[Category:Joke items]]

[[ja:Le Tricolore]]
[[pt:Le Tricolore]]</li><li>[[Compound|Compound]]<br/>{{About|a feature in the Education Edition|the NBT tag|NBT}}
{{education feature}}
{{exclusive|bedrock|education}}
{{Item
| image = Water (compound).png
| image2 = Garbage.png
| renewable = No
| stackable = Yes (64)
}}

'''Compounds''' are a type of [[item]] from [[Education Edition]] used in chemistry, which are created from combinations of various [[element]]s.

== Obtaining ==
Compounds cannot be obtained in the [[Creative inventory]]. They are only obtained from creating them in the [[compound creator]]. This is done by inserting a certain number of [[element]]s corresponding to the compound's chemical formula.

== List of compounds ==
{| class="wikitable" data-description="Compounds"
!Icon
!Compound Name
!Compound Recipe
!Description
!Uses
|-
|{{slot|Aluminum Oxide|link=none}}
|{{text anchor|Aluminium Oxide}}
|{{slot|Aluminum,2}}{{slot|Oxygen,3}}
|Is only brown when dug up from the Earth and contaminated; actually white when pure. Can be electrolyzed to make aluminum metal. Also the main chemical in rubies and sapphires.
|Used to craft [[hardened glass]]. 
|-
|{{slot|Ammonia|link=none}}
|{{text anchor|Ammonia}}
|{{slot|Nitrogen}}{{slot|Hydrogen,3}}
|
|Used to create [[super fertilizer]].
|-
|{{slot|Barium Sulfate|link=none}}
|{{text anchor|Barium Sulfate}}
|{{slot|Barium}}{{slot|Sulfur}}{{slot|Oxygen,4}}
|
|
|-
|{{slot|Benzene|link=none}}
|{{text anchor|Benzene}}
|{{slot|Carbon,6}}{{slot|Hydrogen,6}}
|
|
|-
|{{slot|Boron Trioxide|link=none}}
|{{text anchor|Boron Trioxide}}
|{{slot|Boron,2}}{{slot|Oxygen,3}}
|
|Used to craft [[hardened glass]].
|-
|{{slot|Calcium Bromide|link=none}}
|{{text anchor|Calcium Bromide}}
|{{slot|Calcium}}{{slot|Bromine,2}}
|
|
|-
|{{slot|Crude Oil|link=none}}
|{{text anchor|Crude Oil}}
|{{slot|Carbon,9}}{{slot|Hydrogen,20}}
|C<sub>9</sub>H<sub>20</sub> is the chemical formula for nonane.
|
|-
|{{slot|Glue|link=none}}
|{{text anchor|Glue}} (Cyanoacrylate)
|{{slot|Carbon,5}}{{slot|Hydrogen,5}}{{slot|Nitrogen}}{{slot|Oxygen,2}}
|C<sub>5</sub>H<sub>5</sub>NO<sub>2</sub> is the chemical formula for methyl cyanoacrylate, one of the cyanoacrylate glues ("superglue"); its condensed formula is CH<sub>2</sub>=C(CN)COOCH<sub>3</sub>.
|
|-
|{{slot|Hydrogen Peroxide|link=none}}
|{{text anchor|Hydrogen Peroxide}}
|{{slot|Hydrogen,2}}{{slot|Oxygen,2}}
|
|Used to craft [[glow stick]].
|-
|{{slot|Iron Sulfide|link=none}}
|{{text anchor|Iron Sulfide}}
|{{slot|Iron}}{{slot|Sulfur}}
|
|
|-
|{{slot|Latex|link=none}}
|{{text anchor|Latex}}
|{{slot|Carbon,5}}{{slot|Hydrogen,8}}
|C<sub>5</sub>H<sub>8</sub> is the chemical formula for isoprene, which polymers are the main components of natural rubber; its condensed formula is CH<sub>2</sub>=C(CH<sub>3</sub>)−CH=CH<sub>2</sub>.
|Used to craft [[balloon]]s.
|-
|{{slot|Lithium Hydride|link=none}}
|{{text anchor|Lithium Hydride}}
|{{slot|Lithium}}{{slot|Hydrogen}}
|
|
|-
|{{slot|Luminol|link=none}}
|{{text anchor|Luminol}}
| class="nowrap" |{{slot|Carbon,8}}{{slot|Hydrogen,7}}{{slot|Nitrogen,3}}{{slot|Oxygen,2}}
|Luminol is a chemical that glows blue when oxidized. It can detect blood. 
|Used to craft [[glow stick]].
|-
|{{slot|Lye|link=none}}
|{{text anchor|Lye}}
|{{slot|Sodium}}{{slot|Oxygen}}{{slot|Hydrogen}}
|
|
|-
|{{slot|Magnesium Nitrate|link=none}}
|{{text anchor|Magnesium Nitrate}}
|{{slot|Magnesium}}{{slot|Nitrogen,2}}{{slot|Oxygen,6}}
|Condensed formula: Mg(NO<sub>3</sub>)<sub>2</sub>
|
|-
|{{slot|Magnesium Oxide|link=none}}
|{{text anchor|Magnesium Oxide}}
|{{slot|Magnesium}}{{slot|Oxygen}}
|
|
|-
|{{slot|Polyethylene|link=none}}
|{{text anchor|Polyethylene}}
|{{slot|Carbon,10}}{{slot|Hydrogen,20}}
|Polyethlene (PE), (CH<sub>2</sub>)<sub>''n''</sub>, is ''the'' most commonly produced plastic.
|Used to craft [[glow stick]].
|-
|{{slot|Potassium Iodide|link=none}}
|{{text anchor|Potassium Iodide}}
|{{slot|Potassium}}{{slot|Iodine}}
|Used for making iodized salt and other things.
|
|-
|{{slot|Soap|link=none}}
|{{text anchor|Soap}}
|{{slot|Carbon,18}}{{slot|Hydrogen,35}}{{slot|Sodium}}{{slot|Oxygen,2}}
|C<sub>18</sub>H<sub>35</sub>NaO<sub>2</sub> is the chemical formula of sodium stearate, the most common soap.
|
|-
|{{slot|Sodium Acetate|link=none}}
|{{text anchor|Sodium Acetate}}
|{{slot|Carbon,2}}{{slot|Hydrogen,3}}{{slot|Sodium}}{{slot|Oxygen,2}}
|Used to make hand warmers because it heats up when it "freezes".
|Used to create [[Ice Bomb]].
|-
|{{slot|Sodium Fluoride|link=none}}
|{{text anchor|Sodium Fluoride}}
|{{slot|Sodium}}{{slot|Fluorine}}
|Commonly used in toothpaste to prevent cavity, among other uses.
|
|-
|{{slot|Sodium Hydride|link=none}}
|{{text anchor|Sodium Hydride}}
|{{slot|Sodium}}{{slot|Hydrogen}}
|
|
|-
|{{slot|Sodium Hypochlorite|link=none}}
|{{text anchor|Sodium Hypochlorite}}
|{{slot|Sodium}}{{slot|Chlorine}}{{slot|Oxygen}}
|Main ingredient of real-life bleach.
|Used to create [[Bleach]].
|-
|{{slot|Sodium Oxide|link=none}}
|{{text anchor|Sodium Oxide}}
|{{slot|Sodium,2}}{{slot|Oxygen}}
|
|
|-
|{{slot|Sulfate|link=none}}
|{{text anchor|Sulfate}}
|{{slot|Sulfur}}{{slot|Oxygen,4}}
|Cannot actually exist on its own, as it should have a <sup>2-</sup> charge.
|
|}

=== Chlorides ===
{| class="wikitable" data-description="Chlorides"
!Icon
!Compound
!Recipe
!Uses
|-
|{{slot|Salt|link=none}}
|{{text anchor|Salt}}
|{{slot|Sodium}}{{slot|Chlorine}}
|Used to create [[heat block]].
|-
|{{slot|Calcium Chloride|link=none}}
|{{text anchor|Calcium Chloride}}
|{{slot|Calcium}}{{slot|Chlorine,2}}
|Used to craft [[sparkler|orange sparkler]].
|-
|{{slot|Cerium Chloride|link=none}}
|{{text anchor|Cerium Chloride}}
|{{slot|Cerium}}{{slot|Chlorine,3}}
|Used to craft [[colored torch|blue torch]] and [[sparkler|blue sparkler]].
|-
|{{slot|Mercuric Chloride|link=none}}
|{{text anchor|Mercuric Chloride}}
|{{slot|Mercury}}{{slot|Chlorine,2}}
|Used to craft [[colored torch|red torch]] and [[sparkler|red sparkler]].
|-
|{{slot|Potassium Chloride|link=none}}
|{{text anchor|Potassium Chloride}}
|{{slot|Potassium}}{{slot|Chlorine}}
|Used to craft [[colored torch|purple torch]] and [[sparkler|purple sparkler]].
|-
|{{slot|Tungsten Chloride|link=none}}
|{{text anchor|Tungsten Chloride}}
|{{slot|Tungsten}}{{slot|Chlorine,6}}
|Used to craft [[colored torch|green torch]] and [[sparkler|green sparkler]].
|}

=== Natural compounds ===
Natural compounds are compounds which can be obtained naturally in ''Minecraft''.
{| class="wikitable" data-description="Chlorides"
!Icon
!Compound
! class="nowrap" |Chemical formula
!Natural source
!Method
!Notes
|-
|{{slot|Charcoal}}
|[[Charcoal]]
|{{slot|Carbon,7}}{{slot|Hydrogen,4}}{{slot|Oxygen}}
|[[Log]] or [[Wood]]
|[[Smelting]]
|The chemical formula C<sub>7</sub>H<sub>4</sub>O is sometimes used to describe the approximate composition of charcoal.
|-
|{{slot|Glow Ink Sac}} {{slot|Ink Sac}}
|[[Glow Ink Sac]], [[Ink Sac]]
|{{slot|Iron}}{{slot|Sulfur}}{{slot|Oxygen,4}}
|[[Glow Squid]], [[Squid]]
|Killing Glow Squid, Squid
|FeSO<sub>4</sub> is the chemical formula of iron(II) sulfate or ferrous sulfate, normally found complexed with water as a salt with the formula FeSO<sub>4</sub>·''x''H<sub>2</sub>O, and has been used in the manufacture of iron gall ink and other inks for centuries. In contrast, squid ink (and other cephalopod inks) is composed mainly of melanin and mucus, with an assortment of other compounds in a variety of concentrations dependent on the species.
|-
|{{slot|Sugar}}
|[[Sugar]]
|{{slot|Carbon,6}}{{slot|Hydrogen,12}}{{slot|Oxygen,6}}
|[[Sugar Cane]]s or [[Honey Bottle]]s
|Harvesting and [[crafting]]
|C<sub>6</sub>H<sub>12</sub>O<sub>6</sub> is the chemical formula of glucose and fructose, as well as a number of other simple sugars (common table sugar is instead sucrose, a complex sugar made of glucose and fructose with the chemical formula C<sub>12</sub>H<sub>22</sub>O<sub>11</sub>).
|-
|{{slot|Water (compound)|link=water}}
|{{text anchor|Water}}
|{{slot|Hydrogen,2}}{{slot|Oxygen}}
|[[Water]]
|Picking up in a [[bucket]] or [[glass bottle]] from a [[Cauldron]] or a water source block
|One of the easiest to obtain.
|}

=== Garbage ===
Garbage is considered a "compound", but the only way to produce it is to activate the [[Lab Table]] when its inputs are an invalid recipe. It has no uses.

== Usage ==
Certain compounds are used as ingredients in [[crafting]] or [[lab table]] experiments. Natural compounds have uses outside of chemistry, detailed in their respective articles.

=== Crafting ingredient ===
{{Crafting usage|description=0|Latex, Polyethylene, Hydrogen Peroxide, Luminol, Boron Trioxide, Aluminum Oxide}}

==== Chloride coloring ====
{{Crafting usage|Chloride,Cerium Chloride|match=end}}

=== Lab table ingredient ===
{| class="wikitable"
!Result
!Materials needed
|-
! rowspan="2" |{{slot|Bleach}}<br>[[Bleach]]
|{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}
|-
|<center>Water ×3, Sodium Hypochlorite ×3</center>
|-
! rowspan="2" |{{slot|Heat Block.gif}}<br>[[Heat Block]]
|{{slot}}{{slot|Iron|link=Element#Iron}}{{slot|Water (compound)|link=Compound}}{{slot|Charcoal}}{{slot|Salt|link=Compound}}{{slot}}
|-
|<center>[[Iron (element)|Iron]], Water, [[Charcoal]], Salt</center>
|-
! rowspan="2" |{{slot|Ice Bomb}}<br>[[Ice Bomb]]
|{{slot}}{{slot|Sodium Acetate|link=Compound}}{{slot|Sodium Acetate|link=Compound}}{{slot|Sodium Acetate|link=Compound}}{{slot|Sodium Acetate|link=Compound}}{{slot}}
|-
|<center>Sodium Acetate ×4</center>
|-
! rowspan="2" |{{slot|Super Fertilizer}}<br>[[Super Fertilizer]]
|{{slot}}{{slot}}{{slot|Ammonia|link=Compound}}{{slot|Phosphorus|link=Element#Phosphorus}}{{slot}}{{slot}}
|-
|<center>Ammonia, [[Phosphorus]]</center>
|}

== Sounds ==
Sounds are produced when a [[lab table]] creates garbage.
{{Sound table
|type=bedrock
|sound=Fizz.ogg
|source=block
|description=When a lab table creates garbage{{verify}}
|id=random.fizz
|volume=1.0
|pitch=0.5/0.7}}
{{Sound table
|sound=Ghast fireball4.ogg
|source=hostile
|description=When a lab table creates garbage{{verify}}
|id=mob.blaze.shoot
|volume=1.0
|pitch=0.8/1.0}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=block
|description=When a lab table creates garbage
|id=random.explode
|volume=1.0
|pitch=0.4/0.6}}
{{Sound table
|sound=Fire.ogg
|source=sound
|description=When a lab table creates garbage
|id=lt.reaction.fire
|volume=2.0
|pitch=0.4/0.6}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=weather
|description=When a lab table creates garbage
|id=ambient.weather.lightning.impact
|volume=1.0
|pitch=0.6/0.8
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Compound
|spritetype=item
|nameid=compound
|id=594
|form=item
|translationkey=item.compound.salt.name,item.compound.sodiumoxide.name,item.compound.sodiumhydroxide.name,item.compound.magnesiumnitrate.name,item.compound.ironsulfide.name,item.compound.lithiumhydride.name,item.compound.sodiumhydride.name,item.compound.calciumbromide.name,item.compound.magnesiumoxide.name,item.compound.sodiumacetate.name,item.compound.luminol.name,item.compound.charcoal.name,item.compound.sugar.name,item.compound.aluminumoxide.name,item.compound.borontrioxide.name,item.compound.soap.name,item.compound.polyethylene.name,item.compound.garbage.name,item.compound.magnesiumsalts.name,item.compound.sulfate.name,item.compound.bariumsulfate.name,item.compound.potassiumchloride.name,item.compound.mercuricchloride.name,item.compound.ceriumchloride.name,item.compound.tungstenchloride.name,item.compound.calciumchloride.name,item.compound.water.name,item.compound.glue.name,item.compound.hypochlorite.name,item.compound.crudeoil.name,item.compound.latex.name,item.compound.potassiumiodide.name,item.compound.sodiumfluoride.name,item.compound.benzene.name,item.compound.ink.name,item.compound.hydrogenperoxide.name,item.compound.ammonia.name,item.compound.sodiumhypochlorite.name
|foot=1}}

===Item data===
{{see also|Data values}}Compounds uses the following data values:{{/DV}}
== History ==

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Aluminum Oxide BE1.png|32px]] [[File:Ammonia BE1.png|32px]] [[File:Barium Sulfate BE1.png|32px]] [[File:Benzene BE1.png|32px]] [[File:Boron Trioxide BE1.png|32px]] [[File:Calcium Bromide BE1.png|32px]] [[File:Crude Oil BE1.png|32px]] [[File:Glue BE1.png|32px]] [[File:Hydrogen Peroxide BE1.png|32px]] [[File:Iron Sulfide BE1.png|32px]] [[File:Latex BE1.png|32px]] [[File:Lithium Hydride BE1.png|32px]] [[File:Luminol BE1.png|32px]] [[File:Lye BE1.png|32px]] [[File:Magnesium Nitrate BE1.png|32px]] [[File:Magnesium Oxide BE1.png|32px]] [[File:Polyethylene BE1.png|32px]] [[File:Potassium Iodide BE1.png|32px]] [[File:Salt BE1.png|32px]] [[File:Soap BE1.png|32px]] [[File:Sodium Acetate BE1.png|32px]] [[File:Sodium Fluoride.png|32px]] [[File:Sodium Hydride BE1.png|32px]] [[File:Sodium Hypochlorite BE1.png|32px]] [[File:Sodium Oxide BE1.png|32px]] [[File:Sulfate BE1.png|32px]] [[File:Calcium Chloride BE1.png|32px]] [[File:Cerium Chloride BE1.png|32px]] [[File:Mercuric Chloride BE1.png|32px]] [[File:Potassium Chloride BE1.png|32px]] [[File:Tungsten Chloride BE1.png|32px]] [[File:Charcoal JE3 BE3.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Sugar JE1 BE1.png|32px]] [[File:Water (compound) BE1.png|32px]] [[File:Garbage BE1.png|32px]] Added compounds.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Charcoal JE4 BE4.png|32px]][[File:Ink Sac JE2 BE2.png|32px]][[File:Sugar JE2 BE2.png|32px]] The textures of Charcoal, Ink Sacs and Sugar have been changed.}}
{{History||1.16|All compounds have been made unobtainable. It is unknown whether it is a glitch or intended. {{bug|MCPE-113776}}}}

{{History| |1.17.0|All compounds are obtainable once again.}}{{History|education}}
{{History||1.0.27|[[File:Aluminum Oxide BE1.png|32px]] [[File:Ammonia BE1.png|32px]] [[File:Barium Sulfate BE1.png|32px]] [[File:Benzene BE1.png|32px]] [[File:Boron Trioxide BE1.png|32px]] [[File:Calcium Bromide BE1.png|32px]] [[File:Crude Oil BE1.png|32px]] [[File:Glue BE1.png|32px]] [[File:Hydrogen Peroxide BE1.png|32px]] [[File:Iron Sulfide BE1.png|32px]] [[File:Latex BE1.png|32px]] [[File:Lithium Hydride BE1.png|32px]] [[File:Luminol BE1.png|32px]] [[File:Lye BE1.png|32px]] [[File:Magnesium Nitrate BE1.png|32px]] [[File:Magnesium Oxide BE1.png|32px]] [[File:Polyethylene BE1.png|32px]] [[File:Potassium Iodide BE1.png|32px]] [[File:Salt BE1.png|32px]] [[File:Soap BE1.png|32px]] [[File:Sodium Acetate BE1.png|32px]] [[File:Sodium Fluoride BE1.png|32px]] [[File:Sodium Hydride BE1.png|32px]] [[File:Sodium Hypochlorite BE1.png|32px]] [[File:Sodium Oxide BE1.png|32px]] [[File:Sulfate BE1.png|32px]] [[File:Calcium Chloride BE1.png|32px]] [[File:Cerium Chloride BE1.png|32px]] [[File:Mercuric Chloride BE1.png|32px]] [[File:Potassium Chloride BE1.png|32px]] [[File:Tungsten Chloride BE1.png|32px]] [[File:Charcoal JE3 BE3.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Sugar JE1 BE1.png|32px]] [[File:Water (compound) BE1.png|32px]] [[File:Garbage BE1.png|32px]] Added compounds.}}
{{History||1.12.0|[[File:Charcoal JE4 BE4.png|32px]][[File:Ink Sac JE2 BE2.png|32px]][[File:Sugar JE2 BE2.png|32px]] The textures of Charcoal, Ink Sacs and Sugar have been changed.}}

{{History|foot}}

== Unused compound textures ==
In the chemistry resource pack folder, there are numerous [[History of textures/Unused textures#Unused compounds|compound textures which are not used]] in the game. Note: a <code>compound</code> item with a data value of <code>38</code> will have the <code>Blue Flask</code> texture and will be called <code>item.compound..name</code>. If you use an NBT Editor to get a compound item with no assigned data value (by deleting the data tag) and then transfer that item to another world / realm using structure blocks (by exporting to a <code>.mcstructure</code> file, then importing it on another world or realm) then it will be renamed to <code>Ivory Tusk</code>.  
<gallery widths="48" heights="48" perrow="30" class="center">
Flask EE1.png|Flask
Black Flask EE1.png|Black Flask
Blue Flask EE1.png|Blue Flask
Brown Beaker EE1.png|Brown Beaker
Brown Flask EE1.png|Brown Flask
Dark Gray Beaker EE1.png|Dark Gray Beaker
Dark Gray Flask EE1.png|Dark Gray  Flask
Dark Gray Jar EE1.png|Dark Gray Jar
Green Beaker EE1.png|Green Beaker
Green Flask EE1.png|Green Flask
Green Jar EE1.png|Green Jar
Indigo Beaker EE1.png|Indigo Beaker
Indigo Flask EE1.png|Indigo Flask
Indigo Jar EE1.png|Indigo Jar
Light Gray Beaker EE1.png|Light Gray Beaker
Light Gray Flask EE1.png|Light Gray Flask
Orange Beaker EE1.png|Orange Beaker
Orange Flask EE1.png|Orange Flask
Orange Jar EE1.png|Orange Jar
Purple Beaker EE1.png|Purple Beaker
Purple Flask EE1.png|Purple Flask
Purple Jar EE1.png|Purple Jar
Red Beaker EE1.png|Red Beaker
Red Flask EE1.png|Red Flask
Red Jar EE1.png|Red Jar
White Flask EE1.png|White Flask
Yellow Flask EE1.png|Yellow Flask
Bleach (compound).png|Bleach
</gallery>

== Gallery ==
<gallery>
Screen Shot 2021-08-19 at 12.22.50 PM.png|A compound creator in using 5 carbon and 8 hydrogen to create latex.
</gallery>

== See also ==

*[[Compound Creator]]
*[[Crafting]]
*[[Element Constructor]]
*[[Lab Table]]
*[[Brewing Stand]]
*[[Brewing]]
*[[Crafting Table]]

== References ==
{{reflist}}

{{Items}}
{{Education Edition}}

[[Category:Non-renewable resources]]
[[Category:Education Edition items]]

[[de:Verbindung]]
[[it:Composto]]
[[ja:化合物]]
[[pl:Związki chemiczne]]
[[pt:Composto]]
[[ru:Соединение]]
[[th:สารประกอบ]]
[[uk:Сполуки]]
[[zh:化合物]]</li></ul>
21w10aCore shaders were added.

Issues

Issues relating to "Shaders" are maintained on the bug tracker. Report issues there.

References