Minecraft Wiki
Advertisement
This article is about the sounds that play semi-randomly in the background of gameplay. For the sound produced by flowing water called "water ambience", see Water § Sounds. For the ambient-genre music that plays in-game, see Music.

Ambience (also called ambience sounds or ambient sounds) are sounds that can be heard in specific conditions. They were created by C418 and Samuel Åberg. Currently, there are 167 different ambience sounds.

Ambience is divided into groups of ambience sounds that play under same condition/s. Currently, there are "cave", "underwater" and "Nether" ambiences.

The volume of ambient sounds can be changed individually through "Music & Sounds" in the Options menu by changing the "Ambient/Environment" bar. However, this also affects the sounds of firework rockets and such.

All ambience can be played using the /playsound minecraft:<code name> command. All ambiences' code names start with ambient.<unique code name>.

Note that the player needs to put into the command more variables than just the name of the sounds. See playsound for more info.

Cave ambience[]

Cave ambience (also known as cave sounds, or eerie noises according to the subtitles) are sounds that occasionally play when the player is underground or in a dark area, based on the mood algorithm.

Cave ambience sounds can play in all biomes except the Nether biomes, as long as there is a cave or a dark enough area present.

The code name for cave ambience is ambient.cave. There are 19 different cave ambience sounds in total.

List
Name Sound Description Volume Pitch
Cave 1 A whistling sound with reverb. 1.0 1.0
Cave 2 A dissonant high-pitched hum.
Cave 3 A low hum.
Cave 4 Resembles wind or venting gas from far away with reverb.
Cave 5 Changing dissonant notes.
Cave 6 A low airy hum.
Cave 7 A low hum with slight vibrato
Cave 8 Resembles low eerie wind with reverb.
Cave 9 A low hum with a doppler effect
Cave 10 Resembles a screeching violin with soft, low-pitched whooshes in the background.
Cave 11 Resembles whooshing wind.
Cave 12 A quick low whooshing sound.
Cave 13 Resembles wind or breath.
Cave 14 Resembles low glitching wind.

This audio file resembles the shape of a creeper face if put into a spectrogram.

Cave 15 Resembles wind with a hum.
Cave 16 Resembles a metallic object tumbling nearby
Cave 17 Eerie tones with a sudden crescendo and some metallic sounds.
Cave 18 Resembles low creaking and something metallic.
Cave 19 A dissonant chord with reverb layered with a clicking noise.

Underwater ambience[]

Information icon
This feature is exclusive to Java Edition. 
Not to be confused with the sound produced by flowing water.

Underwater ambience plays while the player's head is underwater. There are 22 different underwater ambience sounds in total.

They can be heard within a body of water of any size and in any dimension.

Underwater ambience is divided into two groups: "Loop" and "Loop Additions". Both of these play independently of each other while player is underwater. Additionally, "Loop Additions" are divided into 3 more groups.

Its code name is ambient.underwater.<group code name>

Note that Rare Loop Addition's and Ultra Rare Loop Addition's rarity is exaggerated in their name. Their names are derived from their in-game code names.
Group Info Code Name
Loop Plays in never-ending loop for as long as player is underwater ambient.underwater.loop
Loop Additions Plays commonly while player is underwater ambient.underwater.loop.additions
Rare Loop Additions Plays uncommonly while player is underwater ambient.underwater.loop.additions.rare
Ultra Rare Loop Additions Plays rarely while player is underwater ambient.underwater.loop.additions.ultra_rare
List
Name Sound Group
Underwater Ambience Loop
Bubbles 1 Loop Additions
Bubbles 2
Bubbles 3
Bubbles 4
Bubbles 5
Bubbles 6
Water 1
Water 2
Animal 1 Rare Loop Additions
Bass Whale 1
Bass Whale 2
Crackles 1
Crackles 2
Driplets 1
Driplets 2
Earth Crack
Animal 2 Ultra Rare Loop Additions
Dark 1
Dark 2
Dark 3
Dark 4

Nether ambience[]

Nether ambience plays while the player is in the Nether. Each biome has its own unique ambience. There are 126 different nether ambience sounds in total.

Nether ambience is divided into three groups: "Loop", "Loop Additions", and "Mood", all of which play independently of each other while the player is in the Nether.

Its code name is ambient.<biome>.<group code name>

Group Info Code Name
Loop Plays in never-ending loop for as long as player is in the biome ambient.<biome>.loop
Loop Additions Plays commonly while the player is in the biome ambient.<biome>.additions
Mood Plays once at least every 6000 ticks while the player is in the biome, based on the mood algorithm ambient.<biome>.mood

Basalt Deltas ambience[]

List
Name Sound Group
Basalt Deltas Ambience Loop
Basalt deltas active 1 Loop Additions
Basalt deltas active 2
Basalt deltas active 3
Basalt deltas active 4
Basalt Deltas Basalt Ground 1
Basalt Deltas Basalt Ground 2
Basalt Deltas Basalt Ground 3
Basalt Deltas Basalt Ground 4
Basalt Deltas Click 1
Basalt Deltas Click 2
Basalt Deltas Click 3
Basalt Deltas Click 4
Basalt Deltas Click 5
Basalt Deltas Click 6
Basalt Deltas Click 7
Basalt Deltas Click 8
Basalt Deltas Debris 1
Basalt Deltas Debris 2
Basalt Deltas Debris 3
Basalt Deltas Heavy Click 1
Basalt Deltas Heavy Click 2
Basalt Deltas Long Debris 1
Basalt Deltas Long Debris 2
Basalt Deltas Plode 1
Basalt Deltas Plode 2
Basalt Deltas Plode 3
Basalt Deltas Twist 1
Basalt Deltas Twist 2
Basalt Deltas Twist 3
Basalt Deltas Twist 4

Crimson Forest ambience[]

List
Name Sound Group
Crimson Forest Ambience Loop
Crimson Forest Addition 1 Loop Additions
Crimson Forest Addition 2
Crimson Forest Addition 3
Crimson Forest Particles 1
Crimson Forest Particles 2
Crimson Forest Particles 3
Crimson Forest Shine 1
Crimson Forest Shine 2
Crimson Forest Shine 3
Crimson Forest Shroom 1
Crimson Forest Shroom 2
Crimson Forest Shroom 3
Crimson Forest Twang 1
Crimson Forest Voom 1
Crimson Forest Voom 2
Crimson Forest Mood 1 Mood
Crimson Forest Mood 2
Crimson Forest Mood 3
Crimson Forest Mood 4

Nether Wastes ambience[]

List
Name Sound Group
Nether Wastes Ambience Loop
Nether Wastes Addition 1 Loop Additions
Nether Wastes Addition 2
Nether Wastes Addition 3
Nether Wastes Addition 4
Nether Wastes Addition 5
Nether Wastes Addition 6
Nether Wastes Addition 7
Nether Wastes Addition 8
Nether Wastes Dark 1
Nether Wastes Dark 2
Nether Wastes Ground 1
Nether Wastes Ground 2
Nether Wastes Ground 3
Nether Wastes Ground 4
Nether Wastes Mood 1 Mood
Nether Wastes Mood 2
Nether Wastes Mood 3
Nether Wastes Mood 4
Nether Wastes Mood 5

Soul Sand Valley ambience[]

List
Name Sound Group
Soulsand Valley Ambience Loop
Soulsand Valley Sand 1 Loop Additions
Soulsand Valley Sand 2
Soulsand Valley Sand 3
Soulsand Valley Voices 1
Soulsand Valley Voices 2
Soulsand Valley Voices 3
Soulsand Valley Voices 4
Soulsand Valley Voices 5
Soulsand Valley Whisper 1
Soulsand Valley Whisper 2
Soulsand Valley Whisper 3
Soulsand Valley Whisper 4
Soulsand Valley Whisper 5
Soulsand Valley Whisper 6
Soulsand Valley Whisper 7
Soulsand Valley Whisper 8
Soulsand Valley Wind 1
Soulsand Valley Wind 2
Soulsand Valley Wind 3
Soulsand Valley Wind 4
Soulsand Valley With 1
Soulsand Valley Mood 1 Mood
Soulsand Valley Mood 2
Soulsand Valley Mood 3
Soulsand Valley Mood 4

Warped Forest ambience[]

List
Name Sound Group
Warped Forest Ambience Loop
Warped Forest Addition 1 Loop Additions
Warped Forest Addition 2
Warped Forest Addition 3
Warped Forest Addition 4
Warped Forest Addition 5
Warped Forest Addition 6
Warped Forest Enish 1
Warped Forest Enish 2
Warped Forest Enish 3
Warped Forest Help 1
Warped Forest Help 2
Warped Forest Here 1
Warped Forest Here 2
Warped Forest Here 3
Warped Forest Mood 1 Mood
Warped Forest Mood 2
Warped Forest Mood 3
Warped Forest Mood 4
Warped Forest Mood 5
Warped Forest Mood 6
Warped Forest Mood 7
Warped Forest Mood 8
Warped Forest Mood 9
Warped Forest Creak 1
Warped Forest Creak 2
Warped Forest Creak 3
Warped Forest Creak 4
Warped Forest Creak 5

Mood algorithm[]

Mood ambience sounds occur based on a "mood" percent value between 0–100. The mood increases when the player is in a cave or in a dark place, and decreases otherwise. When the mood reaches 100%, one of the sounds plays randomly, resetting the mood to 0% and thus restarting the cycle. The darker it is, and the more non-transparent blocks there are, the quicker the mood increases. in Java Edition, the current mood value appears on the debug screen.

This is the simplified algorithm for computing this value in pseudocode:

updateMood(mood):
    tickDelay = 6000
    maxLightLevel = 15
    block = select a random block in a 17×17×17 block cube centered around the player
    skyLight = block.getSkyLightLevel()

    if (skyLight > 0):
        mood = mood - (skyLight / maxLightLevel) * 0.015
    else:
        blockLight = block.getBlockLightLevel()
        mood = mood - (blockLight - 1) / tickDelay
    
    if (mood ≥ 1.0):
        player.playSpookySound()
        mood = 0.0
    else if (mood < 0):
        mood = 0.0

This method is called once every tick. It selects a random block in a 17×17×17 area centered around the player's eye position, and alters the mood value accordingly:

  • If the selected block has sky light, it decreases the mood by 11000 per sky light level.
  • If it has a block light level above 1, it decreases the mood value by (block light level - 1)6000.
  • If the block light level is 0, it increases the mood value by 16000.

This means that if you are in complete darkness and there are no lit blocks around you, an ambient noise will play every 6000 ticks (5 minutes).

Since non-transparent blocks are considered to have a sky and block light level of 0, the mood value increases especially fast if you're in a cave.

History[]

