Minecraft Wiki
Advertisement

A Villager (also called a Testificate from a temporary name tag in Beta 1.9pre1) is a passive NPC (Non-Player Character) that spawns and moves about in NPC Villages. They spawn around the villages and inside the buildings. They spawn at their respective buildings corresponding to the role they have.

Appearance

Their characteristic look is dominated by their large, bald heads, green eyes, unibrows, and long, protruding noses. Villager's arms are implied to be jointed, with two parts each to create folded arms. The arms are tucked inside the sleeves, with the sleeves touching at the seam in the middle.

There are different types, distinguished by the color of their robes, which signify their role in the community. There are 6 unique skins for the villagers which are found in the minecraft.jar file, but one is not used in the game on normal maps. Hood texture files are also present, but no mesh currently exists to display them.

Behavior

VillagersTalking

Two villagers socializing.

ChildrenTag

A group of villager children playing a game of tag.

Villagers will randomly look at the player, and wander the area of the village. They do not counterattack if attacked, but they will be knocked back. When attacked, they will not run away. If the player does happen to kill one, they will drop nothing at all, and others will do nothing about it, though nearby Iron Golems will attack the player.

Villagers have the ability to utilize doors and ladders, and are therefore able to go in and out of houses. Villagers will hide in houses during the night, rain, or when chased by Zombies. Villagers also will sometimes stop and appear to read signs, though this is rare. Another rare instance is if you throw down an item in front of a villager, he might look at it.

Villagers seem to favor well lit conditions over dimly lit ones, seemingly due to the lower chance of zombie spawning. Villagers favor houses over well lit areas, even if the house is completely unlit. This is probably due to the fact that houses are assumed to be sufficiently lit.

Villagers will run away from zombies, which can attack the villagers. Sieges can occur between these mobs, and the villager's only "natural" defense are the Iron Golems, which protect villagers from nearby mobs. As of the upcoming 1.4 update, Zombies have a chance of turning a villager into a zombie if the difficulty is on Normal or Hard, or Hardcore gamemode. This can also happen with baby villagers, resulting in Baby Zombies.

The villagers will "socialize" with each other and passive mobs. This involves two villagers simply facing each other. Villagers can socialize with the player as well, if they approach and stand still (they will start moving their heads in a bobbing fashion). Sometimes if three villagers are "socializing" and the player approaches them, one will push the player away.[citation needed] On some occasions, villagers will gather in a large group in one point in a village, seemingly without any cause. They are also attracted to pumpkins and doors. When villagers are near an Iron Golem, they will stop and stare at it. The Iron Golems sometimes give roses to the villagers, symbolizing the friendly relationship between the villagers and Iron Golems, as well as referencing the inspiration behind the latter.

When trapped, villagers will try to find the easiest exit, such as when trapped in a room with no roof and 2 high walls and a Bed next to a wall, it will jump on the Bed in an attempt to escape.[citation needed] In other instances, villagers will try to jump over obstacles, regardless of height[citation needed], similarly to pigs.

Villagers also will not willingly fall off high cliffs.

Mating and population

VillagerInLove

Two villagers in love.

Villagers will mate depending on the number of valid doors. A valid door is any door (within the city radius) where the number of "outside" spaces within 5 blocks (in a straight line) on one side of the door is not the same as the number of "outside" spaces within 5 blocks on the other side of the door. A space is considered to be "outside" if it is hit by the sun during the day, i.e. it is transparent, and has nothing but transparent blocks above it all the way to the sky. Notice that a door is not a valid door without a roof on one side, or with equal amount of roof on both sides. Sometimes the villager AI (such as mating and housing) doesn't behave as expected until the game is restarted (as in save and quit, then reload the world).

Once housing has been established, villagers will then mate until the number of adult villagers equals 0.35 times the number of doors. Any remaining children will grow up as usual, resulting in a total number of adult villagers somewhere above one third of the number of nearby wooden doors. The type of villager that the child is doesn't depend on what type the parents are, e.g., two farmer villagers can have a child that is any of the occupations. Unlike other breed-able mobs, the parents and child have no personal interactions other than socializing.

The game engine periodically takes a census to determine the current population of the village. All villagers within the horizontal boundary of the village, and within 5 vertical blocks of the center will be counted as part of the population to determine if continued villager mating is allowed. However, any villager within a vertical distance of 32 blocks of the center of the village will attempt to enter mating mode as long as there is at least one villager within the boundary. Therefore, it is possible to create an unlimited population by holding a single villager within the village boundary and forcing all other villagers outside the 5 block vertical range of the census. The villagers on the "outskirts" of the town will periodically enter mating mode in an attempt to mate with the villager that is still within the boundary. If two villagers on the outskirts simultaneously enter mating mode while they are close to one another, they will mate with each other and produce a child.

Villager children will sprint about, entering and leaving houses at will. The villager children will also chase each other around the village to simulate that they are playing tag. These children will sometimes stop sprinting to stare at an Iron Golem. If the Iron Golem is holding a rose, the children will cautiously take the flower from its hands. Although children look smaller than adult villagers, their hitbox is the same size. Villager children can be infected by Zombies. Zombie children will not burn in daylight and run faster.

Professions

Each villager's profession can be identified by its clothing.

(Note that all villagers have brown clothing under their robes/aprons.)

Profession Clothing ID
Farmer Brown Robe 0
Librarian White Robe 1
Priest Purple Robe 2
Blacksmith Black Apron 3
Butcher White Apron 4
Generic Villager* Green Robe 5


*Note: Generic villagers do not spawn naturally, nor with a Spawn Egg.

Trading

Main article: Trading
Trading paper clean GUI

The trading interface displaying a trade of 20 paper for 1 emerald.

The trading system is a gameplay mechanic that allows players to trade emeralds for items (and vice-versa) with NPC villagers.

Right-clicking a villager will allow a player to trade with them. Villagers will make offers based on their profession, and will only make trades based on whatever offers they are making. Different offers may be viewed by pressing the left and right buttons next to the currently displayed offer. Most offers involve emerald as a currency, and some item pertinent to the villager's profession. Trading allows the acquisition of uncommon items that would otherwise be fairly difficult to obtain. It is also the only legitimate method of acquiring chain mail and Bottle o' Enchanting in Survival mode.

History

b
1.9pre1
{{Extension DPL}}<ul><li>[[Blaze Rod|Blaze Rod]]<br/>{{Item
| image = Blaze Rod.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Blaze rods''' are [[item]]s exclusively obtained from [[blaze]]s. They act as a fuel for both brewing and [[smelting]], and are required to craft [[eye of ender|eyes of ender]] used to access to [[the End]].

== Obtaining ==

=== Mob loot ===
When killed by a player or tamed [[wolf]], a [[blaze]] has a 50% chance to drop a blaze rod. The [[Looting]] [[enchantment]] can increase the drops by one per level, for a maximum of 4 blaze rods. Blazes do not drop any blaze rods if killed by any other source.

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Fuel ===

When used in a [[furnace]], a blaze rod lasts 120 seconds (12 items).

== Achievements ==
{{load achievements|Into Fire}}

== Advancements ==
{{load advancements|Into Fire}}

== Video ==
{{Video note|This video does not mention the crafting of [[End Rod]]s.|minor}}

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

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

{{el|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Blaze Rod
|spritetype=item
|nameid=blaze_rod
|id=423
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods.}}
{{History|||snap=Beta 1.9 Prerelease 2|Blaze rods are now used to craft [[blaze powder]].}}
{{History|||snap=Beta 1.9 Prerelease 3|Blaze rods are now used to craft [[brewing stand]]s.}}
{{History||1.8|snap=14w07a|Blaze rods are now held similarly to [[tools]].}}
{{History||1.9|snap=15w44b|Blaze rods are now used to craft [[end rod]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 369.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods. 
|Blaze rods can be used to craft [[blaze powder]] and [[brewing stand]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Blaze rods are now used to craft [[end rod]]s.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods.
|Blaze rods can be used to craft [[blaze powder]] and [[brewing stand]]s.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|Blaze rods are now used to craft [[end rod]]s.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods.
|Blaze rods can be used to craft [[blaze powder]] and [[brewing stand]]s.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* As part of an official collaboration, blaze rods are included in a free add-on for the roleplaying game [https://en.wikipedia.org/wiki/Dungeons_%26_Dragons ''Dungeons and Dragons''].<ref>https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj9uvqlwIT-AhV7LUQIHYlVDiwQFnoECBAQAQ&url=https%3A%2F%2Fwww.minecraft.net%2Fcontent%2Fdam%2Fgames%2Fminecraft%2Fsoftware%2FMinecraft-Monstrous-Compendium.pdf&usg=AOvVaw0aKOqpKAHSH11qgZhN_Bhx</ref> In the game, they are worth 100 gold pieces, create light, and can be broken to create an explosion.

{{items}}

== References ==
{{Reflist}}

[[Category:Renewable resources]]

[[cs:Ohnivá hůl]]
[[de:Lohenrute]]
[[el:Οι ράβδοι των Blaze]]
[[es:Vara de blaze]]
[[fr:Bâton de Blaze]]
[[hu:Lángrúd]]
[[it:Verga di blaze]]
[[ja:ブレイズロッド]]
[[ko:블레이즈 막대]]
[[lzh:炎靈桿]]
[[nl:Blazestaf]]
[[pl:Płomienna różdżka]]
[[pt:Vara de blaze]]
[[ru:Огненный стержень]]
[[th:แท่งเบลซ]]
[[tr:Alaz Çubuğu]]
[[uk:Стрижень Блейза]]
[[zh:烈焰棒]]</li><li>[[Spyglass|Spyglass]]<br/>{{Item
| title = Spyglass
| image = Spyglass.png
| durability = 
| rarity = Common
| renewable = Yes
| stackable = No
}}
 
A '''spyglass''' is a [[tool]] used to zoom in on distant objects.

== Obtaining ==
=== Crafting ===
{{Crafting
  |B1=Amethyst Shard
  |B2=Copper Ingot
  |B3=Copper Ingot
  |Output=Spyglass
  |type=Tool
}}

== Usage ==
[[File:Steve scoping Spyglass.png|right|100px]] [[File:Alex scoping Spyglass.png|right|100px]]

To use a spyglass, the player selects it from the hotbar and clicks {{control|use}} while looking in the desired direction.

Spyglasses are used to zoom in on a specific location in the player's field of view (FOV). The spyglass changes the FOV to {{frac|1|10}} of the FOV set in [[options]]. By default, the FOV is set to 70° in ''Java Edition'' and 60° in Bedrock Edition, resulting in an FOV of 7° in ''Java Edition'' and 6° in Bedrock Edition through the spyglass. The player's FOV can be set from 30° to 110°, so the spyglass FOV can  range from 3° to 11°. Regardless of the situation, or status effects the player has, using the Spyglass always shows a FOV {{frac|1|10}} of the FOV set in [[options]].

A square vignette is applied when in use, similar to the effect when wearing a [[carved pumpkin]]. Pressing {{key|F1}} removes the vignette,{{only|java}}<ref>{{bug|MC-203575||The spyglass overlay goes away when pressing F1|WAI}}</ref><ref>{{bug|MCPE-125869||Spyglass's overlay don't go away even if the player toggles Hide GUI on/ Pressing F1|}}</ref> similar to a carved pumpkin. 

Hazy distant objects remain hazy when viewed in the spyglass. Mobs too distant to render also do not render in the spyglass. The spyglass shows a magnified view of what the player already sees.

The player is slowed down while watching through the spyglass. When the player uses the spyglass continuously for {{convert|1|minute|game tick}}, the interface is automatically closed.

If the player has a certain effect on their screen like [[fire]], the spyglass does not remove that effect on the player's screen.

[[File:Spyglass Zooming.gif|thumb|center|A spyglass being used to zoom in on a [[block of gold]] starting from normal FOV (70°).]]

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Spyglass use.ogg
|subtitle=Spyglass expands
|source=player
|description=When a player uses a spyglass
|id=item.spyglass.use
|translationkey=subtitles.item.spyglass.use
|volume=0.5
|pitch=''varies'' <ref group=sound>Can be 1.15, 1.33, 1.4, or 1.55</ref>
|distance=16}}
{{Sound table
|sound=Spyglass stop.ogg
|subtitle=Spyglass retracts
|source=player
|description=When a player stops using a spyglass
|id=item.spyglass.stop_using
|translationkey=subtitles.item.spyglass.stop_using
|volume=0.5
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 0.9</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Spyglass use.ogg
|source=player
|description=When a player uses a spyglass
|id=item.spyglass.use
|volume=0.5
|pitch=1.15-1.55}}
{{Sound table
|sound=Spyglass stop.ogg
|source=player
|description=When a player stops using a spyglass
|id=item.spyglass.stop_using
|volume=0.5
|pitch=0.8-1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Spyglass
|spritetype=item
|nameid=spyglass
|form=item
|foot=1|id=626}}

== Advancements ==
{{load advancements|Is it a Bird?;Is it a Balloon?;Is it a Plane?}}

== History ==
{{History||October 3, 2020|link={{ytl|DBvZ2Iqmm3M|t=25m21s}}|[[File:Spyglass JE1.png|32px]]<!-- [[File:Spyglass scope (pre-release).png|32px]]--> Spyglasses are revealed at [[Minecraft Live 2020]]. They were originally named "telescopes" and had an oval vignette.}}
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Spyglass JE1.png|32px]] Added spyglasses.
|[[File:Spyglass scope JE1.png|32px]] The scope texture is currently a circle with glare spots.}}
{{History|||snap=20w46a|[[File:Spyglass scope JE2.png|32px]] The scope texture is now a [[glass]] square with a [[copper]] border.}}
{{History|||snap=20w48a|[[File:Spyglass JE2 BE1.png|32px]] The spyglass is now a 3D model instead of a flat sprite.
|[[File:Spyglass (texture) JE2.png|32px]] The texture of the spyglass has changed.
|A spyglass in use is anchored better to the player's "eye" when viewed in 3rd person.}}
{{History|||snap=21w05a|Copper ingots are now renewable via [[drowned]], making spyglasses renewable.}}
{{History|||snap=21w10a|[[File:Spyglass (item) JE3 BE1.png|32px]] Spyglasses have a new texture in the inventory. The 3D model is still used in the hand, similar to [[tridents]].}}
{{History||1.17.1|snap=Pre-release 1|[[File:Spyglass (texture) JE3.png|32px]] The texture of the spyglass model has changed.}}
{{History|bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Spyglass JE2 BE1.png|32px]] [[File:Spyglass (item) JE3 BE1.png|32px]] Added spyglasses.}}
{{History|||snap=beta 1.17.0.52|Spyglasses are now available without enabling [[experimental gameplay]].}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
*If {{command|item replace}} is used to place a spyglass on a player's head, the item appears stuck to the center of the player's face.

== Gallery ==
<gallery>
Villager Spyglass.png|Spying on [[villager]]s through a spyglass.
After using the spyglass at FOV 30 F1.png|Hiding the HUD removes the spyglass overlay.
Panda eating a spyglass.png|When eaten by a [[panda]], spyglasses cause [[missing texture]] particles to be produced.<ref>{{bug|MC-206684}}</ref>
JE 1.17 Development Telescope.jpg|The spyglass was originally called the telescope.
JE 1.17 Development Telescope 2.jpg|The telescope's overlay was originally round instead of square.
File:Ari Spyglass.jpg|How the spyglass looks in the third person.
Steve scoping Spyglass JE1.png|Steve using a spyglass before its 3D model was added.
Alex scoping Spyglass JE1.png|Alex using a spyglass before its 3D model was added.
File:Mangrove Portal.jpg|An [[allay]] peeking into view of [[Noor]]’s spyglass.
</gallery>

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--spyglass Taking Inventory: Spyglass] – Minecraft.net on February 17, 2022

{{Items}}

[[Category:Renewable resources]]

[[de:Fernrohr]]
[[es:Catalejo]]
[[fr:Longue-vue]]
[[it:Cannocchiale]]
[[ja:望遠鏡]]
[[pl:Luneta]]
[[pt:Luneta]]
[[ru:Подзорная труба]]
[[zh:望远镜]]</li></ul>
Added villagers with same AI as pigs and had the name "TESTIFICATE" displayed over their heads as in multiplayer.
1.9pre2
{{Extension DPL}}<ul><li>[[Gray Dye|Gray Dye]]<br/>{{Item
| image = Gray Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Gray dye'''{{fn|Known as '''Grey Dye''' in British, Canadian, Australian, and New Zealand English variants.}} is a [[Dyeing#Secondary colors|secondary color]] dye.

== Obtaining ==

=== Crafting ===

{{Crafting
  |Black Dye
  |White Dye
  |Output=Gray Dye,2
  |type=Material
  |head=1
  |showdescription=1
  |showname=0
}}
{{Crafting
  |Ink Sac;Black Dye;Ink Sac
  |Bone Meal;Bone Meal;White Dye
  |Output=Gray Dye,2
  |type=Material
  |description={{only|bedrock|education}}
  |foot=1
}}

=== Trading ===

[[Wandering trader]]s sell 3 gray dye for an [[emerald]].{{only|bedrock}}

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Gray Dye}}

=== Trading ===
Journeyman-level villagers have a 20% chance to buy 12 gray dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gray Dye
|spritetype=item
|nameid=gray_dye
|aliasid=dye / 8
|id=403
|form=item
|translationkey=item.dye.gray.name
|foot=1}}

== Video ==
{{yt|wGalHy0_fj0}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Gray dye can be now [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Gray dye is now [[crafting|crafted]] using [[black dye|black]] and [[white dye]]s, instead of [[ink sac]] and [[bone meal]].
|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}
{{History|||snap=18w44a|Gray dye can now change the text color on the [[sign]]s to gray.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell gray dyes.}}
{{History|||snap=19w11a|Gray dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Gray dye can now used to craft [[gray candle]]s.}}
{{History|||snap=21w19a|Gray dye can no longer be used to craft gray candles.}}
{{History|||snap=Pre-release 1|Gray dye can once again be used to craft gray candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Gray dye can now change the text color on [[hanging sign]]s to gray.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.8.0|snap=build 1|Gray dye can be [[craft]]ed with [[bone meal]] and an [[ink sac]], despite there being no way of obtaining ink sacs at the time.}}
{{History|||snap=build 3|Gray dye is now available in [[creative]] mode.}}
{{History||v0.9.0|snap=build 3|Gray dye can now be obtained in [[survival]] mode.}}
{{History|||snap=build 11|Gray dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Gray dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Gray dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Gray dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gray dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Gray dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Gray dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Gray dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Gray dye is now [[trading|sold]] by [[wandering trader]]s.
|Gray dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Gray dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of gray dye has been changed from <code>dye/8</code> to <code>gray_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|PS4}}
{{History||1.90|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Notes ==
{{fnlist}}

== References ==
{{Reflist}}

{{Items}}

[[Category:Dyes]]
[[Category:Renewable resources]]

[[cs:Šedé barvivo]]
[[de:Grauer Farbstoff]]
[[es:Tinte gris]]
[[fr:Teinture grise]]
[[hu:Szürke festék]]
[[ja:灰色の染料]]
[[ko:회색 염료]]
[[nl:Grijze kleurstof]]
[[pl:Szary barwnik]]
[[pt:Corante cinza]]
[[ru:Серый краситель]]
[[zh:灰色染料]]</li><li>[[Helmet|Helmet]]<br/>{{Update|Include information about armor trims and updated netherite upgrade information.}}
{{redirect|Cap|mob spawning caps|Spawn}}
{{redirect|Turtle Shell|the item dropped by maturing turtles|Scute}}
{{Item
| image = <gallery>
Leather Cap.png| Leather
Chainmail Helmet.png| Chainmail
Iron Helmet.png| Iron
Diamond Helmet.png| Diamond
Golden Helmet.png| Golden
Netherite Helmet.png| Netherite
Turtle Shell.png| Turtle Shell
</gallery>
| durability = 
* Leather: 55
* Chainmail: 165
* Iron: 165
* Golden: 77
* Diamond: 363
* Netherite: 407
* Turtle Shell: 275
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| stackable = No
}}
'''Helmets''' are a type of [[armor]] that covers the head of the player. There are seven types of helmets: '''leather cap''', '''chainmail helmet''', '''iron helmet''', '''diamond helmet''', '''gold helmet''', '''netherite helmet''', and '''turtle shell'''.

==Obtaining ==

===Crafting===

{{crafting
  |head=1
  |showname=0
  |showdescription=1
  |name=Helmet
   |A2= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
   |B2= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
   |C2= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
    |A3= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
    |C3= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
  |description=
  |Output= Leather Cap;Golden Helmet;Iron Helmet;Diamond Helmet;Turtle Shell
  |type= Combat
}}
{{crafting
  |ignoreusage=1
  |name=[[Helmet]]
  |ingredients=Damaged matching helmet
  |Damaged Leather Cap; Damaged Golden Helmet; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Diamond Helmet; Damaged Turtle Shell; Damaged Netherite Helmet
  |Damaged Leather Cap; Damaged Golden Helmet; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Diamond Helmet; Damaged Turtle Shell; Damaged Netherite Helmet
  |Output= Leather Cap; Golden Helmet; Chainmail Helmet; Iron Helmet; Diamond Helmet; Turtle Shell; Netherite Helmet
  |description= The durability of the two helmets is added together, plus an extra 5% durability.
  |type= Combat
  |foot=1
}}

===Upgrading===

{{Smithing
|head=1
|Netherite Upgrade
|Diamond Helmet
|Netherite Ingot
|Netherite Helmet
|tail=1
}}

===Repairing===
====Grinding====
{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Leather Cap]] or<br>2x Damaged [[Chainmail Helmet]] or<br>2x Damaged [[Iron Helmet]] or<br>2x Damaged [[Golden Helmet]] or<br>2x Damaged [[Diamond Helmet]] or<br>2x Damaged [[Netherite Helmet]] or<br>2x Damaged [[Turtle Shell]]
|Damaged Leather Cap; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Golden Helmet; Damaged Diamond Helmet; Damaged Netherite Helmet; Damaged Turtle Shell
|Damaged Leather Cap; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Golden Helmet; Damaged Diamond Helmet; Damaged Netherite Helmet; Damaged Turtle Shell
|Leather Cap; Chainmail Helmet; Iron Helmet; Golden Helmet; Diamond Helmet; Netherite Helmet; Turtle Shell
|description=The durability of the two helmets are added together, plus an extra 5% durability.
}}

