Minecraft Wiki
Advertisement

The Named Binary Tag (NBT) format is use by Minecraft for the various files in which it saves data. The format is designed to store data in a tree structure made up of various tags. All tags have an ID and a name.

Another more user-friendly format of NBT is in plain string, as used in commands. This format is referred to as SNBT, short for stringified NBT.

SNBT format

Information icon
This feature is exclusive to Java Edition. 

'SNBT, also known as big old nat the rat, is often used in command in Java Edition. It can be described starting with attribute-value pairs enclosed in curly braces. One common usage of data tags in Java Edition is in commands, used to specify complex data for any entity.

A data tag consists of zero or more attribute-value pairs delimited by commas and enclosed in curly braces. Each attribute-value pair consists of an tag name and the tag's value, separated by a colon. Some values, however, may be a compound tag and themselves contain attribute-value pairs, allowing a data tag to describe a hierarchical data structure.

Example: {name1:123,name2:"sometext1",name3:"{subname1:456,subname2:"sometext2"}}"

Tag's name can be enclosed with double quotes if necessary.

It is different from the JSON format; hence, any JSON used in NBT, such as raw JSON text, must be enclosed within a string tag.

Format of each type

The defined data structures also expect the values to be of the correct type.

Data Tags Value Types
Type Description
 Byte A signed 8-bit integer, ranging from -128 to 127 (inclusive).
Example: 34b
 Short A signed 16-bit integer, ranging from -32,768 to 32,767 (inclusive).
Example: 31415s
 Int A signed 32-bit integer, ranging from -2,147,483,648 and 2,147,483,647 (inclusive).
Example: 31415926
 Long A signed 64-bit integer, ranging from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 (inclusive).
Example: 31415926l
 Float A 32-bit, single-precision floating-point number, ranging from -3.4E+38 to +3.4E+38.
Example: 3.1415926f

See IEEE floating point for details.

 Double A 64-bit, double-precision floating-point, ranging from -1.7E+308 to +1.7E+308.
Example: 3.1415926

See IEEE floating point for details.

 String A sequence of characters, enclosed in quotes. For strings without commas, brackets, braces or spaces, quote enclosure is optional. Quotes can be either single quote ' or double ". Nested quotes can be included within a string by escaping the character with a \ escape.
Examples:
  • "Call me \"Ishmael\""
  • 'Call me "Ishmael"'
  • 'Call me \'Ishmael\''
  • "Call me 'Ishmael'"
 List An ordered list of tags, enclosed in square brackets and delimited by commas. The tags must be of the same type, determined by the first tag in the list.
Example: [3.2,64.5,129.5]
 Compound An ordered list of attribute-value pairs, enclosed in curly braces and delimited by commas.
Example: {X:3,Y:64,Z:129}

Each tag may be of any type.

 Byte Array B; followed by an ordered list of 8-bit integers, delimited by commas. Tag is enclosed in square brackets.
Example: [B;1b,2b,3b]
 Int Array I; followed by an ordered list of 32-bit integers, delimited by commas. Tag is enclosed in square brackets.
Example: [I;1,2,3]
 Long Array L; followed by an ordered list of 64-bit integers, delimited by commas. Tag is enclosed in square brackets.
Example: [L;1l,2l,3l]
 Boolean A value, expressed as "true", "false", or "1", "0". This is resolved by the game into a  Byte tag as 0 (for false) and 1 (for true).
Example: {doFoo:true}

Some commands may require that a number's type be specified by adding a letter (B, S, L, F, D) to the end of the value. For example, 3s for a short, 3.2f for a float, etc. (This doesn't work with I for int.) The letter can be uppercase or lowercase. When no letter is used and Minecraft can't tell the type from context, it assumes double if there's a decimal point, int if there's no decimal point and the size fits within 32 bits, or string if neither is true. A square-bracketed literal is assumed to be a list unless an identifier is used: [I;1,2,3] for an int array and [L;1L,2L,3L] for a long array.

When commands such as /clear are used to match data tags, they check only for the presence of the provided tags in the target entity/block/item. This means that the entity/block/item can have additional tags and still match. This is true even for lists: the order of a list is not considered, and as long as every requested element is in the list, it matches even if there are additional elements. However, the order and number of elements in a array is acknowledged.

NBT file

An NBT file is a zipped Compound tag, with the name and tag ID included. The file in the zip must contain the Compound tag that it is as the first bytes. Some of the files utilized by Minecraft may be uncompressed, but in most cases, the files follow Notch's original specification and are compressed with GZip.

TAG definition

A tag is an individual part of the data tree. The first byte in a tag is the tag type (ID), followed by a two byte big-endian unsigned integer for the length of the name, then the name as a string in UTF-8 format (Note TAG_End is not named and does not contain the extra 2 bytes; the name is assumed to be empty). Finally, depending on the type of the tag, the bytes that follow are part of that tag's payload. This table describes each of the 13 known tags in version 19133 of the NBT format:

