Minecraft Wiki
No edit summary
Line 12: Line 12:
 
==Syntax==
 
==Syntax==
   
* '''Java Edition'''
 
: <code>kick <target> [<reason>]</code>
 
   
 
* '''Bedrock Edition'''
 
* '''Bedrock Edition'''

Revision as of 07:20, 5 May 2020

Commands/infobox

Information icon
This feature is exclusive to Java Edition and Minecraft Education. 
Crafting Table
This article describes content that may be included in a future update. 
This content has appeared in development versions, but the full update containing it has not been released yet.

Kicks a player off the server.

Syntax

  • Bedrock Edition
kick <name: target> <reason: message>

Arguments

<targets> (BE: player: target)

Must be a player name or a target selector.
Entities other than players are not allowed.

<reason> (BE: reason: message)

A string that does not require quotation marks and can contain spaces.

Result

Fails if <targets> is not online.

In success, forcibly disconnects <targets> from the server, displaying an optional <reason> to them.

History

Java Edition Classic
0.0.15a (Multiplayer Test 3)
{{Extension DPL}}<ul><li>[[String|String]]<br/>{{Block
| image = <gallery>
String JE2 BE2.png  | String
Tripwire (NESW).png | Tripwire
</gallery>
| extratext = View [[#Gallery|all renders]]
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''String''' is an item used in [[crafting]] recipes such as [[bow]]s, [[fishing rod]]s and [[lead]]s. When placed as a [[block]], string becomes '''tripwire''', which can be combined with [[Tripwire Hook|tripwire hooks]] to form a tripwire circuit.

== Obtaining==
String can be obtained from [[drop]]s, breaking [[cobweb]]s, [[fishing]], [[bartering]], and as gifts from [[cat]]s. String can be looted from [[jungle temple]]s, [[desert pyramid]] chests, and [[dungeon]]s.

===Breaking ===
Tripwire can be {{control|mine|text=mined}} instantly with any [[tool]], dropping string. Tripwire is also removed and drops string as an [[item]] when:
*[[Water]] flows into its space
* A [[piston]] pushes it or moves a [[block]] into its space
Tripwire is destroyed without dropping string if [[lava]] flows into its space.

A [[cobweb]] drops string when it is broken in these ways (see also {{section link|Cobweb|Usage}}):
*Breaking a cobweb with a [[sword]]
*Pushing a cobweb with a [[piston]]
*[[Water]] breaking a cobweb by flowing over it (flowing [[lava]] destroys cobwebs without leaving string)

===Natural generation===
Five pieces of tripwire generate naturally in every [[jungle temple]]. 

===Mob loot ===
[[Spider]]s and [[cave spider]]s drop 0–2 string upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 0–5 string with Looting III.

[[Strider]]s drop 2–5 string upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 2–8 string with Looting III.{{only|Java|short=1}}

[[Cat]]s drop 0–2 string upon death, unaffected by Looting.<ref>{{bug|MC-200707||Looting does not increase drops for iron golems and cats}}</ref>

===Chest loot===
{{LootChestItem|string}}

===Fishing===
String has a 0.6% ({{frac|3|500}}) chance of being caught when [[fishing]] with an unenchanted fishing rod. The chance decreases to 0.5% ({{frac|1|200}}), 0.4% ({{frac|1|250}}), and 0.3% ({{frac|3|1000}}) if the fishing rod is enchanted with [[Luck of the Sea]] at enchantment levels I, II, and III, respectively.

===Cat gifts===
{{main|Cat#Gifts}}

Tamed [[cat]]s have a 70% chance of giving the [[player]] a gift when they wake up from a [[bed]], and the gift has a 16.13% chance to be a string.

===Bartering ===
[[Piglin]]s may [[barter]] 3-9 string when given a [[gold ingot]].

== Usage==
String can be used as a crafting ingredient and tripwire can be used as a [[redstone circuit]] component. It can also be used to keep [[player]]s from ender-pearling through that space.

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

===Redstone component===
{{redirect|Tripwire|tripwire hooks|Tripwire Hook}}
{{see also|Redstone circuits}}

String can be placed as tripwire, which can be used to detect [[entity|entities]] as part of a tripwire circuit. [[Observer]]s can also be used with a tripwire to generate redstone signals. 

;Placement

To place tripwire, {{control|use}} string while pointing at a surface facing the space the tripwire should occupy.

{{Schematic | caption =
'''Tripwire Circuit'''
|SB|th-$w|tw-$ew|th-$e|SB
}}
:In order to activate [[tripwire hook]]s, tripwire must be part of a "tripwire circuit": a straight line of [[block]]s consisting of a block with a tripwire hook attached to it, a "tripwire line" (1 to 40 blocks of tripwire), and a second tripwire hook attached to another block. 

;Activation
Tripwire activates if almost any [[entity]] ([[player]]s, [[mob]]s, [[minecart]]s, [[boat]]s, [[item]]s, [[arrow]]s, etc.) intersects its collision mask. The tripwire remains active until there are no entities intersecting its collision mask. Thrown [[potion]]s, some arrows, thrown [[ender pearl]]s, and thrown [[eyes of ender]] do not activate tripwire.

;Behavior
An active tripwire updates adjacent [[block]]s (for example, it can activate a [[Tutorials/Block update detector|BUD circuit]]). Additionally, active tripwires that are part of valid tripwire circuits cause the attached tripwire hooks to activate (producing [[redstone]] power). Active tripwires do ''not'' themselves produce redstone power.

When tripwire is broken (including by being washed away by spreading [[water]] {{in|java}}) after being part of a valid tripwire circuit, it activates the attached tripwire hooks. {{IN|JE}}, it activates for 5 redstone ticks (10 game [[tick]]s, or 0.5 seconds barring lag). {{IN|BE}}, it activates for 6 redstone ticks (14 game [[tick]]s, or 0.6 seconds barring lag). It does not produce the signal if it is broken using [[shear]]s.

===Trading===
Novice-level fisherman [[villager]]s have a 50% chance to buy 20 string as part of their first-tier trade.

Journeyman-level fletcher villagers buy 14 string for 1 [[emerald]] as part of their trade.

==Sounds==
=== Generic===
{{Sound table/Block/Normal}}

===Unique===
{{edition|java}}:
{{Sound table
|rowspan=3
|sound=Click.ogg
|subtitle=Tripwire attaches
|source=block
|description=When a tripwire line is completed
|id=block.tripwire.attach
|translationkey=subtitles.block.tripwire.attach
|volume=0.4
|pitch=0.7
|distance=16}}
{{Sound table
|subtitle=Tripwire clicks
|source=block
|description=When a tripwire line deactivates
|id=block.tripwire.click_off
|translationkey=subtitles.block.tripwire.click
|volume=0.4
|pitch=0.5
|distance=16}}
{{Sound table
|subtitle=Tripwire clicks
|source=block
|description=When a tripwire line activates
|id=block.tripwire.click_on
|translationkey=subtitles.block.tripwire.click
|volume=0.4
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|subtitle=Tripwire detaches
|source=block
|description=When a tripwire hook in a tripwire line is destroyed
|id=block.tripwire.detach
|translationkey=subtitles.block.tripwire.detach
|volume=0.4
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=3
|sound=Click.ogg
|source=block
|description=When a tripwire line is completed
|id=block.click
|volume=0.2
|pitch=0.7}}
{{Sound table
|type=bedrock
|source=block
|description=When a tripwire line deactivates
|id=random.click
|volume=0.2
|pitch=0.5}}
{{Sound table
|source=block
|description=When a tripwire line activates
|id=random.click
|volume=0.2
|pitch=0.6}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|source=block
|description=When a tripwire hook in a tripwire line is destroyed
|id=block.bowhit
|volume=0.4
|pitch=1.1-1.33
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tripwire
|spritetype=block
|nameid=tripwire
|blocktags=wall_post_override
|form=block}}
{{ID table
|displayname=String
|spritetype=item
|nameid=string
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showaliasids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tripwire
|spritetype=block
|nameid=trip_wire
|aliasid=tripWire
|id=132
|form=block
|itemform=trip_wire
|translationkey=tile.tripWire.name}}
{{ID table
|displayname=String
|spritetype=item
|nameid=string
|id=326
|form=item
|foot=1}}

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

{{/BS}}

==Video==
<div style="text-align:center">
<span style="display:inline-block">{{yt|WUlhmu3JbcQ}}</span>
<span style="display:inline-block">{{yt|-7jEtrETxwc}}</span>
</div>

==History==
{{History|java indev}}
{{History||0.31|snap=20100129|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History|||snap=20100130|[[Bow]]s can now be [[crafting|crafted]] using string.}}
{{History|||snap=20100201-2|[[Wool|Cloth]] can now be crafted using nine string.}}
{{History||20100219|[[Spider]]s now [[drops|drop]] string.}}
{{History|java infdev}}
{{History||20100625-2|String can now be found inside [[chest]]s in the new [[dungeon]]s.}}
{{History|java alpha}}
{{History||v1.1.1|String can now be used to craft [[fishing rod]]s.}}
{{History|java beta}}
{{History||1.5|Introduced [[cobweb]]s, which [[drops|drop]] string when [[breaking|broken]] with a [[sword]].}}
{{History||1.6.6|Wool is now crafted from four string rather than nine.}}
{{History||1.7|Cobwebs now drop string when broken using [[shears]].}}
{{History||1.8|snap=Pre-release|Cobwebs now generate naturally, making them a viable method to obtain string.}}
{{History|java}}
{{History||May 28, 2012|link=none|Tripwire was first revealed on [[Dinnerbone]]'s [[wikipedia:Twitter|Twitter]].<ref>{{tweet|Dinnerbone|207154562711289856|It's a tripwire, yeah.|May 28, 2012}}</ref><ref>{{tweet|Dinnerbone|207155073023868928|You place it yourself. String is now placeable|May 28, 2012}}</ref> Dinnerbone released a [{{ytl|mWuvXIzYcTc}} video] showing him experimenting with tripwire before its release.}}
{{History||1.3.1|snap=12w22a|String can now be placed on the ground as tripwire.}}
{{History|||snap=12w23a|Tripwire can now activated by most [[entity|entities]] (including [[arrow]]s).
|The max distance of tripwire has now been increased from 18 to 40 [[block]]s.
|Tripwire now has a translucent texture.}}
{{History||1.6.1|snap=13w18a|String can now be used to craft [[lead]]s.}}
{{History||1.8|snap=14w02a|String can now be [[trading|sold]] to fletcher and fisherman [[villager]]s, at 15–20 string for 1 [[emerald]].}}
{{History|||snap=release|Tripwire is now translucent.}}
{{History||1.9|snap=15w44a|String now generates in [[desert temple]] [[chest]]s.
|The average yield of string in [[dungeon]] chests has now more than doubled.}}
{{History|||snap=15w49a|The <code>suspended</code> block state has now been removed from tripwire.}}
{{History||1.11|snap=16w39a|String can now be found in [[woodland mansion]] [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 132 and the [[item]]'s was 287.
|Tripwire can now be disarmed.}}
{{History||1.14|snap=18w43a|String can now be used to craft [[crossbow]]s and a [[loom]].
|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}
{{History|||snap=18w44a|[[Cat]]s now drop 0-2 string upon death.
|Cats now offer string as [[Cat#Gifts|gift]]s.}}
{{History|||snap=18w45a|String can now be used to craft [[scaffolding]].}}
{{History|||snap=18w47a|String can now be found inside [[pillager outpost]] [[chest]]s.}}
{{History||1.16|snap=20w09a|String can now be obtained through [[bartering]] with [[piglin]]s.}}
{{History|||snap=20w13a|[[Strider]]s now [[drops|drop]] string upon [[death]].}}
{{History|||snap=20w16a|String now generates in [[bastion remnant]] chests.}}
{{History||1.17|snap=20w45a|String can now be used to craft [[bundle]]s and [[candle]]s.}}
{{History|||snap=21w13a|The model of the tripwire has been tweaked that the underside texture is mirrored.}}
{{History|||snap=21w19a|String can no longer be used to craft bundles and candles.}}
{{History|||snap=Pre-release 1|String can once again used to craft candles.}}
{{History||1.18|snap=Experimental Snapshot 1|String can now once again be used to craft bundles.}}
{{History|||snap=21w37a|String once again can no longer be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|String can now once again be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|String can now be used to craft [[brush]]es.}}
{{History|||snap=1.19.4-pre1|String can no longer be used to craft [[brush]]es.}}
{{History||1.20|snap=23w12a|String can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|String no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; string now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:String JE1 BE1.png|32px]] Added string. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.3|Added spiders, which drop string when they die.
|String can now be used to [[crafting|craft]] [[bow]]s.}}
{{History||v0.4.0|String can now be crafted into [[wool]].}}
{{History||v0.11.0|snap=build 1|String can now be used to craft [[fishing rod]]s.
|String can now be caught as a junk [[item]] from [[fishing]].}}
{{History||v0.13.0|snap=build 1|String can now be placed on the ground as a tripwire.
|String can now be found in [[desert temple]] [[chest]]s.}}
{{History||v0.15.0|snap=build 1|String can now be used to craft [[lead]]s.
|Tripwire now generates in [[jungle temple]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|15-20 String can now be [[trading|sold]] to fletcher and fisherman [[villager]]s for an [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|String can now be found in [[woodland mansion]] [[chest]]s.
|[[Cobweb]]s can now be used to [[crafting|craft]] 9 string.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give the [[player]] string as gifts.
|String can now be used to craft [[scaffolding]].
|[[Cat]]s now [[drops|drop]] 0–2 string.}}
{{History|||snap=beta 1.8.0.10|String can now be used to craft [[crossbow]]s.}}
{{History||1.9.0|snap=beta 1.9.0.0|Tripwire string that is broken now activates, unless broken with [[shears]].}}
{{History||1.10.0|snap=beta 1.10.0.3|String can now be found in [[pillager outpost]] chests.
|String can now be used to craft a [[loom]].
|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, fisherman [[villager]]s now have a 50% chance to [[trading|buy]] 20 string as part of their first-tier trade.
|Fletcher villagers now buy 14 string for an [[emerald]] as their third-tier trade.}}
{{History||1.16.0|snap=beta 1.16.0.57|String can now be obtained through [[bartering]] with [[piglin]]s.
|Added [[strider]]s, which [[drops|drop]] string upon [[death]].
|String can now be found in [[bastion remnant]] chests.}}
{{History||1.17.10|snap=beta 1.17.10.22|String can now be used to craft [[candles]].}}
{{History||1.18.30|snap=beta 1.18.30.26|The ID of tripwire block is changed from <code>tripWire</code> to <code>trip_wire</code>}}
{{History||1.20.10|snap=beta 1.20.10.20|String can no longer be crafted from cobwebs.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History||xbox=TU14|ps=1.04|String can now be placed on the ground as [[tripwire]].}}
{{History||xbox=none|xbone=none|ps=1.88|wiiu=none|switch=none|Tripwires are now activated when [[breaking|broken]], unless broken with [[shears]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}

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

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

== Issues ==
{{Issue list}}

== Gallery ==
<gallery>
Tripwire (NS).png|
Tripwire (N).png|
Tripwire (E).png|
Tripwire (S).png|
Tripwire (W).png|
Tripwire (EW).png|
Tripwire (NE).png|
Tripwire (ES).png|
Tripwire (SW).png|
Tripwire (NW).png|
Tripwire (ESW).png|
Tripwire (NSW).png|
Tripwire (NEW).png|
Tripwire (NES).png|
</gallery>

=== Screenshots ===
<gallery>
DinnerboneTripwireDev3.png|The first image of tripwires [[dinnerbonetweet:207154292593917952|released]] by Mojang.
DinnerboneTripwireDev4.png|An image [[dinnerbonetweet:207294114398605312|released]] by Mojang testing visibility of tripwires from a distance at night.
DinnerboneTripwireDev5.png|The same room viewed from the same angle, in daytime.
Dinnerbone String.png|Power lines made of suspended string blocks.
</gallery>

==References==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--string Taking Inventory: String] – Minecraft.net on May 14, 2020

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

[[Category:Redstone mechanics]]
[[Category:Mechanics]]
[[Category:Mechanisms]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]

[[cs:Vlákno]]
[[de:Faden]]
[[es:Hilo]]
[[fr:Ficelle]]
[[hu:Fonál]]
[[it:Cordicella]]
[[ja:糸]]
[[ko:실]]
[[nl:Draad]]
[[pl:Nić]]
[[pt:Linha]]
[[ru:Нить]]
[[th:เส้นใย]]
[[uk:Нитка]]
[[zh:线]]</li><li>[[Music Disc|Music Disc]]<br/>{{hatnote|"5" redirects here. For the versions, see [[1.5]] and [[Combat Test 5]].}}
{{hatnote|"11" redirects here. For the versions, see [[1.1]] and [[1.11]].}}
{{hatnote|"13" redirects here. For the versions, see [[1.3]] and [[1.13]].}}
{{redirect|Far|the phenomenon in Bedrock Edition or Java Edition Beta|Far Lands}}
{{distinguish|Disk}}
{{Item
| image = Music Disc 13.png
| extratext = View [[#Gallery|all renders]]
| renewable = 
* '''Pigstep, otherside, 5, Relic''': No
* '''All others''': Yes
| stackable = No
| rarity = Rare
}}

'''Music discs''' are a set of sixteen items that can be played in [[jukebox]]es.

==Obtaining==
===Crafting===
Disc 5 is the only disc that can be crafted, unlike all other discs. This disc can be crafted with [[Disc Fragment|its fragments]].

{{Crafting
|A1=Disc Fragment 5 |B1=Disc Fragment 5 |C1=Disc Fragment 5
|A2=Disc Fragment 5 |B2=Disc Fragment 5 |C2=Disc Fragment 5
|A3=Disc Fragment 5 |B3=Disc Fragment 5 |C3=Disc Fragment 5
|Output=Music Disc 5
|type=Aesthetic
}}

=== Chest loot===
{{LootChestItem|disc-13,disc-cat,disc-mellohi,disc-wait,disc-otherside,disc-pigstep}}

===Archaeology===
{{LootChestItem|disc-relic}}

===Mob loot===
When killed by any [[skeleton]] or [[stray]] (or [[wither skeleton]] if given a [[bow]] using commands), a [[creeper]] drops a random music disc in addition to its normal drops, with the exceptions of Pigstep, otherside, 5, and Relic.

Because [[TNT]] ignited by a flaming [[arrow]] attributes all resulting kills to the entity that fired the arrow, a skeleton igniting a TNT block due to holding a [[bow]] enchanted with [[Flame]], or shooting through [[lava]] or fire, also causes any creepers killed in the explosion to drop a disc.<ref>{{bug|MC-210303|||WAI}}</ref><ref>{{bug|MCPE-150884|||WAI}}</ref>

==Discs==
{{missing information|the Relic music disc}}
{{C418 agreement}}
{| class="wikitable sortable" style="width:100%" data-description="Disc listing"
!Item
!<span class="nowrap">In-game</span> name
! class="unsortable" scope="col" style="width:150px" |Composer
! class="unsortable" scope="col" style="width:10000px" |Description
! class="unsortable" scope="col" style="width:200px" |Soundtrack title
!Soundtrack
! class="unsortable" scope="col" style="width:150px" |Track preview
! class="unsortable" scope="col" style="width:50px" |Length
|-
|style="text-align:center"{{sort|1|{{InvSprite|Music Disc 13}}}}
|13
|C418
|A somewhat unsettling, cave-themed ambient piece consisting mostly of echoed synthesized ambient sounds that closely resemble those that play in the game's caves, resonating metallic clinks, and quiet wind blowing. The entire track is wholly engulfed in reverb. At different points in the piece, muffled bow firings, a heavily reverbed hiss followed by a subsequent heavily reverbed explosion and echoed splashes can be heard in the background. The track goes silent for 13 seconds at the 1:30 mark.
|"Thirteen"
|''[[Minecraft - Volume Alpha]]'' No. 16
|[[File:13.ogg|noicon]]
|2:58
|-
|style="text-align:center"{{sort|2|{{InvSprite|Music Disc Cat}}}}
| cat 
|C418
|A light, looping melody plays on a soft synth and is joined by a synth percussion beat. A toothlike synth plays a bass line and some harmonies throughout and is later accompanied by additional chiptune-like synths that provide more layers of harmony.

At 1:46, what sounds like an interpolation of part of the melody from the track "Minecraft" plays.

The four-note pattern at 2:04 can also be heard at the beginning of "far" and "dog".

|"Cat"
|''[[Minecraft - Volume Alpha]]'' No. 19
|[[File:Cat.ogg|noicon]]
|3:05
|-
|style="text-align:center"{{sort|3|{{InvSprite|Music Disc Blocks}}}}
|blocks 
|C418
|An upbeat chiptune-style piece with a shuffling waltz rhythm.
|"Blocks"
|''[[Minecraft - Volume Beta]]'' No. 28
|[[File:Blocks.ogg|noicon]]
| 5:45
|-
|style="text-align:center"{{sort|4|{{InvSprite|Music Disc Chirp}}}}
|chirp
|C418
|A retro tune with a sample from the 1970 MATTEL Bossa Nova Style Program Disc<ref name=":0">{{Ytl|G89vIy8Guj4|Optigan Program Disc: Bossa Nova Style|t=22}}</ref> playing in the background, along with a vaporwave-like version of Mall.
|"Chirp"
|''[[Minecraft - Volume Beta]]'' No. 20
|[[File:Chirp.ogg|noicon]]
|3:05
|-
|style="text-align:center"{{sort|5|{{InvSprite|Music Disc Far}}}}
|far
|C418
|A calm, relaxing nature-like melody played on a watery echoing synth, accompanied by other synths playing chords.
|"Far"
|''[[Minecraft - Volume Beta]]'' No. 29
|[[File:Far.ogg|noicon]]
|2:54
|-
|style="text-align:center"{{sort|6|{{InvSprite|Music Disc Mall}}}}
| mall
|C418
|Serene music played on a kalimba along with other instruments.
|"Mall"
|''[[Minecraft - Volume Beta]]'' No. 27
|[[File:Mall.ogg|noicon]]
|3:17
|-
|style="text-align:center"{{sort|7|{{InvSprite|Music Disc Mellohi}}}}
|mellohi
|C418
|A slow, slightly melancholic waltz with a sample from a mellotron playing in the background.
|"Mellohi"
|''[[Minecraft - Volume Beta]]'' No. 22
|[[File:Mellohi.ogg|noicon]]
|1:36
|-
|style="text-align:center"{{sort|8|{{InvSprite|Music Disc Stal}}}}
|stal 
|C418
|A moderate jazz-like piece played on a piano, saxophone, and double bass, with recorder interludes.
|"Stal"
|''[[Minecraft - Volume Beta]]'' No. 23 
|[[File:Stal.ogg|noicon]]
|2:30
|-
|style="text-align:center"{{sort|9|{{InvSprite|Music Disc Strad}}}}
|strad
|C418
|A tropical-sounding piece with the main melody being played on a {{w|steelpan}}, accompanied by a layered mix of strings, woodwinds, and soft synths, and supported by a glitchy electronic tribal percussion beat, ending on some melancholy {{w|melodica}} chords. Bits and pieces of the melody from "Minecraft" can be heard throughout, sometimes played on bells in the background.
|"Strad"
|''[[Minecraft - Volume Beta]]'' No. 24
|[[File:Strad.ogg|noicon]]
|3:08
|-
|style="text-align:center"{{sort|10|{{InvSprite|Music Disc Ward}}}}
|ward
|C418
|Starts off with an excerpt from Chopin's Funeral March<ref>{{w|File:Frederic_Chopin_Piano_Sonata_No.2_in_B_flat_minor_Op35_-_III_Marche_Funebre.ogg|Frédéric Chopin - Piano Sonata No.2 - III ''Marche Funèbre''}}</ref> played on a synth organ, but it is interrupted by vinyl static and switches to an electronic, upbeat tune with a dark undertone.
|"Ward"
|''[[Minecraft - Volume Beta]]'' No. 26
|[[File:Ward.ogg|noicon]]
|4:11 
|-
|style="text-align:center"{{sort|11|{{InvSprite|Music Disc 11}}}}
|11
|C418
|A recording that begins with vinyl static, followed by the sounds of someone walking on or breaking [[stone]] blocks, heavy breathing, and rustling. Haunting background noises are heard throughout the recording, resembling the ambient sound effects that play in the game's caves (and by extension, the sounds of the disc "13"). After the background noises quiet down for a moment, metallic clicking or scraping noises can be heard, followed by coughing, sounds of page-turning, then more clicking or scraping. The background noises resume more loudly, and the sounds of faster footsteps or breaking [[stone]] blocks can be heard, which accelerate until they are replaced with [[dirt]] sounds as the background noises approach. A loud, distorted noise is heard roughly a second before the recording abruptly stops. At this point, one hears only quiet beeping, vinyl static, and a hissing noise, and the track ends.
|"Eleven"
|''[[Minecraft - Volume Beta]]'' No. 25
|[[File:11.ogg|noicon]]
|1:11
|-
|style="text-align:center"{{sort|12|{{InvSprite|Music Disc Wait}}}}
|wait
|C418
|An upbeat remix of "Minecraft". It starts out with some quiet synth Latin percussion and some soft synths playing a melody, and then expands into a chiptune-esque song. This disc was originally named "where are we now".<ref name=":1">{{tweet|notch|119412635828629504|I had trouble getting Where Are We Now to play because of the spaces in the name. Working on it. :)|Sep 29, 2011}}</ref><ref name=":2">{{bug|MC-894}}</ref>
|"Wait"
|''[[Minecraft - Volume Beta]]'' No. 21
|[[File:where are we now.ogg|noicon]]
|3:58 (Fades at 3:51)
|-
|style="text-align:center"{{sort|14|{{InvSprite|Music Disc Otherside}}}}
| otherside
|Lena Raine
|Starts off as an uplifting and happy retro-style ostinato in a major key. Upon reaching the second half, the song changes to a minor key and progresses into a darker melody, eventually cutting off abruptly. A clock can be heard ticking quickly at the end.
|"otherside"
|''[[Minecraft: Caves & Cliffs (Original Game Soundtrack)]]'' No. 7 
|[[File:Otherside.ogg|noicon]]
|3:15
|-
|style="text-align:center"{{sort|15|{{InvSprite|Music Disc 5}}}}
|5
|Samuel Åberg
| A recording that begins with static and a warped noise. After a moment of silence, there is the sound of a [[Flint and Steel|flint and steel]] lighting, [[fire]], a [[bat]], and then walking. The walking becomes heavier and metallic. The sound stops with sounds of breathing followed by a roar which warps into soft, relaxing music. The music soon transitions back, to the sound of footsteps, [[lava]] bubbling, and  [[Block of Amethyst|amethyst]]. A warped noise and a [[sculk shrieker]] can be heard activating. Then a coughing sound, something metallic and stone and sand sounds followed by another warped noise can be heard. Then, after a moment of silence, a heartbeat begins and a rising static can be heard in the background. Sounds of [[deepslate]] can then be heard, along with strange noises building up and abruptly stopping. A crescendo of overlapping warped sounds is followed then dies down. The footsteps begin again, much quieter now. A [[sculk sensor]] clicks, and a [[warden]] roars. The wardens roar warps and slows down, and then the disc ends.
|"Five"
|''[[Minecraft: The Wild Update (Original Game Soundtrack)]]'' No.4 
|[[File:Five.ogg|noicon]]
|2:58
|-
|style="text-align:center"{{sort|13|{{InvSprite|Music Disc Pigstep}}}}
|Pigstep
|Lena Raine
|An intense, somewhat hip-hop-style beat beginning with a repeating tuba-like tune and dubstep-style drop, along with more mellow parts reminiscent of a radio.
|"Pigstep - Mono Mix"
|''[[Minecraft: Nether Update (Original Game Soundtrack)]]'' No. 4
|[[File:Pigstep.ogg|noicon]]
|2:28
|-
|style="text-align:center"{{sort|16|{{InvSprite|Music Disc Relic}}}}
|Relic 
|Aaron Cherof
|The recording begins with vinyl static and record grain before abruptly bursting out into an upbeat 8-bit tune of low audio quality. The main melody of "A Time of Legends" and "The Well of Fate" from the [[Minecraft Legends:Original Game Soundtrack|original soundtrack]] of [[Minecraft Legends]] is heard later, played on the same 8-bit synthesizer. Later in the song a bass is added to the noise. Slight record grain and warbled pitches can be heard throughout the song.
|"Relic"
|''[[Minecraft: Trails & Tales (Original Game Soundtrack)]]'' No. 5
|[[File:Relic.ogg|noicon]]
|3:38
|}

==Usage==
The music discs resemble older 78-{{tooltip|rpm|Revolutions per minute}} {{w|phonograph records}} from the early 20th century, which were often played in jukeboxes from that era. They are used in ''Minecraft'' in a similar fashion: A music disc can be played on a [[jukebox]] by holding the disc and right-clicking on the jukebox.

The in-game music disc tracks are all {{w|Monaural|monaural}} recordings. Tracks released for listening outside of the game are in {{w|Stereophonic_sound|stereo}}.

If the [[player]] places a [[Redstone Comparator|comparator]] besides a jukebox, the intensity of the redstone signal depends on the disc currently played, with the following values:
{| class="wikitable"
!Disc
! Intensity
|-
|(no disc)||{{BlockSprite|redstone-dust-dot-off}} 0
|-
|{{ItemSprite|music-disc-13}} ''13''||{{BlockSprite|redstone-dust-dot-on}} 1
|-
|{{ItemSprite|music-disc-cat}} ''cat''||{{BlockSprite|redstone-dust-dot-on}} 2
|-
|{{ItemSprite|music-disc-blocks}} ''blocks''||{{BlockSprite|redstone-dust-dot-on}} 3
|-
|{{ItemSprite|music-disc-chirp}} ''chirp''||{{BlockSprite|redstone-dust-dot-on}} 4
|-
|{{ItemSprite|music-disc-far}} ''far''||{{BlockSprite|redstone-dust-dot-on}} 5
|-
|{{ItemSprite|music-disc-mall}} ''mall''||{{BlockSprite|redstone-dust-dot-on}} 6
|-
|{{ItemSprite|music-disc-mellohi}} ''mellohi''||{{BlockSprite|redstone-dust-dot-on}} 7
|-
|{{ItemSprite|music-disc-stal}} ''stal''||{{BlockSprite|redstone-dust-dot-on}} 8
|-
|{{ItemSprite|music-disc-strad}} ''strad''||{{BlockSprite|redstone-dust-dot-on}} 9
|-
|{{ItemSprite|music-disc-ward}} ''ward''||{{BlockSprite|redstone-dust-dot-on}} 10
|-
|{{ItemSprite|music-disc-11}} ''11''||{{BlockSprite|redstone-dust-dot-on}} 11
|-
|{{ItemSprite|music-disc-wait}} ''wait''||{{BlockSprite|redstone-dust-dot-on}} 12
|-
|{{ItemSprite|music-disc-pigstep}} ''Pigstep''||{{BlockSprite|redstone-dust-dot-on}} 13
|-
|{{ItemSprite|music-disc-otherside}} ''otherside''<br>{{ItemSprite|music-disc-relic}} ''Relic''||{{BlockSprite|redstone-dust-dot-on}} 14
|-
|{{ItemSprite|music-disc-5}} ''5''||{{BlockSprite|redstone-dust-dot-on}} 15
|}

==Data values==
===ID===
{{JE}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|firstcolumnname=Track
|generatetranslationkeys=y
|displayname=C418 - 13
|spritename=music-disc-13
|spritetype=item
|nameid=music_disc_13
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - cat
|spritename=music-disc-cat
|spritetype=item
|nameid=music_disc_cat
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - blocks
|spritename=music-disc-blocks
|spritetype=item
|nameid=music_disc_blocks
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - chirp
|spritename=music-disc-chirp
|spritetype=item
|nameid=music_disc_chirp
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - far
|spritename=music-disc-far
|spritetype=item
|nameid=music_disc_far
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - mall
|spritename=music-disc-mall
|spritetype=item
|nameid=music_disc_mall
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - mellohi
|spritename=music-disc-mellohi
|spritetype=item
|nameid=music_disc_mellohi
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - stal
|spritename=music-disc-stal
|spritetype=item
|nameid=music_disc_stal
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - strad
|spritename=music-disc-strad
|spritetype=item
|nameid=music_disc_strad
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - ward
|spritename=music-disc-ward
|spritetype=item
|nameid=music_disc_ward
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - 11
|spritename=music-disc-11
|spritetype=item
|nameid=music_disc_11
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=C418 - wait
|spritename=music-disc-wait
|spritetype=item
|nameid=music_disc_wait
|itemtags=creeper_drop_music_discs, music_discs
|form=item}}
{{ID table
|displayname=Lena Raine - otherside
|spritename=music-disc-otherside
|spritetype=item
|nameid=music_disc_otherside
|itemtags=music_discs
|form=item}}
{{ID table
|displayname=Samuel Åberg - 5
|spritename=music-disc-5
|spritetype=item
|nameid=music_disc_5
|itemtags=music_discs
|form=item}}
{{ID table
|displayname=Lena Raine - Pigstep
|spritename=music-disc-pigstep
|spritetype=item
|nameid=music_disc_pigstep
|itemtags=music_discs
|form=item}}
{{ID table
|displayname=Aaron Cherof - Relic
|spritename=music-disc-relic
|spritetype=item
|nameid=music_disc_relic
|itemtags=music_discs
|form=item
|foot=1}}

{{BE}}:
{{ID table
|edition=bedrock
|firstcolumnname=Track
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=C418 - 13
|spritename=music-disc-13
|spritetype=item
|nameid=music_disc_13
|aliasid=record_13
|id=541
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - cat
|spritename=music-disc-cat
|spritetype=item
|nameid=music_disc_cat
|aliasid=record_cat
|id=542
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - blocks
|spritename=music-disc-blocks
|spritetype=item
|nameid=music_disc_blocks
|aliasid=record_blocks
|id=543
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - chirp
|spritename=music-disc-chirp
|spritetype=item
|nameid=music_disc_chirp
|aliasid=record_chirp
|id=544
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - far
|spritename=music-disc-far
|spritetype=item
|nameid=music_disc_far
|aliasid=record_far
|id=545
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - mall
|spritename=music-disc-mall
|spritetype=item
|nameid=music_disc_mall
|aliasid=record_mall
|id=546
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - mellohi
|spritename=music-disc-mellohi
|spritetype=item
|nameid=music_disc_mellohi
|aliasid=record_mellohi
|id=547
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - stal
|spritename=music-disc-stal
|spritetype=item
|nameid=music_disc_stal
|aliasid=record_stal
|id=548
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - strad
|spritename=music-disc-strad
|spritetype=item
|nameid=music_disc_strad
|aliasid=record_strad
|id=549
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - ward
|spritename=music-disc-ward
|spritetype=item
|nameid=music_disc_ward
|aliasid=record_ward
|id=550
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - 11
|spritename=music-disc-11
|spritetype=item
|nameid=music_disc_11
|aliasid=record_11
|id=551
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=C418 - wait
|spritename=music-disc-wait
|spritetype=item
|nameid=music_disc_wait
|aliasid=record_wait
|id=552
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=Lena Raine - otherside
|spritename=music-disc-otherside
|spritetype=item
|nameid=music_disc_otherside
|aliasid=record_otherside
|id=634
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=Samuel Åberg - 5
|spritename=music-disc-5
|spritetype=item
|nameid=music_disc_5
|aliasid=record_5
|id=644
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=Lena Raine - Pigstep
|spritename=music-disc-pigstep
|spritetype=item
|nameid=music_disc_pigstep
|aliasid=record_pigstep
|id=628
|form=item
|translationkey=item.record.name}}
{{ID table
|displayname=Aaron Cherof - Relic
|spritename=music-disc-relic
|spritetype=item
|nameid=music_disc_relic
|aliasid=record_relic
|id=702
|form=item
|translationkey=item.record.name
|foot=1}}

===Raw music files===
{{in|je}}, the music disc files can be found in {{code|[[.minecraft]]/assets/objects}}.{{fn|The files in the <samp>objects</samp> folder are hashed. To locate the music disc files, see [[Tutorials/Sound directory]].}}

{{in|be}}, it can be found in:

*Mobile versions: {{code|[[com.mojang]]/resource_packs/music/vanilla_music/sounds/music/game/records/}}
*Windows: {{code|%PROGRAMFILES%\WindowsApps\Microsoft.MinecraftUWP_''<version>''_x64_8wekyb3d8bbwe\data\resource_packs\vanilla_music\sounds\music\game\records}}

All music disc files are in {{w|Vorbis|Ogg Vorbis}}.

{{fnlist}}

==Achievements==
{{load achievements|sound of music}}

==Advancements==
{{load advancements|sound of music}}

==History==
{{History|java alpha}}
{{History||April 2010|link={{ytl|3Sthf0u94Cs}}|[[Daniel Rosenfeld|C418]] uploaded a video to {{w|YouTube}}, containing previews of many music tracks that were later added as records. (This video is no longer available.)}}
{{History||v1.0.14|[[File:Music Disc 13.png|32px]] "13" and [[File:Music Disc Cat.png|32px]] "cat" are the first records to be added to ''Minecraft''.
|Records are officially named "music discs". 
|"13" was an ambient track before this update.{{info needed|so did it play randomly like other music?}}
|Music discs have been added to [[dungeon]] chests.
|Music discs can also be [[drops|dropped]] by [[creeper]]s shot by [[skeleton]]s.}}
{{History|java beta}}
{{History||1.2_02|Before this update, gold "13" music discs were noticeably more common than green "cat" ones. Now, green "cat" discs are more often [[drops|dropped]].}}
{{History||August 1, 2011|link=https://twitter.com/C418/status/98174571756265473|C418 announces new music discs.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Music Disc Blocks.png|32px]] [[File:Music Disc Chirp.png|32px]] [[File:Music Disc Far.png|32px]] [[File:Music Disc Mall.png|32px]] [[File:Music Disc Mellohi.png|32px]] [[File:Music Disc Stal.png|32px]] [[File:Music Disc Strad.png|32px]] [[File:Music Disc Ward.png|32px]] [[File:Music Disc 11 JE1 BE1.png|32px]] 9 new music discs have been implemented, adding up to a total of 11 discs, although they are not [[drops|dropped]] by any [[creeper]]s. These are stored along with the first discs, 13.mus and cat.mus, (which have been decoded as 13.ogg and cat.ogg respectively). Before this update, there were 10 unused music files, now only one remains unused, which is the song "where are we now". "Where are we now" was not added with the rest of the new 9 music discs because of problems with the spaces in the name.<ref name=":1"></ref><ref name=":2"></ref>}}
{{History||1.1|snap=11w50a|All of the music discs, except for "11", can now be dropped by creepers killed by [[skeleton]]s.
|All music discs now have the same probability of being [[drops|dropped]].}}
{{History||1.4.4|snap=1.4.3|[[File:Music Disc Wait.png|32px]] The disc "where are we now" has been renamed to "wait" and made available in game.<ref name=":1"></ref><ref name=":2"></ref>
|The music disc "11" is now available in survival. It is dropped by [[creeper]]s in the same way as other discs.}}
{{History||1.5|snap=13w04a|Active [[jukebox]]es now give off a redstone signal when a [[Redstone Comparator|redstone comparator]] is placed behind it; its strength depends on the ID of the inserted disc.}}
{{History||1.6.1|snap=13w24a|Custom music discs can now be made using [[Resource Pack|resource pack]]s.
|Before this version, "cat" and "13" were the only discs in .ogg format, all the other discs were in .mus format, which was decrypted by ''Minecraft'' on-the-fly.}}
{{History||1.9|snap=15w44a|The average yield of music discs from [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Music discs "cat" and "13" are now found in the new [[Woodland Mansion|woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|The IDs have been changed from {{code|record_$song}} to {{code|music_disc_$song}}.
|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 2256 through 2267.}}
{{History||1.14|snap=18w43a|[[File:Music Disc 11.png|32px]] The texture of music disc "11" has been changed.
|Music discs are now also [[drops|dropped]] by [[creeper]]s killed by [[stray]]s.}}
{{History||1.16|snap=20w16a|[[File:Music Disc Pigstep.png|32px]] Added a new music disc called "Pigstep". 
|The "Pigstep" music disc cannot be dropped by creepers, and can be obtained only from [[Bastion Remnant|bastion remnant]]s. }}
{{History||1.16.2|snap=20w30a|The chance of finding the "Pigstep" music disc in bastion remnant chests has been increased from 3.3% to 5.6%.}}
{{History||1.18|snap=21w42a|[[File:Music Disc Otherside.png|32px]] Added a new music disc called "otherside". 
|The "otherside" music disc cannot be dropped by creepers, and can be rarely obtained only from [[stronghold]] corridor chests or even more rarely from [[dungeon]] chests.}}
{{History||1.19|snap=22w13a|Music Disc "13", "cat" and "otherside" may now be found in [[ancient city]] [[chest]]s.}}
{{History|||snap=22w16a|[[File:Music Disc 5 JE1.png|32px]] Added a new music disc called "5".}}
{{History||1.19.1|snap=22w24a|Music discs are now essential to duplicate [[allay]]s.}}
{{History||1.20|snap=23w17a|[[File:Music Disc Relic JE1.png|32px]] Added a new music disc called "Relic".}}

{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Music Disc 13.png|32px]] [[File:Music Disc Cat.png|32px]] [[File:Music Disc Blocks.png|32px]] [[File:Music Disc Chirp.png|32px]] [[File:Music Disc Far.png|32px]] [[File:Music Disc Mall.png|32px]] [[File:Music Disc Mellohi.png|32px]] [[File:Music Disc Stal.png|32px]] [[File:Music Disc Strad.png|32px]] [[File:Music Disc Ward.png|32px]] [[File:Music Disc 11 JE1 BE1.png|32px]] [[File:Music Disc Wait.png|32px]] Added music discs.
|All of the music discs, except for "11", can be [[drops|dropped]] by [[creeper]]s killed by [[skeleton]]s.}}
{{History||?|The music disc "11" can now be dropped by creepers.}}
{{History||1.4.0|snap=beta 1.2.14.2|As a version exclusive, the music discs "mellohi" and "wait" can now be found inside [[Buried Treasure|buried treasure]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Music Disc 11.png|32px]] The texture of music disc "11" has been changed.
|Music discs now are [[drops|dropped]] by [[creeper]]s killed by [[stray]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Music Disc Pigstep.png|32px]] Added a new music disc called "Pigstep".}}
{{History||1.16.100|snap=beta 1.16.100.56|The IDs of music discs has been changed from {{code|record_<track>}} to {{code|music_disc_<track>}}.}}
{{History||1.18.0|snap=beta 1.18.0.22|[[File:Music Disc Otherside.png|32px]] Added a new music disc called "otherside". 
|The "otherside" music disc cannot be dropped by creepers, and can be rarely obtained only from [[stronghold]] corridor chests or even more rarely from [[dungeon]] chests.}}
{{History||1.19.0|snap=beta 1.19.0.28|[[File:Music Disc 5 JE1.png|32px]] Added a new music disc called "5".}}
{{History||1.19.10|snap=beta 1.19.10.22|Music discs are now essential to duplicate [[allay]]s.}}
{{History||1.20.0|snap=beta 1.20.0.22|[[File:Music Disc Relic JE1.png|32px]] Added a new music disc called "Relic".}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Music Disc 13.png|32px]] [[File:Music Disc Cat.png|32px]] Added "13" and "cat" as music discs.}}
{{History||xbox=TU5|[[File:Music Disc Blocks.png|32px]] [[File:Music Disc Chirp.png|32px]] [[File:Music Disc Far.png|32px]] [[File:Music Disc Mall.png|32px]] [[File:Music Disc Mellohi.png|32px]] [[File:Music Disc Stal.png|32px]] [[File:Music Disc Strad.png|32px]] [[File:Music Disc Ward.png|32px]] [[File:Music Disc 11 JE1 BE1.png|32px]] [[File:Music Disc Cat.png|32px]] Added the remaining 10 music discs.}}
{{History||xbox=TU12|[[File:Music Disc Wait.png|32px]] The "where are we now" music disc now uses the blue texture used in the [[Java Edition|PC]] version, opposed to the green "cat" texture it used to use.}}
{{History||xbox=TU22|xbone=CU10|ps=1.15|The "where are we now" music disc has been added to survival.}}
{{History||?|The "where are we now" music disc has been renamed to "wait".}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Music Disc 11.png|32px]] The texture of music disc "11" has been changed.}}
{{History|foot}}

==Gallery==
<gallery>
Music Disc 13.png|Music Disc<br>C418 - 13
Music Disc Cat.png|Music Disc<br>C418 - cat
Music Disc Blocks.png|Music Disc<br>C418 - blocks
Music Disc Chirp.png|Music Disc<br>C418 - chirp
Music Disc Far.png|Music Disc<br>C418 - far
Music Disc Mall.png|Music Disc<br>C418 - mall
Music Disc Mellohi.png|Music Disc<br>C418 - mellohi
Music Disc Stal.png|Music Disc<br>C418 - stal
Music Disc Strad.png|Music Disc<br>C418 - strad
Music Disc Ward.png|Music Disc<br>C418 - ward
Music Disc 11.png|Music Disc<br>C418 - 11
Music Disc Wait.png|Music Disc<br>C418 - wait
Music Disc Otherside.png|Music Disc<br>Lena Raine - otherside
Music Disc 5.png|Music Disc<br>Samuel Åberg - 5
Music Disc Pigstep.png|Music Disc<br>Lena Raine - Pigstep
Music Disc Relic.png|Music Disc<br>Aaron Cherof - Relic
</gallery>

==Issues==
{{issue list}}

==Trivia==

* Before [[Java Edition 1.13/Flattening|''The Flattening'']], data values used by music discs ranged from 2256 to 2267, while all other blocks/items used the first free data value available.
* The title "13" is a reference to the 13 cave ambience sounds that existed when the disc was added. Similar sounds can be heard throughout the track.  
** Because "13" was created in 2010, it actually uses older sound effects from earlier versions of the game for bow firing{{sound||Bow_Shooting_Old.ogg}}, arrow impacts{{sound||Arrow_Old.ogg}}, explosions{{sound||Explosion_Old.ogg}}, and water splashing{{sound||Water_Splash_Old.ogg}}, which have since been replaced. 
***The background noise also bears resemblance to a deeper version of the unused and removed [[Java_Edition_removed_features#Audio_loops|cave chimes]]{{sound||Cave_chimes.ogg}}. Before the explosion, there was also the sound of a creeper fuse{{sound||Creeper_fuse.ogg}} which is still used.
**C418 initially wanted the music disc to be found deep underground in a cave in-game, being played by some device.<ref>https://c418.org/albums/minecraft-volume-alpha/</ref>
*Exclusively on {{el|lce}}, an extra track called "dog" is appended to the "cat" music disc. Once "cat" is done playing and fades out, "dog" begins playing for another two minutes or so, making this version of "cat" the longest music disc in the game.
*"chirp" uses the same accompaniment samples as "The Orb of Dreamers" from the ''[[w:c:littlebigplanet:LittleBigPlanet (series)|LittleBigPlanet]]'' series.<ref>{{ytl|3Jnubcn2G-Y|Daniel Pemberton - The Orb Of Dreamers}}</ref> The samples come from the {{w|Optigan}} disc "Bossa Nova Style".<ref>{{ytl|G89vIy8Guj4|Optigan Program Disc: Bossa Nova Style|t=22}}</ref> C418 stated that it was coincidental.<ref>{{tweet|1=c418|2=314472205109043200|3=Remember when people thought I plagiarized LittleBigPlanet music? Yeah, the Optigan is a lovely instrument that I will never utilize again.|4=March 20, 2013}}</ref>
*The texture used for the music disc "chirp" was previously used for the [[camera]] tripod texture prior to [[Pocket Edition v0.9.0 alpha]].
*The title "stal" is a Swedish word meaning ''stole'' in English and a Polish word meaning ''steel''.
*The music disc "11" is the only visibly damaged music disc. 
**If the .ogg file for "11" is turned into a {{w|spectrogram}} in an audio editor, the static at the end displays what seems to be [[Player|Steve]]'s face and the numbers 12418. The numbers are a visual signature, where "C" is hexadecimal for "12", and combined with "418" creates "[[Daniel Rosenfeld|C418]]", the name of the producer of all of the music disc tracks except for "Pigstep", "otherside", "5" and "Relic".
**Within the disc are sounds, in order of appearance, of stone{{sound||Stone_dig4.ogg}}{{sound||Stone_dig1.ogg}}{{sound||Stone_dig3.ogg}}{{sound||Stone_dig2.ogg}} and dirt or gravel{{sound||Gravel_dig1.ogg}}{{sound||Gravel_dig4.ogg}}{{sound||Gravel_dig3.ogg}}{{sound||Gravel_dig2.ogg}}. At the time disc "11" was made, footstep sounds, placing sounds, and breaking sounds were the same for the respecive block. It is unknown exactly what the character was doing when these sounds were played.
**There is a track that is exclusive to the album ''[[Minecraft - Volume Beta]]'' called "Eleven", which has the same length of 1:11 and begins with the same vinyl static sound before being abruptly interrupted by a record scratching sound and switching to a new, calm piano piece.
** C418 once imagined that the "monster" chasing the person in "11" is himself "being a weird monster that occasionally records songs from strangers and then dies in '11'".<ref>{{tweet|c418|119413441793495040|Yes! I now imagine C418 being a weird monster that occasionally records songs from strangers. And then dies in 11|September 29, 2011}}</ref>
** "11" causes jukeboxes to output a redstone signal strength of 11.
** Before [[Java Edition 1.13]], the [[data value]] of "11" was 11.
**[[Brandon Pearce]] stated that the [[warden]] mob is based on the "monster" heard at the end of "11".<ref>{{ytl|pH_6-ZVOUAk|Ask Mojang #11: All About Caves & Cliffs|Minecraft|OCtober 30, 2020}}</ref>
*The music disc "wait", originally titled "where are we now", was finally added to [[Java Edition 1.4.3]] after existing solely in the game's files for an unspecified amount of time.
**"wait" used the original title "where are we now" in older versions of the Legacy Console Edition.
*"Pigstep" is the only disc to have its name capitalized in-game, and it can only be found in [[Bastion Remnant|bastion remnant]]s. It is also the music disc with the fastest beat.
*"Pigstep" is a {{w|portmanteau}} of "piglin" and "dubstep".<ref>{{tweet|kuraine|1277309336532840448|I don't have any cool insight on the title, it's just dubstep for piglins.|June 26, 2020}} </ref>
*“5” is the only music disc that is crafted, as it requires 9 disc fragments in a 3×3 formation to craft.
**In disc “5”, there are some sounds taken from [[Minecraft Dungeons]] of the [[MCD:Endersent|Endersent]] {{sound||D6 sfx mob endersentIdleVocal-001.ogg}}, the [[Minecraft Dungeons:Vengeful Heart of Ender|Vengeful Heart of Ender]]{{Sound||D6 sfx mob finalFormMagicChimes-004.ogg}}, and relating to an [[MCD:Enderman|enderman]] {{sound||Sfx_mob_eventEnderman2D-001.ogg}}.
***Other sounds can be heard. In order of appearance, these are: flint and steel clicking {{sound||Flint_and_steel_click.ogg}}, a bat{{sound||Bat_idle4.ogg}}{{sound||Bat_takeoff.ogg}}{{sound||Bat_loop.ogg}}, lava bubbling{{sound||Lava.ogg}}, [[amethyst cluster]] breaking{{sound||Amethyst_Cluster_break1.ogg}}, a [[sculk shrieker]]{{sound||Sculk shrieker shriek1.ogg}}, stone{{sound||Stone_hit6.ogg}}{{sound||Stone_hit5.ogg}}{{sound||Stone_hit4.ogg}}, sand{{sound||Sand_hit1.ogg}}{{sound||Sand_hit5.ogg}}, a sculk shrieker{{sound||Sculk shrieker shriek1.ogg}} overlaying a warden{{sound||Warden_ambient1.ogg}}, [[sculk sensor]] clicking{{sound||Sculk Sensor sculk clicking2.ogg}}, and a [[warden]] roaring{{sound||Warden_roar5.ogg}}.

==See also== 
*[[Music]]

*[[Daniel Rosenfeld|C418]]
**''[[Minecraft - Volume Alpha]]''
**''[[Minecraft - Volume Beta]]''
*[[Lena Raine]] 
**''[[Minecraft: Nether Update (Original Game Soundtrack)]]''
**''[[Minecraft: Caves & Cliffs (Original Game Soundtrack)]]''
**''[[Minecraft: The Wild Update (Original Game Soundtrack)]]''
*[[Samuel Åberg]]
*[[Aaron Cherof]]

==References==
{{reflist}}

==External Links== 
*[https://www.minecraft.net/en-us/article/taking-inventory--music-disc Taking Inventory: Music Disc] – Minecraft.net on January 14, 2021

{{Items}}
{{Soundtrack}}

[[de:Schallplatte]]
[[es:Disco de música]]
[[fr:Disque de musique]]
[[ja:レコード]]
[[ko:음반]]
[[nl:Muziekplaat]]
[[pl:Płyta muzyczna]]
[[pt:Disco musical]]
[[ru:Пластинка]]
[[tr:Müzik Diski]]
[[zh:音乐唱片]]</li></ul>
Added /kick.
indev
0.31
{{Extension DPL}}<ul><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><li>[[Lapis Lazuli|Lapis Lazuli]]<br/>{{Item
| image = Lapis Lazuli.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
{{About|the item|the ore|Lapis Lazuli Ore|the mineral block|Lapis Lazuli Block}}

'''Lapis lazuli''' is a mineral required to [[Enchanting|enchant]] items in an [[Enchanting Table|enchanting table]].

== Obtaining ==

=== Mining ===

When mined with a stone [[pickaxe]] or better, [[lapis lazuli ore]] drops 4–9 lapis lazuli. With the [[Fortune]] III enchantment, a single block has a chance of dropping up to 36 items.

=== Crafting ===

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

=== Smelting ===
{{Smelting
  |showname=1
  |Lapis Lazuli Ore; Deepslate Lapis Lazuli Ore
  |Lapis Lazuli
  |0.2
}}

=== Villager gifts ===

{{IN|java}}, cleric [[villager]]s give [[player]]s lapis lazuli if they have the [[Hero of the Village]] effect.

=== Trading ===

Apprentice-level cleric villagers sell one lapis lazuli for an [[emerald]] as part of their trades.

{{IN|bedrock}}, [[wandering trader]]s may sell 3 lapis lazuli for an emerald.

=== Chest loot ===
{{see also|Lapis Lazuli Ore#Natural generation}}
{{LootChestItem|lapis-lazuli}}

== Usage ==

=== Enchanting ===

1–3 pieces of lapis lazuli are required to use an [[Enchanting Table|enchanting table]] to enchant an [[items|item]]. More specifically, the enchanting table UI shows 3 options (see [[Enchanting mechanics]] for details): the first, second, and third options cost 1, 2, and 3 lapis lazuli, respectively.

=== Crafting ingredient ===

Lapis lazuli can be used to make [[blocks of lapis lazuli]] and [[blue dye]]. {{IN|bedrock}}, it can also be used directly as a substitute for blue dye.
{{crafting usage}}

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

=== Loom ingredient === 
{{Banner loom usage|Lapis Lazuli}}

=== Dye ===
{{Dye usage}}

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Lapis Lazuli
|spritetype=item
|nameid=lapis_lazuli
|aliasid=dye / 4
|id=414
|form=item
|translationkey=item.dye.blue.name
|foot=1}}

== Advancements ==
{{load advancements|Enchanter}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Lapis Lazuli JE1 BE1.png|32px]] Added lapis lazuli.}}
{{History||1.2_02|[[Lapis lazuli ore]] can now be found at [[bedrock]] level and now drops 4–8 lapis lazuli per block mined (increased from 1) on [[singleplayer]] only. However, servers have not been affected yet.}}
{{History||1.8|snap=Pre-release|Lapis lazuli can now be found in [[mineshaft]] [[chest]]s.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Lapis lazuli can now be used to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Lapis lazuli can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|Lapis lazuli can now be used to craft blue [[stained clay]].}}
{{History||1.7.2|snap=13w41a|Lapis lazuli can now be used to craft blue [[stained glass]].}}
{{History||1.8|snap=14w02a|[[Enchanting]] now requires lapis lazuli. Different enchantments require different amounts of levels and different amounts of levels now require different amounts of lapis lazuli (between 1-3).
|Cleric [[villager]]s now [[trading|sell]] 1–2 lapis lazuli for 1 [[emerald]], making it a [[renewable resource]].}}
{{History|||snap=14w30a|Lapis lazuli can now be used to dye [[banner]]s.}}
{{History||1.9|snap=15w44a|The average yield of lapis lazuli in [[mineshaft]] [[chest]]s has been decreased.}}{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Can now be used to craft blue [[concrete powder]].}}
{{History|||snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History|||snap=18w11a|Lapis lazuli now generates in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|Lapis lazuli can now be used to craft [[blue dye]].
|Lapis lazuli can no longer be used as a [[dye]].
|All of the dye-related functions and crafting recipes of lapis lazuli (except lapis lazuli blocks) have been transferred to blue dye.
|[[File:Lapis Lazuli JE2 BE2.png|32px]] The texture of lapis lazuli has been changed.}}
{{History|||snap=18w50a|Lapis lazuli can now be found in chests in [[village]] temples.}}
{{History|||snap=19w13a|Cleric villagers now give lapis lazuli to players under the [[Hero of the Village]] effect.}}
{{History||1.17|snap=21w08a|Lapis lazuli can now drop and be smelted from [[deepslate lapis lazuli ore]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Lapis lazuli can now be used as an armor trim material.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Lapis Lazuli JE1 BE1.png|32px]] Added lapis lazuli.}}
{{History||v0.3.2|Lapis lazuli can now be crafted into lapis lazuli blocks, and vice versa.}}
{{History||v0.12.1|snap=build 1|Lapis lazuli is now required for [[enchanting]].}}
{{History||v0.14.0|snap=build 1|Lapis lazuli can now be found inside [[minecart with chest]]s in [[mineshaft]]s.
|Lapis lazuli can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Cleric [[villager]]s now [[trading|sell]] 1–2 lapis lazuli for 1 [[emerald]].
|Lapis lazuli can now be used to [[dyeing|dye]] [[shulker shell]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Lapis lazuli can now be used to dye [[shulker box]]es and [[bed]]s.
|Lapis lazuli can now be used to [[crafting|craft]] blue [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Lapis lazuli can now be used to dye [[banner]]s, [[firework star]]s and [[glass]].}}
{{History||1.4.0|snap=beta 1.2.14.2|Lapis lazuli can now be found in [[shipwreck]] treasure chests.}}
{{History|||snap=beta 1.2.20.1|Lapis lazuli can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|Lapis lazuli can now be used to craft [[blue dye]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Lapis lazuli are now [[trading|sold]] by [[wandering trader]]s.
|[[File:Lapis Lazuli JE2 BE2.png|32px]] The texture of lapis lazuli has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Lapis lazuli can now be found in [[desert]] [[village]] temple [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Cleric [[villager]]s now [[trading|sell]] one lapis lazuli for one [[emerald]].}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of lapis lazuli has been changed from <code>dye/4</code> to <code>lapis_lazuli</code>.}}
{{History||1.17.0|snap=beta 1.16.230.52|Lapis lazuli can now drop and be smelted from [[deepslate lapis lazuli ore]].}}
{{History||1.19.80|snap=beta 1.19.80.21|Lapis lazuli can now be used as an armor trim material.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Lapis Lazuli JE1 BE1.png|32px]] Added lapis lazuli.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|Lapis lazuli can now be used in [[enchanting]].}}
{{History|Ps4}}
{{History||1.90|[[File:Lapis Lazuli JE2 BE2.png|32px]] The texture of lapis lazuli has been changed.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==
* In real life, lapis lazuli is a blue gem that can be ground and processed into ultramarine pigment. Lapis lazuli pigment has been famously used in the production of illuminated manuscripts, stained glass, and cave paintings. [[Wikipedia:Lapis lazuli|See the Wikipedia article for more information]].
* Lapis lazuli is the only [[ore]] that can be used as a [[dye]]{{only|BE|short=1}} or making a dye.
* It is the only item that can be put in the second slot of an [[enchantment table]].

== References ==
{{reflist}}

{{Items}}

[[Category:Dyes]]

[[cs:Lazurit]]
[[de:Lapislazuli]]
[[es:Lapislázuli]]
[[fr:Lapis-lazuli]]
[[hu:Lazurit]]
[[ja:ラピスラズリ]]
[[ko:청금석]]
[[nl:Lapis lazuli]]
[[pl:Lazuryt]]
[[pt:Lápis-lazúli]]
[[ru:Лазурит]]
[[th:แร่แลพิสแลซูลี]]
[[uk:Лазурит]]
[[zh:青金石]]
[[Category:Renewable resources]]</li></ul></nowiki>
Removed all commands.
alpha
v1.0.16
{{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>[[Copper Ingot|Copper Ingot]]<br/>{{About|the ingot|the ore|Copper Ore|the mineral block|Block of Copper}}
{{Item
| image = Copper Ingot.png
| renewable = Yes
| stackable = Yes (64)
}}

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

== Obtaining ==

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

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

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

=== Mob loot ===

==== Drowned ====

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

== Usage ==

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

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

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

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

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

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

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

== Issues ==
{{Issue list}}

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

{{Items}}

[[Category:Renewable resources]]

[[de:Kupferbarren]]
[[es:Lingote de cobre]]
[[fr:Lingot de cuivre]]
[[it:Lingotto di rame]]
[[ja:Copper Ingot]]
[[ko:구리괴]]
[[pl:Sztabka miedzi]]
[[pt:Barra de cobre]]
[[ru:Медный слиток]]
[[uk:Мідний злиток]]
[[zh:铜锭]]</li></ul>
Re-added /kick.
Upcoming Bedrock Edition
1.16.0
{{Extension DPL}}<ul><li>[[Dye|Dye]]<br/>{{Item
| title = Dyes
| image = White Dye.png
| extratext = View [[#Gallery|all renders]]
| renewable = Yes
| stackable = Yes (64)
}}
'''Dyes''' are a set of sixteen items used to change the color of [[wool]], [[carpet]]s, [[terracotta]], [[concrete powder]], [[glass]], [[shulker box]]es, [[bed]]s, [[candle]]s, the patterns on [[banner]]s, [[firework star]]s, certain mobs, and text on [[sign]]s and [[hanging sign]]s. {{IN|bedrock}} they can also be used to dye water in a [[cauldron]] (which is thereafter used to dye leather [[armor]]); {{in|java}} leather armor can be dyed directly. {{IN|education}} dyes can also be used to dye [[balloon]]s and [[glow stick]]s.

{{IN|bedrock|education}}, [[bone meal]], [[ink sac]]s, [[lapis lazuli]], and [[cocoa bean]]s can generally substitute for [[white dye]], [[black dye]], [[blue dye]], and [[brown dye]], respectively, in crafting recipes and for use in dyeing items or mobs. However, they have other important uses that aren't related to color, and are therefore not considered true dyes. They are mentioned in this article only in regard to their use as dyeing agents; see their individual articles for complete information about them.

[[File:Dye Recipes.png|400px|thumb|A guide for creating all the dyes]]

== Obtaining ==
<!--[[File:Dye Chart.png|350px|thumb|A guide to crafting all the dyes.{{until|java 1.14}}]]-->

Dyes can be produced by crafting them from plants (mainly flowers), by crafting dyes of different colors together, by smelting plants, or by trading with a [[wandering trader]].

{{loadPage|Crafting/Dye|Crafting|h3}}

=== Smelting ===
{{smelting|head=1|Sea Pickle|Lime Dye|0,2}}
{{smelting|foot=1|Cactus|Green Dye|1||b=Lapis Lazuli|c=Any fuel|d=1}}

=== Trading ===

[[Wandering trader]]s can sell 3 dyes for an [[emerald]]. {{IN|bedrock}}, they can also sell 3 lapis lazuli, bone meal, cocoa beans, or ink sacs for one emerald.

Apprentice-level cleric [[villager]]s sell one lapis lazuli per emerald.

=== Chest loot ===

{{#invoke:LootChest|base3|blue-dye,green-dye,orange-dye,light-blue-dye,yellow-dye,white-dye}}

=== Other ===

Ink sacs can also be created using 1 iron, 1 sulfur, and 4 oxygen in the [[compound creator]]. {{only|bedrock|education}}

== Usage ==

Similar to their use in crafting, [[bone meal]], [[ink sac]]s, [[lapis lazuli]], and [[cocoa beans]] can be substituted for the corresponding dye in any of the following usages unless otherwise specified.{{only|bedrock}} <!--- sections are ordered by craftable dyeable blocks, dyeable items, version exclusive sections, and non-crafting miscellaneous uses--->

=== Dyeing wool and mobs ===

Players can dye wool by placing [[wool]] and any dye in a crafting grid.

{{Crafting
|nocat=1
|Any Wool
|Matching Dye
|Output=Any Wool
}}

Dyes can be {{control|use|text=used}} on sheep to change the color of the wool. Shearing a colored sheep drops the corresponding color of the wool, and the sheep retains the color when the wool regenerates. [[Breeding]] colored sheep produces a lamb colored as one of the parent sheep, or a color resulting from the combination of both parents' color. The color combining follows the same rules that dyes use – red and yellow sheep produce an orange lamb, but a blue and yellow sheep cannot create a green lamb. The unlimited reproduction of colored sheep makes dyeing and shearing sheep infinitely more efficient than just dyeing wool directly.
 
Dye can also be used on a tamed [[wolf]] or [[cat]] to change the color of its collar from the default red to the color of the dye.

=== Dyeing carpets ===

Carpets can be dyed.

{{Crafting
 |Any Carpet
 |Matching Dye
 |Output= Matching Carpet
 |type= Building block
}}

=== Dyeing terracotta ===

[[Terracotta]] can be dyed by placing 8 blocks around a dye on a crafting table.

{{Crafting
|nocat=1
|A1=Terracotta |B1=Terracotta |C1=Terracotta
|A2=Terracotta |B2=Matching Dye  |C2=Terracotta
|A3=Terracotta |B3=Terracotta |C3=Terracotta
|Output=Matching Dyed Terracotta,8
}}

=== Creating concrete powder ===

Dyes can also be used to craft [[concrete powder]], which can then be set into their respective [[concrete]] blocks (they cannot be dyed directly).

{{Crafting
|nocat=1
|Sand |Gravel |Sand
|Gravel |Matching Dye |Gravel
|Sand |Gravel |Sand
|Output=Matching Concrete Powder,8
}}

=== Staining glass ===

[[Stained glass]] can be stained by placing 8 blocks of glass around a dye on a [[crafting table]]. Just like regular glass, stained glass can be crafted into stained glass panes. The recipe for this is the same as with regular glass.

{{Crafting
|nocat=1
|A1=Glass |B1=Glass        |C1=Glass
|A2=Glass |B2=Matching Dye |C2=Glass
|A3=Glass |B3=Glass        |C3=Glass
|Output=Matching Stained Glass,8
|head=1
}}
{{Crafting
|nocat=1
|A1= Glass Pane
|B1= Glass Pane
|C1= Glass Pane
|A2= Glass Pane
|B2= Matching Dye
|C2= Glass Pane
|A3= Glass Pane
|B3= Glass Pane
|C3= Glass Pane
|Output= Matching Stained Glass Pane,8
|type= Decoration block
|foot=1
}}

=== Dyeing shulker boxes ===

[[Shulker box]]es are generated in a light shade of purple (like the [[purpur block]]), but can be dyed any color. They can also be re-dyed as often as desired.

{{Crafting
  |ignoreusage=1
  |showname=1
  |Any Shulker Box
  |Matching Dye
  |Output=Matching Shulker Box
}}

=== Dyeing beds ===

Players can dye beds by placing a [[bed]] and any color dye in a crafting grid.

{{Crafting
|nocat=1
|Any Bed
|Matching Dye
|Output=Matching Bed
}}

=== Dyeing candles ===

Players can dye [[candles]] by placing an undyed candle and any color dye in a crafting grid.

{{Crafting
|ignoreusage=1
|Candle
|Matching Dye
|Output=Matching Dyed Candle
}}

=== Banner patterns ===
{{main|Banner#Patterns}}

Dyes are used in most banner patterns to determine the pattern and color displayed.

=== Dyeing armor ===

[[File:DyeGraph2.png|200px|thumb|A graph showing all combinations of two dyes on a [[tunic]].]]

Leather [[armor]] can be dyed by:
* Crafting dyes with a piece of leather armor or leather [[horse armor]].{{Only|java}}
* Dousing the leather armor or leather [[horse armor]] in a [[cauldron]] to which dyes have been added.{{Only|bedrock}}

There are 5,713,438<ref>https://anrar4.github.io/DyeLeatherArmor/</ref> (34.1% of sRGB) colors leather armor can be, as it is possible to put more than one dye on the crafting bench alongside the leather armor. Armor can be dyed multiple times with previous colors affecting the final outcome. Colored armor can be reverted to their original color using a [[cauldron]] with undyed water.

The game has a specific formula for calculating the color of dyed armor: each color, in the RGB color model, has a red value, green value, and blue value. For each dye in the crafting grid, and the armor itself (if it is already dyed), the red, green, and blue values are added to running totals. In addition, a running total of the highest value (be it red, green, or blue) is also kept. After this, each total is divided by the number of colors used. This effectively produces the average red, green, blue, and maximum values. The maximum value of the average RGB values is also calculated. Finally, each average RGB value is multiplied by the average maximum value and divided by the maximum of the average RGB values. The modified average RGB values are then used as the final color. This procedure can be summed up with the following equations:
 for each color (all "total" variables start at 0 before counting):
  totalRed = totalRed + redValue
  totalGreen = totalGreen + greenValue
  totalBlue = totalBlue + blueValue
  totalMaximum = totalMaximum + max(redValue, greenValue, blueValue)
  numberOfColors = numberOfColors + 1
 
 averageRed = totalRed / numberOfColors
 averageGreen = totalGreen / numberOfColors
 averageBlue = totalBlue / numberOfColors
 averageMaximum = totalMaximum / numberOfColors
 
 maximumOfAverage = max(averageRed, averageGreen, averageBlue)
 gainFactor = averageMaximum / maximumOfAverage
 
 resultRed = averageRed * gainFactor
 resultGreen = averageGreen * gainFactor
 resultBlue = averageBlue * gainFactor

Due to the way this formula works, the resulting color can never be darker than the average of the input colors and is often lighter and more saturated. Of course, the resulting color can never be lighter or more saturated than the lightest or most saturated input color. In addition, this formula never creates an RGB value higher than 255 (which would be invalid in the 8-bit RGB color model).

If leather armor is renamed on an [[anvil]], it retains its name when dyed or undyed.

;Mixing Samples
: {{ItemSprite|Yellow Dye}} + {{ItemSprite|Yellow Dye}} = {{Tint|leather-chestplate| #{{CalcDye| yellow=2 }} | code=1}}
: {{ItemSprite|Red Dye}} + {{ItemSprite|Blue Dye}} + {{ItemSprite|White Dye}} = {{Tint|leather-chestplate| #{{CalcDye| red=1 | blue=1 | white=1}} | code=1}}
: {{ItemSprite|Green Dye}} + {{ItemSprite|Red Dye}} + {{ItemSprite|Pink Dye}} = {{Tint|leather-chestplate| #{{CalcDye| green=1 | red=1 | pink=1}} | code=1}}

=== Dyeing firework stars ===

A [[firework star]] can have a single color or a combination of up to eight colors when crafted with dyes. Adding one or more dyes to a crafted firework star adds a "fade to color" effect to it, overwriting any existing fade colors.

{{Crafting
  |head=1
  |ignoreusage=1
  |ingredients=[[Gunpowder]] +<br>Any Dye (1–8) +<br>Extra ingredient (optional)
  |Gunpowder
  |Matching Dye
  |Diamond;Glowstone Dust;Head;Gold Nugget;Feather;Fire Charge;
  |Output=Matching Firework Star
}}
{{Crafting
  |ignoreusage=1
  |Matching Firework Star
  |Any Dye
  |Output=Matching Firework Star
  |foot=1
}}

=== Creating balloons ===

Dye can be used to craft balloons.{{only|education}}

{{Crafting
|nocat=1
|A1= Latex
|B1= Matching Dye
|C1= Latex
|A2= Latex
|B2= Helium
|C2= Latex
|A3= Latex
|B3= Lead
|C3= Latex
|Output= Matching Balloon
}}

=== Creating glow sticks ===

Dye can also be used to craft glow sticks.{{only|education}}

{{Crafting
|nocat=1
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= Matching Dye
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= Matching Glow Stick
}}

=== Dyeing water inside cauldrons ===
Water can be dyed in a cauldron by holding any dye in the hand and pressing {{Ctrl|use}} on a cauldron filled with water.{{only|bedrock}}

=== Signs ===
Dye can be {{control|used}} on a [[sign]] or a [[hanging sign]] to change the text color. {{IN|bedrock}}, [[ink sac]]s cannot be used for this purpose; black dye must be used to change the text to black.

=== Trading ===
Apprentice, journeyman and expert-level shepherd [[villager]]s buy any of the 12 dyes for an [[emerald]].

== Color values ==
The "color codes" are used to determine the color imparted on sheep, wolf and cat collars, firework stars, [[beacon]] beams, and dyed leather armor. The hex value is shown in the extended tooltips of dyed leather armor; however, to set the color using an NBT data tag in a [[command]], the decimal value must be used instead. The color values for firework stars are slightly different from the ones listed below, and use [[Item colors#Firework stars|these values]] instead.

{| class="wikitable" style="margin:2px; border: 1px solid silver; text-align: left;" data-description="Data values"
! rowspan=2 | Description
! colspan=2 style="text-align:center" | Color Code
|-
! Dec
! <abbr title="Hexadecimal color code">Hex</abbr>
|-
| style="text-align:center" | White || 16383998 || {{color|#F9FFFE}}
|-
| style="text-align:center" | Light gray || 10329495 || {{color|#9D9D97}}
|-
| style="text-align:center" | Gray || 4673362 || {{color|#474F52}}
|-
| style="text-align:center" | Black || 1908001|| {{color|#1D1D21}}
|-
| style="text-align:center" | Brown || 8606770 || {{color|#835432}}
|-
| style="text-align:center" | Red || 11546150 || {{color|#B02E26}}
|-
| style="text-align:center" | Orange || 16351261 || {{color|#F9801D}}
|-
| style="text-align:center" | Yellow || 16701501 || {{color|#FED83D}}
|-
| style="text-align:center" | Lime || 8439583 || {{color|#80C71F}}
|-
| style="text-align:center" | Green || 6192150 || {{color|#5E7C16}}
|-
| style="text-align:center" | Cyan || 1481884|| {{color|#169C9C}}
|-
| style="text-align:center" | Light blue || 3847130 || {{color|#3AB3DA}}
|-
| style="text-align:center" | Blue || 3949738 || {{color|#3C44AA}}
|-
| style="text-align:center" | Purple || 8991416 || {{color|#8932B8}}
|-
| style="text-align:center" | Magenta || 13061821 || {{color|#C74EBD}}
|-
| style="text-align:center" | Pink || 15961002 || {{color|#F38BAA}}
|}

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Dye.ogg
|subtitle=Dye stains
|source=block
|description=When dye is used on a [[sign]]
|id=item.dye.use
|translationkey=subtitles.item.dye.use
|volume=1.0
|pitch=1.0/0.9/0.95/1.1
|distance=16}}
{{Sound table
|subtitle=Dye stains
|source=player
|description=When dye is used on a [[sheep]]
|id=item.dye.use
|translationkey=subtitles.item.dye.use
|volume=1.0
|pitch=1.0/0.9/0.95/1.1
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Dye.ogg
|source=sound
|description=When dye is used on a sign
|id=sign.dye.use
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=3
|sound=Water Splash Old.ogg
|source=block
|description=When dye is added to a cauldron
|id=cauldron.adddye
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When armor is dyed using a cauldron
|id=cauldron.dyearmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When dye is removed from armor using a cauldron
|id=cauldron.cleanarmor
|volume=0.1
|pitch=1.0
|foot=1}}

== Achievements ==
{{load achievements|Rainbow Collection;Tie dye outfit}}

== Video ==

{{Video note|These videos are outdated, as it does not include details of the [[Java Edition 1.7.2|1.7.2]] update's changes to the dyeing system/production chain.}}

<div style="text-align:center">
<span style="display:inline-block">{{yt|8YD7oauNZHE}}</span>
<span style="display:inline-block">{{yt|7tETaRt7STM}}</span>
</div>

== History ==
{{History|java beta}}
{{History||January 3, 2011|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/2582321901/2011-here-we-go|Notch mentions adding a "paint" feature if he can figure out how.}}
{{History||January 10, 2011<ref group="n">Supposed time when fragment was filmed. Based on modified date of client.jar/gui/trap.png in [[Beta 1.2]].</ref>|link=https://www.youtube.com/watch?v=cBF2ugTzXqQ&t=181s|[[File:Red Dye (pre-release).png|32px]] Shown rose red in development as part of [[Minecraft: The Story of Mojang]].}}
{{History||1.2|[[File:Ink Sac JE1 BE1.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cocoa Beans JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Bone Meal JE1 BE1.png|32px]] Added dyes.
|[[File:Black Dye (Recreated).png|32px]] [[File:Red Dye (pre-release).png|32px]] [[File:Green Dye (Recreated).png|32px]] [[File:Brown Dye (Recreated).png|32px]] [[File:Blue Dye (Recreated).png|32px]] [[File:Purple Dye (Recreated).png|32px]] [[File:Cyan Dye (Recreated).png|32px]] [[File:Light Gray Dye (Recreated).png|32px]] [[File:Gray Dye (Recreated).png|32px]] [[File:Pink Dye (Recreated).png|32px]] [[File:Lime Dye (Recreated).png|32px]] [[File:Yellow Dye (Recreated).png|32px]] [[File:Light Blue Dye (Recreated).png|32px]] [[File:Magenta Dye (Recreated).png|32px]] [[File:Orange Dye (Recreated).png|32px]] [[File:White Dye (Recreated).png|32px]] Leftovers of old textures can be seen in [[items.png]] with 100% opacity. The white dye texture was reused for [[Sugar]].
| The colors were as follows:{{verify|Did the color codes remain the same between Beta 1.2 and Java 1.11.2?}}
{{:Color/Java Edition dye colors before 17w06a}}
}}
{{History|java}}
{{History||1.1|snap=11w49a|[[Sheep]] can now regrow their [[wool]] by eating [[grass block|grass]]. Dyed sheep regrow wool in their new color.}}
{{History||1.3.1|snap=12w19a|[[File:Cocoa Beans JE2.png|32px]] The texture of [[cocoa beans]] has been changed.}}
{{History|||snap=1.3|[[File:bone meal changes.gif|32px]] The textures of [[bone meal]], [[cactus green]], cocoa beans and [[rose red]] have been changed. The textures have been lowered one pixel.}}
{{History||1.4.2|snap=12w34a|Added the ability to dye leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.4|snap=1.4.3|Color codes have been changed. The colors of red, brown, blue, purple, cyan, pink, light blue, magenta and orange were adjusted a little vividly.}}
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted using dyes.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary dyes.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted using dyes.}}
{{History||1.8|snap=14w02a|As cleric [[villager]]s now sell lapis lazuli, all dyes have become fully renewable.}}
{{History|||snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.9|snap=15w34a|Added [[shield]]s, which can be dyed indirectly by applying a matching [[banner]].}}
{{History||1.11|snap=16w39b|Dyes are now used to change the color of [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Dyes are now used to craft [[concrete powder]].
|Color codes have been changed. All colors are adjusted more vividly. The changes were as follows:
{{:Color/Java Edition dye color changes in 17w06a}}
|Light blue dye, stained glass, and stained glass panes, did not change colors in this update. This means that they still use old colors.<ref name="unchanged dyes">{{Bug|MC-214643}}<br>{{Bug|MC-214641}}</ref>
}}
{{History|||snap=17w15a|Dyes can now apply color to white [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.}}
{{History||1.14|snap=18w43a|[[Bone meal]], [[ink sac]]s, [[cocoa beans]] and [[lapis lazuli]] are no longer considered dyes.
|[[File:White Dye JE1 BE1.png|32px]] [[File:Black Dye JE1 BE1.png|32px]] [[File:Brown Dye JE1 BE1.png|32px]] [[File:Blue Dye JE1 BE1.png|32px]] Added [[white dye|white]], [[black dye|black]], [[brown dye|brown]] and [[blue dye]]s.
|"Rose Red", "Dandelion Yellow" and "Cactus Green" have been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively. 
|[[Glass pane]]s and [[carpet]]s can now be dyed.
|[[File:Light Gray Dye JE2 BE2.png|32px]] [[File:Gray Dye JE2 BE2.png|32px]] [[File:Red Dye JE2 BE2.png|32px]] [[File:Orange Dye JE2 BE2.png|32px]] [[File:Yellow Dye JE2 BE2.png|32px]] [[File:Lime Dye JE2 BE2.png|32px]] [[File:Green Dye JE2 BE2.png|32px]] [[File:Cyan Dye.png|32px]] [[File:Light Blue Dye JE2 BE2.png|32px]] [[File:Purple Dye JE2 BE2.png|32px]] [[File:Magenta Dye JE2 BE2.png|32px]] [[File:Pink Dye JE2 BE2.png|32px]] The textures of light gray, gray, red, orange, yellow, lime, green, cyan, light blue, purple, magenta, and pink dyes, have been changed. The color texture for light blue dye was not changed to reflect the updated colors from 1.12.<ref name="unchanged dyes"></ref>}}
{{History|||snap=18w44a|The color of the text on [[sign]]s can now be changed with dye.}}
{{History|||snap=18w49a|Yellow dyes can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=18w50a|Green dyes can now be found in [[chest]]s in [[desert]] [[village]] houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which can sell any type of dye.}}
{{History|||snap=19w11a|All 16 types of dyes can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.16.2|snap=Pre-release 2|Reversed the order of dyes to match other colored items in the [[Creative inventory]].<ref name="reverse dye">{{Bug|MC-136553}}</ref>
|Regrouped dyes in the Creative inventory such that white, blue, brown, and black dyes are within and not [[cocoa beans]], [[ink sacs]], [[lapis lazuli]], and [[bone meal]].<ref name="regroup dye">{{Bug|MC-177684}}</ref>}}
{{History||1.17|snap=20w45a|Added [[candle]]s, which can be dyed.}}
{{History|||snap=21w03a|Added a sound for applying dyes.}}
{{History|||snap=21w19a|Candles can no longer be dyed.}}
{{History|||snap=Pre-release 1|Candles can now once again be dyed.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|The color of the text on [[hanging sign]]s can now be changed with dye.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[Torchflower]]s can now be crafted into orange dye.|[[Pink petals]] can now be crafted into pink dye.}}
{{History||1.20|snap=23w12a|[[Pitcher plant]]s can now be crafted into cyan dye.|Blue, light blue, orange, white, and yellow dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w14a|Pitcher plants can now craft two [[cyan dye]] instead of one.}}
{{History|||snap=23w16a|Blue, light blue, orange, white, and yellow dye no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; blue, light blue, orange, white, and yellow dye now are in the common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Bone Meal JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Cocoa Beans JE1 BE1.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] Added dyes. Only [[dandelion yellow]] and [[lapis lazuli]] are currently obtainable and have functionality.}}
{{History||v0.3.2|[[Cactus green]] is now obtainable by smelting [[cacti]].}}
{{History||v0.3.3|[[Bone meal]] is now obtainable via [[crafting]].}}
{{History||v0.4.0|[[Cyan dye]], [[light blue dye]], [[lime dye]], [[magenta dye]], [[orange dye]], [[pink dye]], and [[purple dye]] are now obtainable via crafting.
|[[Rose red]] is now obtainable by smelting red [[mushroom]]s.
|All available dyes, excluding bone meal, can now be used to craft their respective [[wool]] color.}}
{{History||v0.8.0|snap=build 1|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History|||snap=build 3|[[Ink sac]]s, [[cocoa bean]]s, [[gray dye]], and [[light gray dye]] are now available in the [[creative]] [[inventory]].
|Rose red can now be obtained from [[beetroot]]s.}}
{{History||v0.9.0|snap=build 1|Cocoa beans can now be obtained from [[cocoa pod]]s.
|The [[rose]] has been removed and replaced with a new poppy [[flower]] that can be crafted into rose red.}}
{{History|||snap=build 3|All new [[flower]]s can now be [[crafting|crafted]] into dyes. Because of this, many secondary and tertiary dyes are now primary dyes.
|[[Gray dye]] and [[light gray dye]] can now be obtained in [[survival]].}}
{{History|||snap=build 11|[[Terracotta|Stained clay]] can now be crafted using dyes.}}
{{History||v0.11.0|snap=build 1|[[Ink sac]]s can now be obtained from [[squid]].
|Added the ability to dye [[wolf]] collars.}}
{{History||v0.12.1|snap=build 1|Red [[mushroom]]s can no longer be smelted to obtain [[rose red]].}}
{{History||v0.14.0|snap=build 1|[[Cauldron]]s now used for leather dyeing, by applying a dye to a [[water]]-filled cauldron.}}
{{History||v0.16.0|snap=build 1|[[Cocoa bean]]s can no longer be crafted.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added a ''Dye'' button for [[sheep]].
|Added [[shulker]]s, which can be dyed.
|Added [[stained glass]]. Stain glass cannot be [[crafting|crafted]], but purple glass generates in [[end city|end cities]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Dyes can now apply color to a white [[bed]]s.
|Dyes are now used to craft [[concrete powder]].
|The color palette has been changed.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Dyes can now be used for [[banner]] crafting.
|Dyes can now be used to craft [[firework star]]s.
|[[Stained glass]] is now [[crafting|craftable]], using dyes.}}
{{History||1.4.0|snap=beta 1.2.20.1|[[Lime dye]] can now be obtained from smelting [[sea pickle]]s.
|Dyes can now used to craft [[glow stick]]s and [[balloon]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Dyes can now be used to dye [[cat]] collars.}}
{{History|||snap=beta 1.8.0.10|[[File:White Dye JE1 BE1.png|32px]] [[File:Black Dye JE1 BE1.png|32px]] [[File:Brown Dye JE1 BE1.png|32px]] [[File:Blue Dye JE1 BE1.png|32px]] Added [[white dye|white]], [[brown dye|brown]], [[black dye|black]] and [[blue dye]]s, which can be crafted from [[lapis lazuli]], [[bone meal]], [[cocoa beans]] and [[ink sac]]s. This, however, the later four still use as dyes.<ref>{{Bug|MCPE-42473}}</ref>
|"Rose Red", "Dandelion Yellow" and "Cactus Green" have been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.}}
{{History||1.9.0|snap=beta 1.9.0.0|Blue and white dye can now be obtained from [[cornflower]]s and [[lily of the valley]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[Glass pane]]s and [[carpet]]s can now be dyed.
|Only a single dye is now required to apply a banner pattern in a [[loom]].
|Various dyes except black dye, white dye, brown dye and blue dye are now [[trading|sold]] by [[wandering trader]]s.
|[[File:Bone Meal JE2 BE2.png|32px]] [[File:Light Gray Dye JE2 BE2.png|32px]] [[File:Gray Dye JE2 BE2.png|32px]] [[File:Ink Sac JE2 BE2.png|32px]] [[File:Cocoa Beans JE4 BE3.png|32px]] [[File:Red Dye JE3 BE3.png|32px]] [[File:Orange Dye JE2 BE2.png|32px]] [[File:Yellow Dye JE2 BE2.png|32px]] [[File:Lime Dye JE2 BE2.png|32px]] [[File:Green Dye JE2 BE2.png|32px]] [[File:Cyan Dye.png|32px]] [[File:Light Blue Dye JE2 BE2.png|32px]] [[File:Lapis Lazuli JE2 BE2.png|32px]] [[File:Purple Dye JE2 BE2.png|32px]] [[File:Magenta Dye JE2 BE2.png|32px]] [[File:Pink Dye JE2 BE2.png|32px]] The textures of bone meal, light gray, gray, ink sac, cocoa beans, red, orange, yellow, lime, green, cyan, light blue, lapis lazuli, purple, magenta, and pink dyes have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.210|snap=beta 1.16.210.59|The color of the text on [[sign]]s can now be changed with dye.}}
{{History|||snap=beta 1.16.210.60|The ability to dye the color of the text on [[sign]]s was temporarily removed.}}
{{History||1.16.220|snap=beta 1.16.220.50|The color of the text on [[sign]]s can now be changed with dye again.}}
{{History||1.17.10|snap=beta 1.17.10.22|Added [[candles]], which can be dyed.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Bone Meal JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Cocoa Beans JE1 BE1.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] Added dyes.}}
{{History||xbox=TU9|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||xbox=none|xbone=none|ps=1.83|wiiu=none|switch=none|[[File:White Dye JE1 BE1.png|32px]] [[File:Black Dye JE1 BE1.png|32px]] [[File:Brown Dye JE1 BE1.png|32px]] [[File:Blue Dye JE1 BE1.png|32px]] Added [[white dye|white]], [[black dye|black]], [[brown dye|brown]], and [[blue dye|blue]] dyes, which can crafted from [[bone meal]], [[ink sac]], [[cocoa beans]], and [[lapis lazuli]].
|"Rose Red", "Dandelion Yellow" and "Cactus Green" have been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.}}
{{History||ps=1.90|[[File:Bone Meal JE2 BE2.png|32px]] [[File:Light Gray Dye JE2 BE2.png|32px]] [[File:Gray Dye JE2 BE2.png|32px]] [[File:Ink Sac JE2 BE2.png|32px]] [[File:Cocoa Beans JE4 BE3.png|32px]] [[File:Red Dye JE2 BE2.png|32px]] [[File:Orange Dye JE2 BE2.png|32px]] [[File:Yellow Dye JE2 BE2.png|32px]] [[File:Lime Dye JE2 BE2.png|32px]] [[File:Green Dye JE2 BE2.png|32px]] [[File:Cyan Dye.png|32px]] [[File:Light Blue Dye JE2 BE2.png|32px]] [[File:Lapis Lazuli JE2 BE2.png|32px]] [[File:Purple Dye JE2 BE2.png|32px]] [[File:Magenta Dye JE2 BE2.png|32px]] [[File:Pink Dye JE2 BE2.png|32px]] The textures of bone meal, light gray, gray, ink sac, cocoa beans, red, orange, yellow, lime, green, cyan, light blue, lapis lazuli, purple, magenta, and pink dyes have been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Bone Meal JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Cocoa Beans JE3 BE2.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] Added dyes from [[Pocket Edition v0.15.4 alpha]].}}
{{History|foot}}
<gallery>
Pre-release dyes.png|Pre-release dye textures hidden within [[Items.png]].
</gallery>
;Notes
{{reflist|group=n}}

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

==Issues==
{{issue list}}

== Trivia ==
* Players can obtain each one of every color with 1 cocoa bean, 2 yellow dye, 2 ink sac, 3 green dye, 4 lapis lazuli, 4 red dye, and 6 bone meal (2 bones).
* The dyed sheep breeding behavior mirrors [[wikipedia:Lamarckism|Lamarck's theory]], in which the organisms evolve inheriting the external changes and adaptations of the previous generation, transmitting them to their offspring.
* In ''Bedrock Edition'', tertiary colors, along with their regular crafting recipes, can be crafted with primary colors. E.g.: Magenta can be crafted with one rose red and two bone meals.
* The colors of the dyes match the chat colors in [[color codes]] except for brown (dye only), light aqua, and gold (color codes only).
* The texture for light blue dye still uses the color from prior to the 1.12 World of Color update.<ref name="unchanged dyes"></ref>

== References ==
{{reflist}}

== External Links ==
* Tools for calculating leather dye combination: [https://minecraft.tools/en/armor.php minecraft.tools] (webapp); [https://github.com/pudquick/pyMCdyes/ pyMCDyes] (open-source Python script, outdated); [https://anrar4.github.io/DyeLeatherArmor/ DyeLeatherArmor]: a tool for calculating an exact crafting recipe for any sRGB color

{{Items}}

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

[[cs:Barvivo]]
[[de:Farbstoff]]
[[es:Tinte]]
[[fr:Teinture]]
[[hu:Színezés]]
[[it:Colorante]]
[[ja:染料]]
[[ko:염료]]
[[nl:Kleurstof]]
[[pl:Barwniki]]
[[pt:Corante]]
[[ru:Красители]]
[[th:สีย้อม]]
[[uk:Барвники]]
[[zh:染料]]</li><li>[[Shovel|Shovel]]<br/>{{Item
| image = <gallery>
Wooden Shovel.png | Wooden
Stone Shovel.png | Stone
Iron Shovel.png | Iron
Golden Shovel.png | Golden
Diamond Shovel.png | Diamond
Netherite Shovel.png | Netherite
</gallery>
| rarity = Common
| renewable = '''Netherite''': No<br>'''All others''': Yes
| durability = 
* Wood: 59
* Stone: 131
* Iron: 250
* Golden: 32
* Diamond: 1561
* Netherite: 2031
| stackable = No
}}

'''Shovels''' are [[tool]]s used to hasten the process of breaking [[dirt]], [[sand]], [[gravel]] and other soil blocks, as well as to convert [[Dirt (disambiguation)|dirt]] blocks into [[Dirt Path|dirt paths]].

== Obtaining ==

=== Crafting ===
{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |name=[[Shovel]]s
  |B1= {Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B2= Stick
  |B3= Stick
|Output= Wooden Shovel; Iron Shovel; Golden Shovel; Diamond Shovel
|type= Tool
}}
{{Crafting
  |name=[[Stone Shovel]]
  |B1=Any stone-tier block
  |B2=Stick
  |B3=Stick
  |Output=Stone Shovel
  |description=Can use any variant of cobblestone
  |type=Tool
}}
{{Crafting
  |foot=1
  |ignoreusage=1
  |name=[[Shovel]]
  |ingredients=Damaged Matching [[Shovel]]
  |Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
  |Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
  |Output=Wooden Shovel; Stone Shovel; Iron Shovel; Golden Shovel; Diamond Shovel; Netherite Shovel
  |description= The durability of the two shovels is added together, plus an extra 5% durability.
  |type= Tool
}}

=== Upgrading ===
Like other diamond tools, a diamond shovel can be upgraded to a netherite shovel, although increased durability and resistance to fire/lava in item form are the only benefits. The shovel's performance as a digging tool or a weapon is unchanged by the upgrade.

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

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Wooden Shovel]] or<br>2x Damaged [[Stone Shovel]] or<br>2x Damaged [[Iron Shovel]] or<br>2x Damaged [[Golden Shovel]] or<br>2x Damaged [[Diamond Shovel]] or<br>2x Damaged [[Netherite Shovel]]
|Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
|Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
|Wooden Shovel; Stone Shovel; Iron Shovel; Golden Shovel; Diamond Shovel; Netherite Shovel
|description=The durability of the two shovels is added together, plus an extra 5% durability.
}}

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

=== Chest loot ===
On <code>ancient_city/city_center/city_center_2</code>, they generate a furnace with a wooden shovel inside of it.
{{LootChestItem|iron-shovel,level-enchanted-iron-shovel,random-enchanted-golden-shovel,diamond-shovel,level-enchanted-diamond-shovel,damaged-random-enchanted-diamond-shovel,damaged-random-enchanted-diamond-shovel-2}}

=== Mob loot ===

==== Equipment ====
{{Main|Drops#Equipped items}}

[[Zombie]]s and [[husk]]s have a 0.67% (3.33% in Hard [[difficulty]]) chance of spawning with an iron shovel. They have an 8.5% (9.5% with [[Looting]] I, 10.5% with Looting II and 11.5% with Looting III) chance of dropping that shovel if they are killed by the player. The dropped shovel is usually badly damaged, and may be enchanted: 0%–25% on Normal difficulty and 3.125%–25% on Hard difficulty, varying with [[regional difficulty]], and enchanted as if on an enchanting table at level 5–22.

==== Raids ====

Vindicators and pillagers that spawn from raids have a 4.1% chance(5.12% on hard) to drop a badly-damaged iron shovel that is sometimes enchanted with a random enchantment.{{only|bedrock}}

=== Trading ===

Novice-level toolsmith villagers have a 25% chance to sell stone shovels for one emerald, journeyman-level toolsmith villagers have a 25% chance to sell enchanted iron shovels for 2 emeralds, and expert-level toolsmith villagers have a 50% chance to sell enchanted diamond shovels for 5 emeralds as part of their trades.{{only|bedrock}}

Novice-level toolsmith villagers have a 40% chance to sell stone shovels for one emerald, journeyman-level tool smiths have a 40% chance to sell an enchanted iron shovel for 7-22 emeralds, and expert-level tool smiths have a {{frac|2|3}} chance to sell an enchanted diamond shovel for 11-27 emeralds.{{only|java}}

The enchantments are the same as the ones obtained from an [[enchanting table]] at levels 5–19.

=== Villager gifts ===

{{in|java}}, toolsmith [[villager]]s occasionally throw stone shovels at players with the [[Hero of the Village]] effect.

== Usage ==

=== Digging ===

A shovel can be used to break some materials faster. When breaking a block, it uses 1 durability. For blocks that break instantly, it uses 0 durability.

==== Durability ====

Each different tier of shovel has a different durability:

{| class="wikitable sortable"
! Material
! [[Durability]]
|-
| {{itemLink|Wooden Shovel|Wood|link=Shovel}}
| 59
|-
| {{itemLink|Stone Shovel|Stone|link=Shovel}}
| 131
|-
| {{itemLink|Iron Shovel|Iron|link=Shovel}}
| 250
|-
| {{itemLink|Diamond Shovel|Diamond|link=Shovel}}
| 1561
|-
| {{itemLink|Golden Shovel|Golden|link=Shovel}}
| 32
|-
| {{itemLink|Netherite Shovel|Netherite|link=Shovel}}
| 2031
|}

==== Speed ====

The following table summarizes the speed at which different quality shovels perform on different block types. Values with a red background indicate that no resource is dropped when the block is destroyed without a shovel. 
{{breaking row|Clay|simple=1}}
{{breaking row|Coarse Dirt}}
{{Breaking row|Concrete Powder}}
{{breaking row|Dirt}}
{{breaking row|Dirt Path}}
{{breaking row|Farmland}}
{{breaking row|Grass Block}}
{{breaking row|Gravel}}
{{breaking row|Mud}}
{{breaking row|Muddy Mangrove Roots}}
{{breaking row|Mycelium}}
{{breaking row|Podzol}}
{{breaking row|Red Sand}}
{{breaking row|Rooted Dirt}}
{{breaking row|Sand}}
{{breaking row|Snow|Wooden}}
{{breaking row|Snow Block|Wooden}}
{{breaking row|Soul Sand}}
{{breaking row|Soul Soil}}
{{breaking row|Suspicious Gravel}}
{{breaking row|Suspicious Sand|foot=1}}

=== Dirt paths ===

A shovel can be used to create a [[dirt path]] by {{control|using}} (not digging) the shovel on any one of the following blocks, losing one durability point:
* {{BlockLink|Grass Block}}
* {{BlockLink|Dirt}}
* {{BlockLink|Coarse Dirt}}
* {{BlockLink|Rooted Dirt}}
* {{BlockLink|Podzol}}
* {{BlockLink|Mycelium}}

=== Campfire ===

A shovel can be used to extinguish a [[campfire]].

===Weapon===

Hitting a mob while holding a shovel is a stronger attack than barehanded. Shovels take 2 damage when used as a weapon.

====Java Edition====

[[Category:Java Edition specific information]]
Shovels have an attack speed modifier of -3, meaning they take 1 second to [[Damage#Attack cooldown|recover]]. Shovels deal different damage based on the type:

{| class="wikitable" style="text-align:center" data-description="Attack damage"
!Shovel type
! Attack damage
! Attack speed
!Damage per<br>second (DPS)
|-
|{{ItemLink|Wooden Shovel}}<br>{{ItemLink|Golden Shovel}}||{{hp|2.5}}|| rowspan="4" |1||2.5
|-
|{{ItemLink|Stone Shovel}}||{{hp|3.5}}||3.5
|-
|{{ItemLink|Iron Shovel}}||{{hp|4.5}}||4.5
|-
|{{ItemLink|Diamond Shovel}}||{{hp|5.5}}||5.5
|-
|{{ItemLink|Netherite Shovel}}||{{hp|6.5}}
|1.6||10.4
|}

====Bedrock Edition====

{{IN|bedrock}}, shovels always attack instantly and do the following damage:

{| class="wikitable" style="text-align:center" data-description="Attack damage"
! colspan="5" |Attack damage
|-
|{{ItemSprite|Wooden Shovel}}{{ItemSprite|Golden Shovel}} {{hp|2}}
|{{ItemSprite|Stone Shovel}} {{hp|3}}
|{{ItemSprite|Iron Shovel}} {{hp|4}}
|{{ItemSprite|Diamond Shovel}} {{hp|5}}
|{{ItemSprite|Netherite Shovel}} {{hp|6}}
|}

===Enchantments===

A shovel can receive, or be found in an [[End City]] with the following [[enchantment]]s:

{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Fortune]]<ref group="note" name="exc">Silk Touch and Fortune are mutually exclusive</ref>
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Silk Touch]]<ref group="note" name="exc" />
|I
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Efficiency]]
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|}

{{notelist}}

=== Fuel===

Wooden shovels can be used as a fuel in [[furnace]]s, smelting 1 item per shovel.

===Smelting ingredient===

{{Smelting|showname=1|Iron Shovel;Golden Shovel|Iron Nugget;Gold Nugget|0,1}}
===Piglins ===
{{EntityLink|Piglin|Piglins}} are attracted to golden shovels and run toward any golden shovels on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Shovel flatten1.ogg
|sound2=Shovel flatten2.ogg
|sound3=Shovel flatten3.ogg
|sound4=Shovel flatten4.ogg
|subtitle=Shovel flattens
|source=block
|description=When a shovel creates a [[dirt path]]
|id=item.shovel.flatten
|translationkey=subtitles.item.shovel.flatten
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a shovel'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=Grass hit1.ogg
|sound2=Grass hit2.ogg
|sound3=Grass hit3.ogg
|sound4=Grass hit4.ogg
|sound5=Grass hit5.ogg
|sound6=Grass hit6.ogg
|source=block
|description=When a shovel creates a dirt path <ref group=sound>{{Bug|MCPE-114390}}</ref>
|id=use.grass
|volume=1.0
|pitch=0.8}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a shovel'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 Shovel
|spritetype=item
|nameid=wooden_shovel
|form=item}}
{{ID table
|displayname=Stone Shovel
|spritetype=item
|nameid=stone_shovel
|form=item}}
{{ID table
|displayname=Iron Shovel
|spritetype=item
|nameid=iron_shovel
|form=item}}
{{ID table
|displayname=Diamond Shovel
|spritetype=item
|nameid=diamond_shovel
|form=item}}
{{ID table
|displayname=Golden Shovel
|spritetype=item
|nameid=golden_shovel
|form=item}}
{{ID table
|displayname=Netherite Shovel
|spritetype=item
|nameid=netherite_shovel
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Shovel
|spritetype=item
|nameid=wooden_shovel
|id=309
|form=item}}
{{ID table
|displayname=Stone Shovel
|spritetype=item
|nameid=stone_shovel
|id=313
|form=item}}
{{ID table
|displayname=Iron Shovel
|spritetype=item
|nameid=iron_shovel
|id=296
|form=item}}
{{ID table
|displayname=Diamond Shovel
|spritetype=item
|nameid=diamond_shovel
|id=317
|form=item}}
{{ID table
|displayname=Golden Shovel
|spritetype=item
|nameid=golden_shovel
|id=323
|form=item}}
{{ID table
|displayname=Netherite Shovel
|spritetype=item
|nameid=netherite_shovel
|id=605
|form=item
|foot=1}}

==Achievements==

{{load achievements|MOAR Tools ;Oooh, shiny!}}

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

== Video==

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

==History==
{{Missing information|there are so many missing blocks that need shovel to break}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Iron Shovel JE1.png|32px]] Added iron shovels which are located in the player's [[inventory]].
|Shovels cannot be crafted yet and are not functional in this version.}}
{{History|||snap=20100110|Shovels are now functional and can now be used to gather [[material]]s like [[dirt]], [[sand]] and [[gravel]] 400% faster than by hand.}}
{{History|||snap=20100124|A complete [[tool]] set is no longer given to the [[player]] on starting a new world. Instead, there are multiple [[chest]]s in the later called "[[Indev House]]" containing a stack of most accessible [[blocks]]/[[items]] including [[tools]].}}
{{History|||snap=20100128|[[File:Wooden Shovel JE1 BE1.png|32px]] [[File:Stone Shovel JE1 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] [[Tools]] now have tiers. Shovels made from wood, stone, and diamond have been added.
|[[File:Iron Shovel JE2 BE1.png|32px]] The texture of iron shovels has been changed.
|A shovel held by the player is now rendered to appear more 3D.|They cannot be crafted yet, but have been added to the item chest in the Indev house.}}
{{History|||snap=20100129|Wood, stone, iron, and diamond shovels can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Shovel JE1.png|32px]] Shovels can now be made out of gold.}}
{{History|||snap=20100201-1|[[Tools]], including shovels, now take [[damage]] when being used.
|Better tools, including shovels, now last longer.}}
{{History||20100206|[[File:Golden Shovel JE2 BE1.png|32px]] The texture of golden shovels has been changed.}}
{{History|java alpha}}
{{History||1.0.5_01|Shovels are now used to get snowballs out of snow layers.}}
{{History|java beta}}
{{History||April 9, 2011|link=https://www.youtube.com/watch?v=qy882ILYJMM&t=154s|[[File:Iron Shovel (pre-release).png|32px]] Alternate iron shovel texture was shown in [[Mojang]] test video.}}
{{History|java}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden shovels.}}
{{History||1.3.1|snap=12w18a|Wooden shovels can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] diamond shovels for 7 [[emerald]]s, and iron shovels for 4–5 emeralds.}}
{{History||1.6.1|snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), shovels now add their damage onto the barehanded damage, which results in all shovels doing {{hp|1}} more damage than before.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden shovels.}}
{{History||1.8|snap=14w02a|Tool smith villagers now [[trading|sell]] enchanted iron shovels for 5–7 emeralds. The previous trades are now unavailable, making diamond shovels [[non-renewable resource|non-renewable]].}}
{{History||1.9|snap=15w31a|A shovel can now be used on a [[grass block]] to create [[grass path]] blocks.
|[[Enchanting|Enchanted]] iron or diamond shovels can now be found in [[end city]] chests.}}
{{History|||snap=15w34a|Shovels now use the "attack strength" combat mechanic meter. The time it takes for the meter to fill up for a shovel is 0.8 seconds.}}
{{History|||snap=15w34c|Shovels now do more [[damage]] and take longer to recover.}}
{{History|||snap=15w35a|The damage of shovels has been reduced.}}
{{History|||snap=15w41a|Wooden shovels are now used to craft [[boat]]s.}}
{{History|||snap=15w50a|The [[sound]] <code>item.shovel.flatten</code> has been added to shovels.}}
{{History|||snap=16w04a|Wooden shovels are no longer used to [[crafting|craft]] boats.}}
{{History||1.11.1|snap=16w50a|Golden and iron shovels now [[smelting|smelt]] down into one of their respective [[nugget]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 269, 273, 256, 277 and 284.}}
{{History||1.14|snap=18w43a|[[File:Wooden Shovel JE2 BE2.png|32px]] [[File:Stone Shovel JE2 BE2.png|32px]] [[File:Iron Shovel JE3 BE2.png|32px]] [[File:Golden Shovel JE3 BE2.png|32px]] [[File:Diamond Shovel JE2 BE2.png|32px]] The textures of all shovels have been changed.}}
{{History|||snap=18w50a|Iron shovels can now be found in chests in [[village]] toolsmith houses.}}
{{History|||snap=19w11a|Toolsmith [[villager]]s now [[trading|sell]] stone shovels and enchanted diamond shovels, making diamond shovels [[renewable resource|renewable]] again.}}
{{History|||snap=19w13a|Toolsmith villagers now give stone shovels to players under the [[Hero of the Village]] effect.}}
{{History||1.15|snap=19w37a|Shovels can now be used to extinguish [[campfire]]s.}}
{{History||1.16|snap=20w06a|[[File:Netherite Shovel JE1.png|32px]] Added netherite shovels.
|Netherite shovels are obtained by combining one diamond shovel and one netherite ingot in a crafting table.
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden shovels.}}
{{History|||snap=20w09a|[[File:Diamond Shovel JE3 BE3.png|32px]] The texture of diamond shovels has been changed.
|Shovels can now break soul soil quickly.}}
{{History|||snap=20w10a|[[File:Netherite Shovel JE2 BE1.png|32px]] The texture of netherite shovels has been changed.
|Netherite shovels can no longer be crafted.
|Netherite shovels are now obtained by combining one diamond shovel and one netherite ingot in a smithing table.}}
{{History|||snap=20w15a|Stone shovels can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Netherite shovels now generate randomly enchanted in [[bastion remnants]] chests.
|Golden shovels now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds shovels now generate in place of netherite shovels in bastion remnant chests.}}
{{History||1.16.2|snap=20w30a|Increases the chance of finding randomly enchanted diamond shovels in bastion remnant chests.
|Unenchanted, undamaged diamond shovels can also be found in bastion remnant chests.}}
{{History||1.17|snap=21w08a|Stone shovels can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden shovels.}}
{{History|||snap=22w13a|Wooden shovels may now be found in [[ancient city]] [[furnace]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond shovels to netherite shovels now requires the netherite upgrade [[smithing template]].}}
{{History||1.20|snap=23w14a|Shovel now breaks [[suspicious sand]] and [[suspicious gravel]] quickly.}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all shovels has been increased to 2.|The [[damage]] for all shovels has been decreased by {{hp|1}}.}}


{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Shovel JE1 BE1.png|32px]] Added stone shovels.}}
{{History||v0.3.0|[[File:Wooden Shovel JE1 BE1.png|32px]] Added wooden shovels.
|Survival players no longer start out with an infinite durability stone shovel in the inventory.}}
{{History||v0.3.2|[[File:Iron Shovel JE2 BE1.png|32px]] [[File:Golden Shovel JE2 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] Added iron, gold, and diamond shovels.}}
{{History||v0.4.0|Removed stone shovels from the creative inventory.}}
{{History||v0.11.0|snap=build 1|Wooden shovels are now used to craft [[boat]]s.
|Iron shovels are now available in the [[creative]] [[inventory]].
|A shovel can now be used on a [[grass block]] to create [[grass path]] blocks.}}
{{History|||snap=build 11|Wooden, stone, golden, and diamond shovels are now available in the [[creative]] inventory.}}
{{History|||snap=build 12|All shovels have been removed from creative.}}
{{History|||snap=build 13|Shovel have been re-added to creative mode.}}
{{History||v0.12.1|snap=build 1|Shovels can now be [[enchanting|enchanted]].
|[[Zombie]]s now have a small chance to spawn holding an iron shovel.}}
{{History||v0.15.0|snap=build 1|Added [[husk]]s, which have a small chance to spawn holding an iron shovel.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron and diamond shovels can now be found inside [[end city]] chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Enchanted iron shovels are now [[trading|sold]] by toolsmith [[villager]]s for 4-5 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden shovels are now [[smelting|smeltable]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Shovel JE2 BE2.png|32px]] [[File:Stone Shovel JE2 BE2.png|32px]] [[File:Iron Shovel JE3 BE2.png|32px]] [[File:Golden Shovel JE3 BE2.png|32px]] [[File:Diamond Shovel JE2 BE2.png|32px]] The textures of all shovels have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron shovels can now be found in [[village]] toolsmith houses.}}
{{History|||snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn in [[raid]]s can now drop iron shovels upon [[death]].
|[[Trading]] has been changed, toolsmith [[villager]]s now have a 25% chance to [[trading|sell]] enchanted iron shovels for 2 [[emerald]]s as part of their third tier trades.
|Stone shovels and [[enchanting|enchanted]] diamond shovels can now be [[trading|bought]] from toolsmith villagers.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Shovel JE2 BE1.png|32px]] Added netherite shovels.|Netherite shovels are obtained by combining one diamond shovel and one netherite ingot in a crafting table.
|[[File:Diamond Shovel JE3 BE3.png|32px]] The texture of diamond shovels has been changed.}}
{{History|||snap=beta 1.16.0.57|Netherite shovels can no longer be crafted.
|Netherite shovels are now obtained by combining one diamond shovel and one netherite ingot in a smithing table.
|Stone shovels can now be crafted using [[blackstone]].
|Netherite shovels now generate randomly enchanted in [[bastion remnants]] chests.
|Golden shovels now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds shovels now generate in place of netherite shovels in bastion remnant chests.}}
{{History||1.20.10|snap=beta 1.20.10.20|The [[wooden shovel]] in the crafting recipe has been removed for all boat types except the bamboo raft.}}
{{History|||snap=beta 1.20.10.21|The bamboo raft recipe no longer needs a wooden shovel.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wooden Shovel JE1 BE1.png|32px]] [[File:Stone Shovel JE1 BE1.png|32px]] [[File:Iron Shovel JE2 BE1.png|32px]] [[File:Golden Shovel JE2 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] Added shovels (all five types).}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden shovels are now [[smelting|smeltable]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wooden Shovel JE2 BE2.png|32px]] [[File:Stone Shovel JE2 BE2.png|32px]] [[File:Iron Shovel JE3 BE2.png|32px]] [[File:Golden Shovel JE3 BE2.png|32px]] [[File:Diamond Shovel JE2 BE2.png|32px]] The textures of all shovels have been changed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Wooden Shovel JE1 BE1.png|32px]] [[File:Stone Shovel JE1 BE1.png|32px]] [[File:Iron Shovel JE2 BE1.png|32px]] [[File:Golden Shovel JE2 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] Added shovels.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery==
<gallery>
Shovel JINX.jpg|Official shovel T-shirt made by JINX.
Stone Shovel SDGP.png|Stone shovel in the [[Super Duper Graphics Pack]].
Adventure Shovel.png|An "adventure shovel" that can break blocks in [[adventure mode]].
</gallery>

===Enchanted shovels===
<gallery>
Enchanted_Wooden_Shovel.gif
Enchanted_Stone_Shovel.gif
Enchanted_Iron_Shovel.gif
Enchanted_Golden_Shovel.gif
Enchanted_Diamond_Shovel.gif
Enchanted_Netherite_Shovel.gif
</gallery>

==References==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-shovel Taking Inventory: Shovel] – Minecraft.net on November 16, 2018

{{items}}

[[Category:Combat]]

[[cs:Lopata]]
[[de:Schaufel]]
[[es:Pala]]
[[fr:Pelle]]
[[hu:Ásó]]
[[ja:シャベル]]
[[ko:삽]]
[[nl:Schep]]
[[pl:Łopata]]
[[pt:Pá]]
[[ru:Лопата]]
[[uk:Лопата]]
[[zh:锹]]</li></ul>
beta 1.16.0.57Added /kick.