====[[Anvil mechanics#Unit repair|Unit repair]]====
Helmets can be repaired in an [[anvil]] by adding units of the [[armor material]]'s repair material, with each repair material restoring 25% of the helmet's maximum durability, rounded down.

===Mob loot===

If a [[zombie]], [[husk]], [[stray]] or [[skeleton]] is wearing armor, there is a 8.5% chance (9.5% with [[Looting]] I, 10.5% with Looting II and 11.5% with Looting III) for the mob to drop a helmet upon death. The dropped helmet is usually badly damaged, and may be [[enchanted]] with enchantment levels 5-19.

{{IN|bedrock}}, [[vindicator]]s and [[pillager]]s spawned in [[raid]]s have a 8.3525% chance (10.28% on hard) to drop [[iron]] helmets. The dropped helmets are usually badly damaged, and have a 50% chance of being [[enchanted]] with a random [[enchantment]].

===Natural generation===
Two [[armor stand]]s are found in each taiga [[village]] outdoor armory, one of them equipped with an [[iron helmet]].

===Chest loot===
{{IN|BE}}, a sealed room in [[woodland mansion]]s can appear that has a chest sometimes containing an [[Efficiency]] I leather cap.<ref>{{bug|MCPE-109048}}</ref>
{{LootChestItem|leather-cap,random-enchanted-leather-cap,chainmail-helmet,iron-helmet,level-enchanted-iron-helmet,golden-helmet,random-enchanted-golden-helmet,diamond-helmet,damaged-diamond-helmet,level-enchanted-diamond-helmet,damaged-random-enchanted-diamond-helmet,damaged-random-enchanted-diamond-helmet-2}}

===Trading===

{{IN|java}}, novice-level armorer villagers have a 40% chance to sell an iron helmet for 4 emeralds. Journeyman-level armorers have a 40% chance to sell a chainmail helmet for 1 emerald. Master-level armorers always sell an enchanted diamond helmet for 11-27 emeralds. Apprentice-level leatherworker villagers have a {{frac|2|3}} chance to sell a leather cap<ref group="note" name="dye note">The leather armor has a random color created by two dyes (possibly the same dye twice.)</ref> for 5 emeralds. Master-level leatherworker villagers offer the same trade.

Armorer villagers may give the players with the [[Hero of the Village]] effect a chainmail helmet.

{{IN|bedrock}}, novice-level armorer villagers have a 25% chance to sell iron helmet for 5 emeralds, {{frac|1|3}} chance to sell chainmail helmet at journeyman-level for an emerald, and 50% chance to sell enchanted diamond helmet for 8 emeralds at master-level. Apprentice-level leatherworker villagers have a 50% chance to sell leather cap for 5 emeralds as part of their trades, and 50% chance to sell an enchanted leather cap for 5 emeralds at the master level.

{{notelist|columns=1}}

==Usage ==

Helmets can be placed in the top armor slot of a player's [[inventory]] for activation.

===Defense points===

Defense points are each signified by half of a shirt of mail in the armor bar above the health bar. Each defense point reduces any damage dealt to the player that is absorbed by armor by 4%, increasing additively with the number of defense points. Different materials and combinations of armor provide different levels of defense.

The following table shows the number of defense points added by helmets.

{| class="wikitable" data-description="Helmet defense points"
|-
! scope="col" |Material
! scope="col" |
|-
! scope="row" |Leather
|{{armor|1}}
|-
! scope="row" |Golden
| rowspan="4" |{{armor|2}}
|-
! scope="row" |Chainmail
|-
! scope="row" |Iron
|-
! scope="row" |Turtle Shell
|-
! scope="row" |Diamond
| rowspan="2" |{{armor|3}}
|-
! scope="row" |Netherite
|}

===Knockback resistance===
A netherite helmet provides 10% knockback resistance.

===Durability===

The following table shows the amount of damage each piece of armor can absorb before being destroyed.

Any "hit" from a damage source that can be blocked by armor removes one point of durability from each piece of armor worn for every {{hp|4}} of incoming damage (rounded down, but never below 1). Damage taken that armor doesn't protect (such as [[Damage#Fall damage|falling]] or [[Damage#Drowning|drowning]]) does not damage the armor, even if it is enchanted to protect against that type of damage. The following chart displays how many hits helmets can endure.

Netherite armor is not damaged by [[lava]] or [[fire]] when worn.

{| class="wikitable" data-description="Helmet durability"
|-
!Material
!Durability
|-
! scope="row" |Leather
|55
|-
! scope="row" |Golden
|77
|-
! scope="row" |Chainmail
| rowspan="2" |165
|-
! scope="row" |Iron
|-
! scope="row" |Turtle Shell
|275
|-
! scope="row" |Diamond
|363
|-
! scope="row" |Netherite
|407
|}

====Repair====

Helmets may be [[item repair|repaired]] by using them along with some of their crafting material (leather, gold ingots, iron ingots, diamonds or netherite) in an [[anvil]]. Chainmail helmets may be repaired in this way with iron ingots. They may also be repaired by crafting them together with another helmet of like material.

===Enchantments===
A helmet can receive the following [[enchantment]]s. Note that while iron and chainmail have the same durability, chainmail has a higher [[Tutorials/Enchanting mechanics#Enchantability|enchantability]] than iron or diamond.
{| class="wikitable"
|-
!Enchantment !!Max Level !!Notes
|-
|[[Fire Protection]]|| IV ||<ref group="note" name="exclusive">Fire Protection, Blast Protection, Projectile Protection and Protection are mutually exclusive</ref>
|-
|[[Projectile Protection]]|| IV ||<ref group="note" name="exclusive" />
|-
|[[Blast Protection]]|| IV ||<ref group="note" name="exclusive" />
|-
|[[Protection]]|| IV ||<ref group="note" name="exclusive" />
|-
|[[Unbreaking]]||III
|
|-
|[[Respiration]]||III
|
|-
|[[Aqua Affinity]]||I
|
|-
|[[Thorns]]||III ||<ref group="note" name="anvil">Only from using an [[anvil]] and [[enchanted book]]s.</ref>
|-
|[[Mending]]||I ||<ref group="note" name="anvil2">Only from chest loot, fishing, or an anvil and enchanted books.</ref>
|-
|[[Curse of Binding]]||I ||<ref group="note" name="anvil2" />
|-
|[[Curse of Vanishing]]||I ||<ref group="note" name="anvil2" />
|}
{{notelist}}

===Turtle shell effect===

Equipping a {{ItemSprite|Turtle Shell}} turtle shell provides the {{EffectLink|Water Breathing}} status effect, allowing the player to remain underwater for an additional 10 seconds. The time that this effect lasts does not begin to count down until the player dives underwater, then the 10 seconds are counted down. The effect immediately recharges after exposure to air.

===Brewing ingredient===
A turtle shell can also be used as a potion brewing ingredient.
{{Brewing
 |Turtle Shell
 |Potion of the Turtle Master
 |Potion of the Turtle Master
 |Potion of the Turtle Master
 |showname=1
}}

===Smelting usage===

{{Smelting|showname=1|Iron Helmet;Chainmail Helmet;Golden Helmet|Iron Nugget;Iron Nugget;Gold Nugget|0,1}}
===Piglins===
{{EntityLink|Piglin|Piglins}} are attracted to ''golden'' helmets and pick them up, examining them for 6 to 8 seconds. Piglins can wear other helmets but are not attracted to them. They prefer stronger helmets over weaker helmets, with one exception: They always prefer golden helmets, throwing out stronger helmets in favor of gold helmets. Enchanted helmets are preferred over unenchanted helmets.

==Sounds ==
{{el|je}}:
{{Sound table
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|subtitle=Leather armor rustles
|source=player
|description=When a leather helmet is equipped
|id=item.armor.equip_leather
|translationkey=subtitles.item.armor.equip_leather
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|subtitle=Chain armor jingles
|source=player
|description=When a chainmail helmet is equipped
|id=item.armor.equip_chain
|translationkey=subtitles.item.armor.equip_chain
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|subtitle=Iron armor clanks
|source=player
|description=When an iron helmet is equipped
|id=item.armor.equip_iron
|translationkey=subtitles.item.armor.equip_iron
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|subtitle=Gold armor clinks
|source=player
|description=When a gold helmet is equipped
|id=item.armor.equip_gold
|translationkey=subtitles.item.armor.equip_gold
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|subtitle=Diamond armor clangs
|source=player
|description=When a diamond helmet is equipped
|id=item.armor.equip_diamond
|translationkey=subtitles.item.armor.equip_diamond
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|subtitle=Netherite armor clanks
|source=player
|description=When a netherite helmet is equipped
|id=item.armor.equip_netherite
|translationkey=subtitles.item.armor.equip_netherite
|volume=0.8
|pitch=1.0/0.9
|distance=16}}
{{Sound table
|sound=Equip turtle shell.ogg
|subtitle=Turtle Shell thunks
|source=player
|description=When a turtle shell is equipped
|id=item.armor.equip_turtle
|translationkey=subtitles.item.armor.equip_turtle
|volume=1.0
|pitch=1.0/0.85/1.1
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a helmet's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|source=player
|description=When a leather helmet or a turtle shell is equipped
|id=armor.equip_leather
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|source=player
|description=When a chain helmet is equipped
|id=armor.equip_chain
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|source=player
|description=When an iron helmet is equipped
|id=armor.equip_iron
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|source=player
|description=When a gold helmet is equipped
|id=armor.equip_gold
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|source=player
|description=When a diamond helmet is equipped
|id=armor.equip_diamond
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|source=player
|description=When a netherite helmet is equipped.
|id=armor.equip_netherite
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=2
|sound=Water Splash Old.ogg
|source=block
|description=When a leather helmet is dyed using a cauldron
|id=cauldron.dyearmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When a leather helmet's dye is removed using a cauldron
|id=cauldron.cleanarmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a helmet's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

==Data values ==
=== ID===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Leather Cap
|spritetype=item
|nameid=leather_helmet
|itemtags=freeze_immune_wearables
|form=item}}
{{ID table
|displayname=Chainmail Helmet
|spritetype=item
|nameid=chainmail_helmet
|form=item}}
{{ID table
|displayname=Iron Helmet
|spritetype=item
|nameid=iron_helmet
|form=item}}
{{ID table
|displayname=Diamond Helmet
|spritetype=item
|nameid=diamond_helmet
|form=item}}
{{ID table
|displayname=Golden Helmet
|spritetype=item
|nameid=golden_helmet
|form=item}}
{{ID table
|displayname=Netherite Helmet
|spritetype=item
|nameid=netherite_helmet
|form=item}}
{{ID table
|displayname=Turtle Shell
|spritetype=item
|nameid=turtle_helmet
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leather Cap
|spritetype=item
|nameid=leather_helmet
|id=335
|form=item}}
{{ID table
|displayname=Chainmail Helmet
|spritetype=item
|nameid=chainmail_helmet
|id=339
|form=item}}
{{ID table
|displayname=Iron Helmet
|spritetype=item
|nameid=iron_helmet
|id=343
|form=item}}
{{ID table
|displayname=Diamond Helmet
|spritetype=item
|nameid=diamond_helmet
|id=347
|form=item}}
{{ID table
|displayname=Golden Helmet
|spritetype=item
|nameid=golden_helmet
|id=351
|form=item}}
{{ID table
|displayname=Netherite Helmet
|spritetype=item
|nameid=netherite_helmet
|id=609
|form=item}}
{{ID table
|displayname=Turtle Shell
|spritetype=item
|nameid=turtle_helmet
|id=573
|form=item
|foot=1}}

===Item data===
When leather caps are dyed, it has the following NBT:
<div class="treeview">
*{{nbt|compound|tag}}: Parent tag.
**{{nbt|compound|display}}: Display properties. 
***{{nbt|int|color}}: The color of the leather armor. The tooltip displays "Dyed" if advanced tooltips are disabled, otherwise it displays the hexadecimal color value. Color codes are calculated from the Red, Green and Blue components using this formula:<br>'''<span style="color:red">Red</span>[[wikipedia:Logical shift|<<]]16 + <span style="color:green">Green</span><<8 + <span style="color:blue">Blue</span>'''<ref>For positive values larger than 0x00FFFFFF, the top byte is ignored. All negative values produce white.</ref>
</div>

==Achievements ==
{{load achievements|Iron Man;Tie Dye Outfit;Cover me in debris;Oooh, shiny!}}

==Advancements ==
{{load advancements|Suit Up;Cover me With Diamonds;Oh Shiny;Cover Me in Debris;A Furious Cocktail;How Did We Get Here}}

==History ==
{{History|java classic}}
{{History||August 13, 2009|link=wordofnotch:162091556|Notch tested armor models on [[mob (entity)|mob]]. Only [[chestplate]]s and helmets were available. They were merely aesthetic at the time and had no effect on gameplay.}}
{{History||0.24_SURVIVAL_TEST|[[File:Plate Helmet.png|32px]] Added [[Java_Edition_removed_features#Armor_in_Survival_Test|plate helmet]]s.
|[[File:Chainmail Helmet JE1.png|32px]] Added the model and the texture for unused [[Java_Edition_removed_features#Armor_in_Survival_Test|chain helmet]]s.
|[[File:Zombie full set.png|32px]] [[File:Skeleton helmet.png|26px]] Plate armor models have been tested on [[zombie]]s and [[skeleton]]s. It had no effect on gameplay.}}
{{History|java indev}}
{{History||0.31|snap=20091223-1|Plate and chain armor [[model]]s are no longer used.}}
{{History|||snap=20091231-2|[[File:Leather Cap (item) JE1 BE1.png|32px]] [[File:Studded Helmet (item) JE1.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] Added [[item]]s of relation to leather, [[History of textures/Unused textures#Studded armor|studded]], chainmail and plate (iron) helmets.
|The textures of leather helmets are taken from one of [[Notch]]'s previous games, ''[[Legend of the Chambered]]''. The rest are from ''[[Legend of the Chambered 2]]''.}}
{{History||20100206|[[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added items of golden and diamond helmets.
|Removed leather-chain helmets.}}
{{History||20100212-1|Added armor models.
|[[File:Indev 20100212 armor.png|50px]] Armor models are now displayed on the [[player]] in the [[inventory]].}}
{{History||20100218|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]] Added models of leather, chainmail, iron, gold, and diamond helmets.
|Helmets can now be [[crafting|crafted]] and worn.
|Helmets now function. All helmets give {{Armor|3}}. Helmets have limited [[item durability|durability]], with lower tier helmets less durable than higher tier helmets.}}
{{History|java alpha}}
{{History||v1.0.8|With the introduction of [[leather]], "Cloth Cap" has been renamed to "Leather Cap".
|Leather cap is now [[crafting|crafted]] with leather instead of [[wool|cloth]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|The armor protection behavior has been changed. Prior to this update, the total armor protection is based in this equation: (((''total equipped armor damage reduction'' − 1) × (''all equipped armor max damage'' − ''total equipped armor damage'')) ÷ (''total equipped armor max damage'' + 1)). Armor no longer reduces certain damage types to be covered by enchantments.}}
{{History|||snap=October 3, 2011|slink={{tweet|notch|120859830339637249}}|The first images of a [[player]] wearing enchanted armor are revealed.}}
{{History|||snap=Beta 1.9 Prerelease 3|Iron helmets can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Helmets can now be [[enchanting|enchanted]].}}
{{History||1.1|snap=12w01a|Iron helmets can now be found in the new blacksmith [[chest]]s in [[village]]s.}}
{{History||1.2.1|snap=12w06a|[[Zombie]]s now drop iron helmets on rare occasions and [[zombie pigman|zombie pigmen]] now drop golden helmets.}}
{{History||1.3.1|snap=12w15a|{{key|Shift}}+clicking can now be used to wear helmets.}}
{{History|||snap=12w21a|Chain helmets can now be obtained legitimately in [[survival]] mode through [[trading]].
|Blacksmith [[villager]]s now [[trading|sell]] chain helmets for 5–6 emeralds.
|Blacksmith villagers now sell diamond helmets for 7 emeralds.
|Blacksmith villagers now sell iron helmets for 4–5 emeralds.
|Butchers now sell leather caps for 2–3 emeralds.}}
{{History||1.4.2|snap=12w32a|[[Mob]] armor has been reintroduced. A partial or full set of any armor is now sometimes worn by [[zombie]]s, [[skeleton]]s and [[zombified piglins|zombie pigmen]], with the likelihood increasing with difficulty.}}
{{History|||snap=August 17, 2012|slink={{tweet|Dinnerbone|236445090929844225}}|[[Jeb]] and [[Dinnerbone]] tweeted pictures of [[dye]]able leather armor.}}
{{History|||snap=12w34a|Leather helmets can now be dyed by [[crafting]] a leather armor piece with [[dye]]s. Dyes can be removed by {{control|use|text=using}} dyed leather armor on a [[cauldron]] with [[water]].
|[[File:Leather Cap JE2.png|32px]] [[File:Leather Cap (item) JE2.png|32px]] Default leather caps textures are now slightly darker.}}
{{History|||snap=12w36a|[[Dye]]d leather caps are now more saturated and have a slight tint of tan in respect to the default armor color.}}
{{History|||snap=12w37a|[[File:Leather Cap JE3 BE2.png|32px]] [[File:Leather Cap (item) JE3 BE2.png|32px]] Leather armor now has non-dyed parts on the cap. This has been implemented so that [[player]]s can distinguish between other types of helmets and similarly colored leather caps.}}
{{History||1.5|snap=13w04a|Helmets in the [[player]]'s hand can now be equipped by right-clicking.
|[[Dispenser]]s can now equip nearby players with helmets.}}
{{History||1.8|snap=14w02a|[[Trading|Trades]] changed: armorer [[villager]]s now [[trading|sell]] chain helmets for 5–7 emeralds.
|Armorer villagers no longer sell diamond helmets.
|Armorer villagers now sell iron helmets for 4–6 emeralds.
|Leatherworkers no longer sell other leather caps.}}
{{History|||snap=14w05a|Helmets no longer turns red when [[mob]]s and [[player]]s are hurt.}}
{{History|||snap=14w06a|Helmets are now visible on [[giant]]s.}}
{{History|||snap=14w25a|Chain helmets [[Java Edition removed features#Chainmail armor|cannot be crafted anymore]] due to the [[item]] form of [[fire]] being [[Java Edition removed features#Obtainable until 1.8|removed]].}}
{{History||1.9|snap=15w31a|Enchanted iron and diamond helmets can now be found in [[end city]] ship [[chest]]s.
|[[Mob]]s now wear armor from the bottom to the top, rather than from the top to the bottom. This means that a mob with three armor pieces, for example, spawn with all armor except a helmet.}}
{{History|||snap=15w34b|Helmet [[item durability|durability]] now affects armor value.}}
{{History|||snap=15w36a|Armor and armor [[enchanting|enchantment]] calculations have been changed. For the original values, see [[Armor/Before 1.9|here]].}}
{{History|||snap=15w36d|Helmet durability affecting value has been removed.
|Helmets now has an attribute controlling the defense points.}}
{{History|||snap=15w50a|Added <code>equip</code> [[sound]]s for leather armor.}}
{{History|||snap=16w02a|Armor and armor enchantment calculations have been changed again.}}
{{History|||snap=16w05a|Armor calculations have been changed, once again.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 298, 302, 306, 310 and 314.}}
{{History|||snap=18w07a|[[File:Turtle Shell.png|32px]] [[File:Turtle Shell (item) JE1 BE1.png|32px]] Added turtle shells.}}
{{History|||snap=18w09a|Golden helmets now have a chance of generating in [[underwater ruins]].}}
{{History|||snap=18w11a|Enchanted leather caps can now generate in the chests of [[shipwreck]]s.}}
{{History|||snap=18w20a|"Chain Helmet" has now been renamed to "Chainmail Helmet".}}
{{History||1.14|snap=18w43a|[[File:Leather Cap JE4 BE2.png|32px]] [[File:Chainmail Helmet JE3 BE2.png|32px]] [[File:Iron Helmet JE2 BE2.png|32px]] [[File:Golden Helmet JE2 BE2.png|32px]] [[File:Diamond Helmet JE2 BE2.png|32px]]<br>[[File:Leather Cap (item) JE4 BE3.png|32px]] [[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Golden Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Helmet (item) JE2 BE2.png|32px]] The textures of all types of helmets have been changed.}}
{{History|||snap=18w48a|Leather caps can now be found in [[chest]]s in [[village]] tanneries.}}
{{History|||snap=18w50a|Iron helmets can now be found on [[armor stand]]s in [[taiga]] villages.}}
{{History|||snap=19w08a|[[File:Golden Helmet (item) JE3 BE3.png|32px]] The textures of gold helmet [[item]]s have been changed.}}
{{History|||snap=19w11a|Armorer villagers now sell enchanted diamond helmets, making diamond helmets effectively [[renewable resource|renewable]] again.
|Leatherworker villagers now sell randomly [[dye]]d leather caps.}}
{{History|||snap=19w13a|Armorer villagers now give chainmail helmets to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|[[File:Netherite Helmet JE1.png|32px]] [[File:Netherite Helmet (item) JE1.png|32px]] Added netherite helmets.}}
{{History|||snap=20w07a|[[File:Leather piglin helmet.png|32px]] [[File:Chainmail piglin helmet.png|32px]] [[File:Iron piglin helmet.png|32px]] [[File:Golden piglin helmet.png|32px]] [[File:Diamond piglin helmet.png|32px]] [[File:Netherite piglin helmet JE1.png|32px]] Added textures and [[model]]s for all helmets when they are used by [[piglin]]s.
|Netherite helmets are now obtained by combining one diamond armor piece and one netherite ingot in a crafting table.
|[[File:Turtle Shell piglin MC-172110.png|32px]] Turtle shells, when used by piglins and [[zombified piglin]]s, result in a [[missing texture]] when being displayed.<ref>{{Cite bug|MC|172110|Texture of turtle shells is missing when worn by a piglin or zombified piglin|date=February 14, 2020}}</ref>}}
{{History|||snap=20w09a|[[File:Diamond Helmet (item) JE3 BE3.png|32px]] The textures of diamond helmet [[item]]s have been changed.}}
{{History|||snap=20w10a|[[File:Netherite Helmet JE2 BE1.png|32px]] [[File:Netherite Helmet (item) JE2 BE1.png|32px]] The texture of netherite helmets has been changed.
|[[File:Netherite piglin helmet.png|32px]] The texture of netherite helmets for [[piglin]]s has been changed.
|Netherite helmets can no longer be [[crafting|crafted]].
|Netherite helmets are now obtained by combining one diamond helmet and one netherite ingot in a [[smithing table]].}}
{{History|||snap=20w16a|Golden and netherite helmets now generate randomly [[enchanting|enchanted]], and sometimes [[damage]]d, in [[bastion remnant]] and [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds helmets now generate in place of netherite helmets in bastion remnant [[chest]]s.}}
{{History|||snap=pre3|The special helmet [[model]]s and textures created for [[piglin]]s have been removed except for leather helmets.}}
{{History||1.17|snap=20w48a|Wearing a leather helmet now prevents [[Powder Snow#Freezing|freezing]] entirely.}}
{{History|||snap=21w13a|The two unused textures of the leather cap for [[piglin]]s<ref><code>/assets/minecraft/textures/models/armor/piglin_leather_layer_1.png</code></ref><ref><code>/assets/minecraft/textures/models/armor/piglin_leather_layer_1_overlay.png</code></ref> have been removed.}}
{{History||1.18.2|snap=22w03a|Netherite helmet knockback resistance is no longer random.}}
{{History||1.19|snap=22w17a|[[File:Leather Cap JE5.png|32px]] The texture of the leather cap item has been changed.|Changed the leather cap texture when worn so the center bar now extends to the bottom of the back face.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Non-leather helmets can now be trimmed using a [[smithing table]].
|There are 10 types of material that determine the color of the trim:
*Iron
*Copper
*Gold
*Lapis
*Emerald
*Diamond
*Netherite
*Redstone
*Amethyst
*Quartz
|Upgrading diamond helmets to netherite helmets now requires the netherite upgrade [[smithing template]].}}
{{History|||snap=23w05a|Leather caps can now be trimmed using a smithing table.|Helmets can now have trims of the same material it is made out of.}}
{{History|||snap=23w06a|Swapped {{cd|iron}} and {{cd|iron_darker}} palette, then made {{cd|iron_darker}} darker overall.}}
{{History||1.19.4|snap=23w05a|Helmets can now be swapped by {{ctrl|using}} them in the hotbar.<ref>{{bug|MC-216270|||Fixed}}</ref>}}
{{History||?|Helmets can now be swapped in [[armor stand]]s by {{ctrl|using}} them/[[head]]s/[[carved pumpkin]]s in the armor stand's slot.}}
{{History||1.20|snap=23w12a|The pattern textures of dune and sentry armor trims are changed.|Those previous patterns were left with different names: dune was renamed sentry and sentry was renamed shaper.}}

{{History|pocket alpha}}
{{History||v0.6.0|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]]<br>[[File:Leather Cap (item) JE1 BE1.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added helmets.}}
{{History||v0.8.0|snap=build 2|[[File:Leather Cap (item) JE3 BE2.png|32px]] The leather helmet sprite has been changed to that of {{el|je}}, but its armor [[model]] remains that of older versions.}}
{{History||v0.9.0|snap=build 1|Iron helmets now naturally generate in [[village]] [[chest]]s and in [[stronghold]] altar chests.}}
{{History||v0.11.0|snap=build 11|Helmets now protect against [[damage]] from [[mob]]s only.}}
{{History||v0.12.1|snap=build 1|Helmets can now be worn by mobs.
|Chainmail helmets can now be obtained in [[survival]] mode from a mob wearing it.}}
{{History||?|Helmets no longer turn red when [[mob]]s and [[player]]s are hurt.}}
{{History||v0.14.0|snap=build 1|[[File:Leather Cap JE3 BE2.png|32px]] The texture of leather helmets have been changed.
|Leather helmets can now be dyed.}}
{{History||v0.15.0|snap=build 1|Helmets can now be obtained from [[stray]]s and [[husk]]s that naturally spawn with armor.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron helmets and enchanted diamond helmets can now be found inside [[chest]]s within [[end city|end cities]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Iron helmets and chainmail helmets are now [[trading|sold]] by armorer smith [[villager]]s via trading.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Golden, chain and iron helmets can now be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Chainmail helmets now generate in [[buried treasure]] chests.
|Enchanted leather helmets can now be found inside [[shipwreck]] supply room [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Golden helmets can now be found inside [[underwater ruins]] chests.}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Turtle Shell.png|32px]] [[File:Turtle Shell (item) JE1 BE1.png|32px]] Added turtle shells.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Leather Cap JE4 BE2.png|32px]] [[File:Chainmail Helmet JE3 BE2.png|32px]] [[File:Iron Helmet JE2 BE2.png|32px]] [[File:Golden Helmet JE2 BE2.png|32px]] [[File:Diamond Helmet JE2 BE2.png|32px]]<br>[[File:Leather Cap (item) JE4 BE3.png|32px]] [[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Golden Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Helmet (item) JE2 BE2.png|32px]] The textures of all types of helmets have been changed.
|Iron helmets now can be found in plains [[village]] weaponsmith [[chest]]s.
|Leather helmets can now be found inside plains village tannery chests.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron helmets now can be found in [[savanna]], [[taiga]], [[desert]], [[snowy taiga]] and [[snowy tundra]] [[village]] weaponsmith [[chest]]s.
|Leather helmets can now be found inside savanna, taiga, desert, snowy taiga and snowy tundra village tannery chests.
|Iron helmets can now be found in [[village]] armorer chests.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron helmets.
|Diamond helmets are now sold by armorer villagers.}}
{{History||1.11.0|snap=beta 1.11.0.5|[[File:Golden Helmet (item) JE3 BE3.png|32px]] The textures of gold helmet [[item]]s have been changed.}}
{{History||1.12.0|snap=beta 1.12.0.2|[[File:Armor Stand with Leather Armor MCPE-44669.png|32px]] Leather armor no longer shows as being [[dye]]d properly when worn by [[armor stand]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Leather armor now appears properly dyed when worn by armor stands.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Helmet JE2 BE1.png|32px]] [[File:Netherite Helmet (item) JE2 BE1.png|32px]] Added netherite helmets.
|[[File:Diamond Helmet (item) JE3 BE3.png|32px]] The textures of diamond helmet [[item]]s have been changed.
|Helmets can now be obtained from [[piglin]]s that naturally spawn with golden helmets.}}
{{History|||snap=beta 1.16.0.57|Golden and netherite helmets now generate randomly [[enchanting|enchanted]], and sometimes [[damage]]d, in [[bastion remnant]] chests.
|Netherite helmets can no longer be [[crafting|crafted]].
|Netherite helmets are now obtained by combining one diamond helmet and one netherite ingot in a [[smithing table]].}}
{{History|||snap=beta 1.16.0.63|Diamonds helmets now generate in place of netherite helmets in bastion remnant [[chest]]s.}}
{{History|||snap=beta 1.16.200.53|Netherite helmets now gives a 90% reduction in knockback.}}
{{History||1.16.210|snap=beta 1.16.210.53|Wearing leather helmets now prevents [[Powder Snow#Freezing|freezing]] entirely.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]]<br>[[File:Leather Cap (item) JE1 BE1.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added helmets.
|Added a quick equip for armor to the [[inventory]] interface.}}
{{History||xbox=TU12|ps=1.03|[[File:Leather Cap JE3 BE2.png|32px]] [[File:Leather Cap (item) JE3 BE2.png|32px]] The textures for leather helmets have been changed.}}
{{History||xbox=TU14|ps=1.05|Leather helmets can now be [[dye]]d.
|[[Item repair]] can now repair helmets.}}
{{History||xbox=TU25|xbone=CU13|ps=1.16|Helmets now have the quick equip functionality.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Golden, chain and iron helmets can now be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|PS4}}
{{History||1.90|[[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Golden Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Helmet (item) JE2 BE2.png|32px]] The textures of all types of helmet items have been changed (except for the leather helmets).}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]]<br>[[File:Leather Cap (item) JE3 BE2.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added helmets.}}
{{History|foot}}
<gallery>
File:ArmorModel Aug 13 2009.jpg|First image of armor.
File:DinnerboneArmor.png|[[Dinnerbone]]'s first screenshot of dyed armor.
File:ArmorPE.png
</gallery>

;Armor durability from Indev until late Beta
{| class="wikitable" data-description="Armor Durability during Indev until late Beta" style="text-align:center;"
|-
!Leather
!Golden
!Chainmail
!Iron
!Diamond
|-
|33
|66
|66
|132
|264
|}

==Issues ==

{{issue list}}

==Trivia ==
*Unlike the other helmets, the netherite helmet covers most of the player's face, due to a nose guard and cheek plates.
*The turtle shell is the only helmet that is not part of a complete set.
* In Bedrock Edition, there exists a bug<ref>{{Cite bug|MCPE|109048|Efficiency 1 Leather Cap in Woodland Mansions|date=December 1, 2020}}</ref> that makes it possible to obtain a Leather Cap enchanted with Efficiency I from [[Woodland Mansion]] chests with a chance of 1.45%. The enchantment has no effect on the cap, however.

==Gallery ==
<gallery>
File:Zombie helmet.png|A zombie wearing a helmet in [[Survival Test]].
</gallery>
===Enchanted Helmets===
<gallery>
File:Enchanted Leather Cap (item).gif
File:Enchanted Chainmail Helmet (item).gif
File:Enchanted Iron Helmet (item).gif
File:Enchanted Golden Helmet (item).gif
File:Enchanted Diamond Helmet (item).gif
File:Enchanted Netherite Helmet (item).gif
File:Enchanted Turtle Shell (item).gif
</gallery>
<gallery>
File:Enchanted Leather Helmet.gif
File:Enchanted Chainmail Helmet.gif
File:Enchanted Iron Helmet.gif
File:Enchanted Golden Helmet.gif
File:Enchanted Diamond Helmet.gif
File:Enchanted Netherite Helmet.gif
File:Enchanted Turtle Shell.gif
</gallery>

==References ==
{{reflist}}

==External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--helmet Taking Inventory: Helmet] – Minecraft.net on February 20, 2020

{{Items}}

[[Category:Armor]]

[[es:Casco]]
[[ja:ヘルメット]]
[[ko:투구]]
[[pt:Capacete]]
[[pl:Hełm]]
[[zh:头盔]]</li></ul>
Removed "TESTIFICATE" name above villager's heads.
r
11w49a
{{Extension DPL}}<ul><li>[[Minecart with Command Block|Minecart with Command Block]]<br/>{{ItemEntity
|renewable=No
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|image=Minecart with Command Block.gif
|image2=Minecart with Command Block BE.gif
|invimage1=Minecart with Command Block
|networkid=10
|drops={{drop|Item|Minecart|1}}
|health={{hp|6}}
|rarity=Epic
}}

A '''minecart with command block''' is an impulse{{only|java|short=y}} or repeating{{only|bedrock|education|short=y}} [[command block]] inside a [[minecart]].

== Obtaining ==

The minecart with command block is obtainable only using the [[command]] {{cmd|give @s command_block_minecart}}, as it does not appear in the creative inventory{{only|BE}} and has no [[crafting]] recipe. It can also be summoned using the command {{cmd|summon command_block_minecart}}. It can be broken like any other minecart, but only the minecart is retained, while the command block is lost.

== Usage ==
{{main|Command Block}}
The minecart with command block combines the functionalities of both minecarts and command blocks. Although the minecart visually contains an impulse command block, it functions more similarly to a repeating command block, and runs its command once every four game [[tick]]s when on an active [[activator rail]]. When it passes over a [[detector rail]] with a [[comparator]] connected next to it, it outputs the command block's result.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts with command blocks use the Friendly Creatures sound category for entity-dependent sound events.<ref group="sound" name="rollsource">{{bug|MC-42132}}</ref>
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls
|source=Friendly Creatures <ref group=sound name=rollsource/>
|overridesource=1
|description=While a minecart with command block is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart with command block is moving
|id=minecart.base
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritetype=item
|nameid=command_block_minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritetype=entity
|nameid=command_block_minecart
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritetype=item
|nameid=command_block_minecart
|id=563
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritename=minecart-with-repeating-command-block
|spritetype=entity
|nameid=command_block_minecart
|id=100
|foot=1}}

=== Entity data ===
Minecarts with command blocks have entity data associated with them that contain various properties of the entity. 

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

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

== History ==
{{History|java}}
{{History||1.7.2|snap=13w39a|[[File:Minecart with Command Block JE1.png|32px]] [[File:Minecart with Command Block (item) JE1 BE2.png|32px]] Added minecart with command block.}}
{{History||1.9|snap=15w34a|[[File:Minecart with Command Block JE2.png|32px]] The texture of the [[command block]] in the [[minecart]] has been removed due to the new texture and types for the command block.}}
{{History|||snap=15w35a|[[File:Minecart with Command Block JE3.png|32px]] The texture of the command block has been changed.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartCommandBlock</code> to <code>commandblock_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 422.}}
{{History|||snap=pre5|The entity ID has been changed to <code>command_block_minecart</code>.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Command Block JE4.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The textures of the minecart with command block has been changed.}}
{{History||1.17|snap=21w20a|Minecart with command block [[Rarity|rarity color]] was changed from common to epic.}}
{{History||1.19.3|snap=22w44a|Minecart with command block is now available in the creative inventory, but only if cheats are enabled.}}
{{History|||snap=22w45a|Moved the minecart with command block behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}}

{{History|pocket}}
{{History||1.0.5|snap=alpha 1.0.5.0|[[File:Minecart with Command Block BE1.png|32px]] [[File:Minecart with Command Block (item) BE1.png|32px]] Added minecart with command block. The [[minecart]] has a [[repeating command block]] in it, instead of an impulse command block.}}
{{History||1.1.0|snap=alpha 1.1.0.0|The entity ID has been changed from <code>minecartcommandblock</code> to <code>command_block_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Command Block BE2.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The texture of the minecart with command block has been changed. Also the item texture has been changed to match {{el|je}}'s.<ref>{{bug|MCPE-42990}}</ref>}}
{{History|console}}
{{History||xbox=?|xbone=?|ps=?|wiiu=?|switch=?|Added minecart with command blocks. This only exists as an item, as placing it will result in a normal minecart being placed. The command block in the minecart cannot be modified via NBT editing and it has an unused tooltip stating "Used to execute commands on the move!".}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:Minecart with command block 13w39b.png|A minecart with command block in [[1.16.4]].
File:A minecart command block testing the block in the red bucket with air.png|A minecart command block testing the block in the red area with [[air]].
</gallery>

==References==
{{Reflist}}

{{Items}}

{{Entities}}

[[de:Befehlsblocklore]]
[[fr:Wagonnet à bloc de commande]]
[[it:Carrello da miniera]]
[[ja:コマンドブロック付きのトロッコ]]
[[nl:Mijnkar met opdrachtblok]]
[[pl:Wagonik z blokiem poleceń]]
[[pt:Carrinho de mina com bloco de comando]]
[[ru:Вагонетка с командным блоком]]
[[uk:Вагонетка з командним блоком]]
[[zh:命令方块矿车]]</li><li>[[Book and Quill|Book and Quill]]<br/>{{For|the item produced after a Book and Quill is signed|Written Book}}
{{Item
| image = Book and Quill.png
| renewable = Yes 
| stackable = No
}}

A '''book and quill''' is an [[item]] used to write [[written book]]s.

== Obtaining ==

=== Crafting ===

{{Crafting
|Book
|Ink Sac
|Feather
|Output= Book and Quill
|type= Miscellaneous
}}

=== Natural generation ===

{{LootChestItem|book-and-quill}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Writing ===

By pressing {{control|use item}} or long pressing screen anywhere{{only|bedrock}} while holding a book and quill in their hand, the [[player]] can open a text editor GUI.

Using this GUI, the player can write a single book up to 100{{only|java}} or 50{{only|bedrock}} pages long, with up to 798 characters per page. The player can write up to 79,800{{only|java}} or 12,800{{only|bedrock}} characters inside the entire book. No page may be longer than 14 lines and each line can have a width of 114 pixels (see pixel width of each character [[Language#Font|here]]). 

The player has the ability to copy and paste into books. However, the paste does not work if the text being pasted is longer than a single page. Most Unicode characters are available in books, and they may be pasted in without issue.

In singleplayer, the world pauses while a book is being edited.{{only|java}}

=== Lecterns ===

One can place a book and quill or a [[written book]] on an empty [[lectern]].

The lectern then emits a redstone signal depending on the displayed page in the book. On the last page, the lectern emits a signal strength of 15. This is why lecterns are listed in the "redstone" tab in the [[creative inventory]].

=== Formatting codes ===
{{main|Formatting codes}}
{{exclusive|bedrock|section=1}}

Text in a book can be styled using codes starting with the {{key|§}} character (section sign).
* {{key|§}} + {{key|k}} creates randomly changing characters.
* {{key|§}} + {{key|l}} creates bold text.
* {{key|§}} + {{key|m}} creates strikethrough text.
* {{key|§}} + {{key|n}} creates underlined text.
* {{key|§}} + {{key|o}} creates italic text.
* {{key|§}} + {{key|0}} – {{key|f}} (hexadecimal) creates colored text. 
* {{key|§}} + {{key|r}} resets any of the previous styles so text after it appears normally.

If the [[player]] uses multiple codes, and continue typing past the end of a line, the next line exhibits only the last formatting code used.

=== Signing ===

Books can be signed by pressing the "Sign" button while in the interface. {{IN|java}}, when signed, a book bears the name of the player who wrote it and a title chosen upon signing. {{IN|bedrock}}, the book doesn't display the name of the player as the author; instead, the author can be any text the player wants. After it has been signed, it cannot be edited again – it has turned into a [[written book]].

Special characters can be used in the title, if typed from a keyboard that supports them. Alt codes do not work, and the {{key|§}} character cannot be typed even using a keyboard that implements it, meaning titles cannot be colored or formatted in-game. However, on Linux using the compose key to produce special characters does work.

The title of the book can be up to 16 characters long, and the player cannot paste into a title. A "workaround" for the 16-character limitation is to manually rename the book at an [[Anvil#Renaming|anvil]], which always costs 1 [[Experience|experience level]]. This can be done with either a written book or a book and quill – both versions will always display the changed name. If a custom name is removed from a written book, it will revert back to the title it was given during the signing process.

=== Chiseled bookshelf ===
{{control|Use|text=Using}} the [[chiseled bookshelf]] while having a book and quill in the main hand will put the book inside the chiseled bookshelf.

=== Trading ===
{{IN|bedrock}}, expert-level librarian [[villager]]s buy 2 books and quills for one [[emerald]]. Book and quill is offered in two item slots due to being non-stackable.

{{IN|java}}, expert-level librarian villagers have a 50% chance to buy 2 books and quills for one emerald. The amount of books and quills needed is supposed to be 2, but due to the item being non-stackable, only one is needed for the trade.<ref>{{bug|MC-248042||Librarian's book and quill trade is always discounted to 1 since books are unstackable}}</ref>

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|subtitle=Page rustles
|source=master
|description=When the page of a book is turned
|id=item.book.page_turn
|translationkey=subtitles.item.book.page_turn
|volume=2.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Page rustles
|source=block
|description=When the page of a book is turned on a lectern
|id=item.book.page_turn
|translationkey=subtitles.item.book.page_turn
|volume=2.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|subtitle=Book thumps
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|translationkey=subtitles.item.book.put
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|subtitle=Book placed
|source=block
|description=When a book and quill is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert
|translationkey=subtitles.chiseled_bookshelf.insert
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|subtitle=Book taken
|source=block
|description=When a book and quill is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup
|translationkey=subtitles.chiseled_bookshelf.take
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|source=sound
|description=When the page of a book is turned
|id=item.book.page_turn
|volume=2.0
|pitch=1.0}}
{{Sound table
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|volume=4.8
|pitch=1.0}}
{{Sound table
|type=bedrock
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|source=block
|description=When a book and quill is placed in a chiseled bookshelf
|id=insert.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|source=block
|description=When a book and quill is removed from a chiseled bookshelf
|id=pickup.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Book and Quill
|spritetype=item
|nameid=writable_book
|itemtags=bookshelf_books, lectern_books
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Book and Quill
|spritetype=item
|nameid=writable_book
|id=510
|itemtags=minecraft:bookshelf_books, minecraft:lectern_books
|form=item
|foot=1}}

=== Item data ===

{{el|java}}:
{{main|Player.dat format}}
<div class="treeview" style="margin-top: 0;">
* {{nbt|compound|tag}}: The '''tag''' tag.
{{:Player.dat_format/Writable Books}}
</div>

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

== Video ==

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

== History ==

{{History|java}}
{{History||1.3.1|snap=12w17a|[[File:Book and Quill JE1 BE1.png|32px]] Added books and quills.}}
{{History||1.7.2|snap=13w36a|Books and quills can now be crafted with a [[written book]] to clone the written book.}}
{{History||1.8|snap=14w05a|Copying written books now mark them as "Copy of Original" or "Copy of Copy".
|The copying status of a book is now denoted in a separate line in the tooltip, beneath the author's name.
|Copies of copies cannot be copied.}}
{{History|||snap=14w25a|Books and quills now use JSON text components instead of plain text with the new <code>pages</code> tag
|Book and quills are now capable of using the <code>clickEvent</code> and <code>hoverEvent</code> tags.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 386.}}
{{History||1.14|snap=18w43a|[[File:Book and Quill JE2 BE2.png|32px]] The texture of books and quills has now been changed.
|Added support for editing anywhere in the book and quill.<ref name="MC-1578">{{bug|MC-1578}}</ref>
|Books and quills now have copy/paste support.<ref name="MC-1578"></ref>
|The page limit of books and quills has now been increased from 50 to 100 pages.}}
{{History|||snap=19w11a|Librarian [[villager]]s now [[trading|buy]] books and quills instead of written books.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Books and quills can now interact with [[chiseled bookshelves]].}}

{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Book and Quill JE1 BE1.png|32px]] Added books and quills.}}
{{History||1.4.0|snap=beta 1.2.14.2|Books and quills can now be found inside [[buried treasure]] [[chest]]s.}}
{{History||1.6.0|snap=beta 1.6.0.1|Pages within books and quills can now be turned using the controller bumper buttons.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Book and Quill JE2 BE2.png|32px]] The texture of books and quills has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Books and quills can now be [[trading|sold]] to librarian [[villager]]s.}}

{{History|console}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|wiiu=Patch 1|switch=1.0.1|[[File:Book and Quill JE1 BE1.png|32px]] Added books and quills.}}
{{History|PS4}}
{{History||1.90|[[File:Book and Quill JE2 BE2.png|32px]] The texture of books and quills has now been changed.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The in-game restrictions on books are not hard limits. Third party editors or commands can make books have more than 100 pages{{only|java}} (2,147,483,639 pages), more than 256 characters per page (32,767 characters per page), can change author names, and can have colored titles, among other things. These books still function properly in vanilla ''Minecraft'', meaning the [[player]] may encounter such books on adventure maps or multiplayer servers.<ref>http://www.minecraftforum.net/topic/1189266-hacking-books</ref>
* If the player renames a book and quill in an anvil before signing it, it retains the name from the anvil instead of taking the name from signing.{{only|java}}

== Gallery ==
<gallery>
Jeb book.png|The first image of a book seen.<ref>https://web.archive.org/web/20120427014334/https://www.mojang.com/2012/04/minecraft-snapshot-12w17a/</ref>
Book and Quill Writing.png|The GUI of writing a book.
Book and Quill Signing.png|The GUI of signing a book.
Written Book tooltip.png|A signed book.
BookandQuillOperators12w17a.png|Display of styles used in a book. "e" and "f" are difficult to see.
Book and Quill in Pocket Edition.jpg|A book and quill {{in|be}}.
Java book and quill example with text.png|An example of text in a book and quill in [[Java Edition]].
Better Together Book.jpg|A book and quill in ''Bedrock Edition''.
</gallery>

== References ==
{{Reflist}}

== External links ==
* [http://www.minecraftforum.net/topic/1498339-132ssp-bookshop-your-books-anywhere/ Bookshop - Book Sharing And Editing Tool]
* [http://fsymbols.com/generators/wide/ Full-Width Text Generator]
* [http://fsymbols.com/generators/smallcaps/ Small Caps Text Generator]
* [http://www.minecraftforum.net/topic/1202590-revise-edit-signed-books-w-more-options-all-os-12w17a/ Revise - External Book Editor]

== See also ==
* [[Book]]
* [[Bookshelf]]
* [[Written Book]]

{{Items}}

[[Category:Renewable resources]]

[[cs:Rozepsaná kniha s brkem]]
[[de:Buch und Feder]]
[[el:Βιβλίο και Πένα]]
[[es:Libro y pluma]]
[[fr:Livre vierge]]
[[hu:Könyv és toll]]
[[it:Libro e penna]]
[[ja:本と羽根ペン]]
[[ko:책과 깃펜]]
[[nl:Boek en veer]]
[[pl:Książka z piórem]]
[[pt:Livro e pena]]
[[ru:Книга с пером]]
[[th:หนังสือกับปากกาขนนก]]
[[uk:Книга з пером]]
[[zh:书与笔]]</li></ul>
Added farmer NPC spawn egg in Creative mode.
12w05a
{{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>[[Brown Dye|Brown Dye]]<br/>{{Item
| image = Brown Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Brown dye''' is a [[Dye#Primary|primary color dye]] derived from [[cocoa beans]].

== Obtaining ==
=== Crafting ===
{{Crafting
 |Cocoa Beans
 |Output=Brown Dye
 |type=Material
 |head=
}}

== Usage  ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Brown Dye}}

=== Trading ===

Apprentice-level Shepherd villagers have a 20% chance to buy 12 brown dye for an emerald.‌{{only|bedrock}}

Expert-level Shepherd villagers have a {{frac|2|7}} chance to buy 12 brown dye for an emerald.{{only|java}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Brown Dye
|spritetype=item
|nameid=brown_dye
|aliasid=dye / 17
|id=398
|form=item
|translationkey=item.dye.brown_new.name
|foot=1}}

== History ==
{{expand section|Item textures and more from a development video on twitter by bartek.}}
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Brown Dye JE1 BE1.png|32px]] Added brown dye.}}
{{History|||snap=18w44a|Brown dye now can change the text color on [[sign]]s to brown.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell brown dyes.}}
{{History|||snap=19w11a|Brown dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Brown dye can now used to craft newly added [[brown candle]]s.}}
{{History|||snap=21w19a|Brown dye can no longer used to craft brown candles.}}
{{History|||snap=Pre-release 1|Brown dye can once again used to craft brown candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Brown dye now can change the text color on [[hanging sign]]s to brown.}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:Brown Dye JE1 BE1.png|32px]] Added brown dye.}}
{{History||1.11.0|snap=beta 1.11.0.4|Brown dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of brown dye has been changed from <code>dye/17</code> to <code>brown_dye</code>.}}

{{History|ps4}}
{{History||1.83|[[File:Brown Dye JE1 BE1.png|32px]] Added brown dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

[[Category:Dyes]]
[[Category:Renewable resources]]

[[de:Brauner Farbstoff]]
[[es:Tinte marrón]]
[[fr:Teinture marron]]
[[ja:茶色の染料]]
[[ko:갈색 염료]]
[[pl:Brązowy barwnik]]
[[pt:Corante marrom]]
[[th:สีย้อมสีน้ำตาล]]
[[zh:棕色染料]]</li></ul>
Villagers can now open and close doors.
Villagers will now go inside at night and detect houses.
12w06a
{{Extension DPL}}<ul><li>[[Flint and Steel|Flint and Steel]]<br/>{{Item
| image = Flint and Steel.png
| rarity = Common
| renewable = Yes
| durability = 64
| stackable = No
}}

'''Flint and steel''' is a [[tool]] used to create [[fire]] or to ignite certain blocks, structures and mobs.

== Obtaining ==

=== Crafting ===

{{Crafting
|head=1
|showname=0
|showdescription=1
|Iron Ingot
|Flint
|Output=Flint and Steel
|type=Tool
}}
{{crafting
|foot=1
|ignoreusage=1
|Damaged Flint and Steel
|Damaged Flint and Steel
|Output= Flint and Steel
|description= The durability of the two tools is added together, plus an extra 5% durability.
|type= Tool
}}

=== Chest loot ===

{{LootChestItem|flint-and-steel}}

== Usage ==
=== Igniting ===

When {{control|use|text=used}} on the space above any solid top surface, on any side of any flammable block or any side of any [[obsidian]] block within a valid unlit [[nether portal]] frame regardless of if there is a solid top surface available, the flint and steel places a [[fire]] there.

Flint and steel can be used to light unlit [[campfire]]s, [[candle]]s and [[cake|cakes with candles]].

Flint and steel can be used to light [[nether portal]]s, as any fire existing within an appropriate [[obsidian]] frame will instantly be replaced with [[Nether Portal (block)|nether portal blocks]] that occupy the entirety of the frame.

Using flint and steel on [[TNT]] ignites it. The explosion damage dealt by TNT ignited with flint and steel in this specific way counts as the player's attack. If the player is {{Control|sneak|text=sneaking}} a fire is instead placed on the side of the TNT the flint and steel was used on.

A flint and steel can be used on a [[creeper]] to force it to explode. Explosions initiated in this way cannot be cancelled.

When powered, a [[dispenser]] containing flint and steel can place fires or ignite relevant blocks such as TNT or campfires in the space directly in front of it. This reduces the flint and steel's durability. A dispenser containing a flint and steel cannot detonate creepers.

=== Enchantments ===

Flint and steel can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Anvil}}   
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}   
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}   
|}

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Flint and steel click.ogg
|subtitle=Flint and Steel click
|source=block
|description=When a flint and steel is used to place fire
|id=item.flintandsteel.use|idnote=<ref name=incorrecteventnames group=sound>{{Cite bug|MC|177457|Fire charge and flint and steel sound event names do not follow item IDs|date=April 5, 2020}}</ref>
|translationkey=subtitles.item.flintandsteel.use|translationkeynote=<ref name=incorrecteventnames group=sound/>
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|subtitle=Flint and Steel click
|source=hostile
|description=When a flint and steel is used to light a creeper
|id=item.flintandsteel.use|idnote=<ref name=incorrecteventnames group=sound/>
|translationkey=subtitles.item.flintandsteel.use|translationkeynote=<ref name=incorrecteventnames group=sound/>
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a flint and steel's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{edition|bedrock}};
{{Sound table
|type=bedrock
|sound=Flint and steel click.ogg
|source=block
|description=When a flint and steel is used to place fire
|id=fire.ignite
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a flint and steel's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Flint and Steel
|spritetype=item
|nameid=flint_and_steel
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Flint and Steel
|spritetype=item
|nameid=flint_and_steel
|id=299
|form=item
|foot=1}}

== Achievements ==
{{Load achievements|Into the Nether}}

== Advancements ==
{{load advancements|We Need To Go Deeper}}

== Video ==

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

== History ==
{{more sounds|type=old|There is within the possible realm a different use sound from 2015-era Pocket Edition, can this be uploaded?}}
{{History|java indev}}
{{History||0.31|snap=20100110|[[File:Flint and Steel JE1.png|32px]] Added flint and steel.
|Flint and steel can be used to set [[fire]].}}
{{History|||snap=20100129|[[File:Flint and Steel JE2.png|32px]] The steel part of the texture has been brightened.
|Flint and steel can be used alongside [[lava]] to [[smelting|smelt]] [[ores]] and cook [[food]].<ref>http://www.youtube.com/watch?v=OpmK7rDU5bA</ref>}}
{{History|||snap=20100201-2|Flint and steel can now sometimes be dropped as loot from killing [[mobs]].}}
{{History||20100219|[[File:Flint and Steel JE3 BE1.png|32px]] The texture of flint and steel has been changed, due to its new crafting recipe.
|Flint and steel can no longer drop from mobs.
|Flint and steel can now be crafted from an [[iron ingot]] and the newly added [[flint]].
|[[Furnace]]s have been added to replace the cooking and [[smelting]] function of flint and steel.}}
{{History|java beta}}
{{History||1.7|Flint and steel, along with [[fire]] itself, [[explosion]]s and [[Mechanics/Redstone/Circuit|redstone]] are now the only ways to activate [[TNT]].<ref>{{tweet|jeb_|78154891637436416}}</ref>}}
{{History|java}}
{{History||1.3.1|snap=12w21a|The [[player]] can now [[trading|buy]] 1 flint and steel from farmer [[villager]]s for 3 [[emerald]]s, making flint and steel [[renewable]].}}
{{History||1.4.2|snap=12w38a|The [[sound]] when using flint and steel has been changed.}}
{{History||1.5|snap=13w04a|[[Dispenser]]s are now able to use flint and steel on the [[block]] in front of them.}}
{{History||1.6.1|snap=13w18a|Flint and steel can now be found in the new [[chest]]s in [[nether fortress]]es.}}
{{History|||snap=13w25a|Flint and steel now loses [[durability]] when igniting [[TNT]].}}
{{History||1.7.2|snap=13w36a|Flint and steel now has a shapeless crafting recipe.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Old recipe"
! Old recipe
{{!}}-
{{!}}
{{Crafting
|A1=Iron Ingot
|B2=Flint
|Output=Flint and Steel
|ignoreusage=1
}}
{{!}}}
|Using flint and steel on a [[creeper]] now causes it to [[explosion|explode]].}}
{{History||1.8|snap=14w02a|[[Villager]]s no longer [[trading|sell]] flint and steel, making it no longer renewable. However, if a villager selling flint and steel already exists in the world, it can be continuously traded with to obtain flint and steel renewably.}}
{{History||1.9|snap=15w43a|The average yield of flint and steel in [[nether fortress]] [[chest]]s has been slightly reduced.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 259.}}
{{History||1.14|snap=18w43a|[[File:Flint and Steel JE4 BE2.png|32px]] The texture of flint and steel has been changed.}}
{{History||1.16|snap=20w07a|[[Gravel]] now can be given by the [[piglin]]s when [[bartering]], making flint and steel renewable again.}}
{{History|||snap=20w16a|Flint and steel can now be found inside [[ruined portal]] chests.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Flint and Steel JE3 BE1.png|32px]] Added flint and steel.}}
{{History||v0.7.0|Flint and steel can now be used to set [[fire]].}}
{{History||v0.7.4|Using flint and steel on a [[creeper]] now causes it to [[explosion|explode]].}}
{{History||v0.8.0|snap=build 1|Added flint and steel to the [[creative]] [[inventory]].}}
{{History||v0.12.1|snap=build 1|Flint and steel can now be used to activate a [[nether portal]].
|Flint and steel can now be found in [[nether fortress]]es.
|Flint and steel can now be [[enchanted]] in [[anvil]]s.}}
{{History||v0.14.0|snap=build 1|Flint and steel can now be used inside [[dispenser]]s when powered.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Flint and Steel JE4 BE2.png|32px]] The texture of flint and steel has been changed.}}
{{History||1.16.0|snap=beta 1.16.0.51|Flint and steel can now be obtained by [[bartering]] with [[piglin]]s.|Flint and steel can now be enchanted with [[Curse of Vanishing]] through an [[anvil]].}}
{{History|||snap=beta 1.16.0.57|Flint and steel are no longer obtainable from [[bartering]].
|Flint and steel can now be found inside [[ruined portal]] chests.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Flint and Steel JE3 BE1.png|32px]] Added flint and steel.}}
{{History||xbox=TU3|Flint and steel, along with [[fire]] itself, [[explosion]]s and [[redstone (disambiguation)|redstone]] are now the only ways to activate [[TNT]].}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Flint and steel now makes [[sound]]s when igniting [[block]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Flint and Steel JE4 BE2.png|32px]] The texture of flint and steel has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Flint and Steel JE3 BE1.png|32px]] Added flint and steel.}}
{{History|foot}}

Historical sounds:

{| class="wikitable"
! Sound
! From
! to
! Pitch
|-
| {{sound||Flint and Steel old.ogg}}
| ?
| ?
| ?
|}

== Issues ==
{{issue list}}

== Trivia ==

* In [[Adventure mode]], flint and steel cannot light fires, nor can it ignite nether portals (unless it has the tag {{cd|CanPlaceOn:obsidian}}). However, it can still ignite TNT and creepers.
* The name "Flint and Steel" may be misleading and is inaccurate considering the game doesn’t have and possibly will have [[Java Edition mentioned features#Steel|steel]] in the game and it's crafted with iron instead. This is similar to the [[Old Growth Taiga|Old Growth Pine Taiga]], as there are no pines in the game and they have [[Spruce|Spruce Trees]] instead.
**In real life, Iron can’t be used as a fire striker, so Mojang had to rename it to Flint and Steel so it makes more sense. This explains why it is called Flint and Steel, but there is no steel in the game.
**Steel was mentioned by Mojang, as a “stronger” iron, but shortly rejected, and there are no currently no plans to add it to the game.
* Flint and steel cannot light end portals.
* Flint and Steel is the first item to mention another item that is not in the game.
*In the April Fools Snapshot, [[Java Edition 23w13a or b]], one of the possible voted was “Flint and Steel can ignite any block”.


==References==

{{Reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Křesadlo]]
[[de:Feuerzeug]]
[[es:Mechero]]
[[fr:Briquet]]
[[hu:Kovakő acéllal]]
[[ja:火打石と打ち金]]
[[ko:부싯돌과 부시]]
[[nl:Vuursteen en staal]]
[[pl:Krzesiwo]]
[[pt:Pederneira]]
[[ru:Огниво]]
[[zh:打火石]]</li><li>[[Pumpkin Seeds|Pumpkin Seeds]]<br/>{{Block
| image = <gallery>
Pumpkin Stem Age 0.png | Age 0
Pumpkin Stem Age 1.png | Age 1
Pumpkin Stem Age 2.png | Age 2
Pumpkin Stem Age 3.png | Age 3
Pumpkin Stem Age 4.png | Age 4
Pumpkin Stem Age 5.png | Age 5
Pumpkin Stem Age 6.png | Age 6
Pumpkin Stem Age 7.png | Age 7
</gallery>
|image2 = <gallery>
Attached Pumpkin Stem (N).png | North
Attached Pumpkin Stem (E).png | East
Attached Pumpkin Stem (S).png | South
Attached Pumpkin Stem (W).png | West
</gallery>
| transparent = Yes
| light = No
| tool = none
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Pumpkin seeds''' are items obtained from pumpkins that can be used to grow pumpkin stems.

'''Pumpkin stems''' are plants grown on [[farmland]] that, over time, grow [[pumpkin]]s on dirt, mud and moss blocks adjacent to them.

== Obtaining ==
=== Breaking ===
When broken, a pumpkin stem drops 0–3 pumpkin seeds. The chance for pumpkin seeds to drop increases with the stem's age.
{| class="wikitable"
! rowspan="3" |[[Resource location]]
! rowspan="3" | Source
! colspan="4" | Default
|-
| colspan="1" rowspan="2" style="text-align:center" | Nothing || colspan="3" style="text-align:center" |{{ItemLink|Pumpkin Seeds|Pumpkin seeds}}
|-
| style="text-align:center" | 1 || style="text-align:center" | 2 || style="text-align:center" | 3
|-
| rowspan="8" |<code>blocks/pumpkin_stem</code>
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 0</code>
| style="text-align:center" |81.3%|| style="text-align:center" |17.42%|| style="text-align:center" |1.24%|| style="text-align:center" |0.03%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 1</code>
| style="text-align:center" |65.1%|| style="text-align:center" |30.04%|| style="text-align:center" |4.62%|| style="text-align:center" |0.24%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 2</code>
| style="text-align:center" |51.2%|| style="text-align:center" |38.4%|| style="text-align:center" |9.6%|| style="text-align:center" |0.8%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 3</code>
| style="text-align:center" |39.44%|| style="text-align:center" |43.02%|| style="text-align:center" |15.64%|| style="text-align:center" |1.9%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 4</code>
| style="text-align:center" |29.13%|| style="text-align:center" |44.44%|| style="text-align:center" |22.22%|| style="text-align:center" |3.7%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 5</code>
| style="text-align:center" |21.6%|| style="text-align:center" |43.2%|| style="text-align:center" |28.8%|| style="text-align:center" |6.4%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 6</code>
| style="text-align:center" |15.17%|| style="text-align:center" |39.82%|| style="text-align:center" |34.84%|| style="text-align:center" |10.16%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 7</code>
| style="text-align:center" |10.16%|| style="text-align:center" |34.84%|| style="text-align:center" |39.82%|| style="text-align:center" |15.17%
|-
| rowspan="1" |<code>blocks/attached_pumpkin_stem</code>
|{{BlockLink|Attached Pumpkin Stem|Attached Pumpkin stem}}
| style="text-align:center" |10.16%|| style="text-align:center" |34.84%|| style="text-align:center" |39.82%|| style="text-align:center" |15.17%
|}

=== Natural generation ===
Pumpkin stems generate naturally in stem farm rooms in [[woodland mansion]]s.

Pumpkin stems generate in [[taiga]] and [[snowy taiga]]{{only|be|short=1}} [[village]] farms.

=== Chest loot ===
{{LootChestItem|pumpkin-seeds}}

=== Crafting ===
{{Crafting
|Pumpkin
|Output= Pumpkin Seeds,4
|type= Material
}}

=== Trading ===
[[Wandering trader]]s sell pumpkin seeds for 1 [[emerald]].

=== Post-generation ===
Shearing an uncarved pumpkin yields 4 pumpkin seeds {{in|java}} or 1 unit of pumpkin seeds {{in|bedrock}}.

== Usage ==
=== Farming ===
{{see also|Tutorials/Pumpkin and melon farming}}
Pumpkin seeds can be planted only on [[farmland]], as stems. Over time, a stem grows through several stages{{Needs testing}} and, at its final growth stage, will produce [[pumpkin]]s on any adjacent [[dirt]], [[Coarse Dirt|coarse dirt]], [[Rooted Dirt|rooted dirt]], [[Grass Block|grass block]], [[farmland]], [[podzol]], [[mycelium]], [[Moss Block|moss block]], [[mud]] or [[Muddy Mangrove Roots|muddy mangrove roots]]. If a pumpkin is already occupying a spot adjacent to a stem it does not grow more pumpkins until the pumpkin is removed. A single stem can grow an unlimited number of pumpkins. Pumpkin stems need a minimum light level of 10 in the block above the stem to grow and give pumpkins. Pumpkin seeds are affected by [[bone meal]] only with respect to stem growth; bone meal does not help produce the actual pumpkins.

=== Breeding ===
Like other seeds, pumpkin seeds can be used to [[breed]] [[chicken]]s, lead chickens around, and make baby chickens grow up faster by 10% of the remaining time.

=== Taming ===
Like other seeds, pumpkin seeds can be used to tame [[parrot]]s.

=== Composting ===
Placing pumpkin seeds into a [[composter]] has a 30% chance of raising the compost level by 1.

== Pumpkin stem ==
A '''pumpkin stem''' is the block that is planted on [[farmland]] when pumpkin seeds are used on it. It starts underground, and rises up as the plant grows. The stem is colored green when young, and then yellow once fully grown.

The stem curves once a pumpkin has grown from it. A fully-grown single stem connects to any [[pumpkin]] in an adjacent square, thus there are 5 possible appearances to a stem. If there are multiple pumpkins it can connect to, it favors the east, then west, north, and south. When the pumpkin is removed, the stem returns to its straight shape.

== Sounds ==
{{Sound table/Block/Hard crop}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Stem
|spritetype=block
|nameid=pumpkin_stem
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Attached Pumpkin Stem
|spritetype=block
|nameid=attached_pumpkin_stem
|form=block}}
{{ID table
|displayname=Pumpkin Seeds
|spritetype=item
|nameid=pumpkin_seeds
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Stem
|spritetype=block
|nameid=pumpkin_stem
|id=104
|form=block}}
{{ID table
|displayname=Pumpkin Seeds
|spritetype=item
|nameid=pumpkin_seeds
|id=292
|form=item
|foot=1}}

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

{{/BS}}

== Advancements ==
{{load advancements|A Seedy Place}}

== History ==
{{info needed section|check if stems floated above farmland upon initial implementation}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Pumpkin Seeds JE1 BE1.png|32px]] Added pumpkin seeds.
|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] Added the pumpkin stem, with seven stages of growth.
|Pumpkin seeds can be found in the new [[mineshaft]] [[chest]]s.
|[[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]] The pumpkin stem has four slightly visually distinct appearances for each facing direction - the bent part of the stem rotates, but the other two planes do not.
|[[File:Pumpkin Stem Age 8 JE1.png|32px]] [[File:Pumpkin Stem Age 9 JE1.png|32px]] [[File:Pumpkin Stem Age 10 JE1.png|32px]] [[File:Pumpkin Stem Age 11 JE1.png|32px]] [[File:Pumpkin Stem Age 12 JE1.png|32px]] [[File:Pumpkin Stem Age 13 JE1.png|32px]] [[File:Pumpkin Stem Age 14 JE1.png|32px]] [[File:Pumpkin Stem Age 15 JE1.png|32px]] Pumpkin stem data values from 8 through 15 now show a glitched formation, with a floating stem with an attached stem cross eventually emerging below.
|[[File:Attached Stem Age 8 JE1.png|32px]] [[File:Attached Stem Age 9 JE1.png|32px]] [[File:Attached Stem Age 10 JE1.png|32px]] [[File:Attached Stem Age 11 JE1.png|32px]] [[File:Attached Stem Age 12 JE1.png|32px]] [[File:Attached Stem Age 13 JE1.png|32px]] [[File:Attached Stem Age 14 JE1.png|32px]] [[File:Attached Stem Age 15 JE1.png|32px]] Pumpkin stem blocks with data values higher than 7 can attach to adjacent fruits, which results in buggy stem textures with [[vines]] in the mix due to vines being below attached stems in [[terrain.png]].}}
{{History|||snap=Pre-release 2 ;)|Pumpkin stems can now be grown faster using [[bone meal]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Pumpkins can now be [[crafting|crafted]] into [[pumpkin seeds]].}}
{{History||1.3.1|snap=1.3|The texture of pumpkin stems has been moved one pixel to the left in [[terrain.png]].
|[[File:Pumpkin Stem Age 0 JE2.png|32px]] [[File:Pumpkin Stem Age 1 JE2.png|32px]] [[File:Pumpkin Stem Age 2 JE2.png|32px]] [[File:Pumpkin Stem Age 3 JE2.png|32px]] [[File:Pumpkin Stem Age 4 JE2.png|32px]] [[File:Pumpkin Stem Age 5 JE2.png|32px]] [[File:Pumpkin Stem Age 6 JE2.png|32px]] [[File:Pumpkin Stem Age 7 JE2.png|32px]] Stems now appear slightly different.
|[[File:Pumpkin Stem Age 8 JE2.png|32px]] [[File:Pumpkin Stem Age 9 JE2.png|32px]] [[File:Pumpkin Stem Age 10 JE2.png|32px]] [[File:Pumpkin Stem Age 11 JE2.png|32px]] [[File:Pumpkin Stem Age 12 JE2.png|32px]] [[File:Pumpkin Stem Age 13 JE2.png|32px]] [[File:Pumpkin Stem Age 14 JE2.png|32px]] [[File:Pumpkin Stem Age 15 JE2.png|32px]] Overgrown attached pumpkin stems now appear slightly different.
|[[File:Attached Pumpkin Stem (N) JE2.png|32px]] [[File:Attached Pumpkin Stem (E) JE2.png|32px]] [[File:Attached Pumpkin Stem (S) JE2.png|32px]] [[File:Attached Pumpkin Stem (W) JE2.png|32px]] Attached pumpkin stems now appear slightly different.
|[[File:Attached Stem Age 8 JE2.png|32px]] [[File:Attached Stem Age 9 JE2.png|32px]] [[File:Attached Stem Age 10 JE2.png|32px]] [[File:Attached Stem Age 11 JE2.png|32px]] [[File:Attached Stem Age 12 JE2.png|32px]] [[File:Attached Stem Age 13 JE2.png|32px]] [[File:Attached Stem Age 14 JE2.png|32px]] [[File:Attached Stem Age 15 JE2.png|32px]] Overgrown attached pumpkin stems now appear slightly different.}}
{{History||1.4.2|snap=12w36a|[[Chicken]]s now use [[wheat seeds]], [[melon seeds]] and pumpkin seeds, instead of [[wheat]] to [[breeding|breed]].}}
{{History||1.5|snap=13w02a|[[File:Pumpkin Stem Age 0 JE3.png|32px]] [[File:Pumpkin Stem Age 1 JE3.png|32px]] [[File:Pumpkin Stem Age 2 JE3.png|32px]] [[File:Pumpkin Stem Age 3 JE3.png|32px]] [[File:Pumpkin Stem Age 4 JE3.png|32px]] [[File:Pumpkin Stem Age 5 JE3.png|32px]] [[File:Pumpkin Stem Age 6 JE3.png|32px]] Pumpkin stems now use a squished version of their texture for immature stems, depending on age.
|[[File:Pumpkin Stem Age 8 JE3.png|32px]] [[File:Pumpkin Stem Age 9 JE3.png|32px]] [[File:Pumpkin Stem Age 10 JE3.png|32px]] [[File:Pumpkin Stem Age 11 JE3.png|32px]] [[File:Pumpkin Stem Age 12 JE3.png|32px]] [[File:Pumpkin Stem Age 13 JE3.png|32px]] [[File:Pumpkin Stem Age 14 JE3.png|32px]] [[File:Pumpkin Stem Age 15 JE3.png|32px]] This also affects pumpkin stems of ages 8-15, which are likewise stretched to accommodate its predicted size.
|[[File:Attached Stem Age 8 JE3.png|32px]] [[File:Attached Stem Age 9 JE3.png|32px]] [[File:Attached Stem Age 10 JE3.png|32px]] [[File:Attached Stem Age 11 JE3.png|32px]] [[File:Attached Stem Age 12 JE3.png|32px]] [[File:Attached Stem Age 13 JE3.png|32px]] [[File:Attached Stem Age 14 JE3.png|32px]] [[File:Attached Stem Age 15 JE3.png|32px]] Pumpkin stems of extreme ages, which are attached to adjacent fruits, now show a stretched and tinted stem appearance.}}
{{History|||snap=13w03a|[[File:Pumpkin Stem Age 0 JE4.png|32px]] [[File:Pumpkin Stem Age 1 JE4.png|32px]] [[File:Pumpkin Stem Age 2 JE4.png|32px]] [[File:Pumpkin Stem Age 3 JE4.png|32px]] [[File:Pumpkin Stem Age 4 JE4.png|32px]] [[File:Pumpkin Stem Age 5 JE4.png|32px]] [[File:Pumpkin Stem Age 6 JE4.png|32px]] [[File:Pumpkin Stem Age 7 JE4.png|32px]] Pumpkin stems are no longer squished or stretched to account for age.<ref>{{bug|MC-7111}}</ref>
|[[File:Pumpkin Stem Age 8 JE4.png|32px]] [[File:Pumpkin Stem Age 9 JE4.png|32px]] [[File:Pumpkin Stem Age 10 JE4.png|32px]] [[File:Pumpkin Stem Age 11 JE4.png|32px]] [[File:Pumpkin Stem Age 12 JE4.png|32px]] [[File:Pumpkin Stem Age 13 JE4.png|32px]] [[File:Pumpkin Stem Age 14 JE4.png|32px]] [[File:Pumpkin Stem Age 15 JE4.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted [[trapdoor]] texture.
|From this version up until 14w08a, overgrown pumpkin stems start to draw from the texture below them on the [[texture atlas]], in much the same way they previously did with terrain.png. However, as texture atlases are unstable and textures tend to change positions as new blocks and textures are added, overgrown stems change the texture they draw from every time new textures are added, which includes when textures added by [[mods]].}}
{{History|||snap=13w09a|[[File:Pumpkin Stem Age 8 JE5.png|32px]] [[File:Pumpkin Stem Age 9 JE5.png|32px]] [[File:Pumpkin Stem Age 10 JE5.png|32px]] [[File:Pumpkin Stem Age 11 JE5.png|32px]] [[File:Pumpkin Stem Age 12 JE5.png|32px]] [[File:Pumpkin Stem Age 13 JE5.png|32px]] [[File:Pumpkin Stem Age 14 JE5.png|32px]] [[File:Pumpkin Stem Age 15 JE5.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted [[birch wood]] texture.}}
{{History||1.6.1|snap=13w24a|Melon and pumpkin stems have now been assigned separate textures.
|[[File:Pumpkin Stem Age 8 JE6.png|32px]] [[File:Pumpkin Stem Age 9 JE6.png|32px]] [[File:Pumpkin Stem Age 10 JE6.png|32px]] [[File:Pumpkin Stem Age 11 JE6.png|32px]] [[File:Pumpkin Stem Age 12 JE6.png|32px]] [[File:Pumpkin Stem Age 13 JE6.png|32px]] [[File:Pumpkin Stem Age 14 JE6.png|32px]] [[File:Pumpkin Stem Age 15 JE6.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted curving [[rail]] texture.}}
{{History||1.7.2|snap=13w37a|Added the {{cmd|setblock}} command, allowing for invalid pumpkin stem ages to be placed in the world without using external editors. This also allows them to be obtained in earlier versions via backdating.}}
{{History|||snap=13w41a|[[File:Pumpkin Stem Age 8 JE7.png|32px]] [[File:Pumpkin Stem Age 9 JE7.png|32px]] [[File:Pumpkin Stem Age 10 JE7.png|32px]] [[File:Pumpkin Stem Age 11 JE7.png|32px]] [[File:Pumpkin Stem Age 12 JE7.png|32px]] [[File:Pumpkin Stem Age 13 JE7.png|32px]] [[File:Pumpkin Stem Age 14 JE7.png|32px]] [[File:Pumpkin Stem Age 15 JE7.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted lit [[furnace]] texture.}}
{{History|||snap=13w43a|[[File:Pumpkin Stem Age 8 JE8.png|32px]] [[File:Pumpkin Stem Age 9 JE8.png|32px]] [[File:Pumpkin Stem Age 10 JE8.png|32px]] [[File:Pumpkin Stem Age 11 JE8.png|32px]] [[File:Pumpkin Stem Age 12 JE8.png|32px]] [[File:Pumpkin Stem Age 13 JE8.png|32px]] [[File:Pumpkin Stem Age 14 JE8.png|32px]] [[File:Pumpkin Stem Age 15 JE8.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted [[pumpkin]] top texture.}}
{{History||1.8|snap=14w10a|[[File:Pumpkin Stem Age 8 JE9.png|32px]] [[File:Pumpkin Stem Age 9 JE9.png|32px]] [[File:Pumpkin Stem Age 10 JE9.png|32px]] [[File:Pumpkin Stem Age 11 JE9.png|32px]] Pumpkin stems with data values 8-11 now display a tinted attached stem, with 8 facing west, 9 facing east, 10 facing north and 11 facing south.
|Invalid pumpkin stems with data values 12-15 now crash the game.}}
{{History|||snap=14w25a|[[File:Pumpkin Stem Age 0 JE5.png|32px]] [[File:Pumpkin Stem Age 1 JE5.png|32px]] [[File:Pumpkin Stem Age 2 JE5.png|32px]] [[File:Pumpkin Stem Age 3 JE5.png|32px]] [[File:Pumpkin Stem Age 4 JE5.png|32px]] [[File:Pumpkin Stem Age 5 JE5.png|32px]] [[File:Pumpkin Stem Age 6 JE5.png|32px]] [[File:Pumpkin Stem Age 7 JE5.png|32px]] Pumpkin stems now render as a single diagonal plane, or, in the case of attached stems, a diagonal and orthogonal plane.
|[[File:Attached Pumpkin Stem (N) JE3.png|32px]] [[File:Attached Pumpkin Stem (E) JE3.png|32px]] [[File:Attached Pumpkin Stem (S) JE3.png|32px]] [[File:Attached Pumpkin Stem (W) JE3.png|32px]] The attached pumpkin stem [[model]] now fully rotates to the direction the stem points. Prior to this update, the base of the pumpkin stem would stay the same while the long attaching section would differ, resulting in four possible attached stem appearances.
|Invalid overgrown pumpkin stems have now effectively been removed from the game, as attempting to place an out of range stem via {{cmd|setblock}} creates a stem of age 0 and loading a world with existing such stems cause a game crash.}}
{{History|||snap=14w26a|[[File:Pumpkin Stem Age 0 JE6.png|32px]] [[File:Pumpkin Stem Age 1 JE6.png|32px]] [[File:Pumpkin Stem Age 2 JE6.png|32px]] [[File:Pumpkin Stem Age 3 JE6.png|32px]] [[File:Pumpkin Stem Age 4 JE6.png|32px]] [[File:Pumpkin Stem Age 5 JE6.png|32px]] [[File:Pumpkin Stem Age 6 JE6.png|32px]] [[File:Pumpkin Stem Age 7 JE6.png|32px]] [[File:Attached Pumpkin Stem (N) JE4.png|32px]] [[File:Attached Pumpkin Stem (E) JE4.png|32px]] [[File:Attached Pumpkin Stem (S) JE4.png|32px]] [[File:Attached Pumpkin Stem (W) JE4.png|32px]] Pumpkin stems now correctly render as crosses again.<ref>{{bug|MC-58136}}</ref>}}
{{History|||snap=14w27a|[[File:Attached Stem Age 0 14w27a.png|32px]] [[File:Attached Stem Age 1 14w27a.png|32px]] [[File:Attached Stem Age 2 14w27a.png|32px]] [[File:Attached Stem Age 3 14w27a.png|32px]] [[File:Attached Stem Age 4 14w27a.png|32px]] [[File:Attached Stem Age 5 14w27a.png|32px]] [[File:Attached Stem Age 6 14w27a.png|32px]] Due to a bug, all pumpkin stems now appear attached regardless of age or any actual attachment.<ref>{{bug|MC-60208}}</ref>}}
{{History|||snap=14w28a|All pumpkin stems appearing attached regardless of the age of any actual attachment has been fixed. However, pumpkin stems still appear attached to adjacent fruits regardless of age due to a similar bug.<ref>{{bug|MC-61716}}</ref>}}
{{History|||snap=14w34d|Pumpkin seeds no longer can be used to breed [[chicken]]s.}}
{{History||1.9|snap=15w31a|Chickens can now use pumpkin seeds to [[breeding|breed]] again.}}
{{History|||snap=15w44a|Pumpkin seeds have been added to [[dungeon]] [[chest]]s.
|The average yield of pumpkin seeds in [[mineshaft]] chests has been decreased.}}
{{History|||snap=15w45a|Pumpkin stems must now be fully grown again to attach.}}
{{History||1.11|snap=16w39a|Pumpkin seeds are now found in the new [[woodland mansion]] chests.
|Pumpkin stems now generate inside [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|The different [[block]] states for the <code>pumpkin_stem</code> ID have been split up into their own IDs.
|Pumpkin seeds can now be obtained by [[shear]]ing an uncarved pumpkin.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 104, and the [[item]]'s 361.}}
{{History|||snap=17w48a|Attached pumpkin stems no longer [[drops|drop]] seeds.}}
{{History||1.14|snap=18w43a|[[File:Pumpkin Stem Age 0 JE7.png|32px]] [[File:Pumpkin Stem Age 1 JE7.png|32px]] [[File:Pumpkin Stem Age 2 JE7.png|32px]] [[File:Pumpkin Stem Age 3 JE7.png|32px]] [[File:Pumpkin Stem Age 4 JE7.png|32px]] [[File:Pumpkin Stem Age 5 JE7.png|32px]] [[File:Pumpkin Stem Age 6 JE7.png|32px]] [[File:Pumpkin Stem Age 7 JE7.png|32px]] The stem texture has changed.
|[[File:Attached Pumpkin Stem (N) JE5.png|32px]] [[File:Attached Pumpkin Stem (E) JE5.png|32px]] [[File:Attached Pumpkin Stem (S) JE5.png|32px]] [[File:Attached Pumpkin Stem (W) JE5.png|32px]] The pumpkin stem texture change also affects the base cross on pumpkin stems.}}
{{History|||snap=18w50a|Pumpkin stems now generate in the updated [[taiga]] [[village]] farms.
|Pumpkin seeds can now be found in [[chest]]s in taiga village houses.}}
{{History|||snap=19w03a|Placing pumpkin seeds into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Pumpkin seeds now have a 30% chance of increasing the compost level in a composter by 1.
|Added [[Wandering Trader|wandering trader]]s, which sell pumpkin seeds.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate pumpkin stems.}}
{{History|||snap=19w39a|Attached pumpkin stems now [[drops|drop]] seeds again.<ref>{{bug|MC-136360}}</ref>}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Pumpkin Seeds JE1 BE1.png|32px]] Added pumpkin seeds.
|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] [[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]]{{verify|Were these the models used by this edition?}} Added pumpkin stems.
|Pumpkin seeds are obtainable from the [[Nether reactor]].}}
{{History||v0.12.1|snap=build 1|Pumpkin seeds are no longer available from the Nether reactor.}}
{{History||v0.14.0|snap=build 1|Pumpkin seeds can now be found in [[minecart with chest]]s inside [[mineshaft]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Pumpkin stems now generate inside [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Pumpkin seeds are now used to tame [[parrot]]s.}}
{{History||1.4.0|snap=beta 1.2.13.8|Pumpkin seeds can now be obtained by [[shear]]ing an uncarved [[pumpkin]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Attached Pumpkin Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached pumpkin stems has been changed.
|Pumpkin seeds can now be [[trading|bought]] from [[wandering trader]]s.
|A single pumpkin crop now generates in the new [[taiga]] and [[snowy taiga]] [[village]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|A single pumpkin seed can now be used to fill the [[composter]].
|Pumpkin seeds can now be found in [[taiga]] and [[snowy taiga]] [[village]] house [[chest]]s.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Pumpkin Seeds JE1 BE1.png|32px]] Added pumpkin seeds.
|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] [[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]]{{verify|Were these the models used by this edition?}} Added pumpkin stems.}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|Pumpkin seeds can now be obtained by [[shear]]ing an uncarved [[pumpkin]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Attached Pumpkin Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached pumpkin stems has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] [[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]]{{verify|Were these the models used by this edition?}} Added pumpkin stems.}}
{{History|foot}}

<gallery>
Pumpkin Stem with data value 15.png|The final version of the pumpkin stem with age 15, as seen in-game.
Pumpkinstems.png|Pumpkin stems of ages 1 to 15 on a modded version of [[Java Edition 1.7.2|1.7.2]], hence the nearby melon stems using the melon top texture.
Stems of 13w02a.png|All 16 stem sizes in [[Java Edition 13w02a|13w02a]], with accompanying data values.
</gallery>

=== Pumpkin stem "item" ===
{{:Technical blocks/Pumpkin Stem}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
Stem All Ages.png|All stages of growth.
AllSeeds.png|All the [[seeds]] that exist in the game.
</gallery>

== References ==
{{reflist}}

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

[[Category:Plants]]
[[Category:Food]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]

[[cs:Dýňová semínka]]
[[de:Kürbiskerne]]
[[es:Semillas de calabaza]]
[[fr:Graines de citrouille]]
[[hu:Tökmagok]]
[[ja:カボチャの種]]
[[ko:호박씨]]
[[nl:Pompoenpitten]]
[[pl:Nasiona dyni]]
[[pt:Sementes de abóbora]]
[[ru:Семена тыквы]]
[[th:เมล็ดฝักทอง]]
[[zh:南瓜种子]]</li></ul>
Villagers can now socialize with each other and passive mobs.
Villagers are now attacked by and run away from Zombies.
12w07a
{{Extension DPL}}<ul><li>[[Gray Dye|Gray Dye]]<br/>{{Item
| image = Gray Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Gray dye'''{{fn|Known as '''Grey Dye''' in British, Canadian, Australian, and New Zealand English variants.}} is a [[Dyeing#Secondary colors|secondary color]] dye.

== Obtaining ==

=== Crafting ===

{{Crafting
  |Black Dye
  |White Dye
  |Output=Gray Dye,2
  |type=Material
  |head=1
  |showdescription=1
  |showname=0
}}
{{Crafting
  |Ink Sac;Black Dye;Ink Sac
  |Bone Meal;Bone Meal;White Dye
  |Output=Gray Dye,2
  |type=Material
  |description={{only|bedrock|education}}
  |foot=1
}}

=== Trading ===

[[Wandering trader]]s sell 3 gray dye for an [[emerald]].{{only|bedrock}}

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Gray Dye}}

=== Trading ===
Journeyman-level villagers have a 20% chance to buy 12 gray dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gray Dye
|spritetype=item
|nameid=gray_dye
|aliasid=dye / 8
|id=403
|form=item
|translationkey=item.dye.gray.name
|foot=1}}

== Video ==
{{yt|wGalHy0_fj0}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Gray dye can be now [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Gray dye is now [[crafting|crafted]] using [[black dye|black]] and [[white dye]]s, instead of [[ink sac]] and [[bone meal]].
|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}
{{History|||snap=18w44a|Gray dye can now change the text color on the [[sign]]s to gray.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell gray dyes.}}
{{History|||snap=19w11a|Gray dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Gray dye can now used to craft [[gray candle]]s.}}
{{History|||snap=21w19a|Gray dye can no longer be used to craft gray candles.}}
{{History|||snap=Pre-release 1|Gray dye can once again be used to craft gray candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Gray dye can now change the text color on [[hanging sign]]s to gray.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.8.0|snap=build 1|Gray dye can be [[craft]]ed with [[bone meal]] and an [[ink sac]], despite there being no way of obtaining ink sacs at the time.}}
{{History|||snap=build 3|Gray dye is now available in [[creative]] mode.}}
{{History||v0.9.0|snap=build 3|Gray dye can now be obtained in [[survival]] mode.}}
{{History|||snap=build 11|Gray dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Gray dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Gray dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Gray dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gray dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Gray dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Gray dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Gray dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Gray dye is now [[trading|sold]] by [[wandering trader]]s.
|Gray dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Gray dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of gray dye has been changed from <code>dye/8</code> to <code>gray_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|PS4}}
{{History||1.90|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Notes ==
{{fnlist}}

== References ==
{{Reflist}}

{{Items}}

[[Category:Dyes]]
[[Category:Renewable resources]]

[[cs:Šedé barvivo]]
[[de:Grauer Farbstoff]]
[[es:Tinte gris]]
[[fr:Teinture grise]]
[[hu:Szürke festék]]
[[ja:灰色の染料]]
[[ko:회색 염료]]
[[nl:Grijze kleurstof]]
[[pl:Szary barwnik]]
[[pt:Corante cinza]]
[[ru:Серый краситель]]
[[zh:灰色染料]]</li><li>[[Portfolio|Portfolio]]<br/>{{exclusive|education}}
{{Item
| image = Portfolio.png
| renewable = No
| stackable = Yes (64)
}}
A '''portfolio''' is an [[item]] that can save [[photo]]s taken with a [[camera]].<ref>https://education.minecraft.net/support/knowledge-base/using-cameras-portfolios/</ref>

== Obtaining ==
Portfolios can be obtained in the [[creative inventory]] or through the {{cmd|give}} command.

== Usage ==
[[File:Portfolio Interface.png|thumb|upright=1.5|The portfolio interface]]
Once a photo has been taken using the [[camera]], it appears in the portfolio. Once equipped, right-clicking brings up a two-page book of photos the [[player]] has taken, in chronological order. Captions can be added below each picture. Pressing the "Export Portfolio" button creates a .zip file with all photos as JPGs in a specified folder. The portfolio is also used to load custom items in [[Minecraft China]].

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Portfolio
|spritetype=item
|nameid=portfolio
|id=456
|form=item
|foot=1}}

== History ==
{{History|pocket alpha}}
{{History||v0.16.0|snap=build 1|[[File:Portfolio BE1.png|32px]] Added portfolios.}}
{{History|||snap=build 2|Portfolios have been removed.}}
{{History|bedrock}}
{{History||1.16.100|Data-driven portfolios, allowing for add-ons to create custom portfolios. Normal Portfolios are still unobtainable.}}
{{History|education}}
{{History||1.0|[[File:Portfolio BE1.png|32px]] Added portfolios.}}
{{History|foot}}

== References ==
{{Reflist}}

{{Items}}
{{Education Edition}}

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

[[de:Fotoalbum]]
[[es:Portafolio]]
[[ja:ポートフォリオ]]
[[ko:포트폴리오]]
[[pl:Portfolio]]
[[pt:Portfólio]]
[[ru:Портфолио]]
[[uk:Портфоліо]]
[[zh:公文包]]</li></ul>
Villagers will now repopulate villages by the number of houses there are.
Village children will not sprint.
12w18a
{{Extension DPL}}<ul><li>[[Lava|Lava]]<br/>{{About|the fluid|the [[bucket]]|Lava Bucket}}
{{Fluid
| image = Lava.gif
| image2 = Lava BE.gif
| invimage = Lava Bucket
| invimage2 = Lava
| renewable = Yes
| transparent = Yes
| light = Yes (15)
| tool = Bucket
| infinite = No
| flowrate = 30 [[tick]]s/block (Overworld, End)<br> 10 [[tick]]s/block (Nether)
| flowdistance = 4 blocks (Overworld, End)<br>8 blocks (Nether)
}}
'''Lava''' is a light-emitting [[fluid]] that causes fire [[damage]], mostly found in the [[altitude|lower reaches]] of the [[Overworld]] and [[the Nether]].

== Obtaining ==
Lava blocks do not exist as items (at least {{in|java}}), but can be retrieved with a [[Lava Bucket|bucket]]. {{IN|bedrock}}, they may be obtained as an item via glitches (in old versions), add-ons or inventory editing.

Lava may be obtained [[renewable resource|renewably]] from [[cauldron]]s, as [[pointed dripstone]] with a lava source above it can slowly fill a cauldron with lava.

=== Natural generation ===
During world generation, lava replaces [[air]] blocks generated in [[cave]]s and [[canyon]]s between Y=-55 and Y=-63. [[Aquifer]]s are sometimes filled with lava below Y=0. Lava does not replace air blocks inside [[mineshaft]]s, [[monster room]]s, [[amethyst geode]]s, or [[stronghold]]s.

Lava can also occur as lava flows from a single [[spring]] block, pouring down walls into pools. The spring block can be on the side of a cave, ravine, mineshaft, or stone cliff above ground.

Lava also generates as small [[lava lake]]s, which can be found above Y=0 within any [[biome]].

Two blocks of lava can also be found in plains, snowy plains, and desert [[village]] weaponsmith buildings, or one source in savanna village weaponsmith buildings.

Fifteen blocks of lava can be found in the [[end portal]] room of a [[stronghold]]: 3 along each side wall, and 9 below the portal frame.

Lava also generates in [[woodland mansion]]s: two blocks of lava generate in the "blacksmith room", and 25 blocks of lava generate in a secret "lava room".

In [[the Nether]], lava is more common than [[water]] in the [[Overworld]]. [[Terrain features#Lava sea|Seas of lava]] occur, with sea level at y-level 32, about a quarter of the total height of the Nether (as the usable space in the Nether is 128 blocks tall). They can extend down to about y-level 19-22. Lava also randomly appears [[Spring#Hidden lava|in single blocks]] inside [[netherrack]] formations. Lava is also generated as a single source in well rooms in [[nether fortress]]es. There are also large pockets of lava generated under y-19 and can reach all the way down to bedrock level. These pockets are generally over 12 blocks in height and often connect to a large lava lake on y-32; the size of these pockets in 1.18 can range from the size of a singular pre-1.18 ravine to multiple ravines combined.

Lava generates as [[delta]] shapes, which can be found commonly in the [[basalt deltas]] biome. Lava also generates in [[ruined portal]]s and [[bastion remnant]]s.

=== Post-generation ===
Unlike [[Water#Source blocks|water source blocks]], new lava source blocks cannot be created in a space by two or more adjacent source blocks. However {{in|Java}}, if the [[game rule]] {{cd|lavaSourceConversion}} is set to {{cd|true}}, new lava source blocks can form in a similar way to water source blocks.

== Usage ==
=== Fuel ===
When used in a [[furnace]], a bucket of lava lasts 1000 seconds (100 items).

=== Burning ===
[[File:Inside Lava.png|thumb|What it looks like inside lava.]]
[[File:Under lava fire resistance.png|thumb|What it looks like inside lava using Fire Resistance {{in|java}}.]]

Most [[entity|entities]] take {{hp|4}} damage every half-second while in contact with lava, and are set on [[fire]]. An entity/player in lava will also have its {{code|remainingFireTicks}} set to 300, setting it on fire for 15 seconds. This timer is reset to 300 every tick that the victim spends in lava, so it will only start counting down once the victim leaves the lava. Once the victim does exit the lava source, it will burn for just under 15 seconds, taking fire damage 14 times. This is due to the fact that for the first tick outside of lava, its {{code|remainingFireTicks}} decrease to 299, and entities take fire damage when {{code|remainingFireTicks}} is a multiple of 20 and greater than 0. If the victim touches water or [[rain]] falls on it, the fire is extinguished, but the lava continues to damage them directly.

In addition, a dense [[fog]] effect will be applied for players under lava to obscure vision. This can be slightly mitigated via the [[Fire Resistance]] effect.

An entity/player moving in lava has their horizontal movement speed reduced by 50% and their vertical movement speed reduced by 20%.

{{IN|bedrock}}, a player with the Fire Resistance effect or a total [[Fire Protection]] of 7 or higher does not catch fire. 

[[Vex]]es, [[zoglin]]s, Nether [[mob]]s (excluding [[piglin]]s and [[hoglin]]s), [[Wither|withers]], [[Warden|wardens]], and players or mobs affected by the [[Fire Resistance]] effect are not damaged when touching lava. 

The embers or fireballs that fly out of lava are purely decorative and do not cause fires or damage to entities. When rain falls on lava, the black ember particles appear more frequently.

A player in lava lasts a few seconds before dying:

==== ''Java Edition'' ====
* 2.5 seconds with no armor
* 3.5 seconds with full leather armor, no enchantments
* 4 seconds with full gold armor, no enchantments
* 4.5 seconds with full chain armor, no enchantments
* 5.5 seconds with full iron armor, no enchantments
* 10.5 seconds with full diamond armor, no enchantments
* 11 seconds with full netherite armor, no enchantments

==== Bedrock Edition====
* 2.5 seconds with no armor
* 3.5 seconds with full leather armor, no enchantments
* 4.5 seconds with full gold armor, no enchantments
* 5 seconds with full chain armor, no enchantments
* 6.5 seconds with full iron armor, no enchantments
* 12.5 seconds with full diamond armor, no enchantments
* 12.5 seconds with full netherite armor, no enchantments
If the player is wearing armor enchanted with [[Fire Protection]], they can last even longer. With the maximum bonus, the damage is small enough that the natural healing from a full hunger bar can outpace it {{only|JE|short=1}}, so a player could survive indefinitely as long as they have food and their armor holds up (non-netherite armor is damaged by lava). This maximum bonus can be obtained by wearing 2 pieces of armor with [[Fire Protection|Fire Protection IV]] and 1 with [[Protection|Protection IV]], or 1 piece of armor with [[Fire Protection|Fire Protection IV]] and 3 with [[Protection|Protection IV]].

==== Fire spread ====
Lava can cause fires by turning air blocks to fire blocks.

In order for air above lava to turn to fire, a block adjacent to the air has to be [[Fire#Burning blocks|flammable]], or one of the wood-constructed [[Fire#Non-flammable blocks|non-flammable]] blocks. Since catching fire depends on air blocks, even torches or lava itself can prevent a flammable block from catching fire.  Additionally, not all flammable or wood-constructed blocks can be ignited by lava.

The lava of any depth can start fires this way, whether or not it appears to have a current.

Additional conditions must be met, depending on the edition of Minecraft.

===== Java Edition =====
{{FakeImage|align=right|{{BlockGrid|scale=2|L=lava|w=Oak Planks|p=Orange Stained Glass|s=Light Gray Stained Glass|wwwwwwwww|wwsssssww|wspppppsw|wwspppsww|wwwsLswww|wwwwwwwww}}|Example for JE. The orange area represents areas<br>where air could catch flame if the<br>gray and orange areas contain<br>flammable blocks. The wood<br>is all at a safe distance.
}}

Air block must be in a 3×1×3 area right above the lava or in a 5×1×5 2 blocks above the lava.

Note that an air block in the 5x1x5 area will not catch on fire if the 3x1x3 area is completely filled, even if the latter is filled with flammable blocks.

===== Bedrock Edition =====
The block to be set on fire must be in a 3×3×3 cube centered on a lava block, above which there must be either air or an ignitable block.

=== Flow ===
{{See also|Fluid}}

Lava flows from "source blocks". Most streams or "lava-falls" come from a single source block, but lava lakes (including the "flood lava" in the bottom 10 layers) are composed entirely of source blocks. A source block can be captured only with a [[lava bucket|bucket]].

In the [[Overworld]] and [[the End]], lava travels 3 blocks in any horizontal direction from a source block. Lava flows far more slowly than water (1 block every 30 game ticks, or 1.5 seconds), and sourceless lava flows linger for a short time more. In [[the Nether]], lava travels 7 blocks horizontally and spreads 1 block every 10 game ticks, or 2 blocks per second, which is half the speed as water in the Overworld. In all dimensions, lava spreading uses the same mechanic as water: for every adjacent block it can flow into it tries to find a way down that is reachable in four or fewer blocks from the block it wants to flow to. When found, the flow weight for that direction is set to the shortest path distance to the way down. (This can result in lava flows turning toward dropoffs that they cannot reach in the Overworld and the End.)

Flowing lava destroys the following in its path: [[sapling]]s, [[cobweb]], [[tall grass]], [[dead bush]], [[wheat]], [[flower]]s, [[mushroom]]s, [[snow]] on ground (but snow blocks are immune), [[lily pad]]s, [[vines]], [[lever]]s, [[button]]s, all three types of [[torch]]es, [[redstone]], [[redstone repeater|repeaters]], [[end rod]]s, and [[rail]]s. [[Sugar cane]]s hold back lava, but disappear if the sugar cane's water source is destroyed by the lava. Lava also slows down entities, including those that are normally immune to lava damage.

Using redstone wire, a one-block lava flow can be redirected by supplying power to the source block, which causes it to reset the flow toward the now-nearest terrain depression. It cannot, however, be reversed. This re-calculation is made because of the redstone wire when toggled changes the block from redstone (on) to redstone (off). Whenever a block updates on any side of the lava, the lava re-calculates where to flow, but does not cut off its current direction of flow. In Bedrock Edition using the /setblock command can be used to create stationary lava without the use of barriers. 

Flowing lava can push entities.

==== Flow arrangement tables ====

===== Overworld and the End =====
{| class="wikitable"
|+
|
|
|
!4
|
|
|
|-
|
|
!4
!3
!4
|
|
|-
|
!4
!3
!2
!3
!4
|
|-
!4
!3
!2
!1
!2
!3
!4
|-
|
!4
!3
!2
!3
!4
|
|-
|
|
!4
!3
!4
|
|
|-
|
|
|
!4
|
|
|
|}
{| class="wikitable"
|+
! colspan="2" |Range
!Height in blocks
|-
!1
|block
|1
|-
!2
|blocks
|0.75-1
|-
!3
|blocks
|0.5-0.75
|-
!4
|blocks
|0.25-0.5
|}

===== The Nether =====
{| class="wikitable"
|+
|
|
|
|
|
|
!7
|
|
|
|
|
|
|-
|
|
|
|
|
!7
!6
!7
|
|
|
|
|
|-
|
|
|
|
!7
!6
!5
!6
!7
|
|
|
|
|-
|
|
|
!7
!6
!5
!4
!5
!6
!7
|
|
|
|-
|
|
!7
!6
!5
!4
!3
!4
!5
!6
!7
|
|
|-
|
!7
!6
!5
!4
!3
!2
!3
!4
!5
!6
!7
|
|-
!7
!6
!5
!4
!3
!2
!1
!2
!3
!4
!5
!6
!7
|-
|
!7
!6
!5
!4
!3
!2
!3
!4
!5
!6
!7
|
|-
|
|
!7
!6
!5
!4
!3
!4
!5
!6
!7
|
|
|-
|
|
|
!7
!6
!5
!4
!5
!6
!7
|
|
|
|-
|
|
|
|
!7
!6
!5
!6
!7
|
|
|
|
|-
|
|
|
|
|
!7
!6
!7
|
|
|
|
|
|-
|
|
|
|
|
|
!7
|
|
|
|
|
|
|}

{| class="wikitable"
! colspan="2" |Range
!Height in blocks
|-
!1
|block
|1
|-
!2
|blocks
|0.75-1
|-
!3
|blocks
|0.625-0.75
|-
!4
|blocks
|0.5-0.625
|-
!5
|blocks
|0.375-0.5
|-
!6
|blocks
|0.25-0.375
|-
!7
|blocks
|0.125-0.25
|}

=== Lava and water ===
{{Main|Fluid#Mixing}}

Water and lava can produce [[stone]], [[cobblestone]], or [[obsidian]] based on how they interact. Lava can also generate basalt when above soul soil and touching blue ice.

=== Light source ===

Lava blocks emit a [[light]] level of 15.

=== Other ===
[[File:LavaDropletsExample.png|thumb|If there is lava flowing above a [[block]], the lava seeps through.]]

Lava above a non-transparent block (does ''not'' include stairs, fences, and slabs) produces dripping particles on the underside of that block. These droplets do not do anything other than warn the player that a deluge of lava lies above that block. The particles function identically to their water counterparts, except that they drip slower.

Flowing lava can set off tripwires because it breaks placed string. Lava triggers a tripwire only once.

Any [[item (entity)|item]] dropped into lava is immediately destroyed, except for [[netherite]]-related items. [[Lodestone|Lodestones]], however, can be destroyed by lava despite containing netherite.<ref>{{bug|MC-176618|||WAI}}</ref>

Lava can be placed in an empty [[cauldron]].

If lava is above a non-transparent block supporting [[pointed dripstone]], dripping particles are created on the end. These can fill cauldrons with lava.

== Farming ==
{{main|Tutorials/Lava farming}}
Lava farms can be created by placing a lava source block on top of a solid block and a [[pointed dripstone]] and a [[cauldron]] underneath.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Lava.ogg
|subtitle=Lava pops
|source=block
|description=Randomly
|id=block.lava.ambient
|translationkey=subtitles.block.lava.ambient
|volume=0.2-0.4
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Fizz.ogg
|subtitle=Lava hisses
|source=block
|description=When lava mixes with water, making a block
|id=block.lava.extinguish
|translationkey=subtitles.block.lava.extinguish
|volume=0.5
|pitch=1.8-3.4
|distance=16}}
{{Sound table
|sound=Lava pop.ogg
|subtitle=Lava pops
|source=block
|description=When a lava bubble particle spawns
|id=block.lava.pop
|translationkey=subtitles.block.lava.ambient
|volume=0.2-0.4
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Empty lava bucket1.ogg
|sound2=Empty lava bucket2.ogg
|sound3=Empty lava bucket3.ogg
|subtitle=Bucket empties
|source=block
|description=When lava is placed with a bucket
|id=item.bucket.empty_lava
|translationkey=subtitles.item.bucket.empty
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Fill lava bucket1.ogg
|sound2=Fill lava bucket2.ogg
|sound3=Fill lava bucket3.ogg
|subtitle=Bucket fills
|source=player
|description=When lava is collected with a bucket
|id=item.bucket.fill_lava
|translationkey=subtitles.item.bucket.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Fizz.ogg
|subtitle=Fire extinguishes
|description=When something [[freezing]] is dunked into lava
|source=block
|id=entity.generic.extinguish_fire
|translationkey=subtitles.entity.generic.extinguish_fire
|volume=0.7
|pitch=1.2-2.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Lava.ogg
|source=block
|description=Randomly
|id=liquid.lava
|volume=0.4-0.6
|pitch=0.9-1.05}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When lava mixes with water, making a block
|id=random.fizz
|volume=0.5
|pitch=1.8-2.4}}
{{Sound table
|sound=Lava pop.ogg
|source=block
|description=When a lava bubble particle spawns
|id=liquid.lavapop
|volume=0.4-0.6
|pitch=0.9-1.05}}
{{Sound table
|sound=Empty lava bucket1.ogg
|sound2=Empty lava bucket2.ogg
|sound3=Empty lava bucket3.ogg
|source=block
|description=When lava is placed with a bucket
|id=bucket.empty_lava
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fill lava bucket1.ogg
|sound2=Fill lava bucket2.ogg
|sound3=Fill lava bucket3.ogg
|source=block
|description=When lava is collected with a bucket
|id=bucket.fill_lava
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When something freezing is dunked into lava
|id=random.fizz
|foot=1}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Lava
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=lava
|spritetype=block
|nameid=lava
|blocktags=strider_warm_blocks
|form=block
|foot=1}}
{{ID table
|firstcolumnname=Lava
|showfluidtags=y
|displayname=Fluid
|spritename=lava
|spritetype=block
|nameid=lava
|fluidtags=lava}}
{{ID table
|displayname=Flowing Fluid
|spritetype=block
|spritename=lava
|nameid=flowing_lava
|fluidtags=lava
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Lava
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Flowing
|spritename=lava
|spritetype=block
|nameid=flowing_lava
|id=10
|form=block}}
{{ID table
|displayname=Stationary
|spritename=lava
|spritetype=block
|nameid=lava
|id=11
|form=block
|foot=1}}

Lava spends most of its time as stationary, rather than 'flowing' – regardless of its level, or whether it contains a current downward or to the side.  When specifically triggered by a block update, lava changes to 'flowing', update its level, then change back to stationary.  Lava springs are generated as flowing, and lava lakes are generated as stationary.

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

=== Fluid states ===
{{see also|Block states}}
{{/FS}}

== Achievements ==
{{load achievements|Stayin' Frosty;Super Fuel;Feels Like Home}}

== Advancements ==
{{Load advancements|Hot Stuff;Feels Like Home}}

== History ==
{{main|/History}}
{{History|java classic}}
{{History||0.0.12a|snap=May 19, 2009|slink=Java Edition Classic 0.0.12a/Development#Lava test (May 19, 2009)|Lava is shown.}}
{{History|||snap=release|slink=Java Edition Classic 0.0.12a|[[File:Lava JE1.png|32px]] Added lava.
|The texture is transparent.
|Lava spreads by duplicating itself to open horizontal and downward squares.
|Lava is slower than [[water]] and can be easily outrun.
|Model has z-fighting with blocks below lava.}}
{{History||0.0.13a|[[File:Lava JE2.png|32px]] The texture has changed to be opaque.}}
{{History||0.0.13a_03|Lava lakes no longer generate.}}
{{History||0.0.15a|link=Java Edition Classic 0.0.15a (Multiplayer Test 1)|[[File:Lava JE3.png|32px]] The model is no longer shaded.}}
{{History||0.0.19a|[[File:Lava JE4.png|32px]] Added a [[Procedural animated texture generation|procedural animated texture]] to lava. Old texture is still retained for use as a [[animation placeholder texture|placeholder]].|Upscaled model 2% to fix z-fighting with blocks below lava. It's created lava or water models overlapping and z-fighting with each other.|Added lava layer to the bottom of the map.<!--as it traps the [[player]] and prevents the player from leaving unless [[water]] is let in and collides with it or if the player places a [[sand]] or [[gravel]] block, letting it [[drops|drop]] into the lava. If water is let into the area where the lava is, the lava becomes [[stone]], allowing the stone block to be removed to expose bedrock underneath.-->}}
{{History||0.0.20a_02|[[File:Lava JE5.png|32px]] Changed model scale back to normal with 1% offset on all coordinates.}}
{{History||0.0.22a|[[File:Lava JE6.png|32px]] Lava's generated texture has changed - it now appears brighter overall.}}
{{History||August 25, 2009|link=https://notch.tumblr.com/post/170887079/survival-mode-status-update-video-with-plenty-of|Lava has been shown to deal [[damage]].}}
{{History||0.24_SURVIVAL_TEST|Lava now deals damage.}}
{{History||0.26  SURVIVAL TEST|[[File:Lava JE7.png|32px]] UV mapping on side faces now has 11% v offset up.}}
{{History||0.28|[[File:Lava JE6.png|32px]] Fixed UV mapping.}}
{{History|java indev}}
{{History||0.31|snap=20091223-2|Lava is now luminous.}}
{{History|||snap=20100110|Lava now sets [[fire]] to flammable materials.}}
{{History|||snap=20100122|Added [[lava spawner]]s that spawn lava on sides and bottom.|It appears in the player's inventory in a stack of 5.
|Lava now flows, but more slowly than water.<ref>[[wordofnotch:347976621]]</ref>
|Dropped [[item]]s now burn in lava.
|Shot [[arrow]]s catch [[fire]] and not burn in lava.}}
{{History|||snap=20100124|Lava spawner can no longer be found in the player's inventory. Instead, a full stack (99) can be found inside the [[Indev house]] chests.}}
{{History|||snap=20100125-1|Lava now has [[particles|particle]] effects.}}
{{History|||snap=20100130|Re-added the infinite lava sea to the bottom of the map.}}
{{History||20100219|[[File:Lava JE8.png|32px]] The model is shaded again.}}
{{History|java infdev}}
{{History||20100227-1|Lava no longer flows due to changes in chunk handling for infinite worlds.}}
{{History||20100607|[[File:Lava JE9.png|32px]] UV mapping now has 1% uv offset on top and bottom faces and 1% u, 11% v offset on side faces.}}
{{History||20100608|[[File:Lava JE8.png|32px]] Fixed UV mapping, once again.}}
{{History||20100615|[[File:Lava JE10.png|32px]] The model has been changed.
|Added flowing lava.
|Lava now creates flowing lava for a total distance of 7 blocks "away" from the source block.
|Flowing lava flows in a single line toward the nearest terrain depression within four blocks.}}
{{History||20100616-1|[[File:Lava JE11.png|32px]] Added flowing lava texture for sides and vertex offset.
|Lava and flowing lava now have visual connection to blocks.|A large lava flow is now visible in the dark from a long distance.}}
{{History||20100617-2|[[File:Lava JE12.png|32px]] Removed vertex offset.
|Lava now flows 3 blocks horizontally instead of 7.
|Lava and flowing lava touching water, flowing water, water spawner, or lava spawner now replaces with [[obsidian]].
|Removed the infinite lava sea at the bottom of the map.}}
{{History|java alpha}}
{{History||v1.0.2_02|Flowing of lava has been tweaked.}}
{{History||v1.0.4|Added [[ice]] and [[snow]], which lava can melt.}}
{{History||v1.0.15|Lava now sets nearby [[block]]s on [[fire]].}}
{{History||v1.2.0|snap=preview|Added [[the Nether]], which contains lava.}}
{{History||v1.2.2|Lava now flows further in the Nether.}}
{{History||v1.2.6|Added [[lava lake]]s, which can generate at any [[altitude]].}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Lava JE13.png|32px]] Changed [[lighting]].
|When lava is touched by [[rain]], it emits smoke [[particles]].
|Lava now generates in the blacksmiths of the newly added [[village]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Added lava dripping.
|Lava blocks now form [[stone]] when falling directly onto [[water]] source blocks.}}
{{History|||snap=Beta 1.9 Prerelease 3|Lava now generates in the newly added [[end portal]] rooms of [[stronghold]]s.}}
{{History|||snap=Beta 1.9 Prerelease 5|Only in this version, it is possible to create an infinite lava source using a plus-sign shaped arrangement of [[block]]s with four lava source blocks flowing into a central empty block.}}
{{History|||snap=RC1|[[File:Lava JE14.png|32px]] Faces on model now 0.1% moved to center to fix z-fighting on inner faces.}}
{{History||1.2.1|snap=12w05a|Lava (as well as the embers that pop out of it) now makes [[sound]]s. These sounds were in the game files for a long time, but they had not played in-game.}}
{{History||1.3.1|snap=12w21a|Lava can now be collected and dispensed by [[dispenser]]s containing buckets.}}
{{History||1.4.2|snap=12w38a|Flowing lava now has a constant [[sound]].}}
{{History||1.5|snap=13w02a|[[File:Lava JE15.png|32px]] The model of lava now uses animated texture files.
|There is now "hidden lava" in [[the Nether]].
|Lava now flows much more quickly in the Nether.}}
{{History||1.6.1|snap=13w18a|Lava no longer lingers after the source is removed.}}
{{History||1.7.2|snap=13w37a|Flowing lava, which previously could be destroyed by a few [[block]]s of [[TNT]], can no longer be destroyed by [[explosion]]s.}}
{{History||1.10|snap=16w21a|[[File:Lava JE16.png|32px]] [[File:Lava (bottom view) 16w21a.png|32px]] Lava is now [[color]]ed red ({{color|#ff0000}}) except for the bottom face.<ref>{{bug|MC-102511}}</ref>}}
{{History|||snap=16w21b|[[File:Lava JE15.png|32px]] Lava is no longer colored.
|Added 2 [[splash]]es referencing colored lava: "Rule #1: it's never my fault", "Replaced molten cheese with blood?".}}
{{History||1.11|snap=16w39a|Lava can now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=18w15a|[[File:Lava JE17.png|32px]] [[File:Swamp Lava 18w15a.png|32px]] [[File:Swamp Hills Lava 18w15a.png|32px]] [[File:Warm Ocean Lava 18w15a.png|32px]] [[File:Lukewarm Ocean Lava 18w15a.png|32px]] [[File:Cold Ocean Lava 18w15a.png|32px]] [[File:Frozen Ocean Lava 18w15a.png|32px]] Lava is now biome colored except for the bottom face. This is linked to new biome coloring for water.<ref>{{bug|MC-128233}}</ref>}}
{{History|||snap=18w16a|[[File:Lava JE15.png|32px]] Lava is no longer biome colored.}}
{{History||1.16|snap=20w09a|Lava now pushes [[Entity|entities]].}}
{{History|||snap=20w13a|Added [[strider]]s, which can be [[saddle]]d and ridden across lava.
|When lava flows over [[soul soil]] next to [[blue ice]], it now turns into [[basalt]].}}
{{History|||snap=20w16a|Lava now generates as part of [[bastion remnants]] and [[ruined portal]]s.}}
{{History|||snap=Pre-release 3|Visibility under lava is now slightly better when under the effect of [[Fire Resistance]].}}
{{History||1.17|snap=20w45a|[[Cauldron]]s can now be filled with lava.}}
{{History|||snap=20w48a|Added a [[renewable]] way of obtaining lava through cauldrons and [[pointed dripstone]].}}
{{History|||snap=21w06a|Lava no longer replaces air below Y{{=}}11.}}
{{History|||snap=21w08a|Lava now replaces air below Y{{=}}-53.
|Lava [[spring]]s are able to generate below Y{{=}}0.}}
{{History|||snap=21w11a|[[Spectator]] mode players can now see through lava.<ref>{{bug|MC-71530|||Fixed}}</ref>}}
{{History|||snap=21w13a|Lava is now fully renewable, as pointed dripstone can be obtained in Survival without custom generation.}}
{{History|||snap=21w15a|The changes to lava generation in 21w06a and 21w08a have been reverted.}}
{{History||1.18|snap=Experimental Snapshot 1|The changes to lava generation in the 1.17 snapshots have been reintroduced.
|[[Aquifer]]s below Y{{=}}0 sometimes generate with lava instead of water.}}
{{History||1.19.3|snap=22w44a|Added [[game rule]] {{cd|lavaSourceConversion}}, which allows the formation of new lava source blocks when set to {{cd|true}}.}}

{{History|pocket alpha}}
{{History||v0.1.0|[[File:Lava BE1.png|32px]] Added lava.}}
{{History||v0.3.3|Lava no longer creates [[fire]], due to a game breaking spreading bug.}}
{{History||v0.7.0|Lava now lights flammable [[block]]s around it on fire.
|[[File:Lava BE2.png|32px]] [[File:Lava BE2.gif|32px]] Lava now has a flowing animation.}}
{{History||v0.8.0|snap=build 5|Lava flowing directly into [[water]] now actually spreads out over it.}}
{{History||v0.9.0|snap=build 1|Underground ponds of lava can now be found, making lava much more easy to obtain.
|Lava dripping [[particles]] have been added.
|Lava now generates in [[village]] blacksmiths and [[stronghold]] end portal rooms.}}
{{History||v0.12.1|snap=build 1|[[Player]]s are now able to [[swimming|swim]] in lava.
|Lava now generates in [[the Nether]].}}
{{History|||snap=build 6|[[File:Lava BE3.png|32px]] [[File:Lava BE3.gif|32px]] Lava is now brighter shaded.}}
{{History|||snap=build 8|Lava now cancels all fall [[damage]].}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Lava now generates in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.11.0|snap=beta 1.11.0.5|[[File:Lava BE4.png|32px]] The texture for lava has been changed to match ''Java Edition''.}}
{{History||1.16.0|snap=beta 1.16.0.51|Lava can now push entities.}}
{{History|||snap=beta 1.16.0.57|Lava now generates as a [[delta]] that can be found in [[basalt deltas]].
|Lava now generates as part of [[bastion remnants]] and [[ruined portal]]s.
|When lava flows over [[soul soil]] next to [[blue ice]], it now turns into [[basalt]].}}
{{History|||snap=beta 1.16.0.59|Lava can no longer push entities.}}
{{History||1.17.30|snap=beta 1.17.20.22|Lava can now push entities, once again.<ref>{{bug|MCPE-75124}}</ref>}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Lava JE12.png|32px]] Added lava.}}
{{History||xbox=TU12|[[File:Lava JE15.png|32px]] The texture for lava has been changed.
|Lava (as well as the embers that pop out of it) now makes [[sound]]s.}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|Lava can be used in custom superflats. It appears as a 3D block in the block selection screen of the custom superflat interface.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Lava BE3.png|32px]] Added lava.}}
{{History|foot}}

=== Data history ===
{{History|java}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 10 and 11.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
* A player with [[Fire Resistance]] can swim in lava without taking damage, although the swimming speed does not become faster.
* A player cannot sprint-swim in lava.
* An arrow catches fire when shot into flowing lava, but not still lava.
* [[Water]] flows into lava-occupied blocks as though it were empty space, and vice versa.
* Although lava is a fluid, it is not possible to drown in lava. This applies to all mobs. However, it is still possible to suffocate in lava. This applies to almost every mob.{{only|bedrock}}<ref>{{bug|MCPE-17073}}</ref>
* A player sleeping in a bed cannot be damaged by lava.
* If the lava is changed to be transparent via a [[resource pack]], it does not become transparent.
* {{IN|bedrock}}, lava does not deactivate [[elytra]] like [[water]] does.
* Despite flowing identically to water while in [[the Nether]], it was not possible to create an infinite spring of lava before [[Java Edition 1.19.3|1.19.3]].
** Before Lava source conversion was implemented, the ''Minecraft: Combat Handbook'' (2014) stated the possibility to create infinite sources of lava by simply creating a cross shape with 4 nether bricks and placing lava in the middle. As expected, this turned out to be false, as confirmed by [[Nathan Adams|Dinnerbone]].<ref>[[bugtracker:MC-71088|MC-71088]]</ref>
* Geologically, lava in the Overworld is consistent with [[wikipedia:Felsic lava|felsic lava]], and lava in the Nether is consistent with [[wikipedia:mafic lava|mafic lava]]. Felsic lava is slow, sticky, and does not run as far as mafic lava, which is relatively thin and runny.
* When lava source conversion was implemented, any text where lava was supposed to be said "lave" instead.
** A splash text now says "Made with 'lave'".

== Gallery ==
<gallery>
Lavameltpattern1.png|Lava's melting pattern for snow and ice.
Water and lava springs.png|A natural lava spring near a waterfall.
Cave Lava.png|The lava "ocean" layer of [[cave]]s.
Lavastreamwithores.png|A naturally-occurring stream of lava next to diamond and iron ore.
Spawn Point Lava Warning.png|The warning in [[Legacy Console Edition]] when trying to place lava near the spawn point.
Lave found close under the dessert.png|A running lava source (origin not seen) uncovered six blocks below the surface of desert terrain.
Lava with Night vision potion.png|The inside view of lava with the night vision effect.
Ladders Blocking Lava.png|Ladders can stop lava from flowing.
Lava flowing off cliff.png|A lava [[spring]].
Minecraft Surface LavaFall.png|Lava spreading into dirt.
Exposed Cavern Lava.png|Lava in a ravine.
Lava in Ravine.png|Lava found in a snowy [[ravine]].
BedrockLava.png|Lava generates on bedrock. 
BedrockPostLavaRemoval.png| Lava being extinguished near bedrock. 
LavaRiver.png| Lava pool and water pool meeting each other naturally. 
Lavafall.png| Two lava springs meeting water in a savannah plateau.
Lava spring.png| Lava spreading in the Overworld. 
Minecraft lavalake.png| A lava spring spreading into a lava lake. 
Lava cane.png|Sugar cane growing with lava flowing around it.
TallLavafall.png|Tall lavafall flowing into ravine.
RavineandStornghold.png|Ravine with multiple ores, water and lava falls, and stronghold bridge over it.
Underground Lava Lake.png|Another example of underground lava lake.
Lwava.png|Lava pouring from a cliff.
Extreme Hills Falls.png|Lava and water pouring from a cliff.
Lavalake.png|Lava and ores in a cave underground.
Cavern2.png|Lava texture in Classic [[0.0.21a_01]].
Lavaspring.png|Lava setting fire to [[grass]].
File:Mobbo Destroyed Village.jpeg|A [[village]] ravaged by lava.
File:Lava Moodlight.jpg|An officially licensed lava block moodlight.
</gallery>

== References ==
{{Reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/block-week-lava Block of the Week: Lava] – Minecraft.net on September 29, 2017
*[[wikipedia:Lava|Real-life lava on Wikipedia]]
*[[wikipedia:Magma|Real-life magma on Wikipedia]]

{{Blocks|natural}}
{{Items}}

[[Category:Fluids]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]
[[Category:Light sources]]

[[cs:Láva]]
[[de:Lava]]
[[es:Lava]]
[[fr:Lave]]
[[hu:Láva]]
[[it:Lava]]
[[ja:溶岩]]
[[ko:용암]]
[[nl:Lava]]
[[pl:Lawa]]
[[pt:Lava]]
[[ru:Лава]]
[[th:ลาวา]]
[[tr:Lav]]
[[uk:Лава]]
[[zh:熔岩]]</li><li>[[Debug fourj item|Debug fourj item]]<br/>{{DISPLAYTITLE:<samp>debug_fourj_item</samp>}}
{{exclusive|Legacy Console}}{{Unobtainable||edition=console|section=}}{{Item
| image = Barrier (held) JE1 BE1.png
| renewable = No
| stackable = Yes (64)
| rarity = Common
| title = <samp>debug_fourj_item</samp>
}}
<samp>'''debug_fourj_item'''</samp> is an unobtainable item exclusive to the [[Legacy Console Edition]] and can only be obtained through modding the game. It has the texture of a [[barrier]], no "What's this?" hint and no display name.

==Obtaining==
The only way to obtain this item is via inventory editors and other external tools.

==Usage==
The purpose of this item is unknown, and it cannot be placed. Although the ID<ref name="r">[https://youtu.be/IscH0rUw_20 "マインクラフト WiiU 全面の木、偽バリアブロックのアイテムID公開"] - YouTube, March 26, 2019</ref> suggests that it was used for debugging and testing purposes.

==Data values==
===ID===
{{ID table|displayname=[No displayed name]
|showforms=y|form=item|nameid=debug_fourj_item|id=2255<ref group="note">Numerical IDs aren't supported on the Legacy Console Edition anymore.</ref><ref name="r"/>|shownumericids=y|translationkey=item.debug_fourj_item.name|generatetranslationkeys=y|foot=1}}
<references group="note" />

==History==
{{History|console}}
{{History||xbox=unknown|xbone=unknown|ps=unknown|wiiu=unknown|switch=unknown|[[File:Barrier (held) JE1 BE1.png|32px]] Added <samp>debug_fourj_item</samp>.}}
{{History|foot}}

== Gallery ==
<gallery>
Debug fourj item in inventory.png|<samp>debug_fourj_item</samp> as it appears in one's inventory
</gallery>

==See also==

*[[Debug Stick]]

==References==
<references />

{{Items}}
{{Unused features}}
[[Category:Articles missing historical information]]</li></ul>
Villagers spawned via a spawn egg will now have a random profession.
12w21a
{{Extension DPL}}<ul><li>[[Gray Dye|Gray Dye]]<br/>{{Item
| image = Gray Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Gray dye'''{{fn|Known as '''Grey Dye''' in British, Canadian, Australian, and New Zealand English variants.}} is a [[Dyeing#Secondary colors|secondary color]] dye.

== Obtaining ==

=== Crafting ===

{{Crafting
  |Black Dye
  |White Dye
  |Output=Gray Dye,2
  |type=Material
  |head=1
  |showdescription=1
  |showname=0
}}
{{Crafting
  |Ink Sac;Black Dye;Ink Sac
  |Bone Meal;Bone Meal;White Dye
  |Output=Gray Dye,2
  |type=Material
  |description={{only|bedrock|education}}
  |foot=1
}}

=== Trading ===

[[Wandering trader]]s sell 3 gray dye for an [[emerald]].{{only|bedrock}}

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Gray Dye}}

=== Trading ===
Journeyman-level villagers have a 20% chance to buy 12 gray dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gray Dye
|spritetype=item
|nameid=gray_dye
|aliasid=dye / 8
|id=403
|form=item
|translationkey=item.dye.gray.name
|foot=1}}

== Video ==
{{yt|wGalHy0_fj0}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Gray dye can be now [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Gray dye is now [[crafting|crafted]] using [[black dye|black]] and [[white dye]]s, instead of [[ink sac]] and [[bone meal]].
|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}
{{History|||snap=18w44a|Gray dye can now change the text color on the [[sign]]s to gray.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell gray dyes.}}
{{History|||snap=19w11a|Gray dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Gray dye can now used to craft [[gray candle]]s.}}
{{History|||snap=21w19a|Gray dye can no longer be used to craft gray candles.}}
{{History|||snap=Pre-release 1|Gray dye can once again be used to craft gray candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Gray dye can now change the text color on [[hanging sign]]s to gray.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.8.0|snap=build 1|Gray dye can be [[craft]]ed with [[bone meal]] and an [[ink sac]], despite there being no way of obtaining ink sacs at the time.}}
{{History|||snap=build 3|Gray dye is now available in [[creative]] mode.}}
{{History||v0.9.0|snap=build 3|Gray dye can now be obtained in [[survival]] mode.}}
{{History|||snap=build 11|Gray dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Gray dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Gray dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Gray dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gray dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Gray dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Gray dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Gray dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Gray dye is now [[trading|sold]] by [[wandering trader]]s.
|Gray dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Gray dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of gray dye has been changed from <code>dye/8</code> to <code>gray_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|PS4}}
{{History||1.90|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Notes ==
{{fnlist}}

== References ==
{{Reflist}}

{{Items}}

[[Category:Dyes]]
[[Category:Renewable resources]]

[[cs:Šedé barvivo]]
[[de:Grauer Farbstoff]]
[[es:Tinte gris]]
[[fr:Teinture grise]]
[[hu:Szürke festék]]
[[ja:灰色の染料]]
[[ko:회색 염료]]
[[nl:Grijze kleurstof]]
[[pl:Szary barwnik]]
[[pt:Corante cinza]]
[[ru:Серый краситель]]
[[zh:灰色染料]]</li><li>[[Copper Ingot|Copper Ingot]]<br/>{{About|the ingot|the ore|Copper Ore|the mineral block|Block of Copper}}
{{Item
| image = Copper Ingot.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Copper ingots''' are [[metal]] ingots obtained from smelting [[raw copper]] or killing [[drowned]].

== Obtaining ==

=== Crafting ===
{{Crafting
 |Block of Copper;Waxed Block of Copper|Output=Copper Ingot,9
 |type=Miscellaneous
}}

=== Smelting ===
Copper ingots can be obtained by smelting [[raw copper]] in a [[furnace]] or [[blast furnace]], as well as the ore itself if mined using [[Silk Touch]].

{{Smelting
|head=1
|Raw Copper
|Copper Ingot
|0.7
}}
{{Smelting
|foot=1
|Copper Ore; Deepslate Copper Ore
|Copper Ingot
|0.7
}}

=== Mob loot ===

==== Drowned ====

When killed by a [[player]] or a tamed [[wolf]], a [[drowned]] has a 11% ({{frac|11|100}}) chance of dropping a copper ingot. With the [[Looting]] enchantment, the chance can be increased to 13% ({{frac|13|100}}) with Looting I, 15% ({{frac|3|20}}) with Looting II, and 17% ({{frac|17|100}}) with Looting III.

== Usage ==

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

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Copper Ingot
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Copper Ingot
|Copper 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 palette is shown on the designs on trimmed armor:
*{{TrimPalette|copper ingot}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Copper Ingot
|spritetype=item
|nameid=copper_ingot
|form=item
|id=504
|foot=1}}

== History ==
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Copper Ingot JE1.png|32px]] Added copper ingots.}}
{{History|||snap=20w46a|[[File:Copper Ingot JE2 BE1.png|32px]] The texture of copper ingots has been changed.|Crafting copper ingots from and into copper blocks now outputs/requires only 4 ingots.}}
{{History|||snap=21w05a|[[Drowned]] can now drop copper ingots when killed instead of [[gold ingots]], making copper ingots renewable.}}
{{History|||snap=21w10a|Copper ingots can now be smelted from [[deepslate copper ore]].}}
{{History|||snap=21w14a|Copper ingots can now be smelted from [[raw copper]].}}
{{History|||snap=21w17a|The amount of copper ingots required to make a [[block of copper]] has been changed back to 9.}}
{{History||1.17.1|snap=Pre-release 1|Increased the chance of [[drowned]] dropping a copper ingot from 5% to 11% and the increase of this chance for each level of [[Looting]] enchantment from 1% to 2% to match {{el|be}}.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Copper ingots can now be used as an armor trim material.}}
{{History|||snap=1.19.4 Pre-release 1|Copper ingots can now be used to craft [[brush]]es.}}

{{History|bedrock}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.57|[[File:Copper Ingot JE2 BE1.png|32px]] Added copper ingots.}}
{{History||1.17.0|snap=beta 1.17.0.50|Copper ingots can now be used to craft [[spyglass|spyglasses]].}}
{{History|||snap=beta 1.17.0.52|Copper ingots are now available without enabling [[experimental gameplay]].}}
{{History|||snap=beta 1.17.0.54|The amount of copper ingots required to make a [[block of copper]] has been changed to 9.}}
{{History||Vanilla Experiments (experimental)|link=1.18.30|snap=beta 1.18.30.26|Copper ingots can now be used to craft copper horns.}}
{{History||1.19.0|snap=beta 1.19.0.24|Copper ingots can no longer be used to craft copper horns, as copper horns have been removed.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|Copper ingots can now be used to craft [[brush]]es.}}
{{History|||snap=beta 1.19.80.21|Copper ingots can now be used as an armor trim material.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--copper-ingot Taking Inventory:Copper Ingot] – Minecraft.net on December 22, 2022

{{Items}}

[[Category:Renewable resources]]

[[de:Kupferbarren]]
[[es:Lingote de cobre]]
[[fr:Lingot de cuivre]]
[[it:Lingotto di rame]]
[[ja:Copper Ingot]]
[[ko:구리괴]]
[[pl:Sztabka miedzi]]
[[pt:Barra de cobre]]
[[ru:Медный слиток]]
[[uk:Мідний злиток]]
[[zh:铜锭]]</li></ul>
Added trading with villagers. Leaving a trading window open will cause villagers not to wander under normal circumstances.
12w22a
{{Extension DPL}}<ul><li>[[Sugar Cane|Sugar Cane]]<br/>{{Block
|image=Sugar Cane.png
|image2=Sugar Cane (item) JE3.png
|extratext = View all [[#Gallery|renders]]
|transparent=Yes
|light=No
|tool=any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}
'''Sugar cane''' is a block found as 1–4-block-tall. It plants near water in the [[Overworld]]. As an item, it is an important crafting ingredient.

== Obtaining ==
Sugar cane can be mined instantly with anything.

When the spot a sugar cane block is placed in becomes unsuitable, such as when the supporting block is removed, the sugar cane block uproots and drops as an item. {{IN|be}}, sugar cane uproots immediately after all adjacent water is removed. {{IN|je}}, sugar cane uproots on the next block update or [[Tick#Random tick|random tick]].

A sugar cane block drops itself as an item if a piston tries to push it (trying to pull it does nothing) or moves a block into its space.

=== Natural generation ===
[[File:Sugar Canez.png|thumb|250px|Naturally-occurring sugar cane near a river.]]
Sugar cane can generate naturally near [[water]], as two ({{frac|11|18}} chance), three ({{frac|5|18}} chance), or four ({{frac|2|18}} chance) blocks tall. Rare taller sugar canes can be found if the world generator places two smaller canes on top of each other. It generates in approximately 0.8 sugar cane per chunk seeing as how they only generate near bodies of water.

Sugar canes attempt to generate 10 times in any Overworld biome, which requires water. An extra 10 attempts are made in [[swamp]] biomes, and 50 in [[desert]] biomes, which makes sugar cane twice as frequent in swamps and six times as frequent in desert biomes, making the banks of [[river]]s that cut through deserts lined with sugar canes.

Sugar cane cannot generate in caves {{in|je}}.<ref>{{bug|MC-214959||Sugar cane generated in cave|Fixed}}</ref>

=== Trading ===
[[Wandering trader]]s can sell sugar cane for an [[emerald]].

== Usage ==
Due to its water-displacing properties, sugar cane can interestingly be used to create underwater paths, allowing [[player]]s to move at normal speed and breathe if it is two blocks in height.{{only|java}}<ref>{{bug|MC-929||Sugar cane can be placed underwater|WAI}}</ref>

Sugar cane takes on a different shade of green depending on the biome in which it is placed.

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

=== Farming ===
{{main|Tutorials/Sugar cane farming}}
[[File:Underground Sugar Farm.png|200px|thumb|An underground sugar cane farm.]]

Sugar cane can generate naturally up to any number of blocks tall, but ''grow'' only to a height of three blocks, adding a block of height when the top sugar cane block has received 16 random [[Tick#Block tick|block tick]]s (i.e. on average every 18 minutes on ''Java Edition''<!-- Average 68.27 seconds/tick * 16 ticks/growth = 18.2 minutes --> or 54 minutes on Bedrock Edition, but the actual rate can vary widely). 
Sugar cane must be planted on a [[grass block]], [[dirt]], [[coarse dirt]], [[rooted dirt]], [[podzol]], [[mycelium]], [[sand]], [[red sand]], [[suspicious sand]], [[moss block]], or [[mud]] that is directly adjacent to [[water]], [[waterlogged]] block, or [[frosted ice]] (not merely above or diagonal to water), or on top of another sugar cane block. The adjacent water block can be covered with another block, whether [[opacity|opaque or transparent]], and sugar cane can still be placed and grow next to it. Sugar cane grows regardless of light level, even in complete darkness.
[[File:4blockcane.png|thumb|A natural 4-block-high sugar cane plant.]]
{{IN|bedrock}}, [[bone meal]] can be used to instantly grow sugar cane to three blocks. Only one bone meal is consumed. {{IN|java}}, bone meal cannot be used on sugar cane.<ref>{{bug|MC-73963||Can't use bonemeal on cacti or sugar cane|WAI}}</ref>

On average, it takes [[Tutorials/Sugar_cane_farming#Mechanics|18 minutes]] for a single block of sugar cane to grow 3 blocks tall.

=== Composting ===
Placing sugar cane into a [[composter]] has a 50% chance of raising the compost level by 1.

== List of colors ==
{{Missing information|Bedrock Edition colors (see [[Water#Color]]{{verify|it's there?}})}}

=== ''Java Edition'' ===
These values are generated by the biome dyeing algorithm. See [[Color#Biome colors|Biome colors]] for more information.
<div class="mw-collapsible mw-collapsed" style="float: left">
{| class="wikitable sortable" style="text-align:center" data-description="Java edition biome colors"
!Biome !! Category !! Rainfall !! Sugarcane Color !! Temperature Affects !! Render
|-
| {{BiomeLink|Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Beach}} || Beach || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Dark Forest}} || Forest || Rain || #507a32 || || [[File:Dark Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Frozen Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Desert}} || Desert || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Barrens}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Highlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Midlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Eroded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Flower Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen Ocean}} || Ocean || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen River}} || River || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Spruce Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Pine Taiga}} || Taiga || Rain || #86b87f || || [[File:Old Growth Pine Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ice Spikes}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Jungle}} || Jungle || Rain || #59c93c || || [[File:Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sparse Jungle}} || Jungle || Rain || #64c73f || || [[File:Sparse Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Hills}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Mushroom Fields}} || Mushroom || Rain || #55c93f || || [[File:Mushroom Fields Sugar Cane.png|32px]]
|-
| {{BiomeLink|Nether}} || Nether || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|River}} || River || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna Plateau}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Small End Islands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Beach}} || Beach || Snow || #83b593 || || [[File:Snowy Beach Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Taiga}} || Taiga || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Plains}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Stony Shore}} || None || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sunflower Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Swamp}} || Swamp || Rain || #6A7039 || If temperature below -0.1, used #4C763C. || [[File:Swamp Sugar Cane.png|32px]] / [[File:Swamp Sugar Cane (Cold).png|32px]]
|-
| {{BiomeLink|Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|The End}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|The Void}} || None || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Warm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Wooded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Forest}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|}
</div>
{{clear}}
=== Bedrock Edition ===
{{empty section}}

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Sugar Cane
|spritetype=block
|nameid=sugar_cane
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Sugar Cane
|shownumericids=y
|showforms=y
|showaliasids=y
|generatetranslationkeys=y
|displayname=Block
|spritename=sugar-cane
|spritetype=block
|nameid=reeds
|id=83
|form=block
|itemform=item.reeds}}
{{ID table
|displayname=Item
|spritename=sugar-cane
|spritetype=item
|nameid=sugar_cane
|id=385
|form=item
|aliasid=reeds
|translationkey=item.reeds.name
|foot=1}}

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

{{/BS}}

== Video ==
{{Video note|This video was made before sugar cane had a different shade of green depending on the biome.|minor}}
<div style="text-align:center">{{yt|zlOnwn3PH5o}}</div>

== History ==
{{more images|Appearance when affected by {{bug|MC-48831}}}}
{{History|java alpha}}
{{History||v1.0.11|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added reeds in the [[Seecret Updates|Seecret Friday Update 6]].
|Reeds are informally referred to as "bamboo" or "papyrus" by many [[player]]s. 
|Since reeds can be washed away with [[water]] currents or instantly destroyed by removing the water adjacent to them, automated reed farms can be made. 
|Reeds can be used to craft [[paper]].}}
{{History|java beta}}
{{History||1.2|[[Notch]] has [[wikipedia:Retroactive continuity|retconned]] reeds into sugar cane so that it can now be [[crafting|crafted]] into [[sugar]], included in the recipe for the [[cake]]s.}}
{{History||1.6|snap=Test Build 3|[[Arrow]]s no longer stick to sugar cane, and instead, they pass through. However, [[snowball]]s still come into contact with any sugar cane blocks, as if they are solid.}}
{{History||1.8|snap=Pre-release|Sugar cane can now grow and be placed onto [[sand]] as long as they are adjacent to [[water]]. This update allows sugar canes to appear next to [[water]] ponds in [[desert]] biomes.
|Sugar cane is now available in the [[creative]] [[inventory]] in both block and item forms.}}
{{History|java}}
{{History||1.0.0|snap=?|The sugar cane block has been removed from the creative inventory.}}
{{History||1.7.2|snap=13w36a|[[File:Sugar Cane JE2 BE2.png|32px]] Sugar cane is now [[tint]]ed depending on the [[biome]] it's in.
|The item texture remained unchanged, however, and still used the color palette from Alpha to 1.6.4.<ref name="Bug">{{bug|MC-216227}}</ref>}}
{{History||1.9|snap=15w43a|Sugar cane no longer breaks if its adjacent [[water]] is turned to [[frosted ice]].}}
{{History||1.13|snap=17w47a|The ID of sugar cane has now been changed from <code>reeds</code> to <code>sugar_cane</code>.
|"Sugar Canes" have now been renamed to "Sugar Cane".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 83, and the [[item]]'s 338.}}
{{History||1.14|snap=18w43a|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane item has been changed.}}
{{History|||snap=19w03a|Placing sugar cane into a [[composter]] has a 20% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Sugar cane now has a 50% chance of increasing the compost level in a composter by 1.
|Added [[wandering trader]]s, which sell sugar cane.}}
{{History||1.16|snap=20w13a|Sugar cane has been moved from the Miscellaneous tab to the Decoration Blocks tab in the [[Creative inventory]].<ref name="misc decoration">https://bugs.mojang.com/browse/MC-174434</ref>}}
{{History||1.17|snap=21w11a|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.<ref name="Bug"/>}}
{{History|||snap=Pre-release 1|Sugar cane now generates in mushroom fields.<ref>{{bug|MC-226683}}</ref>}}
{{History||1.19|snap=22w15a|Sugar cane can now be planted on mud.}}
{{History||1.20|snap=23w14a|Sugar cane can now be planted on [[suspicious sand]].}}

{{History|pocket alpha}}
{{History||Pre-release|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History||v0.2.0|Despite being visible in the inventory, sugar cane does not drop anything when mined, making it unobtainable in Survival mode.}}
{{History||v0.2.1|Survival players now start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.3.0|Sugar cane now drops its item form when mined.
|Survival players no longer start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.5.0|Sugar cane can now be grown on [[sand]].
|Sugar cane can now be obtained after activating the [[nether reactor]].}}
{{History||v0.8.0|snap=build 5|[[Bone meal]] can now grow sugar cane to maximum height.}}
{{History||v0.9.0|snap=build 1|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they are in.
|Using bone meal on sugar cane is no longer able to break blocks above it.}}
{{History||v0.12.1|snap=build 1|Sugar cane is no longer available from the [[nether reactor]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] Due to a bug, sugar canes no longer change color depending on the [[biome]].}}
{{History|bedrock}}
{{History||1.2.13|snap=beta 1.2.13.5|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar canes now changes depending on the [[biome]], once again.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.
|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Sugar canes can now be used to fill up [[composter]]s.}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar canes.
|Sugar canes are solid, making it useful for growable walls. Unlike on Java Edition, they were never renamed to Sugar Cane.}}
{{History||xbox=TU2|Sugar canes are no longer solid, and arrows pass through them.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they're in.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Sugar cane can now be grown with [[bonemeal]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.
|Sugar canes can now be used to fill up [[composter]]s.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History|foot}}

=== Sugar cane "item" ===
{{:Technical blocks/Sugar Cane}}

== Issues ==
{{Issue list}}

== Trivia ==
*When a sugar cane is broken at the second level, the time resets (for example, if a two-block high sugar cane is broken, but is just about to grow to the third stage, it would reset that time).
*By placing more sugar canes on top of a sugar cane plant, it is possible to create tall sugar canes (up to y=319, the maximum height for building), although they do not naturally grow this high.
*Before sugar cane received an official name, they were sometimes referred to as [[bamboo]], a block added 9 years later. Other names were "reeds" and "papyrus".

== Gallery ==
=== Renders ===
<gallery>
Plains Sugar Cane.png|Plains
Taiga Sugar Cane.png|Taiga
Snowy Plains Sugar Cane.png|Snowy plains
Jungle Sugar Cane.png|Jungle
Desert Sugar Cane.png|Desert
Swamp Sugar Cane (Cold).png|Swamp (cold)
Swamp Sugar Cane.png|Swamp
Badlands Sugar Cane.png|Badlands
</gallery>

=== In-game ===
<gallery>
Huge Sugar Farm.png|A large sugar cane farm using 2×2 [[water]] holes.
Sugar Cane Waterfall.png|Water flowing over sugar cane.
UnderwaterSugarCane.png|Naturally generated sugar cane found underwater.
Sugar and Cactus.png|A [[cactus]] and sugar cane stalk generated next to each other.
SugarCaneRavine.png|Sugar cane found in the [[ravine]].
Reeds in Winter mode.png|Reeds generated in the [[winter mode]].
Sugar Cane Naturally Growing.png|Sugar cane growing between [[biome]]s.
Mesa Sugar Cane.jpg|Sugar cane growing on [[red sand]] in a [[badlands]] biome.
Sugarcanenowaterglitch.png|Sugar cane generated without a water source.
SwampCane.png|Sugar cane generated in a [[swamp]] biome.
Sugar cane savanna.png|Sugar cane growing in a [[savanna]] biome.
ForestSugarcane.png|Sugar cane growing in a [[forest]] biome.
Lava cane.png|Sugar cane growing with lava flowing around it.
Before breaking.png|Sugar canes few seconds before breaking because the water is frozen.
Undergroundreed.png|A sugar cane plant that generated in an underground [[water lake]].
Cave Sugar.png|Another example.
</gallery>

=== Heights ===
<gallery>
Tall Sugar Cane.png|Four-block tall sugar cane.
4RiverCane.png|Four-block tall sugar cane.
4-block tall sugar cane.png|Four-block tall sugar cane in a [[plains]] biome.
</gallery>

== References ==
{{Reflist}}

{{Blocks|vegetation}}

{{Items}}

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

[[cs:Cukrová třtina]]
[[de:Zuckerrohr]]
[[es:Caña de azúcar]]
[[fr:Canne à sucre]]
[[hu:Cukornád]]
[[it:Canna da zucchero]]
[[ja:サトウキビ]]
[[ko:사탕수수]]
[[nl:Suikerriet]]
[[pl:Trzcina cukrowa]]
[[pt:Cana-de-açúcar]]
[[ru:Сахарный тростник]]
[[th:อ้อย]]
[[uk:Цукрова тростина]]
[[zh:甘蔗]]</li><li>[[Melon Seeds|Melon Seeds]]<br/>{{Block
|image = <gallery>
Melon Stem Age 0.png | Age 0
Melon Stem Age 1.png | Age 1
Melon Stem Age 2.png | Age 2
Melon Stem Age 3.png | Age 3
Melon Stem Age 4.png | Age 4
Melon Stem Age 5.png | Age 5
Melon Stem Age 6.png | Age 6
Melon Stem Age 7.png | Age 7
</gallery>
| image2 = <gallery>
Attached Melon Stem (N).png | North 
Attached Melon Stem (E).png | East
Attached Melon Stem (S).png | South
Attached Melon Stem (W).png | West
</gallery>
| transparent = Yes
| light = No
| tool = none
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}'''Melon seeds''' are items obtained from [[Melon Slice|melon slices]] that can be used to grow melon stems.

'''Melon stems''' are plants grown on [[farmland]] that, over time, grow [[melon]]s on dirt, mud and moss blocks adjacent to them.

== Obtaining ==
=== Breaking ===
When broken, a melon stem drops 0–3 melon seeds. The chance for melon seeds to drop increases with the stem's age.
{| class="wikitable"
! rowspan="3" |[[Resource location]]
! rowspan="3" | Source
! colspan="4" | Default
|-
| colspan="1" rowspan="2" style="text-align:center" | Nothing || colspan="3" style="text-align:center" |{{ItemLink|Melon Seeds|Melon seeds}}
|-
| style="text-align:center" | 1 || style="text-align:center" | 2 || style="text-align:center" | 3
|-
| rowspan="8" |<code>blocks/melon_stem</code>
|{{BlockLink|Melon Stem|Melon stem}} <code>age = 0</code>
| style="text-align:center" |81.3%|| style="text-align:center" |17.42%|| style="text-align:center" |1.24%|| style="text-align:center" |0.03%
|-
|{{BlockLink|Melon Stem|Melon stem}} <code>age = 1</code>
| style="text-align:center" |65.1%|| style="text-align:center" |30.04%|| style="text-align:center" |4.62%|| style="text-align:center" |0.24%
|-
|{{BlockLink|Melon Stem|Melon stem}} <code>age = 2</code>
| style="text-align:center" |51.2%|| style="text-align:center" |38.4%|| style="text-align:center" |9.6%|| style="text-align:center" |0.8%
|-
|{{BlockLink|Melon Stem|Melon stem}} <code>age = 3</code>
| style="text-align:center" |39.44%|| style="text-align:center" |43.02%|| style="text-align:center" |15.64%|| style="text-align:center" |1.9%
|-
|{{BlockLink|Melon Stem|Melon stem}} <code>age = 4</code>
| style="text-align:center" |29.13%|| style="text-align:center" |44.44%|| style="text-align:center" |22.22%|| style="text-align:center" |3.7%
|-
|{{BlockLink|Melon Stem|Melon stem}} <code>age = 5</code>
| style="text-align:center" |21.6%|| style="text-align:center" |43.2%|| style="text-align:center" |28.8%|| style="text-align:center" |6.4%
|-
|{{BlockLink|Melon Stem|Melon stem}} <code>age = 6</code>
| style="text-align:center" |15.17%|| style="text-align:center" |39.82%|| style="text-align:center" |34.84%|| style="text-align:center" |10.16%
|-
|{{BlockLink|Melon Stem|Melon stem}} <code>age = 7</code>
| style="text-align:center" |10.16%|| style="text-align:center" |34.84%|| style="text-align:center" |39.82%|| style="text-align:center" |15.17%
|-
| rowspan="1" |<code>blocks/attached_melon_stem</code>
|{{BlockLink|Attached Melon Stem|Attached Melon stem}}
| style="text-align:center" |10.16%|| style="text-align:center" |34.84%|| style="text-align:center" |39.82%|| style="text-align:center" |15.17%
|}

=== Natural generation ===
Melon stems generate naturally in stem farm inside [[woodland mansion]]s.

Melon stems generate in 20% of the farm plots in [[savanna]] [[village]]s, and 10% of the farm plots in [[desert]] villages.

=== Chest loot ===
{{LootChestItem|melon-seeds}}

=== Crafting ===
{{Crafting
|Melon Slice
|Output= Melon Seeds
|type= Material
}}

=== Trading ===
[[Wandering trader]]s sell melon seeds for 1 [[emerald]].

== Usage ==
=== Farming ===
{{see also|Tutorials/Pumpkin and melon farming}}
Melon seeds can be planted only on [[farmland]], as stems. Over time, a stem grows through several stages<sup>[''[[Talk:Pumpkin Seeds|needs testing]]'']</sup> and, at its final growth stage, will produce [[melon]]s on any adjacent [[dirt]], [[Coarse Dirt|coarse dirt]], [[Rooted Dirt|rooted dirt]], [[Grass Block|grass block]], [[farmland]], [[podzol]], [[mycelium]], [[Moss Block|moss block]], [[mud]] or [[Muddy Mangrove Roots|muddy mangrove roots]]. If a melon is already occupying a spot adjacent to a stem it does not grow more melons until the melons is removed. A single stem can grow an unlimited number of melons. Melon stems need a minimum light level of 10 in the block above the stem to grow and give melons. Melon seeds are affected by [[bone meal]] only with respect to stem growth; bone meal does not help produce the actual melons.

=== Breeding ===
Like other seeds, melon seeds can be used to [[breed]] [[chicken]]s, lead chickens around, and make baby chickens grow up faster by 10% of the remaining time.

=== Taming ===
Like other seeds, melon seeds can be used to tame [[parrot]]s.

=== Composting ===
Placing melon seeds into a [[composter]] has a 30% chance of raising the compost level by 1.

== Melon Stem ==
A '''melon stem''' is the block that is planted on [[farmland]] when melon seeds are used on it. It starts underground, and rises up as the plant grows. The stem is colored green when young, and then yellow once fully grown.

The stem curves once a melon has grown from it. A fully-grown single stem connects to any [[melon]] in an adjacent square, thus there are 5 possible appearances to a stem. If there are multiple melons it can connect to, it favors the east, then west, north, and south. When the melon is removed, the stem returns to its straight shape.

== Sounds ==
{{Sound table/Block/Hard crop}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Melon Stem
|spritetype=block
|nameid=melon_stem
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Attached Melon Stem
|spritetype=block
|nameid=attached_melon_stem
|form=block}}
{{ID table
|displayname=Melon Seeds
|spritetype=item
|nameid=melon_seeds
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Melon Stem
|spritetype=block
|nameid=melon_stem
|id=105
|form=block
|translationkey=-}}
{{ID table
|displayname=Melon Seeds
|spritetype=item
|nameid=melon_seeds
|id=293
|form=item
|foot=1}}

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

{{/BS}}

== Advancements ==
{{load advancements|A Seedy Place}}

== History ==
{{info needed section|check if stems floated above farmland upon initial implementation}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Melon Seeds JE1 BE1.png|32px]] Added melon seeds.
|[[File:Melon Stem Age 0 JE1.png|32px]] [[File:Stem Age 1 JE1.png|32px]] [[File:Melon Stem Age 2 JE1.png|32px]] [[File:Melon Stem Age 3 JE1.png|32px]] [[File:Melon Stem Age 4 JE1.png|32px]] [[File:Melon Stem Age 5 JE1.png|32px]] [[File:Melon Stem Age 6 JE1.png|32px]] [[File:Melon Stem Age 7 JE1.png|32px]] Added the melon stem, with seven stages of growth.
|Melon seeds can found in the new [[mineshaft]] [[chest]]s.
|[[File:Attached Melon Stem (N) JE1.png|32px]] [[File:Attached Melon Stem (E) JE1.png|32px]] [[File:Attached Melon Stem (S) JE1.png|32px]] [[File:Attached Melon Stem (W) JE1.png|32px]] Melon stems have four slightly visually distinct appearances for each facing direction - the bent part of the stem rotates, but the other two planes do not.
|[[File:Melon Stem Age 8 JE1.png|32px]] [[File:Melon Stem Age 9 JE1.png|32px]] [[File:Melon Stem Age 10 JE1.png|32px]] [[File:Melon Stem Age 11 JE1.png|32px]] [[File:Melon Stem Age 12 JE1.png|32px]] [[File:Melon Stem Age 13 JE1.png|32px]] [[File:Melon Stem Age 14 JE1.png|32px]] [[File:Melon Stem Age 15 JE1.png|32px]] Melon stem data values 8–15 now show a glitched formation, with a floating stem with an attached stem cross eventually emerging below.
|[[File:Attached Stem Age 8 JE1.png|32px]] [[File:Attached Stem Age 9 JE1.png|32px]] [[File:Attached Stem Age 10 JE1.png|32px]] [[File:Attached Stem Age 11 JE1.png|32px]] [[File:Attached Stem Age 12 JE1.png|32px]] [[File:Attached Stem Age 13 JE1.png|32px]] [[File:Attached Stem Age 14 JE1.png|32px]] [[File:Attached Stem Age 15 JE1.png|32px]] Melon stem blocks with data values higher than 7 can now attach to adjacent fruits, which results in buggy stem textures with [[vines]] in the mix due to vines being below attached stems in [[terrain.png]].}}
{{History|||snap=Pre-release 2 ;)|Melon stems can now be grown faster using [[bone meal]].}}
{{History|java}}
{{History||1.3.1|snap=1.3|The texture of melon stems has been moved one pixel to the left in [[terrain.png]].
|[[File:Melon Stem Age 0 JE2.png|32px]] [[File:Melon Stem Age 1 JE2.png|32px]] [[File:Melon Stem Age 2 JE2.png|32px]] [[File:Melon Stem Age 3 JE2.png|32px]] [[File:Melon Stem Age 4 JE2.png|32px]] [[File:Melon Stem Age 5 JE2.png|32px]] [[File:Melon Stem Age 6 JE2.png|32px]] [[File:Melon Stem Age 7 JE2.png|32px]] Stems now appear slightly different.
|[[File:Melon Stem Age 8 JE2.png|32px]] [[File:Melon Stem Age 9 JE2.png|32px]] [[File:Melon Stem Age 10 JE2.png|32px]] [[File:Melon Stem Age 11 JE2.png|32px]] [[File:Melon Stem Age 12 JE2.png|32px]] [[File:Melon Stem Age 13 JE2.png|32px]] [[File:Melon Stem Age 14 JE2.png|32px]] [[File:Melon Stem Age 15 JE2.png|32px]] Overgrown stems now appear slightly different.
|[[File:Attached Melon Stem (N) JE2.png|32px]] [[File:Attached Melon Stem (E) JE2.png|32px]] [[File:Attached Melon Stem (S) JE2.png|32px]] [[File:Attached Melon Stem (W) JE2.png|32px]] Attached melon stems now appear slightly different.
|[[File:Attached Stem Age 8 JE2.png|32px]] [[File:Attached Stem Age 9 JE2.png|32px]] [[File:Attached Stem Age 10 JE2.png|32px]] [[File:Attached Stem Age 11 JE2.png|32px]] [[File:Attached Stem Age 12 JE2.png|32px]] [[File:Attached Stem Age 13 JE2.png|32px]] [[File:Attached Stem Age 14 JE2.png|32px]] [[File:Attached Stem Age 15 JE2.png|32px]] Overgrown attached melon stems now appear slightly different.}}
{{History||1.4.2|snap=12w36a|[[Chicken]]s now use [[wheat seeds]], melon seeds, and [[pumpkin seeds]], instead of [[wheat]] to breed.}}
{{History||1.5|snap=13w02a|[[File:Melon Stem Age 0 JE3.png|32px]] [[File:Melon Stem Age 1 JE3.png|32px]] [[File:Melon Stem Age 2 JE3.png|32px]] [[File:Melon Stem Age 3 JE3.png|32px]] [[File:Melon Stem Age 4 JE3.png|32px]] [[File:Melon Stem Age 5 JE3.png|32px]] [[File:Melon Stem Age 6 JE3.png|32px]] Melon stems now use a squished version of their texture for immature stems, depending on age.
|[[File:Melon Stem Age 8 JE3.png|32px]] [[File:Melon Stem Age 9 JE3.png|32px]] [[File:Melon Stem Age 10 JE3.png|32px]] [[File:Melon Stem Age 11 JE3.png|32px]] [[File:Melon Stem Age 12 JE3.png|32px]] [[File:Melon Stem Age 13 JE3.png|32px]] [[File:Melon Stem Age 14 JE3.png|32px]] [[File:Melon Stem Age 15 JE3.png|32px]] This also affects melon stems of ages 8–15, which are likewise stretched to accommodate its predicted size.
|[[File:Attached Stem Age 8 JE3.png|32px]] [[File:Attached Stem Age 9 JE3.png|32px]] [[File:Attached Stem Age 10 JE3.png|32px]] [[File:Attached Stem Age 11 JE3.png|32px]] [[File:Attached Stem Age 12 JE3.png|32px]] [[File:Attached Stem Age 13 JE3.png|32px]] [[File:Attached Stem Age 14 JE3.png|32px]] [[File:Attached Stem Age 15 JE3.png|32px]] Melon stems of extreme ages, which are attached to adjacent fruits, now show a stretched and tinted stem appearance.}}
{{History|||snap=13w03a|[[File:Melon Stem Age 0 JE4.png|32px]] [[File:Melon Stem Age 1 JE4.png|32px]] [[File:Melon Stem Age 2 JE4.png|32px]] [[File:Melon Stem Age 3 JE4.png|32px]] [[File:Melon Stem Age 4 JE4.png|32px]] [[File:Melon Stem Age 5 JE4.png|32px]] [[File:Melon Stem Age 6 JE4.png|32px]] [[File:Melon Stem Age 7 JE4.png|32px]] Melon stems are no longer squished or stretched to account for age.<ref>{{bug|MC-7111}}</ref>
|[[File:Melon Stem Age 8 JE4.png|32px]] [[File:Melon Stem Age 9 JE4.png|32px]] [[File:Melon Stem Age 10 JE4.png|32px]] [[File:Melon Stem Age 11 JE4.png|32px]] [[File:Melon Stem Age 12 JE4.png|32px]] [[File:Melon Stem Age 13 JE4.png|32px]] [[File:Melon Stem Age 14 JE4.png|32px]] [[File:Melon Stem Age 15 JE4.png|32px]] Melon stems with age values 8 through 15 now show a tinted [[trapdoor]] texture.
|From this version up until 14w08a, overgrown melon stems start to draw from the texture below them on the [[texture atlas]], in much the same way they previously did with terrain.png. However, as texture atlases are unstable and textures tend to change positions as new blocks and textures are added, overgrown stems change the texture they draw from every time new textures are added, which includes when textures added by [[mods]].}}
{{History|||snap=13w09a|[[File:Melon Stem Age 8 JE5.png|32px]] [[File:Melon Stem Age 9 JE5.png|32px]] [[File:Melon Stem Age 10 JE5.png|32px]] [[File:Melon Stem Age 11 JE5.png|32px]] [[File:Melon Stem Age 12 JE5.png|32px]] [[File:Melon Stem Age 13 JE5.png|32px]] [[File:Melon Stem Age 14 JE5.png|32px]] [[File:Melon Stem Age 15 JE5.png|32px]] Melon stems with age values 8–15 now show a tinted [[birch wood]] texture.}}
{{History||1.6.1|snap=13w24a|Melon and pumpkin stems have now been assigned separate textures.
|[[File:Melon Stem Age 8 JE6.png|32px]] [[File:Melon Stem Age 9 JE6.png|32px]] [[File:Melon Stem Age 10 JE6.png|32px]] [[File:Melon Stem Age 11 JE6.png|32px]] [[File:Melon Stem Age 12 JE6.png|32px]] [[File:Melon Stem Age 13 JE6.png|32px]] [[File:Melon Stem Age 14 JE6.png|32px]] [[File:Melon Stem Age 15 JE6.png|32px]] Melon stems with age values 8–15 now show a tinted [[note block]] texture.}}
{{History||1.7.2|snap=13w37a|Added the {{cmd|setblock}} [[commands|command]], allowing for invalid stem ages to be placed in the world without using external editors. This also allows them to be obtained in earlier versions via backdating.}}
{{History|||snap=13w41a|[[File:Melon Stem Age 8 JE7.png|32px]] [[File:Melon Stem Age 9 JE7.png|32px]] [[File:Melon Stem Age 10 JE7.png|32px]] [[File:Melon Stem Age 11 JE7.png|32px]] [[File:Melon Stem Age 12 JE7.png|32px]] [[File:Melon Stem Age 13 JE7.png|32px]] [[File:Melon Stem Age 14 JE7.png|32px]] [[File:Melon Stem Age 15 JE7.png|32px]] Melon stems with age values 8–15 now show a tinted [[netherrack]] texture.}}
{{History||1.8|snap=14w10a|[[File:Melon Stem Age 8 JE8.png|32px]] [[File:Melon Stem Age 9 JE8.png|32px]] [[File:Melon Stem Age 10 JE8.png|32px]] [[File:Melon Stem Age 11 JE8.png|32px]] Melon stems with data values 8–11 now display a tinted attached stem, with 8 facing west, 9 facing east, 10 facing north and 11 facing south.
|Invalid melon stems with data values 12-15 now crash the game.}}
{{History|||snap=14w25a|[[File:Melon Stem Age 0 JE5.png|32px]] [[File:Melon Stem Age 1 JE5.png|32px]] [[File:Melon Stem Age 2 JE5.png|32px]] [[File:Melon Stem Age 3 JE5.png|32px]] [[File:Melon Stem Age 4 JE5.png|32px]] [[File:Melon Stem Age 5 JE5.png|32px]] [[File:Melon Stem Age 6 JE5.png|32px]] [[File:Melon Stem Age 7 JE5.png|32px]] Melon stems now render as a single diagonal plane, or, in the case of attached stems, a diagonal and orthogonal plane.
|[[File:Attached Melon Stem (N) JE3.png|32px]] [[File:Attached Melon Stem (E) JE3.png|32px]] [[File:Attached Melon Stem (S) JE3.png|32px]] [[File:Attached Melon Stem (W) JE3.png|32px]] The attached melon stem [[model]] now fully rotates to the direction the stem points. Prior to this update, the base of the melon stem would stay the same while the long attaching section would differ, resulting in four possible attached stem appearances.
|Invalid overgrown melon stems have effectively been removed from the game, as attempting to place an out of range stem via {{cmd|setblock}} creates a stem of age 0 and loading a world with such stems existing causes a game crash.}}
{{History|||snap=14w26a|[[File:Melon Stem Age 0 JE6.png|32px]] [[File:Melon Stem Age 1 JE6.png|32px]] [[File:Melon Stem Age 2 JE6.png|32px]] [[File:Melon Stem Age 3 JE6.png|32px]] [[File:Melon Stem Age 4 JE6.png|32px]] [[File:Melon Stem Age 5 JE6.png|32px]] [[File:Melon Stem Age 6 JE6.png|32px]] [[File:Melon Stem Age 7 JE6.png|32px]] [[File:Attached Melon Stem (N) JE4.png|32px]] [[File:Attached Melon Stem (E) JE4.png|32px]] [[File:Attached Melon Stem (S) JE4.png|32px]] [[File:Attached Melon Stem (W) JE4.png|32px]] Melon stems now correctly render as crosses again.<ref>{{bug|MC-58136}}</ref>}}
{{History|||snap=14w27a|[[File:Attached Stem Age 0 14w27a.png|32px]] [[File:Attached Stem Age 1 14w27a.png|32px]] [[File:Attached Stem Age 2 14w27a.png|32px]] [[File:Attached Stem Age 3 14w27a.png|32px]] [[File:Attached Stem Age 4 14w27a.png|32px]] [[File:Attached Stem Age 5 14w27a.png|32px]] [[File:Attached Stem Age 6 14w27a.png|32px]] Due to a bug, all melon stems appear attached regardless of age or any actual attachment.<ref>{{bug|MC-60208}}</ref>}}
{{History|||snap=14w28a|All melon stems appearing attached regardless of age or any actual attachment has been fixed. However, melon stems still appear attached to adjacent fruits regardless of age due to a similar bug.<ref>{{bug|MC-61716}}</ref>}}
{{History|||snap=14w34d|Melon seeds can no longer be used for [[breeding]] [[chicken]]s.}}
{{History||1.9|snap=15w31a|Chickens can now use melon seeds to breed again.}}
{{History|||snap=15w44a|Melon seeds have been added to [[dungeon]] [[chest]]s.
|The average yield of melon seeds from [[mineshaft]] chests has been decreased.}}
{{History|||snap=15w45a|Melon stems must now be fully grown again to attach.}}
{{History||1.11|snap=16w39a|Melon seeds can now be found inside chests in the new [[woodland mansion]]s.
|Melon crops now generate inside woodland mansions.}}
{{History||1.12|snap=17w18b|Placing a melon seeds in farmland now gives the player the "A Seedy Place" [[advancement]].{{verify}}}}
{{History||1.13|snap=17w47a|The different block states for the <code>melon_stem</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 105, and the [[item]]'s 362.}}
{{History|||snap=17w48a|Attached melon stems no longer [[drops|drop]] seeds.}}
{{History||1.14|snap=18w43a|[[File:Attached Melon Stem (N) JE5.png|32px]] [[File:Attached Melon Stem (E) JE5.png|32px]] [[File:Attached Melon Stem (S) JE5.png|32px]] [[File:Attached Melon Stem (W) JE5.png|32px]] The texture of attached melon stems has been changed.}}
{{History|||snap=18w49a|Melon stems now generate in the updated [[savanna]] [[village]]s.}}
{{History|||snap=18w50a|Melon stems now generate in the updated [[desert]] [[village]]s.}}
{{History|||snap=19w03a|Placing melon seeds into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Melon seeds now have a 30% chance of increasing the compost level in a composter by 1.
|Added [[Wandering Trader|wandering trader]]s, which sell melon seeds.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate melon stems.}}
{{History|||snap=19w39a|Attached melon stems now [[drops|drop]] seeds again.<ref>{{bug|MC-136360}}</ref>}}
{{History||1.18|snap=Pre-release 5|[[File:Melon Seeds JE2.png|32px]] The texture of melon seeds has been changed.}}

{{History|pocket alpha}}
{{History||v0.5.0|Added melon seeds.
|[[File:Melon Stem Age 0 JE1.png|32px]] [[File:Stem Age 1 JE1.png|32px]] [[File:Melon Stem Age 2 JE1.png|32px]] [[File:Melon Stem Age 3 JE1.png|32px]] [[File:Melon Stem Age 4 JE1.png|32px]] [[File:Melon Stem Age 5 JE1.png|32px]] [[File:Melon Stem Age 6 JE1.png|32px]] [[File:Melon Stem Age 7 JE1.png|32px]] [[File:Attached Melon Stem (N) JE1.png|32px]] [[File:Attached Melon Stem (E) JE1.png|32px]] [[File:Attached Melon Stem (S) JE1.png|32px]] [[File:Attached Melon Stem (W) JE1.png|32px]]{{verify|Are these models correct?}} Added melon stems.}}
{{History||v0.6.0|[[File:Melon Seeds JE1 BE1.png|32px]] Melon seeds no longer use the pumpkin seeds texture.}}
{{History||v0.9.0|snap=?|Melon seeds can now be found in [[mineshaft]] chests.}}
{{History||v0.12.1|snap=build 1|Melon seeds are no longer available from the [[Nether reactor]].}}
{{History||v0.14.0|snap=build 1|Melon seeds can now be found in [[minecart with chest|minecarts with chests]] in [[mineshaft]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Melon seeds now generate inside [[dungeon]] [[chest]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Melon crops now generate inside [[woodland mansion]]s.
|Melon seeds can now be found in woodland mansion chests.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Melon seeds can now be found inside [[bonus chest]]s.
|Melon seeds are now used to tame [[parrot]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Attached Melon Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached melon stems has been changed.
|Melon stems now generate in [[savanna]] and [[desert]] [[village]] farms.
|Added [[wandering trader]]s, who [[trading|sell]] melon seeds.}}
{{History||1.11.0|snap=beta 1.11.0.1|Melon seeds can now be used to fill up [[composter]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate melon stems.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Melon Seeds JE1 BE1.png|32px]] Added melon seeds.
|[[File:Melon Stem Age 0 JE1.png|32px]] [[File:Stem Age 1 JE1.png|32px]] [[File:Melon Stem Age 2 JE1.png|32px]] [[File:Melon Stem Age 3 JE1.png|32px]] [[File:Melon Stem Age 4 JE1.png|32px]] [[File:Melon Stem Age 5 JE1.png|32px]] [[File:Melon Stem Age 6 JE1.png|32px]] [[File:Melon Stem Age 7 JE1.png|32px]] [[File:Attached Melon Stem (N) JE1.png|32px]] [[File:Attached Melon Stem (E) JE1.png|32px]] [[File:Attached Melon Stem (S) JE1.png|32px]] [[File:Attached Melon Stem (W) JE1.png|32px]]{{verify|Are these models correct?}} Added melon stems.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Attached Melon Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached melon stems has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Melon Stem Age 0 JE1.png|32px]] [[File:Stem Age 1 JE1.png|32px]] [[File:Melon Stem Age 2 JE1.png|32px]] [[File:Melon Stem Age 3 JE1.png|32px]] [[File:Melon Stem Age 4 JE1.png|32px]] [[File:Melon Stem Age 5 JE1.png|32px]] [[File:Melon Stem Age 6 JE1.png|32px]] [[File:Melon Stem Age 7 JE1.png|32px]] [[File:Attached Melon Stem (N) JE1.png|32px]] [[File:Attached Melon Stem (E) JE1.png|32px]] [[File:Attached Melon Stem (S) JE1.png|32px]] [[File:Attached Melon Stem (W) JE1.png|32px]]{{verify|Are these models correct?}} Added melon stems.}}
{{History|foot}}

<gallery>
Melon Stem with data value 15.png|The final version of the melon stem with age 15, as seen in-game.
Melonstems.png|Melon stems of ages 1–15 on a modded version of 1.7.2, hence the melon stems using the melon top texture.
Stems of 13w02a.png|All 16 stem sizes in 13w02a, with accompanying data values.
</gallery>

=== Melon stem "item" ===
{{:Technical blocks/Melon Stem}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
Stem All Ages.png|All stages of growth.
AllSeeds.png|All the [[seeds]] that exist in the game.
</gallery>

== See also ==

* [[Melon]]
* [[Pumpkin Seeds]]

==References==
{{Reflist}}

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

[[Category:Plants]]
[[Category:Food]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]

[[cs:Semínka melounu]]
[[de:Melone]]
[[es:Semillas de sandía]]
[[fr:Graines de pastèque]]
[[hu:Dinnyemagok]]
[[it:Anguria]]
[[ja:スイカの種]]
[[ko:수박씨]]
[[nl:Meloenzaden]]
[[pl:Nasiona arbuza]]
[[pt:Sementes de melancia]]
[[ru:Семена арбуза]]
[[th:เมล็ดแตงโม]]
[[zh:西瓜种子]]</li></ul>
Villagers will now reassign their profession if there is a lack of a specific profession or if the number of villagers in a profession is unbalanced (i.e., if there are many Farmer villagers and no Blacksmith villagers, one will change its skin, showing it has changed its profession).
Trading has also been changed where an extra input space has been added where tools can be placed for buying enchantments and/or repair.
12w25a
{{Extension DPL}}<ul><li>[[Purple Dye|Purple Dye]]<br/>{{Item
| image = Purple_Dye_JE2_BE2.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Purple dye''' is a [[Dyeing#Secondary colors|secondary dye color]] created by combining [[red dye]] and [[blue dye]] in a crafting grid.

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |Blue Dye
  |Red Dye
  |Output=Purple Dye,2
  |type=Material
}}
{{Crafting
  |foot=1
  |Lapis Lazuli
  |Red Dye
  |Output=Purple Dye,2
  |description={{only|bedrock|education}}
  |type=Material
}}

=== Trading ===

[[Wandering trader]]s sometimes sell 3 purple dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Purple Dye}}

=== Trading ===

Apprentice-level Shepherd villagers have a 20% chance to buy 12 purple dye for an emerald as part of their trades.{{only|bedrock}}

Expert-level Shepherd villagers have a {{frac|2|7}} chance to buy 12 purple dye for an emerald.{{only|java}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Purple Dye
|spritetype=item
|nameid=purple_dye
|aliasid=dye / 5
|id=400
|form=item
|translationkey=item.dye.purple.name
|foot=1}}

== Video ==

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

== History ==

{{History|java beta}}
{{History||1.2|[[File:Purple Dye JE1 BE1.png|32px]] Added purple dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Purple dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w02a|Due to [[lapis lazuli]] being [[renewable resource|renewable]] now, purple dye is also now renewable.}}
{{History|||snap=14w30a|Added [[banner]]s which can be dyed.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Purple dye is now [[crafting|crafted]] using [[blue dye]], instead of [[lapis lazuli]].
|[[File:Purple_Dye_JE2_BE2.png|32px]] The texture of purple dye has now been changed.}}
{{History|||snap=18w44a|Purple dye can now change the text color on [[sign]]s to purple.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells purple dye.}}
{{History|||snap=19w11a|Purple dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Purple dye can now be used to craft [[purple candle]]s.}}
{{History|||snap=21w19a|Purple dye can no longer be used to craft purple candles.}}
{{History|||snap=Pre-release 1|Purple dye can once again be used to craft purple candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Purple dye can now change the text color on [[hanging sign]]s to purple.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Purple Dye JE1 BE1.png|32px]] Added purple dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Purple dye is now [[craft]]able with rose red and lapis lazuli.
|Purple dye can now be used to craft purple [[wool]].}}
{{History||v0.6.0|Purple dye can now be used to dye [[sheep]].}}
{{History||v0.8.0|snap=build 1|Purple dye can now be used to craft [[magenta dye]].}}
{{History||v0.9.0|snap=build 11|Purple dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Purple dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Purple dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Purple dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Purple dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Purple dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Purple dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Purple dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Purple dye is now [[trading|sold]] by [[wandering trader]]s.
|Purple dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Purple_Dye_JE2_BE2.png|32px]] The texture of purple dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Purple dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of purple dye has been changed from <code>dye/5</code> to <code>purple_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Purple Dye JE1 BE1.png|32px]] Added purple dye.}}
{{History|PS4}}
{{History||1.90|[[File:Purple_Dye_JE2_BE2.png|32px]] The texture of purple dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Purple Dye JE1 BE1.png|32px]] Added purple dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]

[[cs:Fialové barvivo]]
[[de:Violetter Farbstoff]]
[[es:Tinte morado]]
[[fr:Teinture violette]]
[[hu:Lila festék]]
[[ja:紫色の染料]]
[[ko:보라색 염료]]
[[nl:Paarse kleurstof]]
[[pl:Fioletowy barwnik]]
[[pt:Corante roxo]]
[[ru:Фиолетовый краситель]]
[[zh:紫色染料]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

== Obtaining ==
=== Natural generation ===
Redstone comparators generate in [[Ancient City|ancient cities]].

=== Breaking ===
A redstone comparator can be broken instantly with any [[tool]], or by hand, and drops itself as an item.

{{Breaking row|Redstone Comparator|horizontal=y}}

A redstone comparator is removed and dropped as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.

If [[lava]] flows into a redstone comparator's space, the redstone comparator is destroyed without dropping as an item.

=== Crafting ===
{{Crafting
|B1=Redstone Torch
|A2=Redstone Torch
|B2=Nether Quartz
|C2=Redstone Torch
|A3=Stone
|B3=Stone
|C3=Stone
|Output= Redstone Comparator
|type=Redstone
}}

== Usage ==
A redstone comparator can be placed on the top of any [[opaque]] block with a solid full-height top surface (including upside-down [[slab]]s and upside-down [[stairs]]). {{IN|be}}, a comparator can also be placed on [[wall]]s and fences. For more information about placement on transparent blocks, see [[Opacity/Placement]].

The redstone comparator has a front and a back — the arrow on the top of the comparator points to the front. When placed, the comparator faces away from the player. The comparator has two miniature redstone torches at the back and one at the front. The back torches turn on when the comparator's output is greater than zero (the arrow on top also turns red). The front torch has two states that can be toggled by {{control|using}} the comparator:
* Down and unpowered (indicating the comparator is in "comparison mode")
* Up and powered (indicating the comparator is in "subtraction mode")

The redstone comparator can take a signal strength input from its rear as well as from both sides. Side inputs are accepted only from [[redstone dust]], [[block of redstone]], [[redstone repeater]]s, other comparators, and [[observer]]s in specific scenarios. The redstone comparator's front is its output.

It takes 1 [[redstone tick]] (2 game ticks, or 0.1 seconds barring lag) for signals to move through a redstone comparator, either from the rear or from the sides. This applies to changing signal strengths as well as simply to turning on and off. 

Redstone comparators check their power state before their scheduled ticks update. This results in redstone comparators not usually responding to 1-tick fluctuations of power or signal strength — for example, a [[clock circuit|1-clock]] input is treated as always off from the side, and always on from the rear. This happens because the signal changes back to its original state before the redstone comparator checks its input states. However, certain setups such as powering any input with two separate observer pulses at the same time will cause a redstone comparator to respond to 2 gametick pulses.

The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).

=== Maintain signal strength ===
A redstone comparator with no powered sides outputs the same signal strength as its rear input.

=== Compare signal strength ===
[[File:Comparators Explained.png|Comparators in comparison mode.|thumb]]
A redstone comparator in comparison mode (front torch down and unpowered) compares its rear input to its two side inputs. If either side input is greater than the rear input, the comparator output turns off. If neither side input is greater than the rear input, the comparator outputs the same signal strength as its rear input.

The formula for calculating the output signal strength is as follows:

<code>output = rear × [[Wikipedia:Iverson bracket|[]]'''''left''''' ≤ '''''rear''''' AND '''''right''''' ≤ '''''rear'''''[[Wikipedia:Iverson bracket|<nowiki>]]]</code>
{{-}}

=== Subtract signal strength ===
[[File:Redstone comparator.png|thumb|The greatest of the side inputs A and C is subtracted from the rear input B, outputting 1. If either A or C were greater than B, it would output 0.]]
A redstone comparator in subtraction mode (front torch up and powered) subtracts the signal strength of the higher side input from the signal strength of the rear input.

<code>output = max('''''rear''''' − max('''''left''', '''right'''''), 0)</code>

For example: if the signal strength is 6 at the left input, 7 at the right input and 4 at the rear, the output signal has a strength of ''max(4 − max(6, 7), 0) = max(4−7, 0) = max(−3, 0) = 0''.

If the signal strength is 9 at the rear, 2 at the right input and 5 at the left input, the output signal has a strength of ''max(9 − max(2, 5), 0) = max(9−5, 0) = 4''.

=== Measure block state ===
{{Schematic | caption = A redstone comparator can measure the fullness of a chest, as well as other block states, even through an opaque block.
 |rd-ew!|rc-w!|ch|SB|rc-e!|rd-ew!
}}
A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by an opaque block. However, {{in|je}}, if the opaque block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.<ref>{{bug|MC-64394}} (resolved as "Works As Intended")</ref>
[[Category:Java Edition specific information]]
{{-}}

==== Fullness of containers ====
{| class="wikitable floatright" style="margin-left: 0.5em; margin-right: 0; text-align: center;"
|+ Minimum Items for Container Signal Strength
|-
!Containers
!{{BlockSprite|Furnace|link=Furnace}}<br>{{BlockSprite|Blast Furnace|link=Blast Furnace}}<br>{{BlockSprite|Smoker|link=Smoker}}
!{{BlockSprite|Hopper|link=Hopper}}<br>{{EntitySprite|Minecart with Hopper|link=Minecart with Hopper}}<br>{{BlockSprite|Brewing Stand|link=Brewing Stand}}
!{{BlockSprite|Dispenser|link=Dispenser}}<br>{{BlockSprite|Dropper|link=Dropper}}
!{{BlockSprite|Chest|link=Chest}}<br>{{EntitySprite|Minecart with Chest|link=Minecart with Chest}}<br>{{BlockSprite|Shulker Box|link=Shulker Box}}<br>{{BlockSprite|Barrel|link=Barrel}}
![[Double Chest|{{Schematic|size=16|ch-s|-|ch-n}}
]]
!{{BlockSprite|Jukebox|link=Jukebox}}
|-
!Total Slots
!3!!5!!9!!27!!54!!1
|-
!Power Level
! colspan="5" |Number of Items
!Music Disc
|-
|0||0||0||0||0||0||No disc
|-
|1||1||1||1||1||1||"13"
|-
|2||14||23||42||1s 60||3s 55||"cat"
|-
|3||28||46||1s 19||3s 55||7s 46||"blocks"
|-
|4||42||1s 5||1s 60||5s 51||11s 37||"chirp"
|-
|5||55||1s 28||2s 37||7s 46||15s 28||"far"
|-
|6||1s 5||1s 51||3s 14||9s 42||19s 19||"mall"
|-
|7||1s 19||2s 10||3s 55||11s 37||23s 10||"mellohi"
|-
|8||1s 32||2s 32||4s 32||13s 32||27s||"stal"
|-
|9||1s 46||2s 55||5s 10||15s 28||30s 55||"strad"
|-
|10||1s 60||3s 14||5s 51||17s 23||34s 46||"ward"
|-
|11||2s 10||3s 37||6s 28||19s 19||38s 37||"11"
|-
|12||2s 23||3s 60||7s 5||21s 14||42s 28||"wait"
|-
|13||2s 37||4s 19||7s 46||23s 10||46s 19||"Pigstep"
|-
|14||2s 51||4s 42||8s 23||25s 5||50s 10||"Otherside"<br>"Relic"
|-
|15||3s||5s||9s||27s||54s||"5"
|}
A redstone comparator can output a signal indicating how full a container is. (0 for empty, 15 for full, etc.) The table on the right is described more in detail, later in this section.

Containers that can be measured by a comparator include:
* {{BlockLink|Furnace}}
* {{BlockLink|Blast Furnace}}
* {{BlockLink|Smoker}}
* {{BlockLink|Brewing Stand}}
* {{BlockLink|Hopper}}
* {{ItemLink|Minecart with Hopper}} on top of a [[detector rail]]
* {{BlockLink|Dispenser}}
* {{BlockLink|Dropper}}
* {{BlockLink|Chest}}
* {{BlockLink|Trapped Chest}}
* {{ItemLink|Minecart with Chest}} on top of a [[detector rail]]
* {{BlockLink|Barrel}}
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large chest
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large trapped chest
* {{BlockLink|Shulker Box}} (any color)

Generally speaking, the comparator output signal strength represents the average fullness of the slots, based on how many of that item form a full stack (64, 16, or 1 for non-stackable items).

The ''Minimum Items for Container Signal Strength'' table (right) shows the minimum '''''full-stack-equivalent (FSE)''''' to produce different signal strengths from common containers. A '''''full-stack-equivalent''''' quantifies how many normal 64-stackable items are needed to output a corresponding signal strength. The 's' is a constant 64, with the additional amount needed following after.

One may also consider the terms: '''c''umulative-weight''''' or '''''weighted-sum''''' instead of '''''full-stack-equivalent'''''.

Items that stack to a max of 16  ([[snowball]]s, [[sign]]s, [[ender pearl]]s, etc.), contribute +4 to the ''full-stack-equivalent'' for each unity (count of 1 item). Similarly, items that stack to 1 ([[minecart]], [[boat]], etc.) contribute +64, and items that stack to 64 contribute +1.

Example 1: 3 ender pearls will contribute a 3 x 4 = 12 ''full-stack-equivalent''.

Example 2: 16 ender pearls and 60 redstone dust contributes a 16x4 + 60x1 = 124 ''full-stack-equivalent''.

Example 3: 1 minecart and 60 redstone dust contributes a 1x64 + 60x1 = 124 ''full-stack-equivalent''.

Example 4: To produce a signal strength of 10 from a hopper, one requires a ''full-stack-equivalent'' of at least 3s + 14 = 206 but strictly less than than 3s + 37 = 229. This can be done with 3 minecarts, and 14 dirt.

When a comparator measures a large chest or large trapped chest, it measures the entire large chest (54 slots), not just the half directly behind the comparator. A chest or trapped chest that cannot be opened (either because it has an opaque block, [[ocelot]], or [[cat]] above it) always produces an output of 0 no matter how many items are in the container — shulker boxes can always be measured, even if they cannot open.

;Calculating signal strength from items

:When a container is empty, the output is off.

:When it is not empty, the output signal strength is calculated as follows:

:<code>'''''signal strength''''' = floor(1 + (('''''sum of all slots' fullnesses''''') / ('''''number of slots in container''''')) × 14)</code>

:<code>fullness of a slot = '''''number of items in slot''''' / '''''max stack size for this type of item'''''</code>

:''Example:'' 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64 has a 300 ''full-stack-equivalent.'' This produces an output with a signal strength of 8:
<blockquote>
1 + ((300 items / 64 items per slot) / 9 slots) × 14 = 8.292, floored is 8
</blockquote>

;Calculating items from signal strength

:It can be useful in redstone circuits to use containers with comparators to create signals of a specific strength. The number of items required in a container to produce a signal of desired strength is calculated as follows:

:<code>items required = max('''''desired signal strength''''', roundup(('''''total slots in container''''' × 64 / 14) × (desired signal strength − 1)))</code>

:''Example:'' To use a furnace (which has 3 slots) to create a strength 9 signal, players need 110 items:
<blockquote>
max(9, (3×64/14) × (9−1)) = 109.714, rounded up is 110
</blockquote>
{{-}}

==== Miscellaneous ====
[[File:Comparator storage.png|Comparators used to measure containers.|thumb]]
Some non-container blocks can also be measured by a redstone comparator:

;{{BlockLink|Beehive}} and {{BlockLink|Bee nest}}

: A hive or nest outputs a signal strength equal to the amount of honey in the hive/nest.

;{{BlockLink|Cake}}

: A cake outputs a signal strength relative to the amount of cake remaining.  Each slice is worth 2 signal strength, with 7 total slices, for an output of 14 for a full cake.

[[File:Cauldron Redstone Strength Values.png|Cauldron signal strength|thumb]]
;{{BlockLink|Cauldron}}

: A cauldron outputs different signal strengths depending on how much water or powdered snow is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3. If lava or powder snow is inside, the strength is always 3.

[[File:Composter Redstone Strength Values.png|Composter signal strength|thumb]]
;{{BlockLink|Composter}}

: A composter outputs different signal strengths depending on the level inside. From completely empty to completely full, the output values are 0, 1, 2, 3, 4, 5, 6, 7 and 8.

;{{Anchor|CommandBlock}}{{BlockLink|Command Block}}

: A command block stores the "success count" of the last command executed, which represents the number of times the most recently used command of this command block succeeded. A "success" is defined by the [[command]]'s success conditions: if a red error message is returned in the chat, the command was not successful.

: Most commands can succeed once per execution, but certain commands (such as those that accept players as arguments) can succeed multiple times, and the comparator outputs the number of times it succeeded (maximum 15 when sent to redstone dust, but in the code it is able to go up to the 32-bit integer limit, and can be used in contraptions with no redstone dust with those values).

: A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator continues to output the same signal strength even after the command block is no longer being activated (it doesn't turn off when the signal to the command block turns off).

;{{BlockLink|End Portal Frame}}

: An end portal frame outputs a full signal of 15 if it contains an [[eye of ender]] and zero otherwise.

[[File:Item frame and comparator.png|A comparator can measure the presence and rotation of an item frame's contents.|thumb]]

;{{EntityLink|Item Frame}}

: A comparator can measure the state of an [[item frame]]'s contents. An item frame comparator outputs 0 if the item frame is empty, or 1 to 8 for any item depending on its rotation: 1 at initial placement, plus 1 for each 45° of rotation for a maximum of 8.

: For an item frame that holds a map, a unit of rotation is 90° instead of 45°, but a comparator still outputs power levels 1 to 8. It takes two full rotations to cycle through all comparator outputs, and each orientation of the map corresponds to two output levels that differ by 4.

: The comparator must be placed behind the block the item frame is attached to, facing away from the item frame. The block must be a full block, and the item frame cannot be submerged in water. Having a sign in the same block as the item frame will prevent the frame from sending a signal as well.{{only|java}}

;{{BlockLink|Jukebox}}

: A jukebox outputs a signal strength indicating which music disc is currently playing. See the ''Minimum Items for Container Signal Strength'' table above.

;{{BlockLink|Lectern}}

: A lectern outputs a signal strength that depends on what page the player is currently on. The calculation used is:
:<code>'''''signal strength''''' = floor(1 + (('''''current page''''' - 1) / ('''''number of pages in book''''' - 1)) × 14)</code>
:This results in page 1 having a signal strength of 1, and the last page having a signal strength of 15. The exception is a single page book, which will output a signal strength of 15.
:For example, a book with 15 pages will output a signal equal to the current page number.  A book with 5 pages will output signal strengths of 1, 4, 8, 11 and 15 for the different pages. A book with 100 pages will have the signal strength increase to the next level on pages 1, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93 and 100.
:

;{{BlockLink|Respawn Anchor}}

: A respawn anchor outputs a signal strength of 0, 3, 7, 11, or 15, depending on the "charged" value.

;{{BlockLink|Sculk Sensor}}

: A sculk sensor outputs a signal strength depending on the type of vibration that is detected.

;{{BlockLink|Chiseled Bookshelf}}

: A chisled bookshelf outputs a signal strength between 1 and 6 indicating the last slot interacted with. When no slot has been interacted with yet, it outputs 0.
{{-}}

== Sounds ==
=== Generic ===
{{Edition|Java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|Bedrock}}:
{{Sound table/Block/Wood/BE}}

=== Unique ===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Click.ogg
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to subtraction mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.55
|distance=16}}
{{Sound table
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to comparison mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.5
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Click.ogg
|source=block
|description=When a comparator is set to subtraction mode
|id=block.click
|volume=0.2
|pitch=0.55}}
{{Sound table
|source=block
|description=When a comparator is set to comparison mode
|id=block.click
|volume=0.2
|pitch=0.5
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=comparator
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Comparator
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-comparator
|spritetype=block
|nameid=unpowered_comparator
|id=149
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-comparator
|spritetype=block
|nameid=powered_comparator
|id=150
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-comparator
|spritetype=item
|nameid=comparator
|id=522
|form=item
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=Comparator
|foot=1}}

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

=== Block data ===
A redstone comparator has a block entity associated with it that holds additional data about the block.

{{el|je}}:
{{see also|Block entity format}}
{{/BE}}

{{el|be}}:
: See [[Bedrock Edition level format/Block entity format]].

== Advancements ==
{{Load advancements|the power of books}}

== Video ==

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

== History ==
{{info needed section|If {{bug|MC-50242}} also affected comparators?}}
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||November 24, 2012|link=https://youtube.com/watch?v=YG9RNyRhIow&t=6m56s|[[Jeb]] stated that there may be a "capacitor" in [[Minecraft]]. }}
{{History||December 27, 2012|link={{tweet|Dinnerbone|284388625595125760}}|[[Dinnerbone]] released [https://web.archive.org/web/20190710120115/https://imgur.com/a/FBKed pictures] of the first version of the "comparator", stating it was a replacement for the "capacitor" idea that has variable, alternate inputs.}}
{{History||January 2, 2013|link={{tweet|Dinnerbone|286428595423965184}}|Dinnerbone released one more [http://dinnerbone.com/media/uploads/2013-01/screenshots/2013-01-02_12.06.47.png picture] of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main [[block]].}}
{{History||1.5|snap=13w01a|[[File:Redstone Comparator (S) JE1.png|32px]] [[File:Powered Redstone Comparator (S) JE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.
|Redstone comparators have 0 delay.
At this point, block ID 149 was used for unpowered comparators, and block ID 150 for powered comparators.}}
{{History|||snap=13w01b|A delay of 1 game tick ({{frac|1|2}} redstone tick) has now been added to redstone comparators to fix bugs.
|The ability to measure containers to redstone comparators has now been added.}}
{{History|||snap=13w02a|[[File:Redstone Comparator (S) JE2.png|32px]] [[File:Powered Redstone Comparator (S) JE2.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2.png|32px]] The appearance of redstone comparators has now been changed - the top texture has changed to show [[quartz]] in the middle and the sides now use the [[smooth stone]] texture rather than the smooth stone slab side texture.
|The algorithm for measuring containers has now been changed so that redstone comparators output a signal with as few as 1 [[item]] in the container.}}
{{History|||snap=13w02b|Redstone comparators now treat large [[chest]]s as a single container.}}
{{History|||snap=13w03a|Redstone comparators now output success count of [[command block]]s.
|Redstone comparators now measure container [[minecart]]s on [[detector rail]]s.}}
{{History|||snap=13w04a|Redstone comparators now measure [[jukebox]]es.}}
{{History|||snap=13w05a|Redstone comparators no longer cause constant [[block]] updates. The delay has now been made consistent, and side input no longer causes a pulse output.
|Block 150 (later <code>powered_comparator</code>) is no longer used; powered state is now represented by the 8s bit on block 149 (later <code>unpowered_comparator</code>).}}
{{History|||snap=13w05b|Redstone comparator delay has now been changed from 1 game tick (1/2 [[redstone]] tick) to 2 game ticks (1 redstone tick).}}
{{History|||snap=13w09c|The redstone signal strength from a redstone comparator next to a [[brewing stand]] with 3 [[water bottle]]s in it is now the same as one with 3 water bottles and 1 ingredient in it.}}
{{History||1.6.1|snap=13w18a|Redstone comparators now measure [[cauldron]]s and [[end portal frame]]s.}}
{{History||1.8|snap=14w04a|Redstone comparators now measure [[item frame]]s.}}
{{History|||snap=14w10a|The torches under redstone comparators have now been shortened, which has changed the underside appearance from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=14w25a|[[File:Redstone Comparator (S) JE3.png|32px]] [[File:Powered Redstone Comparator (S) JE3.png|32px]] [[File:Subtracting Redstone Comparator (S) JE3.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE3.png|32px]] The torches on comparators are now subject to ambient occlusion.
|Comparators set to subtract mode appear to be powered as well regardless of incoming power. The subtracting-only model still exists and can be achieved through {{cmd|setblock}}.}}
{{History|||snap=14w25b|[[File:Subtracting Redstone Comparator (S) JE4.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE4.png|32px]] The powered front torch when in subtraction mode is now lower.
|Comparators set to subtract by hand now appear normally again.}}
{{History|||snap=14w28a|Redstone comparators now measure [[cake]]s.}}
{{History||1.9|snap=15w42a|With the addition of the [[blaze powder]] fuel slot, [[brewing stand]]s now have 5 slots instead of 4. Their original comparative power values from redstone comparators are listed below:
{{{!}} class{{=}}"wikitable collapsible collapsed" data-description{{=}}"Original values"
! Original values
{{!}}-
{{!}}
*0: 0
*1: 1
*2: 19
*3: 37
*4: 55
*5: 1s 10
*6: 1s 28
*7: 1s 46
*8: 2s
*9: 2s 19
*10: 2s 37
*11: 2s 55
*12: 3s 10
*13: 3s 28
*14: 3s 46
*15: 4s
{{!}}}
}}
{{History|||snap=15w47a|Redstone comparators' side inputs now take power from [[redstone block]]s.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone comparator have now been merged into one ID: <code>comparator</code>.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 149 and 150, and the [[item]]'s 404.
|As a result, the formerly unused comparator ID is now technically used again, due to both unpowered and powered versions being merged into a single comparator block ID.}}
{{History||1.14|snap=18w43a|[[File:Redstone Comparator (S) JE4.png|32px]] [[File:Powered Redstone Comparator (S) JE4.png|32px]] [[File:Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|||snap=19w02a|Redstone comparators now measure [[lectern]]s.}}
{{History|||snap=19w03a|Redstone comparators now measure [[composter]]s.}}
{{History|||snap=19w12b|Redstone comparators can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.15|snap=19w34a|Redstone comparators now measure how much honey is inside [[beehive|bee hive]]s and [[bee nest]]s.}}
{{History||1.16|snap=20w06a|The way to calculate the input signals of redstone comparators has now been changed.}}
{{History|||snap=20w11a|The changes to the way of calculating the input signals of redstone comparators from [[Java Edition 20w06a|20w06a]] have now been reverted.}}
{{History|||snap=20w16a|Redstone comparators now measure [[Pigstep music disc]]s in [[jukebox]]es.}}
{{History||1.17|snap=20w45a|Redstone comparators now measure [[lava cauldron]]s.}}
{{History|||snap=20w46a|Redstone comparators now measure [[Cauldron#Holding powder snow|powder snow cauldron‌]]s.}}
{{History||1.18|snap=21w41a|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.19|snap=22w13a|Redstone comparators now generate as part of [[ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Redstone comparators now measure [[chiseled bookshelves]].}}
{{History||1.20.2|snap=23w33a|Redstone comparators now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Redstone comparators now measure [[end portal frame]]s.}}
{{History||1.0.5|snap=alpha 1.0.5.0|Redstone comparators now output success count of [[command block]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone comparators now measure [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone comparators now measure [[jukebox]]es.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]]}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone comparators now measure [[smoker]]s, [[blast furnace]]s, [[lectern]]s and [[composter]]s.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone comparators now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|Redstone comparators can now measure [[item frame]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] Added redstone comparators.}}
{{History|foot}}

=== Redstone comparator "items" ===
{{:Technical blocks/Redstone Comparator}}

== Issues ==
{{issue list}}

== Trivia ==
* Comparators do not emit redstone particles when powered, unlike redstone torches and repeaters.<ref>{{bug|MC-51692|||WAI}}</ref>

== Gallery ==
<gallery>
Dinnerbone Comparator 1.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 2.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 3.png|Dinnerbone showing how comparators work.
Dinnerbone Comparators 1.png|A contraption incorporating comparators.
Dinnerbone Comparators 2.png|Comparators in action.
Dinnerbone Comparators 3.png|Output specific signals.
Dinnerbone Comparator Thing.png|Another comparator in use.
Item Frame Comparator.png|Rotating the torch in the item frame adjusts the comparator's output.
</gallery>

== References ==
{{reflist}}

{{Redstone}}
{{Blocks|Utility}}
{{Items}}

[[Category:Mechanics]]
[[Category:Block entities]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Non-solid blocks]]

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki>
Villagers may remove a trade option after it has been used at least 3 times.
12w26a
{{Extension DPL}}<ul><li>[[Crossbow|Crossbow]]<br/>{{For}}
{{Item
| title = Crossbow
| image = <gallery>
Crossbow.png | Crossbow
Crossbow Pull 0.png | Pull (state 0)
Crossbow Pull 1.png | Pull (state 1)
Crossbow Pull 2.png | Pull (state 2)
Arrow Loaded Crossbow.png | Arrow loaded
Firework Loaded Crossbow.png | Firework loaded
</gallery>
| rarity = Common
| renewable = Yes
| durability = 465{{only|JE|short=yes}}<br>464{{only|BE|short=1}}
| stackable = No
}}

A '''crossbow''' is a ranged [[weapon]] similar to a [[bow]] that uses [[arrow]]s or [[firework rocket|fireworks]] as ammunition.

== Obtaining ==
=== Crafting ===
{{Crafting
|A1=Stick|B1=Iron Ingot |C1=Stick
|A2=String|B2= Tripwire Hook|C2=String
|B3= Stick
|Output= Crossbow
|type= Combat
}}

=== Repairing ===
{{Grinding
|showdescription=1
|ingredients=2× Damaged [[Crossbow]] or<br>2× Damaged [[Arrow Loaded Crossbow]] or<br>2× Damaged [[Firework Loaded Crossbow]]
|Damaged Crossbow; Damaged Arrow Loaded Crossbow; Damaged Firework Loaded Crossbow
|Damaged Crossbow; Damaged Arrow Loaded Crossbow; Damaged Firework Loaded Crossbow
|Crossbow; Arrow Loaded Crossbow; Firework Loaded Crossbow
|description=The [[item durability|durability]] of the two crossbows is added together, plus an extra 5% durability.‌
}}

{{Crafting
|Damaged Crossbow;Damaged Arrow Loaded Crossbow;Damaged Firework Loaded Crossbow
|Damaged Crossbow;Damaged Arrow Loaded Crossbow;Damaged Firework Loaded Crossbow
|Output=Crossbow
|type=Combat
|ignoreusage=1
|showdescription=1
|description=The durability of the two crossbows is added together, plus an extra 5% durability.‌ Any loaded ammunition is lost.
}}

=== Mob loot ===

==== Pillagers ====

When killed, a [[pillager]] has a small chance (8.5%) of dropping a loaded or unloaded crossbow with random [[durability]]; the [[drop]] rate increases by 1% per [[level]] of [[Looting]]: 9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III. The [[drop]]ped crossbow can rarely (10% chance) be [[enchanted]] at level 5–19 regardless of being [[enchanted]] when it [[spawn]]ed.

Crossbows dropped by pillagers may have multiple enchantments, including duplicate enchantments on the same weapon.

==== Piglins ====
[[Piglin]]s have a chance of wielding a crossbow upon spawning, and they also have a small chance (8.5%) of dropping a loaded or unloaded crossbow of random durability when killed; this rate increases by 1% per level of [[Looting]]: 9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III. It can rarely (10% chance) be enchanted at level 5–19 regardless of being enchanted when spawned.

=== Chest loot ===

{{LootChestItem|crossbow,damaged-level-enchanted-crossbow,damaged-random-enchanted-crossbow,damaged-random-enchanted-crossbow-2}}

=== Trading ===

Journeyman-level Fletcher [[villager]]s offer to [[trading|sell]] an unenchanted crossbow for 3 [[emerald]]s.

Master-level Fletcher villagers have a {{frac|1|16}} (6.25%) chance of selling an [[enchanting|enchanted]] crossbow for 8 emeralds.{{only|bedrock}}

Master-level Fletcher villagers have {{frac|2|3}} chance of selling an enchanted crossbow for 7-22 emeralds.{{only|java}}

== Usage ==
<gallery>
Steve aiming with Crossbow.png|
Alex aiming with Crossbow.png|
Pillager Aiming with Crossbow BE.png|
Piglin with Crossbow targeting JE.png|
</gallery>

Despite using [[iron ingot]]s in their crafting recipe, crossbows cannot be smelted into [[iron nugget]]s.<ref>{{bug|MC-111738}}</ref>

=== Weapon ===
[[File:Crossbowcooldown.gif|thumb|right|Charging and shooting the crossbow {{in|bedrock}}.]]
Crossbows are similar to [[bow]]s, but take longer to load and are slightly more powerful, shooting farther with slightly higher accuracy. Alternatively, they can be loaded with a firework rocket, which flies in a straight line.

Load them by {{control|using}} them, which makes the player move at sneak speed. Unlike bows, the [[arrow]] or [[firework rocket]] can be fired only if the player releases the use button after the crossbow is loaded{{Only|je}}  or if the crossbow finishes its loading animation {{Only|be}}. At this point, it ''must be used a second time'' to fire its bolt.

Once it has reached full charge, the [[player]]'s speed returns to normal. After that, shooting a charged crossbow does not delay any of the [[player]]'s current action like [[sprinting]] or [[swimming]].

The crossbow can even be placed in another [[inventory]] slot or into an [[item frame]] without the [[arrow]] or [[firework rocket]] being unloaded or fired. A charged crossbow also remains charged after enchanting it with an enchantment table or with an anvil.

In order to use the crossbow, at least one arrow or firework rocket must be present in the inventory. The player can choose the type of arrow to fire based on its location in their [[inventory]]:
* Arrows in the off-hand, or the selected [[hotbar]] slot if the crossbow is in the off-hand, are prioritized first. 
* If there are no arrows in the off-hand or selected hotbar slot, the arrow closest to slot 0 is selected. 
Crossbows take 1.25 seconds (25 ticks) to load. 

The player can load either an arrow, spectral arrow, tipped arrow (of any effect) or a firework (of any color/type).

[[Endermen]] teleport away from projectile paths, so they cannot be hit with crossbow [[arrow]]s. However, they can still get harmed by [[firework rocket]] explosions, if they can't detect the firework rocket.

;Attack strength

''Java Edition'':

{| class="wikitable" style="text-align:center" data-description="Crossbow Damage Statistic"
|-
! Damage || Arrow || Max firework
|-
| {{ItemSprite|Crossbow|text= '''Minimum'''}}
| {{hp|7}}
| {{hp|11}}
|-
| {{ItemSprite|Crossbow|text= '''Average'''}}
| {{hp|9}}
| {{hp|14.5}}
|-
| {{ItemSprite|Crossbow|text= '''Maximum'''}}
| {{hp|11}}
| {{hp|18}}
|}

''Bedrock Edition''
* Always {{hp|9}}

=== Fireworks ===

[[Firework rocket]]s can be fired by loading the crossbow only while holding the rockets in the off-hand. They fly at 32 m/s. Firework rockets with higher flight duration have a longer time before they explode and therefore travel farther. Firing a firework rocket uses 3 [[durability]] points per shot.
{| class="wikitable" style="text-align:center"
! colspan="4" |Firework rocket range
|-
|Minimum
|Average
|Maximum
|Gunpowder
|-
|32m (20 ticks)
|40.8m (25.5 ticks)
|49.6m (31 ticks)
|1 ([[File:Gunpowder JE2 BE2.png|12x12px]])
|-
|48m (30 ticks)
|56.8m (35.5 ticks)
|65.6m (41 ticks)
| 2 ([[File:Gunpowder JE2 BE2.png|12x12px]][[File:Gunpowder JE2 BE2.png|12x12px]])
|-
|64m (40 ticks)
|72.8m (45.5 ticks)
|81.6m (51 ticks)
|3 ([[File:Gunpowder JE2 BE2.png|12x12px]][[File:Gunpowder JE2 BE2.png|12x12px]][[File:Gunpowder JE2 BE2.png|12x12px]])
|}
Firework rockets also work with the [[Multishot]] enchantment, enabling the [[player]] to shoot 3 firework rockets at a time. The increased durability usage stacks, resulting in 9 durability being consumed with each shot.

A shot firework rocket explodes instantly when it hits a [[mob]] or [[block]].{{only|java}} If the firework rocket has no explosion effect, it deals no [[damage]]. The explosion of a firework rocket deals {{hp|5}} to {{hp|6}} points of damage, with one [[firework star]]. The explosion has a radius of roughly 4 blocks, which is unaffected by the firework star's [[Firework Star#Effects|effect]]. Each additional firework star on the rocket deals an additional {{hp|1}} to {{hp|2}} points of damage, for a maximum of {{hp|11}} to {{hp|18}} with 7 firework stars. The flight duration of the firework increases the maximum range the firework can travel before exploding, but does not affect the damage output. Likewise, the damage remains the same regardless of any dyes used. The [[Piercing]] enchantment causes the firework rocket to pierce a number of entities based on its respective level before exploding.{{only|java}} Unlike an arrow shot from a bow, the firework does not slow down under water.

=== Repair ===

Crossbows can be repaired in an [[anvil]] or [[grindstone]] by combining two crossbows. Any loaded ammunition is retained from the crossbow in the first slot but sacrificed from the crossbow in the second slot.

===Enchantments===
{| class="wikitable"
|+
!Name
!Description
!Max Level
|-
|[[Quick Charge]]
|Decreases the reloading time of the crossbow by {{code|level * 0.25}} seconds. Crossbows with [[Quick Charge]] III fire slightly faster than [[bow]]s. If [[commands]] are used to enchant a crossbow with Quick Charge V, the crossbow charges instantaneously. A crossbow enchanted with Quick Charge VI is effectively impossible to charge, which renders it useless. This can be done only {{in|je}}.
|III
|-
|[[Multishot]]
| Makes the crossbow fire a spread of 3 projectiles at once instead of a single projectile, which is useful for targeting mobs spread out in a small area. This works for both [[arrow]]s and [[firework rocket]]s. Firing with this enchantment still uses only one projectile, and because of that, it is possible to recover only one of the three arrows shot from a Multishot crossbow. Multishot crossbows use 3 [[item durability|durability]] points per shot, unless using fireworks for ammunition, in which case 9 durability is consumed. Mutually exclusive with Piercing.
|I
|-
|[[Piercing]]
|Makes [[arrow]]s shot from the crossbow pierce [[entity|entities]] they hit and continue their flight, which allows each arrow to hit up to {{code|level + 1}} entities. This is useful for targeting [[mob]]s closely packed together, and for conserving arrows, as they can be picked up after piercing entities. Arrows fired in this manner also ignore [[Shield|shields]]. Mutually exclusive with Multishot.
|IV
|-
|[[Unbreaking]]
|Causes a <code>(Level /(Level+1)) * 100%</code> chance a shot fired does not reduce the [[item durability|durability]] of the crossbow.
|III
|-
|[[Mending]]
|Allows a certain proportion of [[experience]] orbs collected to contribute toward repairing the crossbow, rather than raising the [[player]]'s experience.
|I
|-
|[[Curse of Vanishing]]
| Causes the crossbow to disappear instead of dropping on the ground when the player dies. The {{cmd|gamerule keepInventory}} overrides this.
|I
|}

[[Multishot]] and [[Piercing]] are mutually exclusive. Normal methods of [[enchanting]] allow only one of them to be applied to a crossbow.

Crossbows can receive 3 unique [[enchanting|enchantment]]s, and have a base enchantability of 1. Enchantments specific to crossbows include [[Quick Charge]], Multishot and Piercing.

===Fuel===
Crossbows can be used as [[fuel]] in [[furnace]]s, [[smelting]] 1.5 [[item]]s per crossbow.

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Crossbow loading start.ogg
|subtitle=Crossbow charges up
|source=player
|description=When a crossbow starts to load
|id=item.crossbow.loading_start
|translationkey=subtitles.item.crossbow.charge
|volume=0.15
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Crossbow quick charge one1.ogg
|sound2=Crossbow quick charge one2.ogg
|sound3=Crossbow quick charge one3.ogg
|subtitle=Crossbow charges up
|source=player
|description=When a Quick Charge I crossbow starts to load <ref group=sound><code>quick1_3</code> occurs at half the frequency as the other sounds</ref>
|id=item.crossbow.quick_charge_1
|translationkey=subtitles.item.crossbow.charge
|volume=''varies'' <ref group=sound>0.325 for all except <code>quick1_1</code> (pitch=0.9), which is 0.25</ref>
|pitch=''varies'' <ref group=sound><code>quick1_1</code> can be 1.0 or 0.9; <code>quick1_2</code> can be 1.0 or 0.95; <code>quick1_3</code> can be 1.0</ref>
|distance=16}}
{{Sound table
|sound=Crossbow quick charge two1.ogg
|sound2=Crossbow quick charge two2.ogg
|sound3=Crossbow quick charge two3.ogg
|subtitle=Crossbow charges up
|source=player
|description=When a Quick Charge II crossbow starts to load <ref group=sound name=quickchargefrequency><code>_1</code> occurs at {{frac|2|3}} the frequency as the other sounds</ref>
|id=item.crossbow.quick_charge_2
|translationkey=subtitles.item.crossbow.charge
|pitch=''varies'' <ref group=sound name=quickchargevolume />
|volume=''varies'' <ref group=sound name=quickchargepitch />
|distance=16}}
{{Sound table
|sound=Crossbow quick charge three1.ogg
|sound2=Crossbow quick charge three2.ogg
|sound3=Crossbow quick charge three3.ogg
|subtitle=Crossbow charges up
|source=player
|description=When a Quick Charge III crossbow starts to load <ref group=sound name=quickchargefrequency />
|id=item.crossbow.quick_charge_3
|translationkey=subtitles.item.crossbow.charge
|volume=''varies'' <ref group=sound name=quickchargevolume>0.325 for all except <code>_1</code> (pitch=0.95), which is 0.25</ref>
|pitch=''varies'' <ref group=sound name=quickchargepitch><code>_1</code> can be 1.0 or 0.95; <code>_2</code> can be 1.0, 0.95, or 1.05; <code>_3</code> can be 1.0, 0.9, or 1.05</ref>
|distance=16}}
{{Sound table
|sound=Crossbow loading middle1.ogg
|sound2=Crossbow loading middle2.ogg
|sound3=Crossbow loading middle3.ogg
|sound4=Crossbow loading middle4.ogg
|subtitle=MC-203146
|source=player
|description=While a crossbow is loading <ref group=sound><code>loading_middle4</code> occurs at {{frac|1|4}} the frequency as the other sounds</ref>
|id=item.crossbow.loading_middle
|translationkey=-
|volume=0.325
|pitch=''varies'' <ref group=sound><code>loading_middle1</code> can be 1.0, 0.95, or 1.2; <code>loading_middle2</code> and <code>loading_middle3</code> can be 1.0, 0.9, or 1.05; <code>loading_middle4</code> can be 1.0</ref>
|distance=16}}
{{Sound table
|sound=Crossbow loading end.ogg
|subtitle=Crossbow loads
|source=dependent
|description=When a crossbow stops loading
|id=item.crossbow.loading_end
|translationkey=subtitles.item.crossbow.load
|volume=1.0
|pitch={{frac|13|15}}-1.2
|distance=16}}
{{Sound table
|sound=Crossbow shoot1.ogg
|sound2=Crossbow shoot2.ogg
|sound3=Crossbow shoot3.ogg
|subtitle=Crossbow fires
|source=dependent
|description=When a crossbow fires
|id=item.crossbow.shoot
|translationkey=subtitles.item.crossbow.shoot
|volume=0.8/0.9/0.9
|pitch=1.0/1.0/0.9 <ref group=sound>Multiplied by the loading percentage of the crossbow</ref>
|distance=16}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|subtitle=Arrow hits
|source=neutral
|description=When an arrow hits a block or entity
|id=item.crossbow.hit
|translationkey=subtitles.item.crossbow.hit
|volume=1.0
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16}}
{{Sound table
|sound=Succesfull Hit.ogg
|subtitle=Player hit
|source=player
|description=When an arrow shot by a player hits another player
|id=entity.arrow.hit_player
|translationkey=subtitles.entity.arrow.hit_player
|volume=0.18
|pitch=0.45
|distance=16}}
{{Sound table
|sound=Firework launch.ogg
|subtitle=Firework launches
|source=ambient
|description=When a crossbow fires a firework rocket
|id=entity.firework_rocket.launch
|translationkey=subtitles.entity.firework_rocket.launch
|volume=3.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a crossbow's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Crossbow loading start.ogg
|source=player
|description=When a crossbow starts to load
|id=crossbow.loading.start
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow loading middle1.ogg
|sound2=Crossbow loading middle2.ogg
|sound3=Crossbow loading middle3.ogg
|sound4=Crossbow loading middle4.ogg
|source=player
|description=While a crossbow is loading and when a crossbow stops loading
|id=crossbow.loading.middle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow loading end.ogg
|source=player
|description=''Unused sound event''
|id=crossbow.loading.end
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow quick charge one1.ogg
|sound2=Crossbow quick charge two1.ogg
|sound3=Crossbow quick charge three1.ogg
|source=player
|description=When a crossbow with Quick Charge starts to load
|id=crossbow.quick_charge.start
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow quick charge one2.ogg
|sound2=Crossbow quick charge two2.ogg
|sound3=Crossbow quick charge three2.ogg
|source=player
|description=While a crossbow with Quick Charge is loading
|id=crossbow.quick_charge.middle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow quick charge one3.ogg
|sound2=Crossbow quick charge two3.ogg
|sound3=Crossbow quick charge three3.ogg
|source=player
|description=When a crossbow with Quick Charge stops loading
|id=crossbow.quick_charge.end
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow shoot1.ogg
|sound2=Crossbow shoot2.ogg
|sound3=Crossbow shoot3.ogg
|source=player
|description=When a crossbow fires
|id=crossbow.shoot
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|source=player
|description=When an arrow hits a block or entity
|id=random.bowhit
|volume=1.0
|pitch=1.09-1.3}}
{{Sound table
|sound=Firework launch.ogg
|source=ambient
|description=When a crossbow fires a firework rocket
|id=firework.launch
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a crossbow's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Crossbow
|spritetype=item
|nameid=crossbow
|id=575
|form=item
|foot=1}}

===Item data===

{{el|java}}:
{{main|Player.dat format}}
<div class="treeview" style="margin-top: 0;">
*{{nbt|compound|tag}}: The '''tag''' tag.
{{:Player.dat_format/Crossbow}}
</div>

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

==Achievements==
{{load achievements|Sniper Duel;Archer;Bullseye}}

==Advancements==
{{load advancements|Take Aim;Bullseye;Sniper Duel;Ol' Betsy;Who's the Pillager Now;Two Birds;Arbalistic}}

==History==
{{History||September 29, 2018|link={{tweet|Minecraft|1046094916902965249}}|Crossbows are announced at [[MINECON Earth 2018]].}}
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Crossbow.png|32px]] [[File:Crossbow Pull 0.png|32px]] [[File:Crossbow Pull 1.png|32px]] [[File:Crossbow Pull 2.png|32px]] [[File:Arrow Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] [[File:Crossbow Pull 0.png|32px]] [[File:Crossbow Pull 1.png|32px]] [[File:Crossbow Pull 2.png|32px]] [[File:Firework Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] Added crossbows.
|Crossbows can be enchanted with either the [[Quick Charge]] (Highest Level III), [[Piercing]] (Highest Level IV) or [[Multishot]] (Highest Level I).}}
{{History|||snap=18w47a|Crossbows can now be found inside loot [[chest]]s at the top of [[pillager outpost]]s.}}
{{History|||snap=19w11a|Fletcher [[villager]]s now [[trading|sell]] crossbows and enchanted crossbows.}}
{{History||1.16|snap=20w07a|[[File:Piglin with Crossbow.png|32px]] [[File:Piglin left handed with Crossbow.png|35px]] [[File:Piglin using one hand to hold a loaded crossbow JE1.png|35px]] Added [[piglin]]s, which can spawn with and [[drops|drop]] crossbows.}}
{{History|||snap=20w16a|Crossbows now generate randomly enchanted in [[bastion remnants]] chests.}}
{{History||1.18|snap=21w37a|Crossbow durability is increased to 465 to match {{edition|BE}}.}}
{{History||1.19.4|snap=23w07a|The crossbow recipes are no longer unlocked by [[stick]]s.}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|Enchantments exclusive to crossbows are no longer obtainable from villager [[trading]].}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:Crossbow.png|32px]] [[File: Crossbow Pull 0.png|32px]] [[File: Crossbow Pull 1.png|32px]] [[File: Crossbow Pull 2.png|32px]] [[File:Arrow Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] [[File:Crossbow Pull 0.png|32px]] [[File:Crossbow Pull 1.png|32px]] [[File:Crossbow Pull 2.png|32px]] [[File:Firework Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] Added crossbows.
|Crossbows are currently apart of [[Experimental Gameplay]].}}
{{History||1.9.0|snap=beta 1.9.0.0|Added [[pillager]]s, which use and [[drops|drop]] crossbows.}}
{{History|||snap=beta 1.9.0.3|Crossbows now appear bigger in a pillager's hand.}}
{{History||1.10.0|snap=beta 1.10.0.3|Crossbows are now fully implemented and separate from [[Experimental Gameplay]].
|Crossbows can now be found in [[pillager outpost]] [[chest]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Unenchanted and [[enchanting|enchanted]] crossbows can now be [[trading|bought]] from fletcher [[villager]]s.}}
{{History||1.12.0|snap=beta 1.12.0.3|Journeyman-level fletcher villagers now have 100% chance to [[trading|sell]] unenchanted crossbow, rather than 50% chance.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Piglin with Crossbow BE.png|32px]] Added [[piglin]]s, which can spawn with and [[drops|drop]] crossbows.}}
{{History|||snap=beta 1.16.0.57|Crossbows now generate randomly enchanted in [[bastion remnants]] chests.}}

{{History|PS4}}
{{History||1.90|[[File:Crossbow.png|32px]] [[File: Crossbow Pull 0.png|32px]] [[File: Crossbow Pull 1.png|32px]] [[File: Crossbow Pull 2.png|32px]] [[File:Arrow Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] [[File:Crossbow Pull 0.png|32px]] [[File:Crossbow Pull 1.png|32px]] [[File:Crossbow Pull 2.png|32px]] [[File:Firework Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] Added crossbows.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
*Alongside [[pillager]]s, crossbows were inspired by ''[[Minecraft Dungeons]]'', even though they were added in the base game first.<ref>{{cite|url=https://discord.com/channels/579770991056519194/818903542139453480/819631528593588244| title = March 2021 developper Q&A|website=discord.com|date=March 11, 2021}}</ref>
*Crossbows [[enchanting|enchanted]] with [[Quick Charge]] VI and above get stuck on the first frame on the recharging animation because the resulting charge time is negative, and the game never reaches the time markers that tell it to advance the animation or the reloading procedure itself. It is technically possible to charge such crossbows, but this would require overflowing the value that determines how long the crossbow has been charged. This takes such an amount of time that this is practically impossible: for example, charging a crossbow with Quick Charge VI would take 69.4 years to complete.
*Although Piercing allows arrows to bypass [[shield]]s, they can't get through the wither armor.
*The crossbow's first-person loading animation in [[Bedrock Edition]] is different from [[Java Edition]].
*Even if a crossbow is already wound with a projectile, when it drops on the ground, it always looks uncharged.<ref>{{bug|MC-137552}}</ref>
*In real life, crossbows don't shoot the same arrows as bows, rather they shoot shorter, thicker, and oftentimes fletchless arrows (usually called "bolts") made to withstand the crossbow's increased power, which can shatter conventional arrows.

==Gallery==
<gallery>
File:CrossbowMinecon.png|A crossbow shown at [[MINECON Earth 2018]].
File:PillagerMinecon.png|A [[pillager]] armed with a crossbow, shown at MINECON Earth 2018.
File:EquippingCrossbow.png|How the crossbow is equipped.
File:Enchanted_Crossbow.gif|An enchanted crossbow.
File:Steve_Charging_Crossbow.gif|Steve charging crossbow {{in|java}}.
File:Alex_Charging_Crossbow.gif|Alex charging crossbow {{in|java}}.
File:Pillager_Charging_Crossbow.gif|Pillager charging crossbow.
File:Piglin_Charging_Crossbow.gif|Piglin charging crossbow.
File:Crossbow_(MCD).png|The ''Minecraft Dungeons'' variant of the crossbow
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--crossbow Taking Inventory: Crossbow] – Minecraft.net on October 20, 2022

{{Items}}

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

[[de:Armbrust]]
[[es:Ballesta]]
[[fr:Arbalète]]
[[it:Balestra]]
[[ja:クロスボウ]]
[[ko:쇠뇌]]
[[pl:Kusza]]
[[pt:Besta]]
[[ru:Арбалет]]
[[th:หน้าไม้]]
[[zh:弩]]</li><li>[[Footprint|Footprint]]<br/>{{about|the joke item|the unused particle|Java Edition unused features#Footprint particle}}
{{Joke feature}}
{{Item
| image = Footprint (item).png
| renewable = No
| stackable = Yes (64)
}}

The '''Footprint''' was a joke item from [[Java Edition 20w14∞]], found only in the {{code|missing}} dimension.

== Appearance ==
This item is semi-transparent with a grey colour scheme.

== Obtaining ==

=== Dimension ===
Footprints were obtained only from a chest in the {{Code|missing}} dimension. Only existing in 2020 April fools snapshot 20w14∞, it cannot exist in any non-April Fool's joke versions and April Fool's joke versions before or after 20w14∞. There is a maximum of 2 footprints that can be obtained legitimately in any given world.

=== Cheats/Creative Mode ===
Despite these footprints not being available in the creative inventory, it is still possible to acquire them via the command {{Code|code=give <target> minecraft:footprint <amount>}} or duplicating them by holding down middle-click whilst in creative mode.

== Usage ==
As of snapshot 20w14∞, this item cannot be placed or used in any way other than a trophy. This item can be inserted and/or rotated inside of an item frame, and it has a stack limit of 64.

== Data values ==
=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=Footprint
|spritetype=item
|nameid=footprint
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||20w14∞|[[File:Footprint (item).png|32px]] Added the footprint item.}}
{{History|foot}}

== Gallery ==
<gallery>
File:Missing biome.png|The Easter Egg dimension that the item spawns in.
</gallery>

== Trivia ==
* This is a reference to the removed "Footstep" particle, hence in the "missing" dimension.
** This item is intended as a joke directed towards the commands' community where the "Footstep" particle is commonly requested.<ref>https://gist.github.com/boq/8e65cb85badc75765eeb8956af78aaa5</ref>

== References ==
{{reflist}}

{{Items}}
{{Jokes}}

[[Category:Non-renewable resources]]
[[Category:Joke items]]

[[es:Footprint]]
[[pt:Pegada]]</li></ul>
Although requiring external tools or modifications to apply, Monster Spawners can spawn the previously unavailable Green Robe Villagers in unmodified Minecraft clients.
u
12w32a
{{Extension DPL}}<ul><li>[[Totem of Undying|Totem of Undying]]<br/>{{redirect|Totem}}
{{Item
| image = Totem_of_Undying_JE2_BE2.png
| renewable = Yes
| stackable = No
| rarity = Uncommon
|effects=: {{EffectLink|Absorption}} II (0:05)
: {{EffectLink|Regeneration}} II (0:45){{only|java|short=yes}}/ II (0:40){{only|bedrock|short=yes}}
: {{EffectLink|Fire Resistance}} I (0:40)
}}
A '''totem of undying''' is an uncommon [[combat]] item that can save holders from death. It is dropped by [[Evoker|evokers]], which spawn in [[woodland mansion]]s and [[raid]]s.

== Obtaining ==
=== Mob loot ===
Evokers always drop one totem of undying upon death. The drop rate is not affected by [[Looting]].

== Usage ==
[[File:Totem of Undying Animation.gif|alt=The totem animation in Java Edition.|thumb|Animation of the totem activating {{in|java}}.]]
[[File:Totem of Undying Bedrock Animation.gif|alt=The totem animation in Bedrock Edition.|thumb|Animation of the totem activating {{in|bedrock}}.]]
If the [[player]] is holding a totem of undying in their [[off-hand]] or main-hand slot and receives otherwise fatal [[damage]], the totem saves the player from [[death]]. The totem of undying must be in the player's hand (main hand or offhand) for it to work—it does not work if it is in the [[Heads-up display#Hotbar|hotbar]], unless selected. Any [[mob]] that can hold a totem of undying (in a hand or in the mouth) can use it while holding it.{{only|JE}} The totem can be used only once; it disappears after use. It does not save the player from death caused by [[void]] damage, the {{cmd|kill}} [[command]]s or even a [[tipped arrow]] with [[Instant Damage|harming]] effect damage.<ref>{{bug|MC-206307}}</ref>

== Effect ==
When activated, the totem of undying restores {{hp|1}}, removes all existing [[status effect]]s, then grants 40{{only|bedrock|short=1}} or 45{{only|java|short=1}} seconds<ref>{{bug|MCPE-90716}}</ref> of [[Regeneration]] II, 40 seconds of [[Fire Resistance]] I and 5 seconds of [[Absorption]] II. An animation shows the totem of undying appearing to hover in front of the [[player]]'s screen, similar to the animation seen when a player receives the [[Bad Omen]] or [[Hero of the Village]] effect{{only|bedrock|short=1}} or encounters an [[elder guardian]]. When killed by an [[Instant Damage]] tipped [[arrow]], the arrow's instant damage takes effect after the totem has been activated.

The totem of undying also works in [[Hardcore]] mode.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Totem of Undying.ogg
|subtitle=Totem activates
|source=dependent
|description=When something dies, using a totem of undying
|id=item.totem.use
|translationkey=subtitles.item.totem.use
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Totem of Undying.ogg
|source=player
|description=When something dies, using a totem of undying
|id=random.totem
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Totem of Undying
|spritetype=item
|nameid=totem_of_undying
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Totem of Undying
|spritetype=item
|nameid=totem_of_undying
|aliasid=totem
|id=568
|form=item
|translationkey=item.totem.name
|foot=1}}

== Achievements ==
{{load achievements|Cheating Death}}

== Advancements ==
{{load advancements|Postmortal}}

== History ==
{{History||2016|[[File:Totem of Undying (pre-release).png|32px]] An early version of the totem of undying was seen during Minecon shortly before its reveal.}}
{{History|java}}
{{History||1.11|snap=16w39a|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History||1.11.1|snap=16w50a|The ID name has now been changed from <code>totem</code> to <code>totem_of_undying</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 449.}}
{{History||1.14|snap=18w43a|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History|||snap=18w47a|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}
{{History||1.16.2|snap=20w28a|The totem of undying now gives the [[Fire Resistance]] II status effect for 40 seconds.}}
{{History|||snap=20w29a|The level of Fire Resistance given by the totem of undying is now reduced from II to I.<ref>{{bug|MC-194220}}</ref>}}
{{History||1.20.2|snap=23w31a|Totems of undying now trigger [[sculk sensor]]s when they activate.<ref>{{bug|MC-261427||Sculk sensors and calibrated sculk sensors don't detect totem of undying activating|Fixed}}</ref>}}

{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.3|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}
{{History||1.16.100|snap=beta 1.16.100.54|The level of Fire Resistance given by the totem of undying is now reduced from II to I.<ref>{{bug|MCPE-52364}}</ref>}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of totems of undying has been changed from <code>totem</code> to <code>totem_of_undying</code>.}}

{{History|console}}
{{History||xbox=TU54|xbone=CU44|ps=1.52|wiiu=Patch 24|switch=1.0.4|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History||xbox=TU56|xbone=CU48|ps=1.55|wiiu=Patch 26|switch=1.0.6|The totem of undying now applies [[Fire Resistance]] II when used.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}

{{History|new3ds}}
{{History||1.9.19|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* If a [[mob]] holds a totem of undying, the mob also resurrects upon [[Health#Death|death]] and the [[sound]] effect plays. However, the animation does not appear.
* In the {{el|ds}}, the totem of undying can be put in any hotbar slot to activate it, due to the lack of an [[Dual wield|off-hand slot]] in that version.
* Being able to obtain totems of undying in [[raids]] without exploring [[woodland mansions]] is considered a "massive game play design flaw" by Mojang.<ref>{{ytl|YRPlscod34Y}}</ref>

== Gallery ==
<gallery>
File:Particle totem of undying.png|Screenshot of the totem of undying being used mid-animation after a [[drowned]] deals otherwise fatal damage to the player.
File:Totem of Undying activating.gif|Animation of the totem activating.
File:Totem animation in third person mode.png|The totem animation in third person mode.
</gallery>

== References ==
{{reflist}}

{{Items}}

[[de:Totem der Unsterblichkeit]]
[[fr:Totem d'immortalité]]
[[ja:不死のトーテム]]
[[ko:불사의 토템]]
[[lzh:保命符]]
[[nl:Totem der onsterfelijkheid]]
[[pl:Totem nieśmiertelności]]
[[pt:Totem da imortalidade]]
[[ru:Тотем бессмертия]]
[[th:Totem of Undying]]
[[zh:不死图腾]]
[[Category:Renewable resources]]</li><li>[[Hopper|Hopper]]<br/>{{About|the block|the crash utility|Hopper (crash utility)}}
{{Block
|image=<gallery>
Hopper (D).png|Java
Hopper (D) BE.png|Bedrock
</gallery>
|extratext = View [[#Gallery|all renders]]
|transparent=Yes
|light=No
|tool=wooden pickaxe
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}
A '''hopper''' is a low-capacity storage [[block]] that can be used to collect [[item (entity)|item entities]] directly above it, as well as to transfer [[item]]s into and out of other containers. A hopper can be locked with [[Redstone Dust|redstone power]] to stop it from moving items into or out of itself.

== Obtaining ==
=== Breaking ===
To obtain a hopper, {{control|mine}} it with a [[pickaxe]]. Using any other item to mine a hopper drops only its contents.
{{breaking row|horizontal=1|Hopper|Pickaxe|Wood|foot=1}}

===Crafting===
A hopper can be crafted from 5 iron ingots and a chest.
{{Crafting
|A1= Iron Ingot
|C1= Iron Ingot
|A2= Iron Ingot
|B2= Chest
|C2= Iron Ingot
|B3= Iron Ingot
|Output= Hopper
|type= Redstone
}}

==Usage==
{{see also|Tutorials/Hopper}}
[[File:Hopper aligment.png|Hoppers can face down or sideways.|thumb]]

A hopper can be used as a container, as a crafting ingredient, and as a redstone component.

A hopper has an "output" tube at its bottom that can face down or sideways and provides a visual indication of which block the hopper is set up to drop its items into, if that block has an inventory. To place a hopper, use the {{control|Place Block}} control while aiming at the surface to which its output should face (Hoppers ''do not'' orient themselves automatically). To place a hopper directly on the face of an already interactable block, the player can {{control|sneak}} while placing the hopper. Attempting to place a hopper aimed on the bottom face of a block instead faces downward. With some blocks, such as the [[furnace]] and [[brewing stand]], the hopper has multiple uses. A hopper does not change direction after placement, and it is not attached to the container it faces; the container can be removed or replaced, and the hopper remains unchanged.

Hoppers cannot be moved by [[piston]]s.{{only|java}} Despite not being a solid block, attached blocks such as [[rail]]s, [[lever]]s, [[tripwire]] and [[redstone]] dust can be placed on top of hoppers, but not on their sides.

===Container===
[[File:Hopper GUI.png|thumb|176px|Hopper GUI showing the hopper's five slots of inventory at the top and the player's inventory below.]]

A hopper can be used as a container and has 5 slots of inventory space.

To open the hopper GUI, use the {{control|use item|text=Use Item/Place Block}} [[control]]. To move items between the hopper inventory and the player inventory or hotbar while the hopper GUI is open, drag or shift-click the items. To exit the hopper GUI, use the {{key|Esc}} key, B button or circle button, depending on the device.

By default, the GUI of a hopper is labeled "Item Hopper". A hopper's GUI label can be changed by naming the hopper in an [[anvil]] before placing it, or, {{in|java}}, by using the [[Commands#data|data]] command (for example, to label a hopper at (0,64,0) "Steve's Hopper", use <code>/data merge block 0 64 0 {CustomName:'"Steve's Hopper"'}</code>).

{{IN|java}}, a hopper's GUI can be "locked" (or subsequently unlocked) by setting the hopper's <code>Lock</code> tag with the [[Commands#data|data]] command. If a hopper's <code>Lock</code> tag is not blank, the hopper cannot be accessed except by players holding an item with the same name as the <code>Lock</code> tag's text. For example, to lock a hopper at (0,64,0) so that only players holding an item named "Steve's Key" can access the hopper, use <code>/data merge block 0 64 0 {Lock:"Steve's Key"}</code>.

===Crafting ingredient===
A hopper can be used to craft a [[minecart with hopper]].
{{crafting usage}}

===Redstone component===
{{see also|Redstone circuit|Redstone components#Hopper}}
[[File:Hopper logic flowchart.png|thumb|Flowchart of hopper logic]]

While a hopper is ''not'' powered by redstone signals, it operates with three functions:

*'''Collect''' [[Item (entity)|item entities]] (free-floating items in the world) into its inventory from the space above it
*'''Pull''' a single item into its inventory from a container above it
*'''Push''' a single item from its own inventory into a container it faces

A hopper first attempts to push any items inside it. Afterward, it checks if the block above it is a type of container. If so, it attempts to pull from it. Otherwise, the hopper attempts to collect item entities. Notably, hoppers can push to and pull from other hoppers, forming '''hopper pipes''' or '''hopper chains''', which allow transporting items across several blocks and are further discussed below.

====Redstone signals====
When a hopper receives a redstone signal (and is considered to be "activated"), all three functions stop. To avoid confusion over the terms "activated" and "deactivated", powered hoppers are often described as being '''locked''' and unpowered hoppers described as being '''unlocked'''. Hoppers can be powered by [[Redstone_mechanics#Power|soft powered]] blocks, meaning a [[redstone dust]] trail pointing into a block touching the hopper locks it just as effectively as a [[redstone block]] or any other [[Redstone components#Power components|power component]] touching the hopper. When the hopper is unlocked during a redstone tick, it does not push or pull/collect during the same tick, but has a delay of 1 redstone tick instead.

While a locked hopper does not push or pull/collect items, it may still receive items from [[dispenser]]s, [[dropper]]s and other hoppers, and may have its items pulled out by another hopper beneath it. Hence, the item flow in a horizontal hopper pipe may be stopped by locking just one of the hoppers, but stopping a vertical hopper pipe requires locking two adjacent hoppers at the same time, such that both the pushing of the top one and the pulling of the bottom one are stopped.  

A hopper does not output any redstone signals by itself, but its fullness can be read using a [[Redstone Comparator|redstone comparator]], which needs to be placed next to it and facing away from it. An empty hopper outputs a signal strength of 0 and a completely full hopper outputs a signal strength of 15. Notably, a single stackable item (16 or 64) outputs a signal strength of 1 and a single non-stackable item outputs a signal strength of 3.  

{{IN|Java}}, if the hopper being read is part of a horizontal hopper pipe, the comparator can individually read each item passing through the chain, because items are pushed through the hoppers one by one at a speed that is manageable by the comparator. If there is an uninterrupted stream of items, the comparator does not switch off in between items. On the other hand, in a vertical hopper pipe, some of the hoppers may never produce a reading above 0, even with a continuous stream of items, because pushes and pulls both occur in the same game tick: The hoppers' items get pulled out a single game tick after they're pushed in and this isn't measurable by a comparator, because comparators need measurements lasting at least 1.5 redstone ticks to produce a reading.  

====Collecting items====
A hopper collects items dropped on top of it if the space above the hopper not occupied by a storage block. Items are gathered from the entire 1 block space above the hopper, meaning that items sitting on partial blocks such as [[soul sand]] directly above a hopper can be collected.<ref>https://bugs.mojang.com/browse/MCPE-55824</ref> It is also possible for a hopper to collect items from inside a full, solid block, a situation that might come from items rising up through solid blocks or being [[commands/summon|summoned]]. Item entities are not collected when they are outside of the collection area however; for example, items on top of a stone block directly above a hopper are not collected. Collected items are placed in the leftmost empty slot of a hopper's inventory.

{{IN|java}}, if there is no container above the hopper, then the hopper collects dropped items in the order in which they landed on the hopper. This order is remembered even while a hopper is locked. For instance, if a hopper is locked under a carpet while a fully equipped [[armor stand]] is broken above it, then it always collects items in this order when it is unlocked: [[armor stand]], [[boots]], [[leggings]], [[chestplates]], [[helmets]]. This is due to the order in which these items land.{{Verify|Wouldn't this be due to the order in which the game creates the item entities that drop drop from the armor stand?}} {{IN|Bedrock}}, hoppers do not remember the order in which items land on the hopper. Instead, hoppers with multiple dropped items above them collect the items in the order in which they entered the chunk in which the hopper is located. Items that drop from a broken armor stand are collected in a random order.<ref>https://bugs.mojang.com/browse/MCPE-120586</ref>

Hoppers usually check for dropped items every [[game tick]] and they can collect items even before they are picked up by a [[player]]{{Verify|Does this happen always, or sometimes, and in Java only or also in Bedrock?}} or destroyed by [[lava]]. However, {{In|Bedrock}} hoppers have a "collection cooldown" time. After collecting an item (or stack of items), a hopper waits {{tooltip|4 redstone ticks|8 game ticks}} (0.4 seconds, barring lag) before attempting to collect again.

Hoppers collect groups of items all at once rather than collecting them as single items one at a time. As a result, hoppers can collect item entities much faster than they can pull items from a container. Pulling from a moving [[minecart with chest]] or [[minecart with hopper]] is even slower, since the minecart is not always above the hopper.

====Pushing and pulling items====
A hopper with a storage container above it (such as a [[furnace]], [[chest]], [[dropper]], [[composter]], or another hopper) attempts to pull from the container instead of checking for floating items above it, and hence can not collect items.  A hopper always tries to push or pull items using the leftmost available slot. When a hopper is removing items from a chest, the items disappear from left to right. Similarly, when filling up a chest, the chest fills up from left to right. Hoppers prioritize pulling from the first slot of a container over pulling into the first hopper slot. If a hopper has stone in its first slot and nothing in its second while the container it is pulling from has chicken in its first slot but stone in the second, the hopper pulls the chicken from the first slot of the container into its empty second slot. However, if the hopper is unable to pull the chicken, such as if all slots are filled with stone, the hopper pulls the stone from the second slot of the container instead. Similarly, hoppers prioritize pushing from their first slot over pushing into the first slot of a container. If a hopper has stone in its first slot and chicken in its second while the container it is pushing to has chicken it its first slot but stone in the second, the hopper pushes stone from its first slot into the second slot of the container.

In [[Java Edition]] the checks done by a hopper while pulling generally require less processing than the checks done by a hopper attempting collection. Therefore, a chain of hoppers topped with storage containers rather than air/solid blocks has better performance (measured as milliseconds of processing per tick) and lower potential for processing lag. <ref name=":0">https://www.youtube.com/watch?v=LC3ZOOI1Rf0</ref> The performance improvement achieved is correlated with the number of storage slots the container has. Placing composters (with no storage slots but still with custom output logic) on top of hoppers provide the greatest efficiency, while double chests actually degrade performance, even when sharing each double chest across two hoppers.<ref name=":0" /> In [[Bedrock Edition]] a chain of hoppers with air or non-container blocks on top has better performance than a chain of hoppers topped by container blocks.<ref>https://cdn.discordapp.com/attachments/715523208530362389/890030941282631741/Redstone_MSPT_measure.xlsx</ref> This may be because, even though hoppers with containers on top do not check for items, they do check for hopper-minecarts and chest-minecarts to pull from, and that involves scanning the chunk entity list.<ref>{{bug|MCPE-109449}}</ref>

{{Schematic|caption='''Push then Pull'''
Chest A is full of items while the hopper and Chest B are empty.
|ch-$+A||-
|ho-$e|ch-$+B
}}

Item pushes and pulls are processed in the same game tick, but pushes are processed before pulls. In the schematic, the empty hopper first pulls an item from chest A as it cannot push anything into chest B. After the cooldown, the hopper first pushes its item into chest B before pulling another item from chest A, both pushing and pulling in the same tick, and the process repeats. The hopper stops pulling when A is empty, and stops pushing when B becomes full.

Hoppers also have a "transfer cooldown" time. After pulling and/or pushing items, a hopper waits {{tooltip|4 redstone ticks|8 game ticks}} (0.4 seconds, barring lag) before pulling or pushing again (a transfer rate of 2.5 items per second, barring lag). A hopper that has an item pushed into it from another hopper also starts a 4 tick cooldown period, regardless of whether it pushed or pulled items itself. Item entities can be collected at any time without affecting the transfer cooldown time. The transfer cooldown and the Bedrock Edition collection cooldown are independent of each other.

====Container interactions====
Some [[container]]s interact with hoppers in specific ways:

:;{{BlockLink|Composter}}
::Hoppers above composters can push compostable items into the composter's top face with a chance of increasing the level of the composter as if the player used the item on the composter. Items that are not compostable cannot be pushed into the composter. Hoppers below the composter can pull [[bone meal]] when the composter is in stage 8, emptying the composter and resetting it to stage 0. Hoppers to the side of a composter do not interact with it.

:;{{BlockLink|Brewing Stand}}
::A working hopper on the top face of a brewing stand deposits only into the ingredient slot and it can push only valid [[brewing]] ingredients. A hopper on side face of a brewing stand can deposit only [[blaze powder]] or filled bottles into the three brew slots. A hopper underneath a brewing stand always extracts from the three brew slots, whether brewing is finished or not—The hopper must be locked to allow potions to finish brewing.

:;{{BlockLink|Chest}}
:;{{BlockLink|Trapped Chest}}
::Large chests and large trapped chests are treated as a single container: A hopper depositing into a large chest fills up the entire chest and a hopper underneath a large chest empties the entire chest. Trapped chests being accessed by a player lock any adjacent hoppers, per the standard behavior of a hopper next to an active power source.

:;{{BlockLink|Furnace}}
:;{{BlockLink|Blast Furnace}}
:;{{BlockLink|Smoker}}
::A working hopper pointing into top of a furnace deposits only into the ingredient slot. It can push any item, including items that can't be smelted by the furnace. A hopper pointing into the side of a furnace deposits into the fuel slot, and only items that are usable as fuel. A hopper below a furnace pulls everything from the output slot and empty [[bucket]]s from the fuel slot left over from using [[lava bucket]]s as fuel. When a hopper removes items from a furnace, the experience points are 'stored' in the furnace until a player removes at least one smelted item, or the furnace block is broken.

:;{{BlockSprite|Hopper}} Hopper
::A sequence of three or more hoppers, each pushing items into the next, is called a '''hopper pipe'''. Working horizontal hopper pipes simply push items into each other at the expected rate of 2.5 items per second, but vertical hopper pipes are more complicated, as the hoppers are trying both to pull and to push. When a vertical pipe pulls from a single container, it simply transfers items at 2.5 items per second because the transfer rate is limited by the first hopper pulling items from the container. If a ''stack of items'' is in a vertical pipe, the items can be transferred twice as fast, because the hopper with the item stack is pushing items down while the hopper below it is also pulling items down.

:;{{EntityLink|Minecart with Chest}}
:;{{EntityLink|Minecart with Hopper}}
::Unlocked hoppers fill chest minecarts and hopper minecarts if any part of the entity's hitbox is within the hopper's target block-space. Hopper minecarts try to pull items from the hopper at high speed. Hoppers can pull items from minecarts above them so rails can be placed directly on the top faces of a hoppers. If a [[detector rail]] is in the right position, it could lock the hopper per standard redstone-hopper behavior.

:;{{BlockLink|Jukebox}}
::Hoppers can insert [[music disc]]s into jukeboxes, and extract the music discs after they finish playing.

:;{{BlockLink|Shulker Box}}
::Hoppers cannot put shulker boxes into other shulker boxes. This allows for the creation of certain [[Tutorials/Hopper#Potions and shulker boxes|item filters]].
::Otherwise, hoppers interact with shulker boxes normally.

:;{{BlockLink|Lectern}}
::Hoppers cannot remove or place books on lecterns. The redstone pulse emitted from a lectern when a page is turned can temporarily lock hoppers.

:;{{BlockLink|Ender Chest}}
::Hoppers cannot interact with ender chests in any way.

:;{{BlockLink|Barrel}}
:;{{BlockLink|Dispenser}}
:;{{BlockLink|Dropper}}
:;{{EntityLink|Boat with Chest}}
::Hoppers interact normally with barrels, dispensers, droppers, and boats with chests.

:;{{BlockLink|Chiseled Bookshelf}}
::Hoppers and minecart with hoppers can insert and remove books from the bookshelf. As with any other container, items are taken from the first slot that has an item that can fit in the hopper and are inserted into the first empty slot.

==Sounds==
===Generic===
{{Sound table/Block/Metal}}
===Unique===
{{Edition|Java}}:
{{Sound table
|sound=Door close.ogg
|sound2=Door open.ogg
|subtitle=Chest locked<ref group=sound name=lock>{{Bug|MC-98316||Wrong subtitles caused by missing distinction}}</ref>
|source=block
|description=When a player attempts to open a hopper locked using the {{nbt|string|Lock}} tag
|id=block.chest.locked|idnote=<ref group=sound name=lock/>
|translationkey=subtitles.block.chest.locked|translationkeynote=<ref group=sound name=lock/>
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}: ''None''

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Hopper
|spritetype=block
|nameid=hopper
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=hopper
|spritetype=block
|nameid=hopper
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Hopper
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=hopper
|spritetype=block
|nameid=hopper
|id=154
|form=block
|itemform=item.hopper}}
{{ID table
|displayname=Item
|spritename=hopper
|spritetype=item
|nameid=hopper
|id=527
|form=item
|translationkey=tile.hopper.name
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=hopper
|spritetype=block
|nameid=Hopper
|foot=1}}

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

{{/BS}}

===Block data===
A hopper has a block entity associated with it that holds additional data about the block.

{{el|java}}:
{{see also|Block entity format}}
{{/BE}}

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

==Achievements==
{{load achievements|Freight Station;Smelt Everything}}

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

==History==
{{History|java}}
{{History||1.5|snap=13w01a|[[File:Hopper (D) JE1.png|32px]] [[File:Hopper (N) JE1.png|32px]] [[File:Hopper (E) JE1.png|32px]] [[File:Hopper (S) JE1.png|32px]] [[File:Hopper (W) JE1.png|32px]] [[File:Hopper (U) JE1.png|32px]] Added hoppers.
|Hoppers with the [[damage]] value of 1, which are obtainable only through world editing, visually point in no direction. They functionally push items upward, however the behavior is inconsistent.
|[[File:Hopper (item) JE1.png|32px]] There is currently a temporary "work in progress" sprite for hoppers in the [[inventory]].
|Hoppers can be [[crafting|crafted]] from a [[chest]] and [[stone]] blocks with the following recipe:
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting Table
  |A1= Stone
  |C1= Stone
  |A2= Stone
  |B2= Chest
  |C2= Stone
  |B3= Stone
  |Output= Hopper
}}
{{!}}}
}}
{{History|||snap=13w01b|[[Rail]]s can now be placed on top of hoppers. 
|Hoppers no longer load [[item]]s into [[minecart]]s without [[chest]]s.}}
{{History|||snap=13w02a|[[File:Hopper (item) JE2 BE1.png|32px]] The [[inventory]] sprite of hoppers has been changed.
|[[File:Hopper (item) 13w02a.png|32px]] However, the [[item]] of hoppers appears bugged if [[drops|dropped]] or placed in an [[item frame]].<ref>{{bug|MC-6737}}</ref> This may be due to the game attempting to pull the item sprite from the hopper's equivalent spot in <samp>[[stitched_terrain.png]]</samp> (compare files: [[:File:13w02a stitched terrain.png|terrain]], [[:File:13w02a stitched items.png|items]]), a region which contains parts of the oak planks, end stone and iron bars textures.
|Applying a [[redstone]] signal to a hopper now deactivates the hopper until the signal is removed.
|Hoppers can no longer be used as [[fuel]] in a [[furnace]].
|Hoppers are now [[crafting|crafted]] using 5 [[iron ingot]]s rather than 5 [[stone]] blocks.
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1= Iron Ingot
|C1= Iron Ingot
|A2= Iron Ingot
|B2= Chest
|C2= Iron Ingot
|B3= Iron Ingot
|Output= Hopper
}}
{{!}}}
|Hoppers now pull only from the output slot of [[furnace]]s.
|Hoppers now output 1 signal strengh per 1/3 of a stack (21 [[item]]s) when interacting with a [[redstone comparator]].
|[[File:Hopper (D) JE2.png|32px]] [[File:Hopper (N) JE2.png|32px]] [[File:Hopper (E) JE2.png|32px]] [[File:Hopper (S) JE2.png|32px]] [[File:Hopper (W) JE2.png|32px]] [[File:Hopper (U) JE2.png|32px]] The texture of hoppers has been given a unique texture. Hoppers no longer use the [[cauldron]] texture. Note that the top texture does not rotate with facing direction.
|The preferred tool is now a pickaxe, rather than the axe.}}
{{History|||snap=13w02b|Hoppers now treat large [[chest]]s properly, no longer needing two hoppers connected to them to fill up the entire [[inventory]].
|Hoppers no longer take [[item]]s from containers when powered via a [[redstone]] current.
|Hoppers now display correctly as a [[drops|dropped]] or [[item frame|frame]] [[item]].}}
{{History|||snap=13w03a|Hoppers are now used to [[crafting|craft]] a [[minecart with hopper]].
|Hoppers can now empty a [[minecart with hopper]].}}
{{History|||snap=13w04a|The transfer rate of hoppers has been changed from 7 to 8 [[game tick]]s per [[item]] (2.5 items per second).}}
{{History||1.5.1|snap=pre|Hoppers now take empty [[bucket]]s out of furnace fuel slots.}}
{{History||1.7.2|snap=release|[[File:Hopper (D) JE3.png|32px]] [[File:Hopper (N) JE3.png|32px]] [[File:Hopper (E) JE3.png|32px]] [[File:Hopper (S) JE3.png|32px]] [[File:Hopper (W) JE3.png|32px]] [[File:Hopper (U) JE3.png|32px]] The UV of all blocks is broken on certain sides as a result of {{bug|MC-37106}} (few cases are listed on the wiki so far - this is a future project). This includes hoppers.}}
{{History||1.7.4|snap=13w47a|[[File:Hopper (D) JE4.png|32px]] [[File:Hopper (N) JE4.png|32px]] [[File:Hopper (E) JE4.png|32px]] [[File:Hopper (S) JE4.png|32px]] [[File:Hopper (W) JE4.png|32px]] [[File:Hopper (U) JE4.png|32px]] MC-37106 has been fixed, reverting hoppers to their pre-1.7.2 appearences.}}
{{History|||snap=13w48a|This version fixed {{bug|MC-190}}, which hoppers were allegedly subject to since their introduction. However, a comparison of hopper UV in 13w02a and 14w08a failed to reveal any visible differences, even accounting for the example images on the ticket. More research is needed on this matter.}}
{{History||1.8|snap=?|Hoppers no longer generate [[multiplayer]] lag when idle.}}
{{History|||snap=14w10a|[[File:Hopper (D) JE5.png|32px]] [[File:Hopper (N) JE5.png|32px]] [[File:Hopper (E) JE5.png|32px]] [[File:Hopper (S) JE5.png|32px]] [[File:Hopper (W) JE5.png|32px]] [[File:Missing Model JE2.png|32px]] Hoppers now use block models rather than having a hardcoded shape. This brings multiple changes: the inside texture now rotates with the hopper rather than being constant, the inside planes of hoppers are now shaded/have ambient occlusion, and some minor UV changes have occurred, notably on the smallest cuboid. The directionless hopper also [[Missing model|no longer has a model]].}}
{{History|||snap=14w26a|The directionless hopper has been removed.}}
{{History|||snap=14w31a|Hoppers now no longer use wood [[sound]]s.<ref>{{bug|MC-5991}}</ref>}}
{{History||1.9|snap=15w33c|A hopper now generates as a part of the [[end ship]] in the [[end city|end cities]].}}
{{History|||snap=15w41a|End ships no longer contain a hopper.}}
{{History|||snap=15w43a|[[Loot table]]s have been added; hoppers can now use loot tables.}}
{{History|||snap=15w43c|[[File:Hopper (D) JE6.png|32px]] [[File:Hopper (N) JE6.png|32px]] [[File:Hopper (E) JE6.png|32px]] [[File:Hopper (S) JE6.png|32px]] [[File:Hopper (W) JE6.png|32px]] The UV on the hopper model has changed, resulting in minor differences, particularly to the smallest cuboid. This is likely due to the fix for {{bug|MC-73401}}.}}
{{History|||snap=15w44a|[[File:Hopper (D) JE7.png|32px]] [[File:Hopper (N) JE7.png|32px]] [[File:Hopper (E) JE7.png|32px]] [[File:Hopper (S) JE7.png|32px]] [[File:Hopper (W) JE7.png|32px]] A mapping issue introduced in the previous snapshot for the sides of the large funnel region has been fixed. This may be due to the fix for {{bug|MC-50344}}.}}
{{History||1.9.1|snap=pre1|A hopper can now push into and pull [[item]]s from a blocked [[chest]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 154.}}
{{History||1.14|snap=18w43a|[[File:Hopper (D) JE8.png|32px]] [[File:Hopper (N) JE8.png|32px]] [[File:Hopper (E) JE8.png|32px]] [[File:Hopper (S) JE8.png|32px]] [[File:Hopper (W) JE8.png|32px]]<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}
{{History|||snap=19w03c|Hoppers now use correct cullface arguments, and some redundant faces have also been deleted.}}
{{History||1.19|snap=22w13a|Hoppers no longer drop when breaking a [[minecart with hopper]].}}
{{History||1.19.4|snap=23w07a|Hoppers can now interact with jukeboxes.}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers. Upward hoppers also exist.}}
{{History||v0.15.0|snap=build 1|Hoppers can now be moved by [[piston]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Hopper (D) BE.png|32px]] [[File:Hopper (N) BE.png|32px]] [[File:Hopper (E) BE.png|32px]] [[File:Hopper (S) BE.png|32px]] [[File:Hopper (W) BE.png|32px]] [[File:Hopper (U) BE.png|32px]]<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}
{{History||1.19.70|snap=beta 1.19.70.20|Hoppers can now collect items through all blocks that have a lower height than a full block.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Hopper (D) JE8.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}
{{History||ps=1.91|Hoppers can now fill [[composter]]s.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers.}}
{{History|foot}}

==Issues==
{{Issue list}}

==Trivia==
* A [[wikipedia:Hopper (particulate collection container)|real-world hopper]] is a large, pyramidal or cone-shaped container used in industrial processes to hold particulate matter, like dust, gravel, nuts, seeds, etc., and can then dispense them from the bottom.
* A hopper can transfer 9000 items per hour, or 150 items per minute.

==Gallery==
=== Renders ===
<gallery>
Hopper (N).png
Hopper (E).png
Hopper (S).png
Hopper (W).png
</gallery>
<gallery>
Hopper (N) BE.png
Hopper (E) BE.png
Hopper (S) BE.png
Hopper (W) BE.png
</gallery>

=== Screenshots ===
<gallery>
File:Hopper screenshot 1.png|In snapshot 13w01a, the hopper item uses a 'WIP' sprite, though the item still read "Hopper".
File:13w02a Banner.png|The 13w02a Banner includes a [[minecart with TNT]]  and a hopper.
</gallery>

==References==
{{Reflist}}

{{Redstone}}
{{Blocks|Utility}}
{{Items}}

[[Category:Mechanisms]]
[[Category:Redstone mechanics]]
[[Category:Mechanics]]
[[Category:Storage]]
[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Block entities]]

[[cs:Násypka]]
[[de:Trichter]]
[[el:Hopper]]
[[es:Tolva]]
[[fr:Entonnoir]]
[[it:tramoggia]]
[[ja:ホッパー]]
[[ko:호퍼]]
[[nl:Trechter]]
[[pl:Lej]]
[[pt:Funil]]
[[ru:Загрузочная воронка]]
[[uk:Лійка]]
[[zh:漏斗]]</li></ul>
Villagers will like and dislike you, depending on how you react to them.
Villagers can be infected by zombies, causing them to change their appearance and attack the player.
Villagers can be found wandering in the Nether.[citation needed]

Bugs

  • Villagers will generally try to enter the south-west most house in a village at night, often leading to crowding of a single house and a lack of use of all the other houses.
  • Sometimes when there is a zombie outside, a villager might still open the door resulting in a "suicide"
  • If trading is opened with a villager and they die before it is closed, trades can still be made.
  • When a villager is cured after infected by a Zombie,they change roles and trades.
  • In man-made villages, some villagers will not be able to get into houses if the village is an "apartment" style.
  • Villagers sometimes crowd a undersized house, like above. You may wind up with 50 villagers at the same door.
  • Baby Villagers are treated by the game to be the same height as an adult. Therefore, they can not fit in 1.5 tall spaces (half slab upside down above air).
  • Sometimes Villagers will fall though a block and will be in the ground. This is not just a visual glitch as an attempt to trade or hit the Villager with the cross hair where the head should be will not result in anything.

Trivia

File:Villager19preUnused.png

When the unused "Steve?"/"Villager" villager skin is applied, this is the result.

  • The villagers were inspired by the shop keepers in Dungeon Master 2.[1]
  • Villager breeding results in random types, not depending on the couple.
  • Due to their peculiar look, villagers have been compared to Squidward from SpongeBob SquarePants or Bert from Sesame Street. Notch himself agreed they look like "Caveman Squidwards".[2]
  • Since the villagers introduction, there has been a texture in the game files indicating a standard villager type due to their filename. However, this role seems to be filled by the Farmer type instead, with no villager of this type ever spawning.
  • A texture in the main mob directory of Minecraft appears to be the default character texture ("Steve") reoriented to be a villager texture. As is expected, applying it to the current villager model produces a very broken look, as seen to the side.
  • Villagers can climb ladders if they are in their path, like other mobs.
  • Villagers and squids, are the only mobs in the game that don't have any sound effects.
  • Sometimes, when children are playing tag, a child may grow up and still be playing tag until the villagers stop for a break. The adult will then continue with a normal life.
  • Originally, the mobs populating villages were to be pigmen.[3]
  • Green villagers only have two trade options: They will either buy 8 or 9 gold for one emerald.
  • Flaming villagers will ignore the fact that they are on fire and may even continue to stand in it. (tested and confirmed)
  • Swirls are emitted when a choice is going to be added.(Tested with 3-4 villagers)
  • As of 12w32a, Villagers emit green stars when traded with, and emit gray and orange particles when hit. [citation needed]
  • Zombie Villagers can be cured by throwing a Splash Potion of Weakness at it, feeding the Villager a Gold Nugget Golden Apple, and then wait for a certain period of time, until the Villager turns back into his normal state. A Villager who was infected and cured will not lose their profession.
  • When Villagers turn into Zombie Villagers, their arms are not wrapped up anymore. Instead, it's hands are going toward you, like a normal zombie. Some with swords.

Gallery

References


Advertisement