ID Icon Tag Type Payload SNBT Format‌[JE only] Description Storage Capacity
0 TAG_End None. - Used to mark the end of compound tags. This tag does not have a name, so it is only ever a single byte 0. It may also be the type of empty List tags. N/A
1 TAG_Byte 1 byte / 8 bits, signed <number>b or <number>B A signed integral type. Sometimes used for booleans. Full range of -(27) to (27 - 1)
(-128 to 127)
2 TAG_Short 2 bytes / 16 bits, signed, big endian <number>s or <number>S A signed integral type. Full range of -(215) to (215 - 1)
(-32,768 to 32,767)
3 TAG_Int 4 bytes / 32 bits, signed, big endian <number> A signed integral type. Full range of -(231) to (231 - 1)
(-2,147,483,648 to 2,147,483,647)
4 TAG_Long 8 bytes / 64 bits, signed, big endian <number>l or <number>L A signed integral type. Full range of -(263) to (263 - 1)
(-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807)
5 TAG_Float 4 bytes / 32 bits, signed, big endian, IEEE 754-2008, binary32 <number>f or <number>F A signed floating point type. Precision varies throughout number line;
See Single-precision floating-point format. Maximum value about 3.4*1038
6 TAG_Double 8 bytes / 64 bits, signed, big endian, IEEE 754-2008, binary64 <decimal number>, <number>d or <number>D A signed floating point type. Precision varies throughout number line;
See Double-precision floating-point format. Maximum value about 1.8*10308
7 TAG_Byte_Array TAG_Int's payload size, then size TAG_Byte's payloads. [B;<byte>,<byte>,...] An array of bytes. Maximum number of elements ranges between (231 - 9) and (231 - 1) (2,147,483,639 and 2,147,483,647), depending on the specific JVM.
8 TAG_String A TAG_Short-like, but instead unsigned[1] payload length, then a UTF-8 string resembled by length bytes. <a-zA-Z0-9 text>, "<text>" (" within needs to be escaped to \"), or '<text>' (' within needs to be escaped to \') A UTF-8 string. It has a size, rather than being null terminated. 65,535 bytes interpretable as UTF-8 (see modified UTF-8 format; most commonly-used characters are a single byte).
9 TAG_List TAG_Byte's payload tagId, then TAG_Int's payload size, then size tags' payloads, all of type tagId. [<value>,<value>,...] A list of tag payloads, without repeated tag IDs or any tag names. Due to JVM limitations and the implementation of ArrayList, the maximum number of list elements is (231 - 9), or 2,147,483,639. Also note that List and Compound tags may not be nested beyond a depth of 512.
10 TAG_Compound Fully formed tags, followed by a TAG_End. {<tag name>:<value>,<tag name>:<value>,...} A list of fully formed tags, including their IDs, names, and payloads. No two tags may have the same name. Unlike lists, there is no hard limit to the number of tags within a Compound (of course, there is always the implicit limit of virtual memory). Note, however, that Compound and List tags may not be nested beyond a depth of 512.
11 TAG_Int_Array TAG_Int's payload size, then size TAG_Int's payloads. [I;<integer>,<integer>,...] An array of TAG_Int's payloads. Maximum number of elements ranges between (231 - 9) and (231 - 1) (2,147,483,639 and 2,147,483,647), depending on the specific JVM.
12 TAG_Long_Array TAG_Int's payload size, then size TAG_Long's payloads. [L;<long>,<long>,...] An array of TAG_Long's payloads. Maximum number of elements ranges between (231 - 9) and (231 - 1) (2,147,483,639 and 2,147,483,647), depending on the specific JVM.

The List and Compound tags can be and often are recursively nested. It should also be noted that, in a list of lists, each of the sub-lists can list a different kind of tag.

Usage

Minecraft sometimes uses the NBT format inconsistently; in some instances, empty lists may be represented as a list of Byte tags rather than a list of the correct type, or as a list of End tags in newer versions of Minecraft, which can break some older NBT tools. Additionally, almost every root tag has an empty name string and encapsulates only one Compound tag with the actual data and a name. For instance:

  • The root tag for most Minecraft NBT structures.
    •  SomeName: The only tag contained within the root tag - it has a name and contains all the actual data.

Additionally, although the original specification by Notch allows for spaces in tag names, and even the example uses spaces in the tag names, Minecraft has no known files where any tags have spaces in their names. There is also inconsistent use of letter case, mostly either camelCase or PascalCase, but sometimes even in all lowercase.

Uses

This section is missing information about Bedrock Edition NBTs. 
Please expand the section to include this information. Further details may exist on the talk page.
  • level.dat is stored in compressed NBT format.
  • <player>.dat files are stored in compressed NBT format.
  • idcounts.dat is stored in compressed NBT format.
  • villages.dat is stored in compressed NBT format.
  • raids.dat is stored in compressed NBT format.
  • map_<#>.dat files are stored in compressed NBT format.
  • servers.dat, which is used to store the list of saved multiplayer servers as uncompressed NBT.
  • hotbar.nbt, which is used to save hotbars as uncompressed NBT format.
  • Chunks are stored in compressed NBT format within Region files.
  • scoreboard.dat is stored in compressed NBT format.
  • Generated structures are stored in compressed NBT format.
  • Saved structures are stored in compressed NBT format.

Official software

Mojang has provided sample Java NBT classes for developers to use and reference as part of the source code for the MCRegion to Anvil file format converter.[2] Since Java Edition 1.13, Minecraft includes a built-in converter between the SNBT format and compressed NBT format, which comes with both the client and official server.[3]

The data generator from Minecraft is able to convert uncompressed Stringified NBT files with .snbt extension in an input folder to GZip compressed NBT format files with .nbt extension in an output folder, and vice versa.

The vanilla data generator can convert any GZip compressed NBT format to SNBT format. The file extension of a file can simply be changed, such as level.dat to level.nbt and put in the input folder, and the generator then decodes the GZip compressed NBT data.

History

The NBT file format was described by Notch in a brief specification.[4]

The original known version was 19132 as introduced in Beta 1.3, and since then has been updated to 19133 with the Anvil file format, which adds the Int Array tag. The NBT format dates all the way back to Indev with tags 0 to 10 in use.
Java Edition
1.0.0
{{Extension DPL}}<ul><li>[[Smarter Watch|Smarter Watch]]<br/>{{Joke feature}}{{Exclusive|Java}}{{Item
| title = Smarter Watch
| image = Smarter Watch.png
| renewable = No
| stackable = Yes (64)
}}

The '''Smarter Watch''' was a joke offhand [[item]].

== Usage ==
Smarter watches were "equipped" by having them placed into the offhand slot. Upon equipping, they would display the current time above the hotbar, in minutes and seconds, with one minute of in-game time being 5/6 of a real-time second, and one in-game hour being 5/6 of a real-time minute or 50 seconds.

The smarter watch would also notify the [[player]] of statistics milestones, alongside taken [[damage]], [[item]] specific info, [[crafting]] items and more.{{info needed|What exactly?}}

== Sounds ==
{{Sound table
|sound=Tick1.ogg
|sound2=Tick2.ogg
|subtitle=''None''
|source=player
|description=When a notification is displayed
|id=item.smarter_watch.notice
|translationkey=''None''
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=java
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Smarter Watch
|spritetype=item
|nameid=smarter_watch
|id=502
|form=item
|translationkey=item.smarterWatch.name
|foot=1}}

== History ==
{{History|java}}
{{History||1.RV|snap=1.RV-Pre1|[[File:Smarter_Watch_(item).png|32px]] [[File:Smarter Watch.png|32px]] Added the smarter watch.}}
{{History|foot}}

== Issues ==
Smarter Watches are an unsupported [[item]] due to being an [[Wikipedia:April Fools' Day|April Fools']] joke, and therefore issues relating to them will not be fixed.

== Gallery ==

<gallery>
TechGear.png|A [[player]] wearing the smarter watch, featured in this [[wikipedia:April Fools' Day|April Fools']] joke version.
</gallery>

{{Items}}
{{Jokes}}

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

[[pt:Relógio inteligente]]</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" |Composer
! class="unsortable" |Description
! class="unsortable" |Soundtrack title
!Soundtrack
! class="unsortable" scope="col" style="width:200px" |Track preview
!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.
|— 
|—
|[[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>
September 28, 2011Notch works on "saving arbitrary data with item instances."
1.8
{{Extension DPL}}<ul><li>[[Debug Stick|Debug Stick]]<br/>{{about|the item|other uses|Debug}}
{{exclusive|java}}
{{Item
| image = Debug Stick.gif
| rarity = Epic
| renewable = No
| stackable = No
}}

The '''debug stick''' is an [[item]] used to edit the [[block states]] of [[block]]s. It is visually identical to a regular [[stick]], but with a glint (as if [[Enchanting|enchanted]]).

== Obtaining ==

The debug stick is obtainable via [[commands]] such as {{cmd|/give}} or {{Cmd|/item}}, or the Creative inventory if the player has the appropriate permissions. It can be obtained only in worlds with cheats on.

== Usage ==

The debug stick can be used to change block states. {{control|Hitting}} the block allows players to select the block state key they wish to change, for an example, switching between the ''conditional'' and the ''facing'' block state keys for a [[command block]]. {{control|Using}} the block allows them to cycle through the valid values for the block state key, again as an example, the player can make the command block face, ''down'', ''east'', ''north'', ''south'', ''up'', or ''west'' if they chose the ''facing'' block state key. {{control|Sneaking}} while {{control|hitting}} or {{control|using}} cycles through the block state keys or values in reverse order.

It is notable that {{Control|using}} debug stick directly on an interactive block without {{Control|sneaking}} uses the block itself instead of the stick.<ref>{{bug|MC-200199}} </ref>

The debug stick cannot be used while in Survival or Adventure mode. It works only in creative mode with cheats enabled. In modes other than Creative, it acts like a regular item — although when {{control|using}} it on a block, the player swings the stick as if interacting with it (but nothing happens).

== Data values ==
=== ID ===
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Debug Stick
|spritetype=item
|nameid=debug_stick
|form=item
|foot=1}}

=== Item data ===

<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Debug Sticks}}
</div>