Java Edition Alpha
v1.0.3
{{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>[[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>
Added 13 different cave ambient sounds.
Java Edition
1.2.1
{{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>[[Orange Dye|Orange Dye]]<br/>{{Item
|image = Orange_Dye_JE2_BE2.png
|renewable = Yes
|stackable = Yes (64)
}}
'''Orange dye''' is a [[Dye#Quasi-Primary|quasi-primary dye]] crafted from [[Flower|orange tulips]], or by combining one [[red dye]] with one [[yellow dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head = 1
  |showname = 0
  |Orange Tulip; Torchflower
  |Output=Orange Dye
  |type=Material
}}
{{Crafting
  |Red Dye
  |Yellow Dye
  |Output = Orange Dye,2
  |type = Material
  |foot = 1
}}

=== Loot chest ===
{{#invoke:LootChest|base3|orange-dye}}

=== Trading ===
[[Wandering trader|Wandering traders]] sell 3 orange dye for an [[emerald]].

== Usage ==
{{dye usage}}

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

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

=== Trading ===

Apprentice-level shepherd [[villager]]s have a 20% chance to buy 12 orange dye for an [[emerald]] as part of their trades.{{only|bedrock}}

Journeyman-level shepherd [[villager]]s have a {{frac|1|3}} chance to buy 12 orange dye for an [[emerald]].{{only|java}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Orange Dye
|spritetype=item
|nameid=orange_dye
|aliasid=dye / 14
|id=409
|form=item
|translationkey=item.dye.orange.name
|foot=1}}

== Video ==

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

== History == 

{{History|java beta}}
{{History||1.2|[[File:Orange Dye JE1 BE1.png|32px]] Added orange 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|Orange dye can now be crafted with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be [[crafting|crafted]].}}
{{History||1.7.2|snap=13w36a|With the addition of the new [[flower]]s, many secondary and tertiary [[dye]]s are now primary dyes.}}
{{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 has 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|[[File:Orange_Dye_JE2_BE2.png|32px]] The texture of orange dye has now been changed.}}
{{History|||snap=18w44a|Orange dye can now change the text color on [[sign]]s to orange.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells orange dye.}}
{{History|||snap=19w11a|Orange dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Orange dye can now be used to craft [[orange candle]]s.}}
{{History|||snap=21w19a|Orange dye can no longer be used to craft orange candles.}}
{{History|||snap=Pre-release 1|Orange dye can now once again be used to craft orange candles.}}
{{History||1.20 (Experimental)|link=1.19.3|snap=22w42a|Orange dye can now change the text color on [[hanging sign]]s to orange.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[Torchflower]]s can now be crafted into orange dye.}}
{{History||1.20|snap=23w12a|Orange dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Orange dye no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], orange dye is now common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Orange Dye JE1 BE1.png|32px]] Added orange dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Orange dye is now [[craft]]able with rose red and dandelion yellow.
|Orange dye can now be used to craft orange [[wool]].}}
{{History||v0.8.0|snap=build 1|Orange dye is now used to craft [[cocoa bean]]s (version exclusive).}}
{{History||v0.14.0|snap=build 1|Orange dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History||unknown|The above recipe for orange dye has now been removed.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Orange dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Orange dye can now be used to craft [[concrete powder]] and colored [[bed]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Orange 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|Orange dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Orange dye can now be used to dye [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Orange dye is now [[trading|sold]] by [[wandering trader]]s.
|Orange dye can now be used to dye white [[carpet]]s.
|[[File:Orange_Dye_JE2_BE2.png|32px]] The texture of orange dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Orange dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of orange dye has been changed from <code>dye/14</code> to <code>orange_dye</code>.}}

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

{{History|new 3ds}}
{{History||0.1.0|[[File:Orange_Dye_JE2_BE2.png|32px]] Added orange dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==
{{Reflist}}

{{Items}}

[[cs:Oranžové barvivo]]
[[de:Oranger Farbstoff]]
[[es:Tinte naranja]]
[[fr:Teinture orange]]
[[hu:Narancssárga festék]]
[[ja:橙色の染料]]
[[ko:주황색 염료]]
[[nl:Oranje kleurstof]]
[[pl:Pomarańczowy barwnik]]
[[pt:Corante laranja]]
[[ru:Оранжевый краситель]]
[[zh:橙色染料]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li></ul>
12w07aThe map format was updated to the Anvil format, which now allows ambience to be heard in multiplayer.
Cave Ambience was known to play only in 3×3×3 spaces or larger, but it's been heard playing in spaces of smaller size.
1.9
{{Extension DPL}}<ul><li>[[Ender Pearl|Ender Pearl]]<br/>
{{ItemEntity
|image=Ender Pearl.png
|renewable=Yes
|stackable=Yes (16)
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}
An '''ender pearl''' is an [[item]] that can be thrown and [[teleport|teleports]] the thrower to where it lands, and used to craft [[eye of ender|eyes of ender]] which are required to access [[the End]].

== Obtaining ==
=== Mob loot ===
An [[enderman]] has a 50% chance to drop 1 ender pearl when killed. The drop is increased by 1 per level of [[Looting]], with a maximum of 4 with Looting III.

=== Chest loot ===
{{LootChestItem|ender-pearl}}

A [[trapped chest]] always containing 2 ender pearls can be found in the "fake end portal" room of [[woodland mansion]]s.

=== Trading ===
{{IN|java}}, expert-level [[Trading#Cleric|cleric villagers]] have a {{frac|2|3}} chance to sell an ender pearl for 5 [[emerald]]s.

{{IN|bedrock}}, expert-level cleric villagers sell one ender pearl for 5 emeralds.

=== Bartering ===
[[Piglin]]s have a {{frac|10|459}} (4.27) chance to [[barter]] 3-4 ender pearls when given a [[gold ingot]].

== Usage ==
Ender pearls can be thrown by pressing {{control|use}}. After it is thrown, the ender pearl is consumed, and the player teleports to where it lands, taking {{hp|5}} [[fall damage]]. Wearing armor enchanted with [[Protection]] and/or [[Feather Falling]] reduces the damage taken from the ender pearl. 

Ender pearls have a small cone of travel; they do not all follow the same path when thrown in the same direction. The direction and velocity of ender pearl throws is slightly randomized. They can travel about 30 blocks when thrown straight up, and up to 54 blocks forward when thrown at an optimum launch angle of ~35° (on even ground).

The thrower's vertical velocity influences the throw. Hence timing a throw with a jump can increase the throwing range to 42 blocks when thrown straight up and 64 blocks forward at a 35° angle. Throwing while falling significantly decreases the range. Ender pearls collide with all [[minecart]] types, [[boat]]s, [[end crystal]]s and [[nether portal]]s, and travel through [[end portal]]s. Ender pearls that fall into the [[void]] disappear, and do not trigger the player to teleport. However, ender pearl entities (instead of dropped items) are ''not'' destroyed by lava and will teleport the player to the bottom of lava pools/lava oceans.

Ender pearls have a cooldown of one second before they can be used again. The cooldown is shown in the hotbar by a white overlay on the ender pearl that shrinks and must disappear before the player can use it again. If there are other inventory or hotbar slots containing ender pearls, they are covered with the white overlay as well.<ref>{{bug|MC-88236|||WAI}}</ref> 

Ender pearls can be thrown into [[end gateway]]s to reach the outer islands of the End. They can also be thrown into the [[exit portal]] to reach the player's spawn point.

Ender pearl teleportation makes no sound ''itself''{{only|java}}, but does emit a "small fall" sound at the destination when applying teleportation damage to the player.

=== Stasis chamber ===
Ender pearls are affected by [[bubble column]]s. An ender pearl can remain afloat on top of an upward bubble column, allowing it to be stored indefinitely. A mechanism can then be triggered to make the ender pearl hit a solid surface (e.g. by closing a [[trapdoor]]), teleporting the thrower back to the setup wherever they are.

=== Spawning endermites ===
An ender pearl has a 10% chance to spawn an [[endermite]] when it lands. This is the only way through which endermites can spawn, without using cheats. The endermite spawns at ''the player's position'' when the pearl lands{{only|je}}, or at the pearl's landing site{{only|be}}.

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

== Sounds ==
{{edition|java}}:<br>
Thrown ender pearls use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Ender Pearl flies
|source=neutral
|description=When an ender pearl is thrown
|id=entity.ender_pearl.throw
|translationkey=subtitles.entity.ender_pearl.throw
|volume=0.5
|pitch={{frac|1|3}}-0.5
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Bow shoot.ogg
|source=player
|description=When an ender pearl is thrown
|id=random.bow
|volume=0.5
|pitch=0.33-0.5
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Ender Pearl
|spritetype=item
|nameid=ender_pearl
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Thrown Ender Pearl
|spritetype=entity
|spritename=Ender Pearl
|nameid=ender_pearl
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Ender Pearl
|spritetype=item
|nameid=ender_pearl
|id=422
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Ender Pearl
|spritetype=entity
|nameid=ender_pearl
|id=87
|foot=1}}

===Entity Data===
Thrown ender pearls have entity data that define various properties of the entity.

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

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

== Achievements ==
{{Load achievements|Beam Me Up}}

== Advancements ==
{{load advancements|Remote Getaway;Bullseye}}

== History ==
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Ender Pearl JE1.png|32px]] Added ender pearls along with [[endermen]]. 
|Ender pearls have no use, but can stack up to 64.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Ender pearls are now less commonly found near bodies of [[water]] since [[endermen]] now teleport away when in contact with water. Before this version, endermen didn't attempt to teleport and were [[damage]]d/killed from water much more frequently, causing numerous ender pearls to occur around bodies of water.
|Later, on a suggestion from [[wikipedia:Reddit|Reddit]] user isJesus, [[Notch]] implemented the teleporting feature for ender pearls.<ref>http://www.reddit.com/r/Minecraft/comments/kpsay/eggsnowballender_pearl_suggestiongif/c2mabfj</ref><ref>{{Tweet|notch|118614580539826176}}</ref><ref>http://www.reddit.com/r/Minecraft/comments/kss7n/twitter_ender_pearls_have_a_unique_ability_now/c2mwldd</ref>}}
{{History|||snap=Beta 1.9 Prerelease 2|Added teleporting feature to ender pearls.
|Using an ender pearl to teleport resulted in being kicked from servers for "hacking". This is due to a check triggering that was supposed to prevent modified clients from moving too quickly.
|Ender pearls now only stack up to 16.}}
{{History|||snap=Beta 1.9 Prerelease 3|Ender pearls are now used to craft [[eyes of ender]].
|Ender pearls can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History||1.3.1|snap=12w24a|[[File:Ender Pearl JE2 BE1.png|32px]] The texture of ender pearls has been changed.}}
{{History||1.8|snap=14w02a|As part of the revamp of the trading system, cleric [[villager]]s now [[trading|buy]] ender pearls.}}
{{History|||snap=14w03a|Villager clerics no longer buy ender pearls.}}
{{History|||snap=14w11b|Ender pearls have a 5% chance to spawn [[endermite]]s when used.}}
{{History||1.9|snap=15w31a|Ender pearls can now be thrown in [[Creative]] mode.}}
{{History|||snap=15w34c|Ender pearls now have a cooldown after using them.}}
{{History|||snap=15w41a|[[Villager]] clerics now [[trading|sell]] ender pearls for 4–7 [[emerald]]s, as one of their tier III trades.}}
{{History|||snap=15w49a|Thrown ender pearls now take the user's motion into account. For example, an ender pearl thrown forward will land closer if the player is falling, and land farther if the player is ascending.}}
{{History||1.10|snap=16w21a|Ender pearls can now teleport riders off their mounts.}}
{{History||1.11|snap=16w32a|The entity ID of ender pearls has been changed from <code>ThrownEnderpearl</code> to <code>ender_pearl</code>.}}
{{History|||snap=16w39a|Ender pearls can now be found in [[woodland mansion]]s' fake portal room [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 368.}}
{{History||1.14|snap=18w43a|[[File:Ender Pearl JE3 BE2.png|32px]] The texture of ender pearls has been changed.}}
{{History||1.16|snap=20w07a|Ender pearls have a {{frac|2|109}} (~1.83%) chance of being offered by [[piglin]]s when [[bartering]], in a stack size of 2–4.}}
{{History|||snap=20w09a|Ender pearls now have a {{frac|10|226}} (~4.42%) chance of being offered by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w10a|Ender pearls now have a {{frac|20|411}} (~4.87%) chance of being offered by piglins when bartering, in a stack size of 4–8.}}
{{History|||snap=20w20a|Ender pearls now have a {{frac|20|423}} (~4.73%) chance of being offered by piglins when bartering, in a stack size of 4–8.}}
{{History||1.16.2|snap=20w28a|Ender pearls now have a {{frac|10|459}} (~2.18%) chance of being offered by piglins when bartering, in a stack size of 2–4.}}
{{History|||snap=Pre-Release 1|Ender pearls are now affected by [[bubble column]]s.<ref>{{bug|MC-125758|||Fixed}}</ref>
|Ender pearls no longer get destroyed at contact with non-solid blocks.<ref>{{bug|MC-73884|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Ender Pearl JE2 BE1.png|32px]] Added ender pearls. 
|While fully implemented, ender pearls currently have no assigned ID and are currently unobtainable in-game.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Ender pearls are now obtainable in-game.
|Ender pearls can now be used to craft [[eyes of ender]].}}
{{History|||snap=alpha 1.0.0.0|Ender pearls now require a 1-second cooldown.}}
{{History|||snap=alpha 1.0.0.1|Ender pearl cooldown now has an animation.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Ender pearls can now be [[trading|bought]] from cleric [[villager]]s for 4-7 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Ender pearls can now be found in [[woodland mansion]]s' [[chest]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Ender Pearl JE3 BE2.png|32px]] The texture of ender pearls has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, expert-level cleric [[villager]]s now [[trading|sell]] an ender pearl for 5 [[emerald]]s as part of their trade.}}
{{History||1.16.0|snap=beta 1.16.0.57|Ender pearls can now be obtained from [[bartering]] with [[piglin]]s.}}
{{History||1.16.100|snap=beta 1.16.100.54|Ender pearls now have a {{frac|10|459}} (~2.18%) chance of being offered by piglins when bartering, in a stack size of 2–4.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Ender Pearl JE2 BE1.png|32px]] Added ender pearls.}}
{{History||xbox=TU7|A teleporting feature has been added to ender pearls.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Ender Pearl JE3 BE2.png|32px]] The texture of ender pearls has been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Ender Pearl JE2 BE1.png|32px]] Added ender pearls.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*Ender pearls can be used to teleport/move through non-[[solid block]]s without suffocation and solid blocks by pressing against the blocks and using the ender pearl at the player's feet until the player goes through.<ref>{{bug|MC-2164}}</ref><ref>{{ytl|KA1UmxraeUg}}</ref>
*In ''Java Edition'', it is possible to spawn a thrown ender pearl using commands, but it does not teleport, unless it is assigned an owner.
*If the player throws an ender pearl and then dies before impact while the pearl is in a loaded chunk, the pearl disappears and the player is not teleported. Pearls in unloaded chunks do not disappear if their owner dies.
*If the player throws an ender pearl in Survival mode and changes to Creative mode before the pearl lands, the player is still teleported.
*The player is still teleported by throwing an ender pearl and entering [[the Nether]] before it lands. The pearl is not lost if an ender pearl is thrown into a [[nether portal]] and the player travels through the portal; the pearl lands and teleports the player as usual.
*If multiple ender pearls are thrown in succession, the player can be hurt only once from fall damage within about a one-second span.
*If a [[player]] dies from ender pearl teleportation, the [[death message]] says: "<player> hit the ground too hard".
*A thrown ender pearl faces toward the player in first-person view, while it appears rotated horizontal in [[third-person view]]. This is the case for all throwable items (ender pearl, [[egg]], [[snowball]], and all throwable [[potion]]s).
*Ender pearls and [[snowball]]s have the exact same range when fired. Therefore, snowballs can be used to predict the trajectory of ender pearls, or simply for practicing ender pearl throwing. This can be very helpful when the player has to throw ender pearls in dangerous environments, such as the Nether or the End.
*Despite the fact that ender pearls deal no damage to anything they're thrown at, provokable mobs (such as iron golems and piglins) will be provoked by the player if one is thrown at them.

== Gallery ==
<gallery>
Ender Pearl Suggestion.gif|The original suggestion image for teleporting with ender pearls.
Enderlake.png|Ender pearls were formerly found in [[water]], however endermen now teleport out to prevent damage.
</gallery>

== References ==
{{reflist}}

== See also ==
*[[End Dimension]]
*[[Ender Dragon]]
*[[Ender Portal]]
*[[Enderman]]

{{Items}}
{{entities}}

[[cs:Endová perla]]
[[de:Enderperle]]
[[es:Perla de ender]]
[[fr:Perle de l'Ender]]
[[hu:Véggyöngy]]
[[ja:エンダーパール]]
[[ko:엔더 진주]]
[[nl:Enderparel]]
[[pl:Enderperła]]
[[pt:Pérola de ender]]
[[ru:Жемчуг Края]]
[[th:ไข่มุกเอนเดอร์]]
[[tr:Ender İncisi]]
[[uk:Перлина Краю]]
[[zh:末影珍珠]]</li><li>[[:Category:Storage|Category:Storage]]<br/>Blocks and items used to '''store''' other blocks or items.

[[Category:Blocks]][[Category:Items]]

[[ja:カテゴリ:ストレージ]]
[[zh:Category:储物]]</li></ul>
15w43aAdded cave sound 14.
1.10
{{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>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| durability = 
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br> 
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.

== Obtaining ==
=== Crafting ===
{{Crafting
  |showname=0
  |showdescription=1
  |head=1
  |name=[[Swords]]
  |B1={Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B2={Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B3=Stick
  |Output=Wooden Sword; Iron Sword; Golden Sword; Diamond Sword
  |type=Combat
}}
{{Crafting
  |name=Stone Sword
  |B1=Any stone-tier block
  |B2=Any stone-tier block
  |B3=Stick
  |Output=Stone Sword
  |description=Can use cobblestone and its other variants interchangeably.
  |type=Combat
}}
{{Crafting
  |foot=1
  |ignoreusage=1
  |name=[[Swords]]
  |ingredients=Damaged Matching [[Swords]]
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
  |description= The durability of the two swords is added together, plus an extra 5% of the tool type's total durability. Enchantments are removed unless combined on an [[anvil]].<br>'''Example:''' Two wooden swords, each with remaining durability of 20, combine into a wooden sword having 43 durability (20 + 20 + 5% of 60).
  |Output=Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
  |type=Combat
}}

=== Upgrading ===
{{Smithing
|Netherite Upgrade
|Diamond Sword
|Netherite Ingot
|Netherite Sword
|description=
|tail=1
}}

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x Damaged Wooden Sword or<br>2x Damaged Stone Sword or<br>2x Damaged Iron Sword or<br>2x Damaged Golden Sword or<br>2x Damaged Diamond Sword or <br>2x Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
|description=The durability of the two swords is added together, plus an extra 5% durability. Any enchantments, besides curses, would be removed.
}}

==== Unit repair ====
{{main|Anvil mechanics#Unit repair}}
{{/Repairing with Anvils}}
A sword can be repaired in an [[anvil]] by adding units of the [[tiers]]' repair material, with each repair material restoring 25% of the sword's maximum durability, rounded down.

=== Mob loot ===
{{Main|Drops#Equipped items}}

Some [[mobs]] can spawn with a sword and have an 8.5% chance of dropping them upon death caused by player. This chance is increased by 1% per level of [[Looting]], up to a maximum of 11.5% with Looting III. [[Zombie]]s and [[husk]]s can drop iron swords, [[zombified piglin]]s and [[piglin]]s can drop golden swords, and [[wither skeleton]]s can drop stone swords. The dropped sword is usually badly damaged and may be enchanted. Stone swords dropped by wither skeletons are never enchanted.

A [[vex]] wields an iron sword that normally has a 0% chance of dropping, because their main hand's <code>HandDropChances</code> is 0. However, this chance increases by 1 percentage point per level of Looting. It is never damaged{{only|java}} and may be enchanted.

{{IN|be}}, [[pillager]]s and [[vindicator]]s that spawn from raids have a 4.1% chance (5.12% chance on hard mode) of dropping a damaged iron sword. This sword has a 50% chance of being enchanted.

=== Trading ===
[[File:Weaponsmith Diamond Sword Trade.png|thumb|right|The diamond sword trade of a weaponsmith.]]

{{IN|bedrock}}, an apprentice-level weaponsmith villagers sells enchanted iron swords for at least 7-21 emeralds, and a master-level weaponsmith sells enchanted diamond swords for at least 13-27 emeralds.

{{IN|java}}, a novice-level weaponsmith villager has a {{frac|2|3}} chance of selling an enchanted iron sword for at least 7-22 emeralds. A master-level weaponsmith offers to sell an enchanted diamond sword for at least 11–27 emeralds.

The enchantments of the swords offered by villagers are the same as the ones obtained from an [[enchantment table]] at levels 5–19.

=== Chest loot ===
{{LootChestItem|iron-sword,level-enchanted-iron-sword,damaged-random-enchanted-iron-sword,golden-sword,random-enchanted-golden-sword,diamond-sword,damaged-diamond-sword,level-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword-2}}

== Usage ==
=== Attacking ===
Pressing {{control|attack}} while holding a sword inflicts damage on both mobs and other players. Upon damaging a mob or player, the sword's [[Item Durability|durability]] decreases by 1.

Attacking a [[boat]] or a [[minecart]] with a sword stone tier or higher instantly destroys it {{only|java}}, without decreasing the sword's durability. Otherwise, it requires 2 hits, with neither decreasing durability.

==== Sweeping ====
{{exclusive|Java|section=1}}
If the attack recharge meter is 84.8% or above and the player is on the ground standing or moving slower than the [[sprinting]] speed in a straight line, the sword performs a sweeping attack indicated by a gale [[particle]] that reaches nearby enemies for {{hp|1}} and knocks them back; the amount of knockback is 80% that of the basal knockback and does not benefit from the [[knockback]] enchantment. As result, the player can perform a sweep attack while they are sprinting diagonally but it is impossible to perform a sweep attack at the same time as a critical hit or while riding some [[entity]]. All enemies within an 1 by 0.25 by 1 block area of any part of the attacked mob and whose feet are 3 or less blocks away from player's feet are affected. The [[sweeping edge]] enchantment increases the damage dealt by 50% of the normal hit damage for level I, 67% for level II and 75% for level III.

=== Damage ===
{{Main|Damage}}

==== Java Edition ====
Swords have an attack speed of 1.6 and take 0.625 seconds to [[Damage#Attack cooldown|recover]]. 

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|4}}
| {{hp|4}}
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
|-
! Attack Speed
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
|-
! Damage/Second (DPS)
| 6.4
| 6.4
| 8
| 9.6
| 11.2
| 12.8
|-
! Durability
| 59
| 32
| 131
| 250
| 1561
| 2031
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Lifetime damage minimum = Durability × Damage per hit''. It ignores enchantments and [[Damage#Critical_hit|critical hits]], and assumes the sword is at maximum charge</ref>
| {{hp|236}}
| {{hp|128}}
| {{hp|655}}
| {{hp|1500}}
| {{hp|10927}}
| {{hp|16248}}
|}
{{notelist}}

==== Bedrock Edition ====
{{IN|bedrock}}, swords have no attack cooldown or sweep attack, and deal the following damage:

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|5}} <!-- DO NOT CHANGE THESE! The values are correct, '+4 Attack Damage' means 5 total attack damage. -->
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
| {{hp|9}}
|-
! Durability
| 60
| 33
| 132
| 251
| 1562
| 2032
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits</ref>
| {{hp|300}}
| {{hp|165}}
| {{hp|792}}
| {{hp|1757}}
| {{hp|12496}}
| {{hp|18288}}
|}
{{notelist}}

The most amount of damage that a sword enchanted with [[Sharpness]] V can do is 11 {{in|java}} and 15.25 {{in|bedrock}}, without critical hits.

=== Sword breaking times ===
{{main|Breaking}}

A sword can also be used to destroy certain blocks 50% quicker, sometimes much quicker than with fists. Using a sword to destroy any block that doesn't break instantly by hand decreases its durability by 2; this includes bamboo, despite that the sword is the fastest tool for breaking it.<ref>{{bug|MC-195168||Swords consume double durability than they normally would when destroying bamboo saplings, bamboo, or cobwebs}}</ref>

If a sword is enchanted with [[Silk Touch]], either using [[Creative]] or [[commands]], cobwebs the sword destroys will drop the cobwebs themselves instead of the usual string. This is due to the sword being classified as the proper tool for cobwebs.

The following table shows the time it takes to break blocks on which swords have any effect. Colors indicate what gets dropped:
* White: an original block.
* Blue: block's normal drop (e.g. seeds, sapling, apple).
* Red: nothing.

{| class="wikitable" style="text-align:center" data-description="Blocks affected by swords"
! Block
! Fists
! Sword
! colspan="2" | Proper/fastest tool
|-
!style="text-align:left"| {{BlockLink|Bamboo}}
| {{tc|no|{{breaking time|Bamboo}} s }} || 0.05 s (instant) <!-- this doesn't work: {{tc|planned|{{breaking time|Bamboo|Sword}} s}} -->
| {{ItemSprite|sword|link=Sword}}
| 0.05 s (instant) <!-- this doesn't work: {{breaking time|Bamboo|Sword}} s -->
|-
!style="text-align:left"| {{BlockLink|Cobweb}}
| {{tc|no|{{breaking time|Cobweb|drop=None}} s}} || {{tc|planned|{{breaking time|Cobweb|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Cobweb|Shears}} s
|-
!style="text-align:left"| {{BlockLink|Cocoa}}
| {{tc|planned|{{breaking time|Cocoa}}s}} || {{tc|planned|{{breaking time|Cocoa|Sword}}s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Cocoa|Golden}} – {{breaking time|Cocoa|Wooden}} s}}
|-
! style="text-align:left"|{{BlockLink|Hay Bale}}
| 1s
| 0.8s{{only|bedrock}}
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{breaking time|Hay Bale|Golden}} – {{breaking time|Hay Bale|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Leaves}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves}} s}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Leaves|Shears}}s
|-
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{tc|planned|{{breaking time|Leaves|Golden}} – {{breaking time|Leaves|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Jack o'Lantern}}
| {{breaking time|Jack o'Lantern}} s || {{breaking time|Jack o'Lantern|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Jack o'Lantern|Golden}} – {{breaking time|Jack o'Lantern|Wooden}} s
|-
!style="text-align:left"| {{BlockLink|Melon}}
| {{tc|planned|{{breaking time|Melon}} s}} || {{tc|planned|{{breaking time|Melon|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Melon|Golden}} – {{breaking time|Melon|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Pumpkin}}
| {{breaking time|Pumpkin}}s || {{breaking time|Pumpkin|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Pumpkin|Golden}} – {{breaking time|Pumpkin|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Vines}} 
| rowspan="2" {{tc|no|{{breaking time|Vines}} s}} || rowspan="2" {{tc|no|{{breaking time|Vines|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|no|{{breaking time|Vines|Golden}} – {{breaking time|Vines|Wooden}} s}}
|-
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Vines|Shears}} s
|}

==== Safety around constructions ====
In Creative mode, swords are unable to break blocks. However, care must still be taken around [[minecart]]s, [[painting]]s, [[item frame]]s,{{only|java}} and [[armor stand]]s; these are entities, thus can be broken with swords in Creative.<ref>{{bug|MC-27140}}</ref><ref>{{bug|MC-18463}}</ref>

=== Enchantments ===
Swords can receive, gathered from mob drops/villager trades or be found in various loot chests (example: End City, Bastion Remnant)with the following [[enchantment]]s:

{| class="wikitable sortable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
!Weight
|-
|[[Fire Aspect]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Looting]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Sharpness]]<ref group=note name=note1>Sharpness, Smite, and Bane of Arthropods are mutually exclusive.</ref>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|10
|-
|[[Smite]]<ref group=note name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Bane of Arthropods]]<ref group="note" name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Knockback]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|2
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|1
|-
|[[Sweeping Edge]]{{Only|java|short=1}}
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|}
Golden swords have the highest enchantability, yet the least durability{{Notelist}}

=== Fuel ===
Wooden swords can be used as fuel in [[furnace]]s, smelting 1 item per sword.

=== Smelting ingredient ===
{{Smelting|showname=1|Iron Sword;Golden Sword|Iron Nugget;Gold Nugget|0,1}}

=== Piglins ===
[[Piglin]]s are attracted to golden swords, run toward any golden swords on the ground and inspect it for 6 to 8 seconds before putting it in their [[inventory]] slot.

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|subtitle=Strong attack
|source=player
|description=When a player deals an attack that does not trigger any other attack sounds
|id=entity.player.attack.strong
|translationkey=subtitles.entity.player.attack.strong
|volume=''varies'' <ref group=sound>0.6 for <code>strong1</code> through <code>strong4</code>, and 0.7 for <code>strong5</code> and <code>strong6</code></ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Critical attack1.ogg
|sound2=Critical attack2.ogg
|sound3=Critical attack3.ogg
|subtitle=Critical attack
|source=player
|description=When a player deals a critical hit
|id=entity.player.attack.crit
|translationkey=subtitles.entity.player.attack.crit
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Knockback attack1.ogg
|sound2=Knockback attack2.ogg
|sound3=Knockback attack3.ogg
|sound4=Knockback attack4.ogg
|subtitle=Knockback attack
|source=player
|description=When a player deals a sprinting attack
|id=entity.player.attack.knockback
|translationkey=subtitles.entity.player.attack.knockback
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Sweep attack1.ogg
|sound2=Sweep attack2.ogg
|sound3=Sweep attack3.ogg
|sound4=Sweep attack4.ogg
|sound5=Sweep attack5.ogg
|sound6=Sweep attack6.ogg
|sound7=Sweep attack7.ogg
|subtitle=Sweeping attack
|source=player
|description=When a player deals a sweep attack
|id=entity.player.attack.sweep
|translationkey=subtitles.entity.player.attack.sweep
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|subtitle=Weak attack
|source=player
|description=When a player deals an attack with no damage
|id=entity.player.attack.nodamage
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Weak attack
|source=player
|description=When a player attempts to attack without sufficient cooldown
|id=entity.player.attack.weak
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a sword'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=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|source=player
|description=When a player deals an attack with damage
|id=game.player.attack.strong
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|source=player
|description=When a player deals an attack with no damage
|id=game.player.attack.nodamage
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When an sword'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=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|id=308
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|id=312
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|id=307
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|id=316
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|id=322
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|id=604
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Time to Strike!;Overkill;Oooh, shiny!}}

== Advancements ==
{{load advancements|Oh Shiny}}

== History == 
=== Blocking ===
{{main|Blocking}}
[[File:Parrying.png|thumb|right|The blocking animation using a sword before and after [[Java Edition 14w30a]] (from the [[Adventure Update|Adventure]] to the [[Bountiful Update|Bountiful]] updates).]]
 
Previously, since the [[Adventure Update]], all types of swords could be used to parry to block some forms of damage. If the player is blocking with a sword when attacked, the sword deflects 50% of incoming damage from melee, non-magical projectiles like arrows, and explosions, along with minimizing airborne knockback. The sword is held in front of the player and its durability is not reduced by blocking. The player moves at a slower rate than [[sneaking]] if blocking with a sword. Sword blocks could be engaged and disengaged instantly, with no delay between the input and damage mitigation nor cooldown between lowering a block and raising a new one.
 
After the [[Combat Update]], the sword blocking functionality was replaced by blocking with [[shield]]s and to accommodate the [[dual wield]] system. Shields negate more damage and knockback than sword blocking from "blockable" attacks (they block 100% damage and knockback after [[Java Edition 1.11]]), but, unlike swords, they lose durability, have a 0.25 second startup period before damage can be mitigated and can be temporarily disabled by attacks with an [[axe]].

=== Knockback ===
The knockback dealt by swords used to be higher than while the players are using another melee [[item]]s, like an axe or with the hands. This feature was removed in [[Java Edition 1.9]] and is also no longer used in ''[[Bedrock Edition]]''.

=== Historical changes per version ===
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Iron Sword JE1 BE1.png|32px]] Added iron swords.
|Iron swords cannot be [[craft]]ed yet, but can be added to the [[player]]'s [[inventory]] during world creation.}}
{{History||0.31|snap=?|The iron sword is no longer added to the player's inventory during world creation.}}
{{History||0.31|snap=20100128|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Swords made from wood, stone, and diamond have been added.
|Swords cannot be crafted yet, but have been added to the [[item]] [[chest]] in the Indev house.|A sword held by the player is now rendered to appear more 3D.}}
{{History||0.31|snap=20100129|Wood, stone, iron, and diamond swords can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Sword JE1.png|32px]] Swords can now be made out of gold.}}
{{History|||snap=20100131|Swords now have [[durability]]. 
|Better swords now last longer.
|Swords now cost 1 durability per hit, and 2 points per block broken.}}
{{History||20100206|[[File:Golden Sword JE2 BE1.png|32px]] The texture of gold swords has been slightly changed.}}
{{History|java alpha}}
{{History||v1.2.0|snap=release|[[Zombie pigmen]] now hold golden swords.}}
{{History|java beta}}
{{History||1.2|Swords, like all [[tool]]s, now have more [[item durability|durability]].
|Prior, diamond swords had 1024 durability, iron swords had 128, stone swords 64 and wood and gold had 32 durability.}}
{{History||1.5|The damages of all swords have increased by 1, due to the player's barehand damage increasing from {{hp|1}} to {{hp|2}}.
|As a result, wooden and golden swords now dealt {{hp|5}}, stone swords {{hp|7}}, iron swords {{hp|9}}, and diamond swords {{hp|11}}.}}
{{History||1.8|snap=Pre-release|Added the ability to block with a sword, giving the [[player]] more options in combat.
|Swords deflect 50% of incoming melee damage, non-magical projectiles like arrows and explosion damage, and a bit of knockback.
|The sword is held in front of the player and its durability is not reduced by blocking.|The player moves at a slower rate than [[sneaking]] when blocking with a sword.
|As barehand damage has been reduced from {{hp|2}} to {{hp|1}}, the damages of all swords have been reduced to their pre Beta 1.5 values.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Sword [[damage]] has been reduced to make way for [[enchanting]]. A diamond sword's damage has been reduced from {{hp|10}} to {{hp|7}}, iron has been reduced from {{hp|8}} to {{hp|6}} and stone has been reduced from {{hp|6}} to {{hp|5}}. Wooden and golden swords still deal {{hp|4}} damage.|Iron swords are now found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Swords can now be enchanted in the [[enchantment table]].}}
{{History||1.1|snap=12w01a|Iron swords are now found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|The [[player]] now has a rare chance of obtaining iron swords by killing [[zombie]]s and golden swords from [[zombie pigmen]] from the addition of [[rare drops]]. These swords have a 20% chance of being enchanted.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden swords.}}
{{History||1.3.1|snap=12w18a|Wooden swords can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] diamond swords for 12–13 [[emerald]]s, and iron swords for 7–10 emeralds.
|With the [[trading]] implementation, renewable [[item]]s such as [[wheat]] can now be [[trading|sold]] to buy a diamond sword. This has now made all swords [[Renewable Resource|renewable]].}}
{{History||1.4.2|snap=12w32a|[[Zombie]]s may sometimes wield iron swords, dealing extra [[damage]].}}
{{History|||snap=12w34a|If a [[player]] has dyed leather armor equipped and selected a sword of any kind, it appears in the color of the dye applied to the armor, when switching to second or third person view.}}
{{History|||snap=12w36a|Added [[wither skeleton]]s, which hold stone swords.}}
{{History||1.4.6|snap=12w49a|[[Unbreaking]] can now be applied to a sword with an [[enchanted book]].}}
{{History||1.6.1|snap=13w18a|Golden swords are now found in the new [[chest]]s in [[nether fortress]]es.}}
{{History|||snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.}}
{{History|||snap=13w25b|In [[Creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden swords.}}
{{History||1.8|snap=14w02a|Weaponsmith [[villager]]s now [[trading|sell]] enchanted diamond swords for 12–15 [[emerald]]s, and iron swords for 9–10 emeralds. Unenchanted swords are no longer sold.}}
{{History|||snap=14w30a|Sword holding position have been tweaked, and the blocking animation has changed. Blocking while mining was made impossible. Blocking immediately after attacking no longer continues the swing animation.}}
{{History||1.9|snap=15w31a|[[Enchanting|Enchanted]] iron and diamond swords can now be found in [[end city]] ship [[chest]]s.}}
{{History|||snap=15w33c|Swords no longer block attacks. Instead, [[shield]]s are used.}}
{{History|||snap=15w34b|Swords now use the attack speed [[attribute]]. The attack speed of a sword is 1.25 or 0.8 seconds.}}
{{History|||snap=15w34c|Nerfed swords, they now do {{hp|1}} less [[damage]] and have an attack speed of 1.45, or 0.69 seconds.
|Swords can now do a sweep attack when moving at walking speed or slower, which knock back [[mob]]s near the one hit. The attack speed meter must be filled for it to work.}}
{{History|||snap=15w36a|Each [[Sharpness]] level now adds {{hp|1}} damage to the base damage at level I and an additional {{hp|0.5}} for each additional level, down from a flat {{hp|1.25}} per level.}}
{{History|||snap=15w37a|Swords now have an attack speed of 1.6, or 0.63 seconds.}}
{{History|||snap=15w43a|The average yield of golden swords in [[nether fortress]] chests has been decreased.}}
{{History|||snap=15w49a|Sweep attack now does {{hp|1}} damage to affected [[mob]]s and players.}}
{{History||1.11.1|snap=16w50a|Golden and iron swords now [[smelt]] down into one of their respective [[nugget]]s.
|Added [[Sweeping Edge]] enchantment.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 268, 272, 267, 276 and 283.}}
{{History|||snap=18w10a|Swords can now generate in [[buried treasure]] chests.}}
{{History||September 10, 2018|link={{tweet|JasperBoerstra|1039167196801458176}}|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] [[Jasper Boerstra]] tweets an image of updated sword textures.}}
{{History||1.14|snap=18w43a|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Swords now break [[bamboo]] instantly.}}
{{History||1.16|snap=20w06a|[[File:Netherite Sword JE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden swords.}}
{{History|||snap=20w09a|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.}}
{{History|||snap=20w10a|[[File:Netherite Sword JE2 BE2.png|32px]] The texture of netherite swords has been changed.
|Netherite swords can no longer be [[crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].}}
{{History|||snap=20w15a|Stone swords can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Golden and netherite swords now generate in [[bastion remnants]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.16.2|snap=20w30a|Damaged enchanted iron swords can now be found in [[bastion remnant]] chests.}}
{{History||1.17|snap=21w08a|Stone swords can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden swords.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond swords to netherite swords now requires the netherite upgrade [[smithing template]].}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all swords has been increased to 3.
|The base [[damage]] is now {{Hp|2}}, meaning that all swords now do {{Hp|1}} more damage than before}.
|The attack reach of swords has been increased to 3.5 [[block]]s.}}
{{History|||snap=Combat Test 2|The attack speed of all swords has been decreased to 2.5.}}
{{History|||snap=Combat Test 3|The attack speed of all swords has been changed from 2.5 back to 3.0.
|The attack key can now again be held down to automatically attack when the attack meter is full.
|Attacks now happen only when the sword is at 120% charge, slower than if attacks were timed.}}
{{History|||snap=Combat Test 4|Sword can now perform critical, knockback ([[sprint]]) hits on 100% charge.
|The attack reach of all weapons was decreased by 0.5 [[block]]. Sword now have a 3 [[block]]s reach.
|The 200% attack now gives a bonus reach of 1 [[block]].}}
{{History|||snap=Combat Test 5|Weapons have been nerfed. All material tiers have been nerfed by {{Hp|1}} except wood and gold, and the sword tier have been nerfed by {{Hp|1}}. This means that the wooden/stone/golden sword now does {{Hp|4}} damage, the iron sword now does {{Hp|5}} damage and the diamond sword now does {{Hp|6}} damage.}}
{{History|||snap=Combat Test 6|All weapons' attack reach have been buffed by 0.5 [[block]].
|200% attacks have been removed.
|Swords now always do sweep attack, even in the air.
|The cooldown for missed hit is a 4-tick cooldown instead of using the attack speed attribute.}}
{{History|||snap=Combat Test 7c|All weapons' attack reach have been nerfed by 0.5 [[block]]. The sword's attack reach is now 3 [[block]]s again.
|200% attacks have been re-added.
|Swords no longer sweep without [[Sweeping Edge]] and 200% charge again.
|Adjusted the netherite tier value to match the weapon nerf in Combat Test 5}}
{{History|||snap=Combat Test 8b|Enchantment bonus attack damage are now included in the base damage when calculating critical hits (they were excluded before). Due to this change, enchanted swords critical attacks are now way more powerful (especially with high enchantments)}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Sword JE1 BE1.png|32px]] Added stone swords.}}
{{History||v0.3.0|[[File:Wooden Sword JE1 BE1.png|32px]] Added wooden swords.
|Survival players no longer start out with an infinite durability stone sword in the inventory.}}
{{History||v0.3.2|[[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added iron, gold, and diamond swords.}}
{{History||v0.4.0|Iron swords have replaced stone swords in the creative inventory.}}
{{History||v0.9.0|snap=build 1|Iron swords can now be found in [[stronghold]] altar [[chest]]s and inside blacksmith chests.}}
{{History||v0.11.0|snap=build 11|Wooden, stone, golden and diamond swords are now available in the [[creative]] [[inventory]].}}
{{History||v0.11.0|snap=build 12|Wooden, stone, golden and diamond swords have been removed from creative.}}
{{History||v0.11.0|snap=build 13|All swords are available in creative mode again.}}
{{History||v0.12.1|snap=build 1|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.|In [[creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.|Golden swords can now be found in [[nether fortress]] chests.
|[[Zombie]]s now rarely spawn holding an iron sword that have a chance to [[drops|dropped]].
|Golden swords are now rarely dropped by [[zombie pigmen]].
|Stone swords are now rarely dropped by [[wither skeleton]]s.}}
{{History||v0.15.0|snap=build 1|Iron swords are now sometimes dropped by [[husk]]s that spawn holding an iron sword.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Enchanted iron and diamond swords can now be found in [[end city]] [[chest]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Iron swords and enchanted diamond swords are now sold by weaponsmith [[villager]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden swords are now [[smelting|smeltable]].
|Added [[vex]]es, which rarely drop an iron sword if killed using [[Looting]] enchantment.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Iron swords are now found in [[plains]] [[village]] weaponsmiths.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron swords can now be found in [[savanna]], [[snowy taiga]], [[taiga]] and [[desert]] village weaponsmiths.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron swords upon [[death]].
|[[Trading]] has been changed. Iron swords [[trading|sold]] by weaponsmith [[villager]]s now cost 2 [[emerald]]s while diamond swords cost 8 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Sword BE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.
|Golden swords are now sometimes [[drops|dropped]] by [[piglin]]s that spawn holding a golden sword.}}
{{History|||snap=beta 1.16.0.57|Netherite swords can no longer be [[crafting|crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].
|Stone swords can now be crafted using [[blackstone]].
|Golden and netherite swords now generate in [[bastion remnant]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.17.30|snap=beta 1.17.20.20|Swords now break [[bamboo]] instantly.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords (all five types).}}
{{History||xbox=TU5|The ability to block with swords has been added, giving the [[player]] more options in combat.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden swords are now [[smelting|smeltable]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.}}
{{History||ps=1.92|The ability to block with swords has been removed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords.
|Swords cannot block attacks.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*The sword's traditional [[texture]] came from [[Notch]]'s abandoned RPG, ''[[Legend of the Chambered]]''. The iron sword's texture was created first, as it was from the game, and the other swords followed.
*In ''Java Edition'', with the introduction of netherite swords, it is possible to one-hit kill undead [[mob]]s in the game (except [[wither]]s and [[zombie]]s/[[skeleton]]s with random armor) using a sword with the [[Smite]] V enchantment, without the need to perform a critical hit (this was previously possible only with a [[Smite]] V stone, iron, or diamond axe).
*Plastic diamond and enchanted swords are official ''[[Minecraft]]'' merchandise.<ref>https://shop.minecraft.net/products/minecraft-sword?_pos=1&_psq=sword&_ss=e&_v=1.0</ref><ref>https://shop.minecraft.net/products/minecraft-enchanted-purple-sword?_pos=4&_psq=sword&_ss=e&_v=1.0</ref>
*In the game [[wikipedia:Transformice|''Transformice'']], a diamond sword can be found in the shop.

== Gallery ==
=== Enchanted swords ===
<gallery>
Enchanted Wooden Sword.gif|Enchanted wooden sword.
Enchanted Stone Sword.gif|Enchanted stone sword.
Enchanted Iron Sword.gif|Enchanted iron sword.
Enchanted Golden Sword.gif|Enchanted golden sword.
Enchanted Diamond Sword.gif|Enchanted diamond sword.
Enchanted Netherite Sword.gif|Enchanted netherite sword.
</gallery>

=== Texture packs ===
<gallery>
File:Wood sword TP.png|Wooden sword in the [[Texture Pack DLC|Plastic Pack]].
Stone Sword SDGP.png|Stone sword in the [[Super Duper Graphics Pack]].
File:Gold sword Natural.png|Gold sword in the [[Texture Pack DLC|Natural Pack]].
</gallery>

=== In other media ===
<gallery>
File:Alex Fighting in Nether.jpeg|Pixel art of [[Alex]] fighting with a diamond sword in the [[Nether]].
File:Alex Retrieving Diamond Sword.jpeg|Alex retrieving another diamond sword from a [[chest]].
File:Sinister Sword Sprite MCD.png|The [[MCD:Sinister Sword|Sinister Sword]], a unique sword featured in ''Minecraft Dungeons''.
File:Sword GUI.png|A nondescript [[MCD:Sword|sword]] as it appears in ''[[Minecraft Dungeons]]''.
File:Sword (item).png|A sword as it appears in ''[[Legend of the Chambered]]''.
File:Sword Shirt.png|Officially licensed T-Shirt of a diamond sword.
File:IronSword replica.jpg|Foam replica of an iron sword.
</gallery>

== References ==
{{reflist}}

{{Items}} 
[[Category:Tools]]
[[Category:Combat]]

[[de:Schwert]]
[[es:Espada]]
[[fr:Épée]]
[[hu:Kard]]
[[ja:剣]]
[[ko:검]]
[[nl:Zwaard]]
[[pl:Miecz]]
[[pt:Espada]]
[[ru:Меч]]
[[tr:Kılıç]]
[[uk:Меч]]
[[zh:剑]]</li></ul>
pre2Added cave sounds 15 and 16.
1.12
{{Extension DPL}}<ul><li>[[Glistering Melon Slice|Glistering Melon Slice]]<br/>{{Item
| image = Glistering Melon Slice.png‎
| renewable = Yes
| stackable = Yes (64)
}}

A '''glistering melon slice'''{{fn|Known as '''Glistering Melon Slice''' {{in|java}} and '''Glistering Melon''' {{in|bedrock}}.}} is an inedible [[item]] used for brewing [[potion]]s of [[Healing]]. It is also one of the many potion ingredients that can be used to make mundane potions.

== Obtaining ==
=== Chest loot ===
{{LootChestItem|glistering-melon-slice}}

=== Crafting ===

{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget
|A2= Gold Nugget
|B2= Melon Slice 
|C2= Gold Nugget
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget
|Output= Glistering Melon Slice
|type= Brewing
}}

=== Trading ===

Master-level farmer [[villager]]s sell 3 glistering melon for 4 [[emerald]]s.

== Usage ==
Despite being crafted with a [[melon slice]], a glistering melon slice cannot be eaten, unlike a [[golden apple]] or [[golden carrot]].

=== Brewing ingredient ===
{{Brewing
|head=1
|Glistering Melon Slice
|Mundane Potion
|base=Water Bottle
}}
{{Brewing
|Glistering Melon Slice
|Potion of Healing
|foot=1}}

===Piglins===
[[Piglin]]s are attracted to glistering melon slices. They run toward any glistering melon slice on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.

== Achievements ==
{{load achievements|Oooh, shiny!}}

== Advancements ==
{{load advancements|Oh Shiny}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Glistering Melon Slice
|spritetype=item
|nameid=glistering_melon_slice
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glistering Melon
|spritetype=item
|nameid=glistering_melon_slice
|aliasid=speckled_melon
|id=434
|form=item
|translationkey=item.speckled_melon.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.
|The [[crafting]] recipe of glistering melons is one [[melon slice]] and one [[gold nugget]].
|Glistering melons have replaced [[ghast tear]]s as the ingredient to produce [[potions of Healing]] due to the difficulty in getting tears.<ref>{{tweet|jeb_|123671273904680960}}</ref>  They also now brew with [[water bottle]]s to create [[mundane potion]]s.}}
{{History||1.6.1|snap=13w23a|The [[crafting]] recipe of glistering melons is changed from one [[gold nugget]] to eight.}}
{{History||1.9|snap=15w49a|[[File:Glistering Melon Slice JE2.png|32px]] The rotation of glistering melon [[item]]s has been changed to be consistent with [[melon slice]]s.<ref>{{bug|MC-85963}}</ref>}}
{{History|||snap=15w49b|[[File:Glistering Melon Slice JE1 BE1.png|32px]] The rotation of glistering melons has been reverted and is no longer consistent with melon slices.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 382.}}
{{History|||snap=18w20b|"Glistering Melon" has been renamed to "Glistering Melon Slice".
|The ID of glistering melon slices has been changed from <code>speckled_melon</code> to <code>glistering_melon_slice</code>.}}
{{History||1.14|snap=18w43a|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melon slices has been changed.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|sell]] glistering melon slices.}}
{{History||1.16|snap=20w09a|Glistering melon slices are now admired by [[piglin]]s.<ref>{{bug|MC-172363}}</ref>}}
{{History|||snap=20w16a|Glistering melon slices now generate in [[ruined portal]] chests.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melons has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Glistering melons can now be [[trading|bought]] from farmer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|[[Trading]] has been changed. Master-level farmer villagers now have a {{frac|1|3}} chance to [[trading|sell]] glistering melon slices.}}
{{History||1.16.0|snap=beta 1.16.0.57|Glistering melons are [[trading|sold]] from farmer villagers under a 50% chance, once again.
|Glistering melons now generate in [[ruined portal]] chests.}}
{{History||1.16.100|snap=beta 1.16.100.54|[[Ruined Portal]]s can now generate with 4–12 glistering melons instead of only one.}}
{{History|||snap=beta 1.16.100.56|The ID of glistering melon slices has been changed from <code>speckled_melon</code> to <code>glistering_melon_slice</code>.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melons has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==
* [[Melon Slice]]
* [[Melon]]

== Notes ==
{{fnlist}}

== References ==
{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Zlatavý kousek melounu]]
[[de:Glitzernde Melonenscheibe]]
[[es:Rodaja de sandía reluciente]]
[[fr:Tranche de pastèque scintillante]]
[[hu:Ragyogó dinnye]]
[[ja:きらめくスイカの薄切り]]
[[ko:반짝이는 수박 조각]]
[[nl:Glinsterende meloenschijf]]
[[pl:Błyszczący arbuz]]
[[pt:Fatia de melancia reluzente]]
[[ru:Сверкающий ломтик арбуза]]
[[uk:Блискуча скибка кавуна]]
[[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>
17w13aAdded cave sounds 17 and 18.
1.13
{{Extension DPL}}<ul><li>[[Firework Star|Firework Star]]<br/>{{Item
| image = Firework Star.png
| renewable = 
* '''Trail Effect''': No
* '''All Others''': Yes
| stackable = Yes (64)
}}
'''Firework stars''' are [[items]] used to determine the color, effect, and shape of [[firework rocket]]s.

== Obtaining ==

In [[Survival]] mode, firework stars are obtainable only through crafting. In [[Creative]] mode, they can be found in the creative inventory.

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |ingredients=[[Gunpowder]] +<br>Matching [[Dye]] +<br>Extra ingredients (optional)
  |Gunpowder
  |Matching Dye
  |Head; Gold Nugget; Feather;Fire Charge;
  |Glowstone Dust;
  |Diamond;
  |Output=Matching Firework Star
  |arggroups=1;2,Output;3;4;5
  |description=Up to eight dyes can be added.<br>One head, gold nugget, feather, or fire charge can be added.<br>Both the diamond and the glowstone dust can be added with any of the other ingredients.
  |type=Miscellaneous
}}
{{Crafting
  |ignoreusage=1
  |Matching Firework Star
  |Any Dye
  |Output=Matching Firework Star
  |type=Miscellaneous
  |description=Adds a "fade to color" effect to the firework star, overwriting any existing fades.<br>Up to eight dyes can be added.
  |foot=1
  |arggroups=1,Output
}}
<div style="display:none">
<!--
    This is so the pre-Village & Pillage dyes can have dye-related crafting recipes show on their respective pages.
    They don't need to be displayed on this page because they already intuitively list "Any Matching/Colored Dye".
-->
{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Gunpowder
  |Bone Meal; Lapis Lazuli; Cocoa Beans; Ink Sac
  |Head; Gold Nugget; Feather;Fire Charge;
  |Glowstone Dust;
  |Diamond;
  |Output=White Firework Star; Blue Firework Star; Brown Firework Star; Black Firework Star
  |arggroups=1;2,Output;3;4;5
  |description={{only|bedrock|education}}<br>Up to eight dyes can be added.<br>One head, gold nugget, feather, or fire charge can be added.<br>Both the diamond and the glowstone dust can be added with any of the other ingredients.
  |type=Miscellaneous
}}
{{Crafting
 |showdescription=1
 |White Firework Star; Blue Firework Star; Brown Firework Star; Black Firework Star
 |Bone Meal; Lapis Lazuli; Cocoa Beans; Ink Sac
 |Output=White Firework Star; Blue Firework Star; Brown Firework Star; Black Firework Star
 |type=Decoration block
 |description={{only|bedrock|education}}<br>Adds a "fade to color" effect to the firework star, overwriting any existing fades.<br>Up to eight dyes can be added.
 |foot=1
}}
</div>

== Usage ==

The only usage of firework stars is to create [[firework rocket]]s.

=== Crafting ingredient ===

{{crafting usage|match=end}}

== Effects ==

=== Shape effects ===

A firework star can have only one shape effect.

{| class="wikitable"
|+ Shape Effects
! <abbr title="Type (Byte tag in NBT structure)">Type</abbr>
! Ingredient
! Effect
! Sample Animation
|-
| 0
| None
| Small Ball explosion (default)
| [[File:Firework Star (Small Sphere).gif|200px]]
|-
| 1
| {{ItemLink|Fire Charge}}
| Large Ball explosion and heavy sound.
| [[File:Firework Star (Large Sphere).gif|200px]]
|-
| 2
| {{ItemLink|Gold Nugget}}
| Star-shaped explosion
| [[File:Firework Star (Star Shape).gif|200px]]
|-
| 3
| {{BlockLink|id=Heads|Head}} (any)
| Creeper-shaped (Creeper Face) explosion
| [[File:Firework Star (Creeper Shape).gif|200px]]
|-
| 4
| {{ItemLink|Feather}}
| Burst explosion
| [[File:Firework Star (Burst).gif|200px]]
|}

=== Additional effects ===

In addition to the shape effects, any combination of these additional effects may be added to a firework star.

{| class="wikitable"
|+ Additional Effects
! Ingredient
! Effect
! Sample Animation
|-
| None
| Default
| [[File:Firework Star (Small Sphere).gif|200px]]
|-
| {{ItemLink|Glowstone Dust}}
| Twinkle (Crackle effect and sounds after the explosion)
| [[File:Firework Star (Twinkle effect).gif|200px]]
|-
| {{ItemLink|Diamond}}
| Trail effect after the explosion
| [[File:Firework Star (Trail effect).gif|200px]]
|-
| {{ItemLink|Glowstone Dust}} <br> {{ItemLink|Diamond}}
| Twinkle + Trail effect after the explosion
| [[File:Firework Star (Twinkle and Trail effect).gif|200px]]
|}

== Sounds ==
{{see also|Firework_Rocket#Sounds}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Firework Star
|spritetype=item
|nameid=firework_star
|aliasid=fireworkscharge
|id=520
|form=item
|translationkey=item.fireworksCharge.name
|foot=1}}

=== Item data ===

{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Firework Stars}}
</div>

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

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

== History ==
{{History|java}}
{{History||1.4.6|snap=12w49a|[[File:Firework Star JE1 BE1.png|32px]] Added firework stars.
|Firework stars in the [[Creative inventory]] come in only one variation; they do not have any color.}}
{{History||1.13|snap=17w47a|The ID of firework stars has now been changed from <code>firework_charge</code> to <code>firework_star</code>.
|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 402.}}

{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Firework Star JE1 BE1.png|32px]] Added firework stars.
|Firework stars come in all 16 colors in the [[Creative]] [[inventory]].{{verify|type=update}}{{info needed}}}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of firework star has been changed from <code>fireworkscharge</code> to <code>firework_star</code>.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Firework Star JE1 BE1.png|32px]] Added firework stars.
|Firework stars cannot be obtained within the Creative inventory.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|The [[crafting]] interface has now been updated to allow the crafting of firework stars and [[firework rocket]]s.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==

* There are 29,617,272,331,290,537 (29.6 quintillion) unique firework stars.
* Putting firework stars on rockets causes the player to take explosion damage when using them for flying with [[elytra]].

== Gallery ==
<gallery>
File:Firework Star (Tricolor Star shaped with Twinkle and Trail effect).gif|Tricolor (Magenta, Pink, White dye) + Star shaped with Twinkle and Trail effect.
</gallery>

{{Items}}

[[cs:Ohňostrojová hvězda]]
[[de:Feuerwerksstern]]
[[es:Estrella de fuegos artificiales]]
[[fr:Étoile de feu d'artifice]]
[[hu:Tűzijáték csillag]]
[[it:Stella pirotecnica]]
[[ja:花火の星]]
[[ko:폭죽 탄약]]
[[nl:Vuurwerkster]]
[[pl:Gwiazdka pirotechniczna]]
[[pt:Estrela de fogo de artifício]]
[[ru:Пиротехническая звезда]]
[[uk:Зірка феєрверку]]
[[zh:烟火之星]]</li><li>[[Map|Map]]<br/>{{about|the craftable map|maps showing the locations of certain structures|Explorer Map|other uses|Map (disambiguation)}}
{{distinguish|World}}
{{Item
| image = Map Zoom 4.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''map''' is an [[item]] used to view explored [[Chunk|terrain]] and mark landmarks.

==Obtaining==
===Crafting===
{{crafting
|head=1
|showname=0
|showdescription=1
|A1= Paper
|B1= Paper
|C1= Paper
|A2= Paper
|B2= Compass
|C2= Paper
|A3= Paper
|B3= Paper
|C3= Paper
|Output= Empty Map
|type= Miscellaneous
|description=This variation is called an "empty locator map" {{in|bedrock}}, or an "empty map" {{in|java}}.

When the player first creates a map, it is blank. It needs to be activated by holding it and pressing ''{{Control|use item}}''. after which it records terrain and location markers as the player travels within (or close to) the area it maps.
}}
{{crafting
|A1= Paper
|B1= Paper
|C1= Paper
|A2= Paper
|B2= Paper
|C2= Paper
|A3= Paper
|B3= Paper
|C3= Paper
|Output= Empty Map
|type= Miscellaneous
|description={{only|bedrock}}

This variation is called an "empty map". It does not show location markers. It is intended for cloning and zooming locator maps without having to consume an additional [[compass]] (thereby saving [[iron ingot]]s and [[redstone dust]]), but it can also be {{Control|use|text=activated}} and later converted to a locator map by combining it with a compass on an [[anvil]], [[crafting table]], or [[cartography table]].
|foot=1
}}

=== Natural generation ===
==== Chest loot ====
{{LootChestItem|empty-map,map 
}}

=== Cartography table ===
A map can also be created using a single paper on a [[cartography table]] to create an empty map, or a paper with a compass for an empty locator map.{{only|bedrock}}

=== Starting map ===
{{exclusive|bedrock|section=1}}
When creating a new world {{in|bedrock}}, the player can enable the "Starting Map" option to spawn with an empty locator map in the hotbar. The map's zoom scale is 1:8. The map is updated only while the player holds it.

=== Trading ===
Novice-level cartographer [[Villager|villagers]] sell a single empty map for 7 [[Emerald|emeralds]] as their trades.

{{IN|java}}, cartographer villagers may give players with the [[Hero of the Village]] effect an empty map.

== Usage ==
{{See also|Tutorials/Mapping}}

=== Mapping ===

Crafting a map creates an empty map. The map is drawn for the first time when it is held and used (with ''{{control|use item}}''). This map can then be adjusted to different zoom levels. After conversion to a drawn map item, it starts to draw a top-down view of the player's surroundings, with North pointing to the top of the map. A pointed oval pointer indicates the player's position on the map, and moves in real-time as the player moves across the terrain shown on the map. The map does ''not'' center on the player when created, rather, the world is broken up into large invisible grid squares, and the map displays the area of whichever grid square it is in when it is first used. For example, if a player uses a new map in a certain grid square, and then moves a distance away and uses another fresh map but is still within the same grid square, both maps appear identical. To make a map that is not identical to the first one, the player would have to move outside of the edges of the first map (because then they would be in a new grid square). This way, no two maps of the same size can ever partially overlap and every map can display only a fixed area.

To record the world on a map, that specific map must be held in the player's hands while the player moves around the world. The world is recorded as-is during exploration, meaning that if the world is modified, a player must revisit the area while holding the map to update the map's view. Maps can also be [[Map#Cloning|cloned]]. If a player holds a map whose one or more clones are on display in item frames, updates are made on all clone-connected maps. 

Other players are displayed on the map only if they have a map in their inventory cloned from the one being looked at. When placing a map into an [[item frame]], the map displays with a green pointer shown at the location of the item frame. This is to help the player see where they are in relation to the area that the map is showing. If the player leaves a map in an item frame and views a clone of it, the green pointer remains in the spot of the framed copy. This can be used to set up waypoints. Unexplored areas are transparent, making the item frame visible.

When the player leaves the area shown on a specific map, the player pointer transforms into a white dot that moves on that map. The marker shrinks to a smaller white dot if the player is far from the map's center: the area is 320 by 320 blocks per scale factor. The dot moves along the edge of the map to show the relative location of the player. However {{in|bedrock}}, the pointer remains as an arrow but shrinks until the player is near the area shown on the map.

While maps in [[the Nether]] work, they show only the red-and-gray pattern, regardless of the blocks placed. The only useful function is finding where the player is in relation to placed framed maps, which show as green pointers.  Additionally, the player pointer rapidly spins and is not a good indicator of direction. Placing a [[banner]] in [[the Nether]] still shows it on the map as usual.  Having a smaller map image while riding a [[strider]] in the Nether can help one to see one's footing while traveling over [[lava]].

{{IN|java}}, when using a map from another dimension, the map shows the player's position and direction when they were last in the dimension of the map. {{IN|bedrock}}, however, the player can use maps from one dimension while in another dimension. For locator maps, the place marker changes color depending on the dimension that the player is currently in (white for the Overworld, red for [[the Nether]], and magenta for [[the End]]). An Overworld map in the Nether shows the player's corresponding location and direction in the Overworld.<ref name=multiverse>{{ytl|EpP1diZdEdI}}</ref> Similarly, a Nether Map in the Overworld shows the player's corresponding location in the Overworld, but the place marker spins, just like a Nether map in the Nether. An Overworld map in the End shows the world spawn.<ref name=multiverse/> A Nether map cannot be used in the End — the map appears, but the place marker is not shown anywhere — and similarly, an End map cannot be used in the Overworld or the Nether.

A player can make a large piece of pixel art (128×128) facing upward, center a map on it, and place that map in an [[item frame]] to create a custom picture. Locking is recommended. See [[Map item format#Map Pixel Art]] for details on the techniques.

Maps display as a mini-map when held in the off-hand, or if the off-hand slot is occupied; the map is full-sized only when held in the dominant hand with both hands free.

A map always positions itself facing towards North when placed horizontally within an item frame regardless of how the map is placed.

=== Map content ===
{{Main|Map item format}}

Maps consist of square pixels arranged like pixels in a 128×128 square pattern, with each pixel representing a square portion of land. {{IN|java}}, the [[Map item format#Color table|color of a map pixel]] generally matches the color of the most common [[opaque]] block in the corresponding area, as seen from the sky. 'Minority blocks' in the target area have no effect on the color of the pixel, thus small features tend to be undetectable on zoomed-out maps.

{{IN|bedrock}}, the [[Map item format#Color table|color of a map pixel]] instead matches the single top-most opaque block in a grid sized by the map magnification pixel size (see the table in the "Player marker and pointer" section below). For example, a 3/4 magnification map has a pixel size of 8x8 blocks; this means the map will read only the top-most opaque blocks at the 0,0 coordinate, the 8,0 coordinate, the 0,8 coordinate, etcetera, ignoring all other blocks in the area. This means that {{in|bedrock}}, map pixel art requires only one block per pixel regardless of map magnification.

{{IN|bedrock}}, grass, foliage and water colors that are biome-dependent are represented accurately on a map.

{| class="wikitable"
|-
! style="width: 300px;" | {{el|je}}
! style="width: 300px;" | {{el|be}}
|-
| style="text-align: center;" | [[File:Map Zoom 4.png|alt=All banners marked on a map, alongside a named banner.|216px]]
| style="text-align: center;" | [[File:Map item BE.png|216px]]
|-
| Biome colors on ''Java Edition''.
| Biome colors on ''Bedrock Edition''.
|-
|}

Maps also show ground up to about 15 blocks below the surface of the water in oceans as slightly lighter blue, to show where the ground rises. This is not true with land above water. Higher elevations in the world mean lighter colors on the map. The map records the surface even as the player moves below the surface.

A standard map represents 128x128 blocks (1 block per pixel, 8x8 [[chunks]]) but maps can be zoomed-out to represent up to 2048x2048 blocks (16 square blocks per pixel, 128x128 [[chunks]]).

Some relevant distances: 64 blocks (4 chunks) is the update radius from a player in the Overworld and the End. However, it is half this (32 blocks) in the Nether. Also, 1024 blocks is the minimum Overworld distance from a [[nether portal]], at which players can build another portal and expect to reach a new location in the Nether. This is the distance across a 1:8 map, and also from a 1:16 map's center to its edge.

=== Player marker and pointer ===
{{IN|java}}, every map contains a marker that marks the position of the player, and points in the same direction as the player. When a player moves out of a map, a big white dot appears and moves relative to the player's position. The pointer either disappears when the player moves away a certain distance from the border of the map or, in case of [[explorer map]]s, the big white dot changes to a smaller white dot. The distance required for the small white dot to appear(explorer maps) or for the big dot to vanish (normal maps) changes with the scaling of the map.
* '''Level 0/4 :''' 128×128 blocks (each map pixel represents 1 block)
* '''Level 1/4 :''' 256×256 blocks (2×2 blocks per map pixel)
* '''Level 2/4 :''' 512×512 blocks (4×4 blocks per map pixel)
* '''Level 3/4 :''' 1024×1024 blocks (8×8 blocks per map pixel)
* '''Level 4/4 :'''  2048×2048 blocks  (16×16 blocks per map pixel)
{{IN|bedrock}}, a map can be crafted with or without this marker, and a map without a position marker can add one later by adding a compass to the map.  When a map is crafted without a compass, it's simply called an "empty map", but when crafted with a compass, it's called an "empty locator map". The marker also turns red if the player enters the Nether with an Overworld map and shows the player's Overworld location relative to the Nether location. A map created in the End has a purple marker showing the player's location. If an Overworld map is used in the End, a magenta dot appears on the player's spawn point.{{/BE|position}}
{{crafting
|name=Map<br>(with marker)
|ingredients=[[Map]] or Empty Map +<br>[[Compass]]
|showdescription=1
|Map (no markers);Empty Map 
|Compass
|Output= Locator Map;Empty Locator Map
|type= Miscellaneous
|description={{el|be}} only.
Maps crafted from only paper do not show the location marker; to add it, a compass must be added to the map.
|foot=1
}}

{{IN|bedrock}}, a cartography table can also be used to add a pointer to create a locator map or empty locator map. This can be done by adding a compass to paper, or to an empty map or map.

=== Zooming out ===
[[File:Cartography table UI zoom.png|thumb|300px|{{IN|java}}, cartography table's UI, showing the map is being zoomed out.]]

A [[cartography table]] can also be used to zoom out, taking only one piece of paper per zoom level.

A blank map can not be zoomed out. A map has to have something already marked on it for the zooming to be possible.

{{Crafting
  |A1= Paper |B1= Paper |C1= Paper
  |A2= Paper |B2= Map;Locator Map   |C2= Paper
  |A3= Paper |B3= Paper |C3= Paper
  |Output= Map;Locator Map
  |showdescription=1
  |description=Locator Map {{el|be}} only.
}}
{{/BE|zoom}}

==== Zoom details ====
The zooming function starts from when the map is created (zoom level 0) up to its fourth zoom step (zoom level 4).

{| class="wikitable" style="text-align: center" data-description="Zoom levels"
! colspan="2" | 
! Zoom step 0  
! Zoom step 1  
! Zoom step 2  
! Zoom step 3  
! Zoom step 4
|-
! colspan="2" |
| [[File:Map Zoom 0.png|116px|Zoom step 0, 1:1]]
| [[File:Map Zoom 1.png|116px|Zoom step 1, 1:2]]
| [[File:Map Zoom 2.png|116px|Zoom step 2, 1:4]]
| [[File:Map Zoom 3.png|116px|Zoom step 3, 1:8]]
| [[File:Map Zoom 4.png|116px|Zoom step 4, 1:16]]
|-
! colspan="2" | Zoom level
| 0/4
| 1/4
| 2/4
| 3/4
| 4/4
|-
! colspan="2" | 1 map pixel represents
| 1 block
| 2×2 blocks
| 4×4 blocks
| 8×8 blocks
| 16×16 blocks<br>(1×1 chunk)
|-
! colspan="2" | Scaling ratio
| 1:1
| 1:2
| 1:4
| 1:8
| 1:16
|-
! rowspan="2" colspan="2" | Map covers an area of
| 128×128 blocks
| 256×256 blocks
| 512×512 blocks
| 1024×1024 blocks
| 2048×2048 blocks
|-
| 8×8 chunks
| 16×16 chunks
| 32×32 chunks
| 64×64 chunks
| 128×128 chunks
|-
! colspan="2" | Smallest discernible features
| Blocks
| Trees, Paths
| Lakes, Buildings
| Mountains, Rivers
| Biomes, Mountain Ranges
|-
! colspan="2" | Use cases
| Pixel art, Base plans
| Base surroundings
| Structure mapping
| Landscape mapping
| Biome mapping
|-
! rowspan="2" | Total paper needed to zoom out from Level 0
! in anvil{{only|bedrock|short=1}} or crafting table
| -
| {{ItemSprite|Paper}} 8
| {{ItemSprite|Paper}} 16
| {{ItemSprite|Paper}} 24
| {{ItemSprite|Paper}} 32
|-
! in cartography table
| -
| {{ItemSprite|Paper}} 1
| {{ItemSprite|Paper}} 2
| {{ItemSprite|Paper}} 3
| {{ItemSprite|Paper}} 4
|}

Maps are always aligned to a grid at all zoom levels. That means zooming out any different map in a specific area covered by that map always has the same center. As such, maps are aligned by map width (1024 blocks for a level 3 maps) minus 64. A level 3 map generated at spawn covers X and Z coordinates from -64 to 959. All maps generated in this area zoom out to the same coordinates, guaranteeing that they are always 'aligned' on a map wall. For a zoomed-out map to cover a new area, it must start with a base (level 0) map that is in that area.

At zoom level 0, a map created on the point (0,0) has (0,0) at the center of the map. At higher zoom levels of the same map, the coordinate (0,0) is in the top left square of the map.

{{IN|java}}, zoom level can be seen on a map by turning on Advanced Tooltips (a [[Debug screen#More debug keys|debug screen]] option that can be toggled by using the key combination {{key|F3+H}}). The tooltip of the map then shows the zoom level, scaling factors, and map ID.

=== Cloning ===
[[File:Cartography table UI clone.png|thumb|300px|{{IN|Java}}, cartography table's UI, showing the map is being cloned.]]

A mix of empty maps and empty locator maps may be used. Whether the cloned maps show position markers is dependent only on the input map.

A [[cartography table]] can also be used to clone a map.

The parts of the world that have already been explored and mapped are copied, and newly explored areas appear on both instances. If one of the maps is later zoomed out, then the maps lose their connection to each other and function as completely separate maps that have to be individually filled by exploring.

In Creative mode, a map in an item frame may be cloned by using {{control|pick block}} on it, as long as that map is not also in the player's inventory.

It doesn't matter if the map to be cloned is at a higher zoom level (made of more paper) than the blank map. Upon copying the map, both resulting maps have the same magnification as the starting map.

{{/BE|clone}}

=== Crafting ingredient ===

{{crafting usage|Map, Empty Map}}

=== Marking points ===
{{IN|java}} the player has the ability to mark spots on a map. To do this, {{control|use}} a map on a placed-down [[banner]], and the spot of the banner gets marked on the map. The mark takes the color of whatever the base color is for the banner, and if the banner has a name, the mark shows that name. Banner marks on a map are always oriented with their top facing north, regardless of the banner's actual orientation. If the banner is destroyed, the mark of the banner remains at first, but if the player gets closer to where the banner previously was, it disappears as the area is updated on the map.

If a map is mounted on an item frame and is within the area it depicts, the mounted map displays its current location with a green indicator rotated to match its orientation.

[[File:Map Marker Bedrock on Item frame.png|thumb|181x181px|{{IN|bedrock}} this is what a map lying on an item frame looks like, while showing markers.]]
{{IN|bedrock}} the player can place copies of locator maps in [[item frame]]s in order to create a land mark. The marker is a green dot that resembles the shape of the player's marker, but in green color. The position the marker points at depends on the direction the item frame is facing. It is worth noting that the markers work only on copies of the same map. Other maps of the same area do not show the existing markers that the player(s) had placed.

If a player has a cloned map in their inventory, their pointer appears white when viewed on the same map held by another player. Hence, if all players have the same cloned map in their inventory, all markers would appear white when the clone map is viewed. 

{| class="wikitable"
|-
! style="width: 300px;" | {{el|je}}
! style="width: 300px;" | {{el|be}}
|-
| style="text-align: center;" | [[File:Banner marked map.png|alt=All banners marked on a map, alongside a named banner.|216px]]
| style="text-align: center;" | [[File:Tracking map with markers bedrock.png|216px]]
|-
| How every banner appears {{IN|java}} on a map, including named banners.
| {{IN|bedrock}} this is how a locator map shows map markers while held by a player.
|-
|}

===Locking===
[[File:Cartography table UI lock.png|thumb|300px|{{IN|Java}}, cartography table's UI, showing the map is being locked.]]

Maps can be locked when using a [[glass pane]] in a [[cartography table]]. This creates a new map containing the same data and locks it. All copies of this new map are also locked. A locked map never changes, even when the depicted terrain changes. {{IN|Be}}, locked maps have a unique texture.

{| class="wikitable" style="text-align: center;"
|-
! Condition
! style="width: 200px;" | Newly created map
! style="width: 200px;" | Map after terrain alteration
|-
! Unlocked map
| [[File:Map Zoom 0.png|174px]] || [[File:Unlocked Map.png|174px]]
|-
! Locked map
| [[File:Map Zoom 0.png|174px]] || [[File:Map Zoom 0.png|174px]]
|-
|}

{{-}}

== Sounds ==
{{Edition|Java}}:
{{Sound table
|rowspan=2
|sound=Drawmap1.ogg
|sound2=Drawmap2.ogg
|sound3=Drawmap3.ogg
|subtitle=Map drawn
|source=player
|description=When a map is drawn
|id=ui.cartography_table.take_result
|translationkey=subtitles.ui.cartography_table.take_result
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Map drawn
|source=block
|description=When a map is edited using a cartography table
|id=ui.cartography_table.take_result
|translationkey=subtitles.ui.cartography_table.take_result
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Drawmap1.ogg
|sound2=Drawmap2.ogg
|sound3=Drawmap3.ogg
|source=block
|description=When a map is drawn<wbr>{{Upcoming|BE 1.20.20.20}}
|id=ui.cartography_table.take_result|idnote={{Verify|Could be block.cartography_table.use}}
|volume=0.8
|pitch=1.0}}
{{Sound table
|type=bedrock
|source=block
|description=When a map is edited using a cartography table
|id=ui.cartography_table.take_result
|volume=0.8
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Empty Map
|spritetype=item
|nameid=map
|form=item}}
{{ID table
|displayname=Map
|spritetype=item
|nameid=filled_map
|form=item
|translationkey=item.minecraft.filled_map, filled_map.buried_treasure, filled_map.explorer_jungle{{upcoming|java 1.20.2}}, filled_map.explorer_swamp{{upcoming|java 1.20.2}}, filled_map.mansion, filled_map.monument, filled_map.unknown, filled_map.village_desert{{upcoming|java 1.20.2}}, filled_map.village_plains{{upcoming|java 1.20.2}}, filled_map.village_savanna{{upcoming|java 1.20.2}}, filled_map.village_snowy{{upcoming|java 1.20.2}}, filled_map.village_taiga{{upcoming|java 1.20.2}}
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Empty Map
|spritetype=item
|nameid=empty_map
|aliasid=emptymap
|id=515
|form=item
|translationkey=item.emptyMap.name, item.emptyLocatorMap.name}}
{{ID table
|displayname=Map
|spritetype=item
|spritename=map-be
|nameid=filled_map
|aliasid=map
|id=420
|form=item
|translationkey=item.map.name, item.map.exploration.mansion.name, item.map.exploration.monument.name, item.map.exploration.treasure.name
|foot=1}}

=== Metadata ===
{{see also|Bedrock Edition data values}}
{{IN|bedrock}}, maps use the following data values:

{{/DV}}

=== Item data ===
{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Maps}}
</div>

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

=== Map icons ===
{{see also|Player.dat format|Map item format|map_icons.png}}
Map icons are 8×8 in ''Java Edition'', but 16×16 in Bedrock Edition. As such, there are minor misalignment issues in ''Java Edition''.<ref>{{bug|MC-214649|||WF}}</ref>
[[File:Map icons.png|thumb|128px|Map icons texture {{in|Java}}]]
[[File:Map icons BE.png|thumb|128px|Map icons texture {{in|Bedrock}}]]

{| class="wikitable"
|-
! Java ID !! Bedrock ID !! Text ID !! Appearance !! Purpose !! Shown in item frames?
|-
| 0 ||  ||<code>player</code> || [[File:Player (texture) JE1 BE1.png|16px]] [[File:Player (texture) BE2.png|16px]] White marker || Players (on map) || No
|-
| 1 || 1 ||<code>frame</code> || [[File:Green Marker (texture) JE1 BE1.png|16px]] [[File:Green Marker (texture) BE2.png|16px]] Green marker || The current map in an item frame || Yes
|-
| 2 ||  ||<code>red_marker</code> || [[File:Red Marker (texture) JE1 BE1.png|16px]] [[File:Red Marker (texture) BE2.png|16px]] Red marker || Position converted to Overworld when opening Overworld map in the Nether{{Only|bedrock}} || No
|-
| 3 ||  ||<code>blue_marker</code> || [[File:Blue Marker (texture) JE1 BE1.png|16px]] [[File:Blue Marker (texture) BE2.png|16px]] Blue marker || Other players || No
|-
| 4 ||  ||<code>target_x</code> || [[File:Target X (texture) JE1 BE1.png|16px]] White X || Unused || Yes
|-
| 5 ||5
|<code>target_point</code> || [[File:Target Point (texture) JE1 BE1.png|16px]] [[File:Target Point (texture) BE2.png|16px]] Red triangle || Unused || Yes
|-
| 6 || 6 ||<code>player_off_map</code> || [[File:Player Off Map (texture) JE1 BE1.png|16px]] Large white dot || Players off map, nearby{{only|java}} || No
|-
| 7 || 13 ||<code>player_off_limits</code> || [[File:Player Off Limits (texture) JE1.png|16px]] [[File:Player Off Limits (texture) BE.png|16px]] Small white dot || Players off map, far away{{only|java}} || No
|-
| 8 ||14
|<code>mansion</code> || [[File:Mansion (texture) JE1.png|16px]] [[File:Mansion (Texture) BE2.png|frameless|16x16px]] Woodland mansion || Woodland mansion || Yes
|-
| 9 || 15 ||<code>monument</code> || [[File:Monument (texture) JE1.png|16px]] [[File:Monument Texture BE2.png|frameless|16x16px]] Ocean monument || Ocean monument || Yes
|-
| 10 - 25 ||  ||<code>{{tooltip|banner_*|banner_white, banner_orange, banner_magenta, banner_light_blue, banner_yellow, banner_lime, banner_pink, banner_gray, banner_light_gray, banner_cyan, banner_purple, banner_blue, banner_brown, banner_green, banner_red, banner_black}}</code> || [[File:Banner White (texture) JE1.png|16px]] [[File:Banner Light Gray (texture) JE1.png|16px]] [[File:Banner Gray (texture) JE1.png|16px]] [[File:Banner Black (texture) JE1.png|16px]] [[File:Banner Brown (texture) JE1.png|16px]] [[File:Banner Red (texture) JE1.png|16px]] [[File:Banner Orange (texture) JE1.png|16px]] [[File:Banner Yellow (texture) JE1.png|16px]] [[File:Banner Lime (texture) JE1.png|16px]] [[File:Banner Green (texture) JE1.png|16px]] [[File:Banner Cyan (texture) JE1.png|16px]] [[File:Banner Light Blue (texture) JE1.png|16px]] [[File:Banner Blue (texture) JE1.png|16px]] [[File:Banner Magenta (texture) JE1.png|16px]] [[File:Banner Purple (texture) JE1.png|16px]] [[File:Banner Pink (texture) JE1.png|16px]]<br>Banners in all 16 wool colors{{only|java}}|| Banner markers || Yes
|-
| 26 ||4
|<code>red_x</code> || [[File:Red X (texture) JE1.png|16px]] [[File:Target X (texture) BE2.png|16px]] Red X || Buried treasure || Yes
|-
| || 8 || || [[File:Magenta Marker (texture) BE1.png|16px]] Magenta marker
| Position converted to Overworld when opening Overworld map in the End{{Only|bedrock}} || No 
|-
| || 9 || || [[File:Orange Marker (texture) BE1.png|16px]] Orange marker{{more info}}
|Other players
|Yes
|-
| || 10 || || [[File:Yellow Marker (texture) BE1.png|16px]] Yellow marker
| Other players || No
|-
| || 11 || || [[File:Cyan Marker (texture) BE1.png|16px]] Cyan marker
| Other players || No
|- 
| -
|12
| || [[File:Green Point (texture) BE1.png|16px]] Green Triangle
| Other structure such as stronghold, fortress, end city, etc. when used as explorer map destination{{Only|bedrock}} || Yes
|}
It should be noted that even if the player used a NBT editor to add an additional icon on the map, ''Minecraft'' shows only the first one listed when the player loads up their world.

== Achievements ==
{{load achievements|Map Room}}

== History ==
{{see also|section=24|map_icons.png|Java Edition history of textures#Map icons}}
{{more images|section=24|{{bug|MC-72962}}}}
{{History||April 27, 2011|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/4988431144/the-maps|[[Notch]] unveiled screenshots of the map.}}
{{History||April 28, 2011|link={{tweet|notch|63500114005721088}}|[[Notch]] said that he would try to make maps place-able on [[wall]]s.}}
{{History|java beta}}
{{History||1.6|snap=Test Build 3|[[File:Map (item) JE1 BE1.png|32px]] Added maps.}}
{{History||1.6.6|The ability to auto-craft maps using shift-click has been disabled.}}
{{History||1.8|snap=Pre-release|Maps can now be found in library chests in the brand-new [[stronghold]]s.
|Auto crafting maps has been restored. Map cloning, therefore, is unavailable for a period of time.}}
{{History||1.8.1|Maps now work both while walking and flying.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 5|Prior to this update, the [[sun]] in ''[[Minecraft]]'' rose in the North, which threw off many [[player]]s and led to a common misconception that ''Minecraft'' maps/[[world]]s were oriented with East at the top. The sun now rises in the east and sets in the west, making navigation much more intuitive.
|Before the change in sun position, it was commonly said that ''Minecraft'' maps/worlds are oriented with East at the top; sunrise, by definition, occurs at the East, which means it is certainly true that the maps were oriented "East" since the Sun rose from the top (North). However, [[Jeb]] asserted (and [[Notch]] agreed) that the sun rose in the north.<ref>{{Tweet|jeb|87815841160237056}}</ref><ref>{{Tweet|notch|88155424880201728}}</ref> Most mods and map-making tools, however, used the terms East and North consistent with their actual definitions (e.g. a [[Programs and editors/Cartograph|Cartograph]]-generated map with North at the top is rotated 90 degrees from the in-game map).}}
{{History||1.4.2|snap=12w34a|[[File:Empty Map JE1 BE1.png|32px]] [[Crafting]] a map now creates an empty map. The map is drawn for the first time when it is held and right clicked, and is centered near the location of the [[player]] when clicked (not as before where it was centered on the location it was crafted.)
|Previously, in order to map a new area, the map had to be ''crafted'' in that area (rather than carrying a previously-crafted map to the new area). The point where a map is crafted becomes its permanent center, and could never be changed. 
|The pointer no longer disappears when leaving the map, but transforms into a white dot, indicating on what side of the map the player is located.
|Maps now align to a grid, making it easier to create adjacent maps.
|Maps can now be zoomed out (but not zoomed in).
|Maps can now be cloned and scaled.}}
{{History||1.4.2|snap=12w34b|Maps now have a ''zoom level'', which was fixed at 1:8 prior to snapshot [[Java Edition 12w34a|12w34a]],<ref name="mapinfo">https://web.archive.org/web/0/http://notch.tumblr.com/post/4988431144/the-maps</ref> but  now starts at 1:1 and can be increased up to 1:16 by re-crafting an existing map.
|Maps are no longer numbered on the top-left corner and is labeled through the tooltip.}}
{{History|||snap=12w36a|New maps are now crafted at a scale factor of 1:1. A zoomed in map can be zoomed out by re-crafting it with another 8 sheets of [[paper]] on a [[crafting table]]. Each time this is done, the scale increases - 1:1, 1:2, 1:4, 1:8, 1:16 with a map scale of 1:16 being the current maximum.}}
{{History||1.7.2|snap=13w38a|The map size has been increased when placed on a [[wall]] using the [[item frame]].
|More colors have been added to maps for different [[block]]s.<ref name="infodump2">https://web.archive.org/web/0/https://www.mojang.com/2013/10/minecraft-1-7-the-update-that-changed-the-world</ref>}}
{{History||1.8|snap=14w31a|Zoomed maps now conform to an expanded grid based on their zoom level. Previously, careful considerations would need to be taken to creating a wall of adjoining maps.}}
{{History||1.8.1|snap=pre1|Some colors have been changed on maps to more accurately represent their respective [[block]].}}
{{History||1.9|snap=15w31a|Maps now display as a mini-map when held in the off-hand, or if the off-hand slot is occupied; the (old) large version is visible only when held in the dominant hand with the secondary hand free.}}
{{History|||snap=15w34a|New maps can now be [[crafting|crafted]] at a scale factor of 1:4.
|A crafting recipe has been added for zooming in maps.}}
{{History|||snap=15w43a|The average yield of empty maps from [[stronghold]] library [[chest]]s has been doubled.}}
{{History|||snap=15w45a|New maps are once again [[crafting|crafted]] at a scale factor of 1:1, as they had been before snapshot [[15w34a]].
|The [[crafting]] recipe, that was introduced in 15w34a, for zooming in maps has been removed.}}
{{History|||snap=15w49a|Map making now uses armor equipping sounds.}}
{{History||1.11|snap=16w39a|Maps now work in [[the End]].
|Empty maps are now [[trading|sold]] by cartographer [[villager]]s as their tier 3 [[trading|trade]].
|Added [[explorer map]]s, sold by cartographers as their tier 4 trades.}}
{{History||1.12|snap=17w17a|Maps now have separate colors for colored [[terracotta]] blocks from other colored blocks.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 358 and 395.
|Maps now use additional NBT to specify which map they contain. Prior to this version, they used the [[damage]] value instead.
|Map IDs are no longer limited to 32,768.}}
{{History|||snap=17w50a|Maps can now be placed on floor and ceiling [[item frame]]s.}}
{{History|||snap=18w10a|Spots on maps can now be marked using [[banner]]s.}}
{{History|||snap=18w11a|Empty maps can now generate in [[shipwreck]] [[chest]]s.}}
{{History|||snap=pre7|Maps have been changed slightly, in regard to which [[block]]s are shown and which blocks are not.}}
{{History||1.14|snap=18w43a|[[File:Empty Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures of maps have been changed.}}
{{History|||snap=18w48a|Empty maps can now be found in chests in [[village]] cartographer houses.}}
{{History|||snap=19w02a|Maps can now be cloned and zoomed out (extended) by using a [[cartography table]].
|Maps can now be locked by using a [[glass pane]] with a cartography table.
|The recipes for cloning and zooming out maps have been removed.}}
{{History|||snap=19w06a|Map making is now silent again.}}
{{History|||snap=19w13a|Cartographer villagers now give empty maps to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w21a|Map making sounds are now the same as when using a cartography table.}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Empty Map JE1 BE1.png|32px]] [[File:Map (item) JE1 BE1.png|32px]] Added maps.
|Maps are crafted using nine [[paper]], one for every slot of the [[crafting]] grid.
|Maps must be combined with a [[compass]] using an [[anvil]] in order to show the [[player]]'s position.
|Maps can be zoomed using an anvil.}}
{{History|||snap=build 3|New maps are now [[crafting|crafted]] at full zoom.
|Empty maps now have a "Create Map" button to initialize them.}}
{{History|||snap=build 7|New maps are now crafted at a scale factor of 1:1.}}
{{History||v0.15.0|snap=unknown|Maps can now be crafted either with 8 pieces of [[paper]] and a [[compass]] ''or'' 9 pieces of paper, to get a map with or without a position marker.}}
{{History||v0.16.0|snap=build 1|Different colors have been added to maps for different [[biome]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=?|[[Windows 10 Edition]] can now use the [[anvil]] as well as the [[crafting table]] to clone, zoom and apply markers, just as [[Pocket Edition]] in general could.
|Maps can now be found inside [[stronghold]] library [[chest]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Empty maps with direction markers built-in are now called "locator maps".}}
{{History|||snap=alpha 1.1.0.3|"Locator maps" are now called "empty locator maps".
|Empty maps are now [[trading|sold]] by cartographer [[villager]]s for 7-11 [[emerald]]s as their tier 3 [[trading|trade]].}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Maps can now be found inside map room [[chest]]s in [[shipwreck]]s.}}
{{History||?|The texture of the filled map overlay has been changed.}}
{{History||?|Maps now function in dimensions other than the dimension in which they were created.}}
{{History||1.10.0|snap=beta 1.10.0.3|Maps can now be found in cartographer house [[chest]]s in [[village]]s.
|[[File:Empty Map JE2 BE2.png|32px]] The texture of empty maps has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Empty maps can now be created from 1 [[paper]] in [[cartography table]]s.
|Maps can now be zoomed, cloned, renamed, and have pointers added in cartography tables.}}
{{History|||snap=beta 1.11.0.4|Cartographer [[villager]]s now [[trading|sell]] empty map for an [[emerald]] as their first tier [[trading|trades]].
|Empty locator maps can now be [[trading|bought]] from cartographer villagers.}}
{{History||1.13.0|snap=beta 1.13.0.1|[[File:Map (item) BE3.png|32px]] [[File:Locked Map (item) BE2.png|32px]] Filled maps and locked maps now have unique inventory icons.}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed, novice-level cartographer now sell an empty map for 7 emeralds. Cartographer villager no longer sell empty locator map.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of maps have been changed from <code>emptymap</code> to <code>empty_map</code> and <code>map</code> to <code>filled_map</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Map (item) JE1 BE1.png|32px]] Added maps. 
|The [[player]] spawns with a free map. 
|Maps are available only as zoom step 3 maps centered at coordinates 0,0. Biome colors do not appear on maps.}}
{{History||xbox=none|xbone=CU1|ps=1.0|wiiu=none|Larger sized worlds on Xbox One, Playstation 4, and Nintendo Switch have zoom step 3 maps aligned to a grid with maps centered at 0, 1024, or 2048 on the X or Z coordinates.}}
{{History||xbox=TU21|xbone=CU9|ps=1.14|wiiu=Patch 1|[[File:Empty Map JE1 BE1.png|32px]] [[Crafting]] a map now produces an empty map.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|The outer end islands appear on different maps; even on Xbox 360, Playstation 3, Vita, and Wii U editions.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Empty Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures of maps have been changed.}}
{{History||ps=1.91|Maps can now be created and used in [[cartography table]]s.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Use of the {{key|F1}} key can allow the player to hold a map without blocking their view at all.
* In ''Java Edition'', a map created using {{cmd|give}} can be any map by using the Map parameter to specify the map number desired. E.g. {{cmd|give [player] minecraft:filled_map{map:5<nowiki>}}} gives the specified player map_5. If no data value is supplied it defaults to map_0. If map_0 has not ever been crafted, it is centered on x=0, z=0.
* The maps are stored separately as their own data (<code>.dat</code>) file as <code>map_x.dat</code> with (x) being the map number, see [[map item format]] for more info. By manipulating this number, players can organize their maps to suit them, or if they accidentally create a map in the same location, they can delete their extra map so as to save the number they make.
* Certain programs can be used to make customized maps with images or text on them instead of actual maps, many people use these in adventure maps to show pictures or to tell a story.
* Since all copies of a map are links to the same file, copying an unfinished map keeps it synchronized with the copy as the player fills it in. Thus, a copy stored in a chest can act as a remote backup.
* A map that is in an item frame does not update itself until a player picks it up, lets it reload, and places it back again. However, if a player holds a clone of the map, both maps update.
* Filled maps are the only items that make 90 degree rotations in item frames, and also the only items that can expand the item frame into full block wide.
* On [[Legacy Console Edition]], the player always spawns with a map in their inventory after creating a world. This was later added to Bedrock Edition as an optional feature in the world creation menu.
* Maps on Legacy Console Edition always show the player's current coordinates, as a substitute for the optional [[Coordinates|coordinate display]] in other editions.
* A map cannot be created on [[New Nintendo 3DS Edition]]. Instead, the map is always displayed on the bottom screen along with the coordinates. Biome colors do not appear on maps.

== Gallery ==
<gallery>
MapItem1.png|A fully zoomed map.
MapRotation.png|Having a map in hand does not stop the ability to see ahead.
MapItem3.png|A world being recorded onto a map.
Mcmap4.png|Nearly fully explored map.
Zoomed Map.png|A map edited to the scale of 1.
Sky Map.png|A map mapping the [[Sky Dimension]].
MapOfVillage.png|A village and how it is represented on a map.
Pumpkin map.png|A map containing a custom image made by placing a large number of blocks.
Complete Map.png|A completely explored map.
MapZooms.png|A diagram showing how maps zoomed out before [[Java Edition 1.8]]. Notice how the larger maps have borders made of half and quarter small maps.
Map18zooms.png|From 1.8, zoomed maps are aligned to this grid exactly.
Large Biome Map.png|A map of a [[Large Biomes]] world.
Map0140-0160.png|A comparison of maps between versions in Pocket Edition Alpha [[Pocket Edition Alpha 0.14.0|0.14.0]] and [[Pocket Edition Alpha 0.16.0|0.16.0]].
Mycelium Map.png|A map view of a mushroom biome, showing that mycelium appears purple on a map.
MiniMap.png|Maps held in the off-hand or in either hand while [[dual wielding]] appear as mini-maps.
Partly filled treasure map.png|Partly filled treasure map with an odd area at the bottom left. Normally a partly filled map would look striped (as in the top left), but this map seems to be bugged and is possibly showing caves, or something, in the bottom left.
Partly filled ocean explorer map.png|Partly filled ocean explorer map. Updating the game from an older version (in this case the area was first generated before 1.18) and buying a map after updating (in this case in 1.19.4) can result in the map displaying rivers and terrain where there is really a frozen sea.
Map Stained Glass 1.png|Stained glasses' appearances on maps before and after 1.13.
Map Stained Glass 2.png|Stained glasses' appearances on maps before and after 1.13.
Map Various Blocks 1.png|Various blocks' appearances on maps before and after 1.13.
Map Various Blocks 2.png|Various blocks' appearances on maps before and after 1.13.
Better Together Map.jpg|Holding a map in the offhand in ''Bedrock Edition''.
Better Together Map Icon.jpg|Holding a map in both hands in ''Bedrock Edition''.
File:MapFailedtoFill.png|A map that has not yet filled. A rare bug in Java.
</gallery>

=== The Nether ===
<gallery>
Nethermap.png|A map in [[the Nether]].
Maponnether.png|A map in the Nether; the arrow turns around itself, like in [[compass]].
</gallery>

=== The End ===
<gallery>
Jeb End Map.png|The first image of a map in [[the End]].
Endmap.png|A map in the End.
</gallery>

=== Maps in item frames ===
<gallery>
FramedMap.png|A map displayed on an item frame, as it looked before [[Java Edition 1.7.2]].
Structure Map Collection.png|Multiple maps in item frames. Notice a [[village]], two [[desert temple]]s and a lava lake.
Minecraft maps 3by3.png|A collection of 9 connected full maps.
Full Map.png|A combination of 25 maps pasted together as one map.
Map wall BE.png|A map wall on ''Bedrock Edition'', showing large areas of biome colors for each biome.
Map's in item frames.png|Maps can be placed into [[item frame]]s so they can be viewed together.
Comparing Maps.png|The comparison between 3 zooms of maps.
SuperflatMap.png|A map in a [[Superflat]] world, with some [[village]]s.
MapWallWithMarkers.png|A 3x3 map wall with banner markers.
HEYYEYAAEYAAAEYAEYAA.png|He-Man map art.
Map Player Icons 1.png|First image of player icons on maps.
Map Player Icons 2.png|Second image of player icons on maps.
</gallery>

== See also ==
* [[Explorer Map]]
* [[Clock]]
* [[Tutorials/Navigation|Navigation]]

== References ==
{{Reflist}}

{{Items}}

[[cs:Mapa]]
[[de:Karte]]
[[es:Mapa]]
[[fr:Carte (objet)]]
[[hu:Térkép (tárgy)]]
[[ja:地図]]
[[ko:지도]]
[[nl:Kaart]]
[[pl:Mapa]]
[[pt:Mapa]]
[[ru:Карта]]
[[tr:Harita]]
[[th:แผนที่]]
[[uk:Мапа]]
[[zh:地图]]
[[Category:Renewable resources]]</li></ul></nowiki>
18w02aAdded cave sound 19.
18w10aAdded 22 different underwater ambient sounds.
1.16
{{Extension DPL}}<ul><li>[[Glass Bottle|Glass Bottle]]<br/>{{about|the empty bottle||Bottle}}

{{Item
| image = Glass Bottle.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''glass bottle''' is an [[item]] that can hold [[water]], [[potion]]s, [[Honey Bottle|honey]], or [[dragon's breath]].

== Obtaining ==

Glass bottles can be obtained by crafting, drinking from bottles, [[fishing]], or from [[witch]] drops.

=== Crafting ===

{{Crafting
|A2= Glass
|C2= Glass
|B3= Glass
|Output= Glass Bottle,3
|type= Brewing
}}

=== Drinking ===

Drinking a [[potion]] or [[Honey Bottle|honey bottle]] returns the empty glass bottle. Throwing a splash potion or a lingering potion does not return a glass bottle, but brewing a lingering potion gives back a glass bottle.

=== Mob loot ===

[[Witch]]es have a chance of dropping 0–6 glass bottles upon death. This is increased by 3 per level of [[Looting]], for a maximum of 0–15 glass bottles.

=== Mud ===

{{control|Using}} a [[water bottle]], [[splash water bottle]] or [[lingering water bottle]] on [[dirt]], [[coarse dirt]] or [[rooted dirt]] will transforming it into a [[mud]] block, at the same time leaving the player with an empty glass bottle.

=== Cauldrons ===

{{control|Using}} a water bottle (or, {{in|bedrock}}, a potion, splash potion, or lingering potion) on a [[cauldron]] that is not yet full adds that liquid to the cauldron, leaving the player with an empty glass bottle.

== Usage ==

Glass bottles can be filled to make [[water bottle]]s, which can then be used to [[brew]] items with a [[brewing stand]]. Glass bottles are also used to hold the resulting [[potion]].

=== Collecting liquids ===

==== Water ====
A bottle may be filled with water by holding it in the hand and {{control|using}} it on a [[water]] source block or a [[cauldron]] that has water in it. It can also be filled using a waterlogged block.{{only|java}}<ref>{{bug|MCPE-83420}}</ref>

Also, a bottle may be filled by powering a [[dispenser]] containing a bottle and pointed at a water source block. This does not work with cauldrons.<ref>{{bug|MC-165196|||Invalid}}</ref>

If filled via a water source, the water is unaffected. If filled via a cauldron, {{frac|1|3}} of the water in the cauldron is removed. Therefore, using a cauldron to fill water bottles is inefficient, except in [[the Nether]] where it is normally the only way to fill bottles.

==== Potion ====
{{IN|bedrock}}, a bottle may be filled with potion by {{control|using}} it on a [[cauldron]] containing potion. When the bottle is filled, {{frac|1|3}} of the cauldron's potion is removed.

==== Honey ====
If a [[beehive|bee nest]] or [[beehive]] is full, the player can {{control|use}} a glass bottle on the block, or may power a [[dispenser]] that contains a bottle and is pointed at the block, which empties the block and creates a [[honey bottle]]. Honey bottles can also be emptied by using them in crafting recipes (such as [[sugar]] or [[honey block]]). However, a lingering potion use on tipped arrow recipe does not give the bottle back.

==== Dragon's breath ====
{{control|Using}} a glass bottle in clouds emitted when the [[ender dragon]] breathes or shoots a [[dragon fireball]] fills the bottle with [[dragon's breath]].

When put 2 or more dragon's breath in the brewing stand, after the brewing process, a glass bottle will drop as an [[Item (entity)|entity]]. However, if put only 1 dragon's breath in the brewing stand, after the brewing process, the glass bottle is consumed and cannot be retrieved.<ref>{{bug|MC-259583}}</ref>

=== Trading ===

Expert-level cleric [[villager]]s have a 50% chance to buy 9 glass bottles for one [[emerald]] as part of their trade.{{only|bedrock}}

Expert-level cleric villagers have a {{frac|2|3}} chance to buy 9 glass bottles for one emerald.{{only|java}}

=== Crafting ingredients ===
{{Crafting usage|Glass Bottle}}

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|subtitle=Bottle fills
|source=block
|description=When a bottle is filled with a liquid from a cauldron, or honey from a bee nest or beehive
|id=item.bottle.fill
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Bottle fills
|source=neutral
|description=When a bottle is filled with water from a water source
|id=item.bottle.fill
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|subtitle=Bottle empties
|source=block
|description=When a water bottle is emptied
|id=item.bottle.empty
|translationkey=subtitles.item.bottle.empty
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bottle fill dragon breath1.ogg
|sound2=Bottle fill dragon breath2.ogg
|subtitle=Bottle fills
|source=neutral
|description=When a bottle is filled with dragon's breath
|id=item.bottle.fill_dragonbreath
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|java}}:
{{Sound table
|type=bedrock
|rowspan=4
|sound=Water Splash Old.ogg
|source=block
|description=When water from a bottle is placed in a cauldron<wbr><ref group=sound name=potionsplash>{{Bug|MCPE-174867}}</ref>
|id=cauldron.fillwater
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When water from a bottle is taken from a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.takewater
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When a bottle is filled with a potion from a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.fillpotion
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When a potion bottle is emptied into a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.takepotion
|volume=0.1
|pitch=1.0}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|source=sound<!--bottle-->
|description=When a bottle is emptied<wbr>{{Upcoming|BE 1.20.40}}
|id=bottle.empty
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|source=sound<!--bottle-->
|description=When a bottle is filled<wbr>{{Upcoming|BE 1.20.40}}
|id=bottle.fill
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fill water bucket1.ogg
|sound2=Fill water bucket2.ogg
|sound3=Fill water bucket3.ogg
|source=block
|description=When a bottle is filled with honey from a bee nest or beehive<wbr><ref group=sound>{{Bug|MCPE-53881}}</ref>
|id=bucket.fill_water
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bottle fill dragon breath1.ogg
|sound2=Bottle fill dragon breath2.ogg
|source=sound
|description=When a bottle is filled with dragon's breath
|id=bottle.dragonbreath
|volume=0.7<wbr>{{Until|BE 1.20.40}}<br>1.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glass Bottle
|spritetype=item
|id=427
|nameid=glass_bottle
|form=item
|foot=1}}

== Achievements ==

{{Load achievements|You Need a Mint;Local Brewery;Bee Our guest}}

== Advancements ==
{{load advancements|Local Brewery;You Need a Mint;Bee Our Guest}}

== History ==
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Glass Bottle JE1 BE1.png|32px]] Added glass bottles.}}
{{History|||snap=Beta 1.9 Prerelease 3|[[File:Water Bottle JE1 BE1.png|32px]] Glass bottles have been given their sole function of picking up [[water]] for the [[brewing]] of [[potion]]s.}}
{{History||1.4.2|snap=12w38b|[[Witch]]es now have a chance of [[drops|dropping]] glass bottles upon [[death]].}}
{{history||1.9|snap=15w33a|[[File:Dragon's Breath JE1 BE1.png|32px]] Glass bottles can now be used to obtain [[dragon's breath]].}}
{{history|||snap=15w43a|A glass bottle can be found in the [[brewing stand]] in an [[igloo]] basement.}}
{{history|||snap=15w43c|The glass bottle has been removed from igloo basements.}}
{{History|||snap=15w50a|Added [[sound]]s: <code>item.bottle.fill</code> and <code>item.bottle.fill_dragonbreath</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 374.}}
{{History||1.14|snap=18w43a|[[File:Glass Bottle JE2 BE2.png|32px]] [[File:Water Bottle JE2 BE2.png|32px]] [[File:Dragon's Breath JE2 BE2.png|32px]] The textures of glass bottles, [[water bottle]]s and [[dragon's breath]] have been changed.}}
{{History|||snap=19w11a|Cleric [[villager]]s now [[trading|buy]] glass bottles.}}
{{History||1.15|snap=19w34a|[[File:Honey Bottle JE1.png|32px]] Glass bottles can now be used to collect [[Honey Bottle|honey]].
|[[Dispenser]]s may now use glass bottles to collect [[water]] and honey.}}
{{History|||snap=19w46a|Using glass bottles to collect honey now unlocks the [[Bee Our Guest]] advancement.}}
{{History||1.19|snap=22w11a|Converting [[dirt]], [[coarse dirt]] or [[rooted dirt]] into [[mud]] using a [[water bottle]], [[splash water bottle]] or [[lingering water bottle]] now leaves the player with an empty glass bottle.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Glass Bottle JE1 BE1.png|32px]] Added glass bottles.}}
{{History||v0.14.0|snap=build 1|Glass bottles can now be used to empty [[cauldron]]s filled with [[water]] or [[potion]]s.
|Glass bottles can now be dropped by [[witch]]es.
|Potions and [[splash potion]]s can now be used to fill cauldrons, which turns them into glass bottles.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Dragon's Breath JE1 BE1.png|32px]] Glass bottles can now be used to obtain [[dragon's breath]].
|[[Lingering potion]]s can now be used to fill [[cauldron]]s, which turns them into glass bottles.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Glass Bottle JE2 BE2.png|32px]] The texture of glass bottles has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Glass bottles can now be [[trading|sold]] to cleric [[villager]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Honey Bottle BE1.png|32px]] Glass bottles can now be used to collect [[Honey Bottle|honey]].
|[[Dispenser]]s may now use glass bottles to collect [[water]] and honey.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Glass Bottle JE1 BE1.png|32px]] Added glass bottles.}}
{{History|PS4}}
{{History||1.90|[[File:Glass Bottle JE2 BE2.png|32px]] The texture of glass bottles has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Glass Bottle JE1 BE1.png|32px]] Added glass bottles.}}
{{History||1.7.10|[[File:Dragon's Breath JE1 BE1.png|32px]]  Glass bottles can now be used to obtain [[dragon's breath]].}}
{{history|foot}}

== Issues ==
{{issue list}}

==References==
{{Reflist}}

{{Items}}

[[cs:Lahvička]]
[[de:Glasflasche]]
[[es:Frasco de cristal]]
[[fr:Fiole]]
[[hu:Üvegpalack]]
[[it:Ampolla]]
[[ja:ガラス瓶]]
[[ko:유리병]]
[[nl:Glazen fles]]
[[pl:Szklana butelka]]
[[pt:Frasco]]
[[ru:Колба]]
[[zh:玻璃瓶]]
[[Category:Renewable resources]]</li><li>[[Leather|Leather]]<br/>{{About||the leather from rabbits|Rabbit Hide|the armor material|Armor materials}}
{{Item
| image = Leather.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Leather''' is an [[item]] used to make [[item frame]]s, [[armor]] and [[book]]s.

== Obtaining ==

=== Mob loot ===

Upon death, [[cow]]s, [[mooshroom]]s, [[horse]]s, [[donkey]]s, [[mule]]s, [[llama]]s and [[trader llama]]s drop 0–2 leather, while [[hoglin]]s drop 0–1 leather. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 5 leather (4 leather from hoglins) with Looting III.

A [[fox]] sometimes spawns holding leather, which always drops upon death. Alternatively, a player can drop a [[food]] item, causing the fox to drop the leather.

=== Fishing ===

Leather can be obtained as a "junk" item from [[fishing]].

=== Crafting ===

{{Crafting
  |A1= Rabbit Hide |B1= Rabbit Hide
  |A2= Rabbit Hide |B2= Rabbit Hide
  |Output=Leather
  |type=Material
}}

=== Chest loot ===

{{LootChestItem|leather}}

=== Villager gifts ===

{{in|java}}, leatherworker [[villager]]s throw leather at players under the [[Hero of the Village]] effect.

=== Bartering ===
[[Piglin]]s may [[barter]] 2-4 leather when given a [[gold ingot]].

== Usage ==

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

=== Trading ===

Novice-level leatherworker villagers have a {{frac|2|3}} chance to [[trading|buy]] 6 leather for one [[emerald]] {{in|java}}, and always offer the trade {{in|bedrock}}.

=== Repairing ===

Leather is the repair item for the [[armor materials|leather armor]], and thus can be used to [[item repair|repair]] the following items in an [[anvil]]:
* {{ItemLink|Leather cap}}
* {{ItemLink|Leather tunic}}
* {{ItemLink|Leather pants}}
* {{ItemLink|Leather boots}}

== Achievements ==
{{load achievements|Cow Tipper}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Leather
|spritetype=item
|nameid=leather
|itemtags=ignored_by_piglin_babies
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leather
|spritetype=item
|nameid=leather
|id=381
|form=item
|foot=1}}

== History ==

{{History|java alpha}}
{{History||v1.0.8|[[File:Leather JE1 BE1.png|32px]] Added leather.
|Leather [[drops]] from [[cow]]s.
|The [[crafting]] recipe for leather [[armor]] has been changed from cloth to leather (leather armor was previously [[craft]]ed with [[wool]], and was called "cloth armor" in the game code).}}
{{History||v1.0.17|[[Chicken]]s in [[Survival]] [[multiplayer]] now [[drop]] leather if killed by [[fire]], fall [[damage]] or [[cactus]].}}
{{History||v1.2.6|Chickens dropping leather was fixed by this version at the latest.{{when|It would be nice to know exactly when. It's at most a 3 1/2 month bug, though it was at the beginning. Might count as short-lived.}}.}}
{{History|java}}
{{History||1.3.1|snap=12w17a|Leather is now required to craft [[book]]s.}}
{{History||1.4.2|snap=12w34a|Leather is now used to craft the newly added [[item frame]]s.}}
{{History||1.6.1|snap=13w16a|Leather is now used to craft [[horse saddle]]s.|[[Horse]]s now [[drop]] leather.}}
{{History|||snap=13w18a|Leather is no longer used to craft [[horse saddle]]s.}}
{{History||1.7.2|snap=13w36a|Leather can be obtained as one of the "junk" [[item]]s in [[fishing]], making it possible to obtain it without killing any [[animal]]s.}}
{{History||1.8|snap=14w02a|Leather can now be [[trading|sold]] to leatherworker [[villager]]s, at 9–12 leather for 1 [[emerald]].}}
{{History|||snap=14w27b|Leather can now be crafted using 4 [[rabbit hide]].}}
{{History||1.9|snap=15w41a|Leather can now be used to repair [[elytra]].}}
{{History||1.11|snap=16w39a|[[Llama]]s now [[drop]] leather.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 334.}}
{{History|||snap=18w07a|[[Phantom]]s now drop leather.}}
{{History|||snap=18w14a|Phantoms no longer [[drop]] leather.
|[[Phantom membrane]]s are now used to repair [[elytra]], instead of leather.}}
{{History||1.14|snap=18w43a|[[File:Leather JE2 BE2.png|32px]] The texture of leather has been changed.}}
{{History|||snap=18w48a|Leather can now be found in chests in [[village]] tanneries.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with leather in their mouths.}}
{{History|||snap=19w08a|Leather is now used to [[craft]] leather [[horse armor]].}}
{{History|||snap=19w13a|Leatherworker villagers now give leather to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w07a|Leather is dropped by the new [[hoglin]]s.
|Leather has a {{frac|5|109}} (~4.59%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 2–7.}}
{{History|||snap=20w09a|Leather now has a {{frac|20|226}} (~8.84%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w16a|Leather now generates in [[bastion remnants]] chests.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Leather JE1 BE1.png|32px]] Added leather. It is currently unobtainable and serves no purpose.}}
{{History||v0.6.0|Leather is now obtainable by killing [[cow]]s.
|Leather can be used to craft leather [[armor]].}}
{{History||v0.11.0|snap=build 1|Leather can now be obtained as one of the "junk" [[item]]s in [[fishing]], making it possible to obtain it without killing any [[animal]]s.}}
{{History||v0.12.1|snap=build 1|Leather is now required to craft [[book]]s.}}
{{History||v0.13.0|snap=build 1|Leather can now be [[craft]]ed using 4 [[rabbit hide]].}}
{{History||v0.15.0|snap=build 1|Leather is now used to craft leather [[horse armor]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Leather can now be used to repair [[elytra]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|9-12 leather can now be [[trading|sold]] to leatherworker [[villager]]s.}}
{{History|bedrock}}
{{History||1.6.0|snap=beta 1.6.0.5|[[Phantom membrane]]s are now used to repair [[elytra]], instead of leather.}}
{{History||1.10.0|snap=beta 1.10.0.3|Leather can now be found in [[village]] tannery house [[chest]]s.
|[[File:Leather JE2 BE2.png|32px]] The texture of leather has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, leatherworker [[villager]]s now [[trading|buy]] 6 leather for an [[emerald]].}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can drop leather.}}
{{History||1.16.0|snap=beta 1.16.0.57|Hoglins now drop leather.
|Leather can now be obtained from bartering with piglin.
|Leather can now be found in [[bastion remnants]] chests.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Leather JE1 BE1.png|32px]] Added leather.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Leather is now used to [[craft]] leather [[horse armor]].}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[Phantom membrane]]s are now used to repair [[elytra]], instead of leather.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Leather JE2 BE2.png|32px]] The texture of leather has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Leather JE1 BE1.png|32px]] Added leather.}}
{{History|foot}}

== Issues ==

{{issue list}}


{{Items}}

[[Category:Renewable resources]]

[[cs:Kůže]]
[[de:Leder]]
[[es:Cuero]]
[[fr:Cuir]]
[[hu:Bőr]]
[[it:Cuoio]]
[[ja:革]]
[[ko:가죽]]
[[nl:Leer]]
[[pl:Skóra]]
[[pt:Couro]]
[[ru:Кожа]]
[[th:หนังสัตว์]]
[[uk:Шкіра]]
[[zh:皮革]]</li></ul>
20w10aAdded 95 different nether ambient sounds for the nether wastes, crimson forest, warped forest,and soul sand valley.
Cave sounds can no longer be played at different pitches. Prior to this snapshot, Cave 1, 5, and 13 could be heard at pitches ranging from 0.65× to 1.0× the base pitch.
20w12aThere is now a new mood detection algorithm for cave ambience. Two factors increase the mood gradually: Being underground and being in low light levels. The mood works by increasing or decreasing the percentage between 0% and 100%, and when it reaches 100%, cave ambience plays. The percentage can be seen in the debug screen.
20w15aAdded 31 new ambient sounds for the basalt deltas. 9 more ambient sounds are reused.
Bedrock Edition
1.16.0
{{Extension DPL}}<ul><li>[[Paper|Paper]]<br/>{{Item
| image = Paper.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Paper''' is an item crafted from [[sugar cane]].

== Obtaining ==

=== Chest loot ===

{{LootChestItem|paper}}

=== Crafting ===

{{Crafting
|A2= Sugar Cane |B2= Sugar Cane |C2= Sugar Cane
|Output= Paper,3
|type= Miscellaneous
}}

=== Villagers ===
{{IN|java}}, cartographer [[Villager|villagers]] may give paper to players with the [[Hero of the Village]] effect.

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Anvil usage ===

{{:Map/BE|zoom}}

=== Trading ===

{{IN|bedrock}}, novice-level librarian and cartographer villagers buy 24 paper for an [[emerald]] as part of their trades.

{{IN|java}}, novice-level cartographer villagers always offer to buy 24 paper for an emerald, while novice-level librarians have a {{frac|2|3}} chance of offering the same trade.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Paper
|spritetype=item
|nameid=paper
|id=386
|form=item
|foot=1}}

==History==

{{History|java alpha}}
{{History||v1.0.11|[[File:Paper JE1 BE1.png|32px]] Added paper, which can be used to craft [[book]]s.}}
{{History|java beta}}
{{History||1.6|snap=Test Build 3|Paper can now be used to craft [[map]]s.}}
{{History||1.8|snap=Pre-release|Paper can now be found in the new [[stronghold]] library [[chest]]s.}}
{{History|java}}
{{History||1.3.1|snap=12w21a|Paper can now be [[trading|sold]] to librarian [[villager]]s, at 24–35 paper for 1 [[emerald]].}}
{{History||1.4.2|snap=12w34a|Paper can now be used to craft an empty [[map]].
|Maps start out at their closest zoom level and can be extended by adding more paper.}}
{{History||1.4.6|snap=12w49a|Paper can now be used to craft [[firework rocket]]s.}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: librarian [[villager]]s now [[trading|buy]] 24–46 paper for 1 [[emerald]].}}
{{History||1.9|snap=15w43a|The average yield of paper from [[stronghold]] library [[chest]]s has more than doubled.}}
{{History||1.11|snap=16w39a|Added cartographer [[villager]]s, which [[trading|buy]] paper as their tier 1 trade.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 339.}}
{{History|||snap=18w11a|Paper now generates in the [[chest]]s of some [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Paper JE2 BE2.png|32px]] The texture of paper has now been changed.
|Paper can now be used to craft [[banner pattern]]s.}}
{{History|||snap=18w48a|Paper can now be found in chests in [[village]] cartographer houses.}}
{{History|||snap=19w02a|Paper can now be used to craft a [[cartography table]].}}
{{History|||snap=19w13a|Cartographer villagers now give paper to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Paper JE1 BE1.png|32px]] Added paper. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.0|Paper is now [[craft]]able, and can be used to craft [[book]]s.}}
{{History||v0.14.0|snap=build 1|Paper can now be used to craft empty [[map]]s and empty locator maps.
|Paper can now be used to zoom in maps, using [[anvil]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=?|The [[Windows 10 Edition]] can now use the [[anvil]], as well as the [[crafting table]], to zoom in [[map]]s, just as [[Pocket Edition]] in general can.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|buy]] 24–36 paper for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.3|Added cartographer villagers, which [[trading|buy]] 24–36 paper as their tier 1 trade.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Paper can now be used to craft [[firework rocket]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Paper can now be found inside [[chest]]s of some [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Paper JE2 BE2.png|32px]] The texture of paper has now been changed.
|Paper can now be found in cartographer house chests in [[village]]s.
|Paper can now be used to craft [[banner pattern]]s and [[cartography table]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Librarian and cartographer villagers now buy 24 paper for an [[emerald]].}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Paper JE1 BE1.png|32px]] Added paper.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Paper JE2 BE2.png|32px]] The texture of paper has now been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Paper JE1 BE1.png|32px]] Added paper.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{Reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/paper Taking Inventory: Paper] – Minecraft.net on August 4, 2023

{{Items}}

[[cs:Papír]]
[[de:Papier]]
[[es:Papel]]
[[fr:Papier]]
[[hu:Papír]]
[[ja:紙]]
[[ko:종이]]
[[nl:Papier]]
[[pl:Papier]]
[[pt:Papel]]
[[ru:Бумага]]
[[th:กระดาษ]]
[[uk:Папір]]
[[zh:纸]]
[[Category:Renewable resources]]</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>
beta 1.16.0.57Added cave and mood nether ambience.
beta 1.16.0.59The frequency of cave and nether ambience has been tweaked.
1.16.210
{{Extension DPL}}<ul><li>[[Knowledge Book|Knowledge Book]]<br/>{{exclusive|java}}
{{Item
| image = Knowledge Book.png
| renewable = No
| stackable = No
| rarity = Epic
}}
A '''knowledge book''' is a utility item that reveals available [[crafting]] recipes to the player when {{control|used|use}}.

== Obtaining ==
Knowledge books can be obtained only by using [[commands]], as it is not found in the [[creative]] inventory; therefore, it is impossible to obtain in other modes such as [[survival]] and [[adventure]] except with commands.

For example, to give oneself a knowledge book that reveals the recipes for [[bucket]]s and [[flower pot]]s, use: {{cmd|give @s minecraft:knowledge_book{Recipes:["minecraft:bucket", "minecraft:flower_pot"]} }}.

== Usage ==
Knowledge books are used to reveal recipes to the player who uses it, by adding it to their [[recipe book]]. Using a knowledge book consumes it, removing it from the player's inventory.

Knowledge books are especially useful to mapmakers in conjunction with {{cmd|gamerule doLimitedCrafting true}}, because then any item is craftable only if its recipe is unlocked first.

== Sounds ==
{{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 knowledge book 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 knowledge book 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}}

== Data values ==
=== ID ===
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Knowledge Book
|spritetype=item
|nameid=knowledge_book
|form=item
|foot=1}}

=== Item data ===
Recipe books use the NBT tag <code>Recipes</code> to indicate the recipes they contain.

''The following NBT structure is provided to show how the <code>Recipes</code> tag is organized, and is not comprehensive above the <code>tag</code> tag. The full NBT for an item can be found [[Chunk format#Items and XP Orbs|here]].''

<div class="treeview" style="margin-top: 0;">
* {{nbt|compound}} Entity data
** {{nbt|compound|Item}}: The item
*** {{nbt|compound|tag}}: Additional information about the item. This tag is optional for most items.
**** {{nbt|list|Recipes}}: The list of recipes this book contains.
***** {{nbt|string}} the name of a recipe, for instance <code>minecraft:gold_nugget</code> or <code>minecraft:gold_ingot_from_nuggets</code>
</div>

== History ==
{{History|java}}
{{History||1.12|snap=17w13a|[[File:Knowledge Book JE1.png|32px]] Added knowledge books.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 453.}}
{{History||1.14|snap=18w43a|[[File:Knowledge Book JE2.png|32px]] The texture of knowledge books has now been changed.}}
{{History||1.20|snap=1.20 Release Candidate 1|Knowledge books can now be placed in [[chiseled bookshelf|chiseled bookshelves]].}}
{{History|Foot}}

== Issues ==
{{Issue list}}

== See also ==
* [[Book]]
* [[Enchanted Book]]
* {{cmd|recipe}} command

{{Items}}

[[Category:Non-renewable resources]]

[[de:Buch des Wissens]]
[[es:Enciclopedia]]
[[fr:Livre des connaissances]]
[[ja:知恵の本]]
[[ko:지식의 책]]
[[lzh:天工開物]]
[[pl:Księga wiedzy]]
[[pt:Enciclopédia]]
[[ru:Книга знаний]]
[[zh:知识之书]]</li><li>[[Super Fertilizer|Super Fertilizer]]<br/>{{education feature}}
{{Exclusive|Bedrock|Education}}
{{Item
| image = Super Fertilizer.png
| renewable = No
| stackable = Yes (64)
}}
'''Super fertilizer''' is a powerful form of [[bone meal]] that is created using [[ammonia]] and [[phosphorus]].

== Obtaining ==

=== Lab table ===
{| class="wikitable"
! Result
! Materials Needed
|-
!rowspan=2|{{slot|Super Fertilizer}}<br>[[Super Fertilizer]]
|{{slot}}{{slot|Ammonia|link=Compound}}{{slot|Phosphorus|link=Element}}{{slot}}
|-
|<center>[[Compound|Ammonia]], [[Element|Phosphorus]]</center>
|}

== Usage ==

Super fertilizer can be used in the same way as bone meal. It produces more [[flowers]] in a larger area when used on [[grass block]]s compared to bone meal. When super fertilizer is used on a [[sapling]], a [[tree]] is instantly grown after one use, instead of multiple uses as with bone meal. Super fertilizer matures crops with a single use.

Note that super fertilizer does not instantly grow a hanging [[mangrove propagule]]. This could be a bug.

== Sounds ==
{{Sound table
|type=bedrock
|sound=Gravel hit1.ogg
|sound2=Gravel hit2.ogg
|sound3=Gravel hit3.ogg
|sound4=Gravel hit4.ogg
|source=player
|description=When super fertilizer is created by a [[lab table]]
|id=step.gravel
|volume=1.0
|pitch=0.2/0.4}}
{{Sound table
|sound=Bonemeal1.ogg
|sound2=Bonemeal2.ogg
|sound3=Bonemeal3.ogg
|sound4=Bonemeal4.ogg
|sound5=Bonemeal5.ogg
|description=When super fertilizer is successfully used
|source=Blocks
|id=item.bone_meal.use
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Super Fertilizer
|spritetype=item
|nameid=rapid_fertilizer
|id=597
|form=item
|foot=1}}

== History ==
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Super Fertilizer BE1.png|32px]] Added super fertilizer.}}

{{History|education}}
{{History||1.0.27|[[File:Super Fertilizer BE1.png|32px]] Added super fertilizer.}}
{{History|foot}}

{{items}}
{{Education Edition}}

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

[[de:Superdünger]]
[[ja:スーパー肥料]]
[[ko:슈퍼 비료]]
[[lzh:神肥]]
[[pl:Supernawóz]]
[[pt:Super fertilizante]]
[[uk:Супердобриво]]
[[zh:超级肥料]]</li></ul>
beta 1.16.210.50Added more nether ambience for the nether wastes, crimson forest, warped forest, basalt delta and soul sand valley.
Legacy Console Edition
TU12CU1 1.0 Patch 11.0.1Added 13 different cave ambient sounds.
TU25CU14 1.17 Added an option to disable or enable ambient cave sounds.
TU43CU33 1.36 Patch 13Added cave sounds 15 and 16.
TU46CU36 1.38 Patch 15Added cave sound 14.
TU54CU44 1.52 Patch 241.0.4Added cave sounds 17 and 18.
TU69 1.76 Patch 38Added cave sound 19.

Issues[]

Issues relating to "Ambience", "Cave ambience", "Underwater ambience", or "Nether ambience" are maintained on the bug tracker. Report issues there.

Trivia[]

Sound14 spectrogram

Cave 14 viewed in a spectrogram.

  • When "Cave 14" is viewed in a spectrogram, it appears to show the face of a creeper.
  • Cave ambience is the only ambience that has subtitles.
  • "Warped Forest Additions 1-5" are a mix of vanilla Enderman sounds and those of the Enderman from Minecraft Dungeons.
  • "Warped Forest Addition 6" is actually the sound of an enderman screaming, slowed down, and in reverse.
  • "Warped Forest Mood 9" is actually a slowed-down and reverberated idle sound of the witch.
  • Since the End doesn't have its own set of ambient noises yet, it borrows the mood-based cave noises from the Overworld.[1]
  • "Dark 4" is a slowed and pitched down scream of a Ghast.

See also[]

References[]

Advertisement