== History ==

{{History|java}}
{{History||1.13|snap=17w47a|[[File:Debug Stick.gif|32px]] Added debug sticks.}}
{{History||1.16|snap=20w10a|Debug sticks are now capable of editing [[fire]] due to its added hitbox.}}
{{History||1.19.3|snap=22w44a|The debug stick is now available in the creative inventory, but only if cheats are enabled.}}
{{History|||snap=22w45a|Moved the debug stick behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}}
{{History|foot}}

== Issues ==
The debug stick is not supported, and any issues resulting of its usage are closed as "Won't Fix" in the issue tracker.<br/> Issues with the stick itself are considered valid.<ref>https://bugs.mojang.com/browse/MC-122323?focusedCommentId=419481&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-419481</ref><ref>{{reddit|7es23r||Just be aware that any weird state you create with it you cannot naturally create and any bugs that come from it will be shot down as 'Wont fix' :D|_Grum|November 22, 2017}}</ref>

{{issue list}}

== Trivia ==
*An [[add-on]] made by Mineplex was showcased in [[MINECON Live 2019]], which had an editor stick for {{el|be}}, similar to the Debug Stick.<ref>{{ytl|OZqNaEX8208|MINECON Live 2019 @ 1:05:02|Minecraft|September 28, 2019|t=3902}}</ref>

== Gallery ==
<gallery>
Technically Updated.jpg|Artwork of Steve and Alex wielding debug sticks.
</gallery>

== See also ==
*[[Block states]]

== References ==
{{Reflist}}

{{Items}}

[[Category:Non-renewable resources]]

[[de:Debug-Stab]]
[[es:Palo de depuración]]
[[fr:Bâton de débogage]]
[[ja:デバッグ棒]]
[[ko:디버그 막대기]]
[[pl:Patyk debugujący]]
[[pt:Graveto de depuração]]
[[ru:Палка отладки]]
[[zh:调试棒]]</li><li>[[Raw Copper|Raw Copper]]<br/>{{Item
| image = Raw Copper.png
| renewable = No
| stackable = Yes (64)
}}
'''Raw copper''' is a raw metal resource obtained from mining [[copper ore]].

== Obtaining ==

=== Mining ===
Copper ore and deepslate copper ore mined with a [[stone pickaxe]] or better drops 2–5 units of raw copper. If the pickaxe is enchanted with [[Fortune]], it can drop extra raw copper, allowing for a maximum of 20 units per ore block with Fortune III, or an average of 7.7 units of raw copper per ore block. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops the ore block instead.

=== Crafting ===
{{Crafting
|showname=1
|Block of Raw Copper
|Output=Raw Copper,9
|type=Material
|foot=1
}}

== Usage ==
The primary usage of raw copper is [[smelting]] it into [[copper ingot]]s.

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

=== Smelting ingredient ===
{{Smelting
|showname=2
|Raw Copper
|Copper Ingot
|0.7
}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Copper
|spritetype=item
|nameid=raw_copper
|form=item
|id=507
|foot=1}}

== History ==
{{History|java}}
{{History||1.17|snap=21w14a|[[File:Raw Copper JE1.png|32px]] Added raw copper.}}
{{History|||snap=April 13, 2021|slink={{Tweet|JasperBoerstra|1381991999952277513}}|[[File:Raw Copper JE2.png|32px]] [[JAPPA]] shows a new raw copper texture.}}
{{History|||snap=21w15a|[[File:Raw Copper JE2.png|32px]] The texture of raw copper has been changed.
|Raw copper can now be used to craft [[block of raw copper]].}}
{{History|||snap=April 16, 2021|slink={{Tweet|JasperBoerstra|1383047666037325829}}|[[File:Raw Copper (pre-release).png|32px]] [[JAPPA]] shows a new raw copper texture again.}}
{{History|||snap=21w16a|[[File:Raw Copper JE3.png|32px]] The texture of raw copper has been changed.}}
{{History|||snap=21w17a|[[Copper ore]] now drops 2-3 raw copper when mined instead of a single unit.}}
{{History||1.18|snap=21w40a|[[Copper ore]] now drops 2-5 raw copper when mined.}}

{{History|bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Raw Copper JE2.png|32px]] Added raw copper.}}
{{History|||snap=beta 1.17.0.52|Raw copper are now available without enabling [[experimental gameplay]].}}
{{History|||snap=beta 1.17.0.54|[[File:Raw Copper JE3.png|32px]] The texture of raw copper has been changed.}}
{{History|foot}}

== Issues ==
{{Issue list}}

==Gallery==
<gallery>
JE 1.17 Dev Raw Metals.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 1.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 2.png|Jappa shows raw ore textures.
Jappa Raw Ores 3.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 4.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 5.jpg|Jappa shows raw ore textures.
</gallery>

{{Items}}

[[Category:Non-renewable resources]]

[[de:Rohkupfer]]
[[es:Cobre en bruto]]
[[fr:Cuivre brut]]
[[it:Rame grezzo]]
[[ja:銅の原石]]
[[pl:Surowa miedź]]
[[pt:Cobre bruto]]
[[ru:Необработанная медь]]
[[tr:Ham Bakır]]
[[uk:Необроблена мідь]]
[[zh:粗铜]]</li></ul>
14w03aNBT data now supports using string IDs rather than numerical IDs.
1.12
{{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.

== 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|}}

=== 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>[[:Category:Storage|Category:Storage]]<br/>Blocks and items used to '''store''' other blocks or items.

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

[[ja:カテゴリ:ストレージ]]
[[zh:Category:储物]]</li></ul>
?Added long array tags.
1.13
{{Extension DPL}}<ul><li>[[Carrot|Carrot]]<br/>{{about|the natural food item|the golden food|Golden Carrot|the item for controlling saddled pigs|Carrot on a Stick}}
{{Item
| group = Age 0-1
| 1-1 = Carrots Age 0-1.png
| 1-2 = Carrots Age 0-1 BE.png
| group2 = Age 2-3
| 2-1 = Carrots Age 2-3.png
| 2-2 = Carrots Age 2-3 BE.png
| group3 = Age 4-6
| 3-1 = Carrots Age 4-6.png
| 3-2 = Carrots Age 4-6 BE.png
| group4 = Age 7
| 4-1 = Carrots Age 7.png
| 4-2 = Carrots Age 7 BE.png
| image2 = Carrot JE3 BE2.png
| renewable = Yes
| heals = {{hunger|3}}
| stackable = Yes (64)
}}
A '''carrot''' is a [[food]] [[item]] obtained from carrot crops that can be used to plant them, eaten or used as a crafting ingredient.

'''Carrot crops''' are planted in [[farmland]] and used to grow carrots.

== Obtaining ==

=== Breaking ===
{{See also|Fortune#Seeds}}
Fully grown carrot crops drop 2 to 5 carrots ({{frac|3|5|7}} per crop harvested on average). Yield can be increased using a tool enchanted with [[Fortune]], with Fortune III harvesting an average of {{frac|5|3|7}} carrots.

The yield is calculated by a binomial distribution: 2 drops are fixed, then a drop is attempted three times with a success rate of 57.14286% to yield the extra 0–3 drops. Each level of Fortune enchantment increases the number of attempts by one.

=== Natural generation ===
[[Village]] farm plots have a chance of having carrots. The exact chance depends on the style of the village:

{| class="wikitable"
! Village style !! Chance
|-
| {{EnvSprite|plains-village}} Plains || 30%
|-
| {{EnvSprite|snowy-village}} Snowy || 10%
|}

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

=== Chest loot ===
{{LootChestItem|carrot}}

== Usage ==
{{see also|Tutorials/Hunger management|title1=Hunger management}}

To eat a carrot, press and hold {{control|use}} while the carrot is selected in the [[hotbar]]. Eating a carrot restores {{hunger|3}} [[hunger]] and 3.6 hunger [[Hunger#Mechanics|saturation]].

=== Farming ===
{{see also|Tutorials/Crop farming|title1 = Crop farming }}

Carrots can be [[farming|farmed]] and harvested on [[farmland]]. Planted carrots take 8 [[Block tick|stages]] to grow, and go through 4 visually distinct stages. Planted carrots require a light level of 9 or greater to continue growing. If the light level is 7 or below, the crops instantly un-plant themselves ("pop off"). It is not possible to plant carrots if the light level is too low.

Crops grow faster if the farmland they are planted in is [[Farmland#Hydration|hydrated]]. Using [[bone meal]] on crops also increases the speed of growth by randomly increasing their growth stage by 2 to 5.

Crops break if pushed by a [[piston]] or if their supporting farmland breaks or turns to dirt (i.e. by being trampled), dropping their usual drops.

If {{cmd|gamerule mobGriefing}} is <code>true</code>, rabbits will find mature carrot [[crops]]{{only|je}} / carrot crops with growth stage greater than 1{{only|be}}. This reduces the growth stages by one, removing the crop completely when the growth stage reaches 0.

=== Breeding ===
Carrots can also be used to [[breed]] and attract [[pig]]s and [[rabbit]]s.

Villagers can pick up carrot items to become willing, which allow them to breed. Villagers require 12 carrots to become willing.

=== Trading ===
Novice-level Farmer villagers have a 25% ({{frac|1|4}}){{only|bedrock}} or 40% ({{frac|2|5}}){{only|java}} chance to buy 22 carrots for an emerald.

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

=== Composting ===
Placing a carrot into a [[composter]] has a 65% chance of raising the compost level by 1.

== Sounds ==

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

=== Item ===
{{Sound table/Entity/Food}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showforms=y
|shownumericids=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|id=141
|form=block
|translationkey=-}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|id=279
|form=item
|foot=1}}

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

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}

== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Carrot JE1.png|32px]] Added carrots. 
|[[File:Carrots Age 0-1 JE1.png|32px]] [[File:Carrots Age 2-3 JE1.png|32px]] [[File:Carrots Age 4-6 JE1.png|32px]] [[File:Carrots Age 7 JE1.png|32px]] Added carrot crops.
|Carrots can be obtained only as a rare [[drop]] from [[zombie]]s.}}
{{History|||snap=August 28, 2012|slink={{tweet|Dinnerbone|240428477856231424}}|[[Dinnerbone]] released an image of a [[saddle]]d [[pig]] being controlled with a [[carrot on a stick]]. [[Wheat]] was considered as a "fuel" along with carrots,<ref>{{Tweet|Dinnerbone|240188453789257728}}</ref> but Dinnerbone eventually decided on carrots.<ref>{{Tweet|Dinnerbone|240355810650247168}}</ref>}}
{{History|||snap=12w34a|Carrots can now be used to craft [[golden carrot]]s.}}
{{History|||snap=12w36a|Carrots can now be found in [[village]]s.
|Carrots are now used to breed [[pig]]s.
|Carrots are now used to craft [[carrot on a stick]].}}
{{History|||snap=12w37a|[[File:Carrot JE2 BE1.png|32px]] The texture of carrots has now been changed. The texture has been changed to singular carrot, with the tooltip changed to reflect this.}}
{{History||1.5|snap=13w04a|[[Bone meal]] now grows carrots by 1 stage instead of fully growing it. The [[player]] might not see it grow, because some stages look the same.}}
{{History||1.8|snap=14w02a|Carrots now restore {{hunger|3}} points and 3.6 hunger [[saturation]], instead of {{hunger|4}} and 4.8 hunger saturation.
|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].}}
{{History|||snap=14w04a|[[Farmer]] (profession) [[villager]]s now harvest fully grown carrots.
|Villagers can now be made willing using 12 carrots.}}
{{History|||snap=14w06a|[[File:Carrots Age 0-1 JE2.png|32px]] [[File:Carrots Age 2-3 JE2.png|32px]] [[File:Carrots Age 4-6 JE2.png|32px]] [[File:Carrots Age 7 JE2.png|32px]] Carrot crops are now a pixel higher - previously they were offset one pixel down as to match farmland's sunken model. This is likely an accidental result of model conversion.}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]]<br>[[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]]<br>Carrot crops of all stages [[Missing model|no longer have a model]].}}
{{History|||snap=14w10b|[[File:Carrots Age 0-1 JE4.png|32px]] [[File:Carrots Age 2-3 JE4.png|32px]] [[File:Carrots Age 4-6 JE4.png|32px]] [[File:Carrots Age 7 JE4.png|32px]] Carrot crops now have models again.<ref>{{bug|MC-50232}}</ref> In addition, they are now offset downwards by one pixel once more.<ref>{{bug|MC-50155}}</ref>}}
{{History|||snap=14w25a|[[File:Carrots Age 0-1 JE5.png|32px]] [[File:Carrots Age 2-3 JE5.png|32px]] [[File:Carrots Age 4-6 JE5.png|32px]] [[File:Carrots Age 7 JE5.png|32px]] Carrot crops are now darker and subject to directional shading.}}
{{History|||snap=14w27a|[[File:Carrots Age 0-1 JE6.png|32px]] [[File:Carrots Age 2-3 JE6.png|32px]] [[File:Carrots Age 4-6 JE6.png|32px]] [[File:Carrots Age 7 JE6.png|32px]] Carrot crops are no longer subject to directional shading.
|Added [[rabbit]]s, which can be [[breeding|bred]] and/or tamed using carrots. Rabbits also grief carrot crops.
|Carrots are now used to craft [[rabbit stew]].}}
{{History|||snap=14w34a|Rabbits can no longer be tamed.}}
{{History||1.9|snap=15w38a|The [[drops|drop]] chances have now been slightly improved from an average of {{frac|2|3|5}} per [[crops|crop]] harvested to {{frac|2|5|7}}.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 141, and the item's 391.}}
{{History|||snap=18w11a|Carrots can now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]] The textures of carrot crops have now been changed.}}
{{History|||snap=18w47a|Carrots can now generate in the [[chest]]s of [[pillager outpost]]s.}}
{{History|||snap=19w03a|Placement and breaking [[sound]]s have now been added to carrots.
|Placing a carrot into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Carrots now have a 65% chance of increasing the compost level in a composter by 1.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate carrot crops.}}
{{History||1.17|snap=21w13a|[[File:Carrots Age 0-1 JE8.png|32px]] [[File:Carrots Age 2-3 JE8.png|32px]] [[File:Carrots Age 4-6 JE8.png|32px]] [[File:Carrots Age 7 JE8.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes, changing the carrot crop's appearance in the process.<ref>{{bug|MC-199242}}</ref>}}
{{History||1.18|snap=Pre-release 5|[[File:Carrots Age 7 JE9.png|32px]] A stray dark pixel has been removed from the texture of fully-grown carrots.<ref>{{bug|MC-226711}}</ref>}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.
|Carrots can be obtained by killing [[zombie]]s.}}
{{History|||snap=build 3|Carrots now have a chance to [[drops|drop]] when tilling [[grass block]]s.}}
{{History|||snap=build 4|Carrots are no longer dropped by tilling [[grass block]]s.}}
{{History||v0.9.0|snap=build 1|Carrot crops now naturally spawn in [[village]]s.
|Carrot now used to breed [[pig]]s.}}
{{History||v0.12.1|snap=build 1|Carrots now restore [[hunger]] instead of [[health]].
|Brown robed [[villager]]s can now harvest fully grown carrot crops.
|Carrots can now be used to craft [[golden carrot]]s.}}
{{History||v0.13.0|snap=build 1|Carrots can now be used to breed [[rabbit]]s.
|Carrots can now be used to craft [[rabbit stew]].}}
{{History||v0.15.0|snap=build 1|Carrots are now used to craft [[carrot on a stick]].}}
{{History||v0.16.2|Carrots can now be found in a [[chest]] inside the large house in [[snowy tundra]] and [[snowy taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].
|Carrots can now be picked up by villagers and become willing.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Carrots can now be found inside of [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Carrots can now be found inside [[shipwreck]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Carrots can be found in the new [[pillager outpost]]s.
|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Carrots can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has now been changed, farmer [[villager]]s now have a 25% chance to [[trading|buy]] 22 carrots for an [[emerald]].}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate carrot crops.}}
{{History||?|[[File:Carrots Age 0-1 BE.png|32px]] [[File:Carrots Age 2-3 BE.png|32px]] [[File:Carrots Age 4-6 BE.png|32px]] [[File:Carrots Age 7 BE.png|32px]] Carrot crop planes use a mapping that results in very unnatural mirroring when viewed from certain angles, such as northwest.<ref>{{bug|MCPE-146936}}</ref>}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Carrots can now be used to fill up [[composter]]s.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History|foot}}

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

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
AllSeeds.png|All the seeds that exist in the game (except [[nether wart]] and [[cocoa beans]]).
VillageGrowingCarrotsAndPotatoes.png|Carrots and [[potato]]es found growing naturally in a [[village]].
Carrots Growing.png|Carrots in multiple stages of growth.
Carrot Dungeon.jpg|A carrot that dropped from a zombie, just to the right of the [[spawner]].
Carrot SDGP.png|Carrot in the [[Super Duper Graphics Pack]].
</gallery>

== References ==
{{reflist}}

{{Items}}
{{blocks|vegetation}}

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

[[cs:Mrkev]]
[[de:Karotte]]
[[es:Zanahoria]]
[[fr:Carotte]]
[[hu:Sárgarépa]]
[[ja:ニンジン]]
[[ko:당근]]
[[lzh:胡蘿蔔]]
[[nl:Wortel]]
[[pl:Marchewka]]
[[pt:Cenoura]]
[[ru:Морковь]]
[[th:แคร์รอต]]
[[uk:Морква]]
[[zh:胡萝卜]]</li><li>[[Balloon|Balloon]]<br/>{{exclusive|bedrock|education}}
{{education feature}}
{{ItemEntity
|image=White Balloon.png
|extratext = View [[#Gallery|all renders]]
|invimage=White Balloon
|invimage2=Orange Balloon
|invimage3=Magenta Balloon
|invimage4=Light Blue Balloon
|invimage5=Yellow Balloon
|invimage6=Lime Balloon
|invimage7=Pink Balloon
|invimage8=Gray Balloon
|invimage9=Light Gray Balloon
|invimage10=Cyan Balloon
|invimage11=Purple Balloon
|invimage12=Blue Balloon
|invimage13=Brown Balloon
|invimage14=Green Balloon
|invimage15=Red Balloon
|invimage16=Black Balloon
|renewable=No
|stackable=Yes
|size=Height: 0.4 Blocks<br>Width: 0.4 Blocks
}}

'''Balloons''' are [[entities]] that float upward when placed.

== Obtaining ==
Balloons are not available in the [[Creative]] inventory or [[commands]].

=== Crafting ===

{{Crafting
|A1= Latex
|B1= Matching Dye
|C1= Latex
|A2= Latex
|B2= Helium
|C2= Latex
|A3= Latex
|B3= Lead
|C3= Latex
|Output= Matching Balloon
|description={{only|bedrock|education}}
|type= Miscellaneous
|head=1
}}
{{Crafting
|A1= Latex
|B1= Bone Meal; Lapis Lazuli; Cocoa Beans; Ink Sac
|C1= Latex
|A2= Latex
|B2= Helium
|C2= Latex
|A3= Latex
|B3= Lead
|C3= Latex
|Output= White Balloon; Blue Balloon; Brown Balloon; Black Balloon
|description={{only|bedrock|education}}
|type= Miscellaneous
|foot=1
}}

== Usage ==

When {{control|used}} on a [[mob]], a [[fence]], or a [[wall]], balloons attach to the mob or block, similarly to a [[lead]]. Balloons float into the air faster than the speed the [[player]] flies up, but remain grounded if tied to a fence. If tied to a mob, the balloon floats away and carries the mob into the air, before both eventually [[despawn]] or disappear.
{| class="wikitable sortable" style="text-align: left;"
|+ Balloon-attachable mobs
! Mob
! Mass
|-
| {{EntityLink|Chicken}} 
| 0.6
|-
| {{EntityLink|Cow}} 
| 1.0
|-
| {{EntityLink|Donkey}} 
| 1.0
|-
| {{EntityLink|Horse}} 
| 1.0
|-
| {{EntityLink|Iron Golem}} 
| 2.0
|-
| {{EntityLink|Llama}} 
| 1.0
|-
| {{EntityLink|Mule}} 
| 1.0
|-
| {{EntityLink|Mooshroom}}
| 1.0
|-
| {{EntityLink|Panda}}
| 1.5
|-
| {{EntityLink|Pig}}
| 0.75
|-
| {{EntityLink|Sheep}}
| 0.75
|-
| {{EntityLink|Snow Golem}}
| 1.0
|-
| {{EntityLink|Fox}}
| 0.6
|}

When a balloon is shot by an [[arrow]] or a [[trident]], or floats into a solid block, it pops, summons [[particles]], and is destroyed. It drops nothing. A balloon tied to a fence post bursts when a player strikes it in any direction.

== Sounds ==
{{Sound table
|type=bedrock
|sound=Balloon pop1.ogg
|sound2=Balloon pop2.ogg
|source=neutral
|description=When a balloon collides with a block from above
|id=balloon.pop
|volume=10.0
|pitch=1.75/2.0
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|firstcolumnname=Balloon
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Item
|spritename=balloons
|spritetype=item
|nameid=balloon
|id=598
|form=item
|translationkey=item.balloon.black.name,item.balloon.red.name,item.balloon.green.name,item.balloon.brown.name,item.balloon.blue.name,item.balloon.purple.name,item.balloon.cyan.name,item.balloon.silver.name,item.balloon.gray.name,item.balloon.pink.name,item.balloon.lime.name,item.balloon.yellow.name,item.balloon.lightBlue.name,item.balloon.magenta.name,item.balloon.orange.name,item.balloon.white.name
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Balloon
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritename=balloons
|spritetype=entity
|nameid=balloon
|id=107
|foot=1}}

=== Metadata ===
In ''Bedrock Edition'', balloon items use the following data values:

{{/DV}}

== History ==

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:White Balloon BE1.png|32px]] [[File:Orange Balloon BE1.png|32px]] [[File:Magenta Balloon BE1.png|32px]] [[File:Light Blue Balloon BE1.png|32px]] [[File:Yellow Balloon BE1.png|32px]] [[File:Lime Balloon BE1.png|32px]] [[File:Pink Balloon BE1.png|32px]] [[File:Gray Balloon BE1.png|32px]] [[File:Silver Balloon BE1.png|32px]] [[File:Cyan Balloon BE1.png|32px]] [[File:Purple Balloon BE1.png|32px]] [[File:Blue Balloon BE1.png|32px]] [[File:Brown Balloon BE1.png|32px]] [[File:Green Balloon BE1.png|32px]] [[File:Red Balloon BE1.png|32px]] [[File:Black Balloon BE1.png|32px]] <br> [[File:White Balloon (item) BE1.png|32px]] [[File:Orange Balloon (item) BE1.png|32px]] [[File:Magenta Balloon (item) BE1.png|32px]] [[File:Light Blue Balloon (item) BE1.png|32px]] [[File:Yellow Balloon (item) BE1.png|32px]] [[File:Lime Balloon (item) BE1.png|32px]] [[File:Pink Balloon (item) BE1.png|32px]] [[File:Gray Balloon (item) BE1.png|32px]] [[File:Silver Balloon (item) BE1.png|32px]] [[File:Cyan Balloon (item) BE1.png|32px]] [[File:Purple Balloon (item) BE1.png|32px]] [[File:Blue Balloon (item) BE1.png|32px]] [[File:Brown Balloon (item) BE1.png|32px]] [[File:Green Balloon (item) BE1.png|32px]] [[File:Red Balloon (item) BE1.png|32px]] [[File:Black Balloon (item) BE1.png|32px]] Added balloons.}}
{{History||1.18.10|snap=beta 1.18.10.24|[[Bee]]s, [[boat]]s, tamed [[cat]]s, [[dolphin]]s, [[glow squid]]s, [[goat]]s, [[hoglin]]s, [[ocelot]]s, [[panda]]s, [[parrot]]s, [[polar bear]]s, [[squid]]s, [[strider]]s, tamed [[wolves]] and [[zoglin]]s can now be leashed.}}
{{History||1.18.30|snap=beta 1.18.30.28|Added the [[boat with chest]], which can be leashed.}}

{{History|education}}
{{History||1.0.27|[[File:White Balloon BE1.png|32px]] [[File:Orange Balloon BE1.png|32px]] [[File:Magenta Balloon BE1.png|32px]] [[File:Light Blue Balloon BE1.png|32px]] [[File:Yellow Balloon BE1.png|32px]] [[File:Lime Balloon.png|32px]] [[File:Pink Balloon BE1.png|32px]] [[File:Gray Balloon BE1.png|32px]] [[File:Silver Balloon BE1.png|32px]] [[File:Cyan Balloon BE1.png|32px]] [[File:Purple Balloon BE1.png|32px]] [[File:Blue Balloon.png|32px]] [[File:Brown Balloon BE1.png|32px]] [[File:Green Balloon BE1.png|32px]] [[File:Red Balloon BE1.png|32px]] [[File:Black Balloon BE1.png|32px]] <br> [[File:White Balloon (item) BE1.png|32px]] [[File:Orange Balloon (item) BE1.png|32px]] [[File:Magenta Balloon (item) BE1.png|32px]] [[File:Light Blue Balloon (item) BE1.png|32px]] [[File:Yellow Balloon (item) BE1.png|32px]] [[File:Lime Balloon (item) BE1.png|32px]] [[File:Pink Balloon (item) BE1.png|32px]] [[File:Gray Balloon (item) BE1.png|32px]] [[File:Silver Balloon (item) BE1.png|32px]] [[File:Cyan Balloon (item) BE1.png|32px]] [[File:Purple Balloon (item) BE1.png|32px]] [[File:Blue Balloon (item) BE1.png|32px]] [[File:Brown Balloon (item) BE1.png|32px]] [[File:Green Balloon (item) BE1.png|32px]] [[File:Red Balloon (item) BE1.png|32px]] [[File:Black Balloon (item) BE1.png|32px]] Added balloons.}}
{{History||1.18.32|snap=1.18.10.04|[[Bee]]s, [[boat]]s, tamed [[cat]]s, [[dolphin]]s, [[glow squid]]s, [[goat]]s, [[hoglin]]s, [[ocelot]]s, [[panda]]s, [[parrot]]s, [[polar bear]]s, [[squid]]s, [[strider]]s, tamed [[wolves]] and [[zoglin]]s can now be leashed.}}
{{History|foot}}
==Gallery==

=== Colors ===
<gallery>
Orange Balloon.png
Magenta Balloon.png
Light Blue Balloon.png
Yellow Balloon.png
Lime Balloon.png
Pink Balloon.png
Gray Balloon.png
Light Gray Balloon.png
Cyan Balloon.png
Purple Balloon.png
Blue Balloon.png
Brown Balloon.png
Green Balloon.png
Red Balloon.png
Black Balloon.png
</gallery>

=== [[Event servers]] ===
<gallery>
File:Legends Balloon.png|Differently designed balloons featured in the ''[[Minecraft Legends Live Event]]''.
File:Sniffer Balloon (Trails and Tales Summer Event) Render.png|A [[Sniffer]] balloon, featured in the [[Trails & Tales Event]].
File:Camel Balloon (Trails and Tales Summer Event) Render.png|A balloon of a [[Camel]], featured in the Trails & Tales Event.
File:Balloon Bundle (Trails and Tales Summer Event) Render.png|Bundle of balloons from the Trails & Tales Event.
</gallery>{{Items}}
{{Entities}}
{{Education Edition}}

[[Category:Education Edition entities]]
[[Category:Education Edition items]]

[[de:Ballon]]
[[it:Palloncino]]
[[ja:風船]]
[[ko:풍선]]
[[pt:Balão]]
[[ru:Воздушный шар]]
[[zh:气球]]</li></ul>
18w01aAdded a data generator to both the Minecraft client and the default multiplayer software.
1.14
{{Extension DPL}}<ul><li>[[Firework Rocket|Firework Rocket]]<br/>{{redirect|Firework}}
{{ItemEntity
|image=Firework Rocket.png
|renewable='''Trail Effect''':No<br>'''All Others''':Yes
|stackable=Yes (64)‎
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
|networkid=76
}}
A '''firework rocket''' is an [[item]] (and [[entity]]) used for creating decorative explosions, boosting when flying with [[elytra]], and loading into a [[crossbow]] as ammunition.

== Obtaining  ==

Fireworks can be obtained by crafting. {{IN|java}}, a firework with no explosion effect is available on the [[Creative]] inventory and can be crafted as shown below. {{IN|bedrock}}, fireworks with the different base colors or no explosion are available in the Creative inventory.

=== Crafting ===

{{Crafting
|head=1
|showname=0
|showdescription=1
|Paper
|; ; Gunpowder
|; Gunpowder; Gunpowder
|Gunpowder
|Output=Firework Rocket,3
|description=When crafted this way (without a firework star), the rocket does not have explosion effects. The value of gunpowder affects the [[Firework Rocket#Duration and direction|flight duration]].
|type=Miscellaneous
}}
{{Crafting
|Any Firework Star
|Paper
|; ; Gunpowder
|; Gunpowder; Gunpowder
|Gunpowder
|Output= Firework Rocket,3
|description=Adding more gunpowder increases the duration of the rocket. Up to three gunpowder can be used. Up to five firework stars can also be used with three gunpowder. Up to seven firework stars can be used by using firework stars instead of additional gunpowder. All firework stars explode almost simultaneously when the rocket detonates.
|type=Miscellaneous
|foot=1
}}

== Usage ==

=== Launching fireworks ===
To launch a firework rocket, {{control|use}} its item on a block. They can also be launched from [[dispenser]]s and [[crossbow]]s. If shot from a [[Multishot]] [[crossbow]], then 3 rockets fire with the same effects.

=== Elytra ===
{{control|Using}} a firework rocket while flying with [[elytra]] propels the player in the direction they are facing. The duration of the speed boost depends on the flight duration of the rocket. If the rocket is equipped with a firework star of any kind, the player takes damage when it explodes.

=== Crossbow ===
A firework rocket can be used as ammunition for [[crossbow]]s, although it deals [[damage]] only if it has an [[explosion]] effect. A higher flight duration gives the firework rocket a longer range, and more damage is added per firework star. The [[Piercing]] enchantment has no effect on firework rockets shot from a crossbow.

{{IN|java}}, if a firework rocket shot from a [[crossbow]] hits an [[entity]], the rocket instantly [[explosion|explodes]], no matter the flight duration. Attempting to do this {{in|bedrock}}, however, results in the firework passing through the entity,<ref>[[bugtracker:MCPE-52675|MCPE-52675]]</ref> so the [[player]] must plan where to aim.

== Behavior ==
{{see also|Firework Star#Effects}}

Once launched, fireworks fly out vertically, with random horizontal offset up to 5 blocks. {{IN|bedrock|java}}, fireworks can fly in any of the 6 directions a dispenser can point. After [[#Duration and direction|some time]], the firework explodes into a colorful explosion based on the effects of the [[firework star]]s added upon crafting, or no explosion if no firework star was used. If multiple firework stars were added to the rocket upon crafting, they all explode simultaneously.

The explosion of a firework rocket deals damage to mobs and players that are within 5 blocks and not obstructed by [[solid block]]s. The maximum damage of a rocket with one firework star is {{hp|7}}, with the damage decreasing with distance. Each additional firework star on the rocket adds {{hp|2}} points of damage, for a maximum damage of {{hp|19}} with 7 stars. Using commands to add additional firework stars results in more damage. The damage dealt is unaffected by any other ingredients used. The explosion does not destroy end crystals nor damage the Ender dragon, but does destroy armor stands.

There is a delay between the detonation and the player hearing the sound, emulating real fireworks, but this sound travels much more slowly than in the real world.<ref>{{Tweet|jeb|277075644804907009|However, no sound effects for fireworks yet... but everything's implemented, so they can be added without doing a new snapshot|December 7, 2012}}</ref><ref>{{Tweet|jeb|277075517226762242|Haha, @igblan , the speed of sound is 40 m/s, because the realistic speed of ~340 m/s didn't work well in Minecraft scale|December 7, 2012}}</ref> {{IN|java}}, the explosion of a firework can be seen 64 blocks away, regardless of its height. {{IN|bedrock}}, the explosion can be seen from your render distance.

If the explosion exceeds the (unmodded) [[particle]] limit of 16,384, the oldest particles are removed before displaying new ones, resulting in severely diminished firework quality / duration. At most a firework should have 3 trail stars, more than that could waste diamonds, firework stars, and other fireworks. Particle counts per star are:

{| class="wikitable" data-description="Particle counts per firework star"
|-
! Ball Type !! Plain !! Trail
|-
| Small || 98 || ~1300
|-
| Large || 387 || 4000+
|-
| Star || 122 || ~1600
|-
| Creeper || 266 || ~3500
|-
| Burst || 72 || ~930
|}

Twinkle effect adds 2 particles to the count.

Like most other entities, they can be moved by [[water]] and [[explosion]]s, and teleported via [[portal]]s. They also cannot move through solid surfaced blocks, upon hitting one, they either move to a side or explode based on the duration. If a firework explodes under a block, its explosion is flattened.

=== Duration and direction ===

Fireworks travel different heights based on the amount of gunpowder added. The number is displayed as a tag on the item's tooltip with the description of "Flight Duration".

The height it rises is between 8 and 20 blocks with 1 gunpowder, 18 to 34 blocks with 2 gunpowder, and 32 to 52 blocks with 3 gunpowder. 
(Note: Using command blocks, firework rockets with higher durations go higher and keep accelerating with virtually no terminal velocity. If the duration is long enough, the firework rocket could reach heights of over 1,000,000 blocks and speeds of over 10,000 m/s in a matter of minutes. Such fireworks with significant X and Z motions speed up sideways exponentially and reach outside the world boundary in a matter of seconds.{{only|java}})

When spawned, <!-- server-side --> fireworks have a vertical speed of .05 and a random small X and Z speed (random value near zero with a standard deviation of .001).  Each firework also determines its lifetime in ticks by 10 × (number of gunpowder + 1) + random value from 0 to 5 + random value from 0 to 6, after which it explodes.  Each tick, the firework accelerates horizontally by multiplying its X and Z velocities by 1.15, and vertically by adding a constant factor of .04.

Fireworks can be made to travel different directions by being dispensed or launched under flowing water. The firework's direction combines with the flow of the water to go diagonally.

== Village Raids ==
After successfully defending a village from a [[Raid]] the villagers may celebrate by setting off firework rockets.

== Boosting elytra ==
Fireworks can be used to boost [[elytra]] when in flight. Normally, elytra can glide for a short distance, but with the use of fireworks, the player can fly a long distance, gain speed, and take off from the ground. 

Simply using the firework rocket with elytra spread boosts the player in the direction the player faces. It can leave behind a trail sometimes.

Although fireworks with firework stars can be used, the player takes blast damage if they use it in flight. 

There are four types of rockets, with three types of flight duration. Higher flight durations mean longer boosts. {{IN|bedrock}}, the fireworks obtained from the Creative menu have a flight duration of 1, while {{in|java}}, the fireworks obtained in the Creative menu have a flight duration of 1, 2, or 3.

== Sounds ==
{{Edition|Java}}:<br>
Firework rockets use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Firework blast.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a non-large firework rocket explodes within a 16-block radius of the player
|id=entity.firework_rocket.blast
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework blast far.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a non-large firework rocket explodes greater than 16 blocks away from the player
|id=entity.firework_rocket.blast_far
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework large blast.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a large firework rocket explodes within a 16-block radius of the player
|id=entity.firework_rocket.large_blast
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework large blast far.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a large firework rocket explodes greater than 16 blocks away from the player
|id=entity.firework_rocket.large_blast_far
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework twinkle.ogg
|subtitle=Firework twinkles
|source=ambient
|description=When a twinkle firework rocket explodes within a 16-block radius of the player
|id=entity.firework_rocket.twinkle
|translationkey=subtitles.entity.firework_rocket.twinkle
|volume=20.0
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Firework twinkle far.ogg
|subtitle=Firework twinkles
|source=ambient
|description=When a twinkle firework rocket explodes greater than 16 blocks away from the player
|id=entity.firework_rocket.twinkle_far
|translationkey=subtitles.entity.firework_rocket.twinkle
|volume=20.0
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Firework launch.ogg
|subtitle=Firework launches
|source=ambient
|description=When a dispenser shoots, a player uses, or a crossbow fires a firework rocket
|id=entity.firework_rocket.launch
|translationkey=subtitles.entity.firework_rocket.launch
|volume=3.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Firework launches
|source=neutral
|description=When a dispenser fires a firework rocket
|id=entity.firework_rocket.shoot
|translationkey=subtitles.entity.firework_rocket.launch
|volume=1.0
|pitch=1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Firework blast.ogg
|source=ambient
|description=When a non-large firework rocket explodes
|id=firework.blast
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Firework large blast.ogg
|source=ambient
|description=When a large firework rocket explodes
|id=firework.large_blast
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Firework twinkle.ogg
|source=ambient
|description=When a twinkle firework rocket explodes
|id=firework.twinkle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Firework launch.ogg
|source=ambient
|description=When a dispenser shoots, a player uses, or a crossbow fires a firework rocket
|id=firework.launch
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bow shoot.ogg
|source=ambient
|description=''Unused sound event''
|id=firework.shoot
|volume=1.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Firework Rocket
|spritetype=item
|nameid=firework_rocket
|aliasid=fireworks
|id=519
|form=item
|translationkey=item.fireworks.name
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Firework Rocket
|spritetype=entity
|nameid=fireworks_rocket
|id=72
|foot=1}}

=== Item data ===

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

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

=== Entity data ===

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

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

== Advancements ==
{{load advancements|Bullseye;Ol' Betsy}}

== History ==

{{History|java}}
{{History||November 24, 2012|link=none|[[Jeb]] stated that there may be fireworks in ''Minecraft'' at the ''Future Updates with the Minecraft PC Team'' panel at [[MINECON 2012]].}}
{{History||December 5, 2012|link={{tweet|jeb|276367442362630144}}|Jeb released the first image of fireworks, along with the information that colors, fade, height, effects and shapes are [[crafting|craftable]].}}
{{History||December 7, 2012|link=https://twitter.com/jeb_/status/277075087503536128|Jeb mentions that fireworks should probably scare [[wolves]] and potentially have other effects on mobs.}}
{{History||1.4.6|snap=12w49a|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets.
|Firework rockets cannot be obtained within the [[Creative inventory]].}}
{{History|||snap=12w50a|Added [[sound]] and more effects to firework rockets.}}
{{History||1.10|snap=16w20a|The firework rocket [[crafting]] recipe now produces 3 rockets, rather than 1.}}
{{History||1.11|snap=16w32a|The entity ID has been changed from <code>FireworksRocketEntity</code> to <code>fireworks_rocket</code>.}}
{{History||1.11.1|snap=16w50a|Firework rockets can now cause [[damage]] to [[entity|entities]] that are within their [[explosion]] radius.
|Firework rockets can now boost [[player]]s while flying with [[elytra]].}}
{{History||1.13|snap=17w47a|The ID has been changed from <code>fireworks</code> to <code>firework_rocket</code>.
|The fade effects on fireworks can now be added by combining the firework star with [[dye]]s.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 401.}}
{{History||1.13|snap=?|Firework rockets are now available in the [[Creative]] [[Inventory]]. However, it does not show a flight duration}}
{{History|||snap=pre5|The [[entity]] ID of firework rockets has been changed to <code>firework_rocket</code>.}}
{{History||1.14|snap=18w43a|Fireworks can now be shot from [[crossbow]]s.
|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}
{{History||1.15|snap=19w36a|Firework rockets dispensed from a [[dispenser]] now travel in the direction they were fired.}}
{{History||1.17|snap=20w45a|Simple firework rockets with one gunpowder can now be crafted using the [[recipe book]].}}
{{History||1.19.3|snap=22w45a|All three flight durations of firework rockets are now available in the Creative inventory.<ref>{{bug
|MC-194390||A firework rocket from the creative inventory doesn't show a flight duration|Fixed}}</ref>}}


{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets. 
|Firework rockets are available in the Creative inventory in 17 variants, sixteen colors in small ball duration 1, plus one additional preset with only duration 1.{{verify|type=update|Is this the right snapshot?}}{{info needed}}}}
{{History||1.8.0|snap=beta 1.8.0.10|Firework rockets can now be held in the off-hand and be shot from [[crossbow]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of firework rockets has been changed from <code>fireworks</code> to <code>firework_rocket</code>.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets.
|Firework rockets are available in five types in the Creative inventory. The presets are as follows:
* Duration 1, small ball, light blue, twinkle
* Duration 2, creeper shaped, green
* Duration 2, burst, red, fade to orange
* Duration 3, burst, magenta, fade to blue, twinkle
* Duration 2, star shaped, yellow, fade to orange, trail}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|The crafting interface has been updated to allow crafting [[firework star]]s and fireworks.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Firework rockets can now boost [[player]]s while flying with [[elytra]].}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Firework rockets now [[damage]] players if there is a [[firework star]] applicated to the firework rocket.}}
{{History||xbox=TU56|xbone=CU47|ps=1.55|wiiu=Patch 26|switch=1.0.6|Firework rockets now produce 3 rockets upon [[crafting]] them instead of 1.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Added new firework rocket models.}}
{{History|PS4}}
{{History||1.90|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==
* Launching a rocket by hand on a wooden [[pressure plate]] activates it. The same doesn't hold for stone pressure plates, or for a [[dispenser]] placing a rocket onto a wooden pressure plate.
* New Year's Eve is what inspired [[Jeb]] to add fireworks.<ref>{{tweet|jeb|277080498814189568|@SPvs_TheWorld New Year's Eve|December 7, 2012}}</ref>
* If the player shoots a firework into a [[Nether portal]], it explodes in [[the Nether]].
* There are around 2×10{{^|136}} distinct fireworks.

== Gallery ==

<gallery>
File:Firework jeb twitter.jpg|[[Jeb]]'s first image of Fireworks, also showing that they can be shot from dispensers.
File:1.4.6 release image.png|1.4.6 Release image.
File:Flatexplosion.png|An example of a flattened firework explosion.
File:Creeper firework.png|Creeper face shaped firework.
</gallery>

== References ==

{{Reflist}}

{{Items}}
{{Entities}}

[[cs:Rachejtle]]
[[de:Feuerwerksrakete]]
[[es:Cohete de fuegos artificiales]]
[[fr:Feu d'artifice]]
[[hu:Tűzijáték rakéta]]
[[ja:ロケット花火]]
[[ko:폭죽 로켓]]
[[nl:Vuurpijl]]
[[pl:Fajerwerk]]
[[pt:Fogo de artifício]]
[[ru:Пиротехническая ракета]]
[[th:ดอกไม้ไฟ]]
[[zh:烟花火箭]]
[[Category:Renewable resources]]</li><li>[[Book and Quill|Book and Quill]]<br/>{{For|the item produced after a Book and Quill is signed|Written Book}}
{{Item
| image = Book and Quill.png
| renewable = Yes 
| stackable = No
}}

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

== Obtaining ==

=== Crafting ===

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

=== Natural generation ===

{{LootChestItem|book-and-quill}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Writing ===

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

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

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

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

=== Lecterns ===

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

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

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

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

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

=== Signing ===

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

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

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

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

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

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

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

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

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

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

=== Item data ===

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

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

== Video ==

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

== History ==

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{Reflist}}

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

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

{{Items}}

[[Category:Renewable resources]]

[[cs:Rozepsaná kniha s brkem]]
[[de:Buch und Feder]]
[[el:Βιβλίο και Πένα]]
[[es:Libro y pluma]]
[[fr:Livre vierge]]
[[hu:Könyv és toll]]
[[it:Libro e penna]]
[[ja:本と羽根ペン]]
[[ko:책과 깃펜]]
[[nl:Boek en veer]]
[[pl:Książka z piórem]]
[[pt:Livro e pena]]
[[ru:Книга с пером]]
[[th:หนังสือกับปากกาขนนก]]
[[uk:Книга з пером]]
[[zh:书与笔]]</li></ul>
19w08a String tags in SNBT can now be within single quotes ' in addition to double quotes ".[5]

References

External links

  • NBT on wiki.vg
  • NBTExplorer, a tool for viewing and editing NBT files.
  • webNBT, an online tool for viewing and editing NBT files.
Advertisement