Minecraft Wiki
(→‎Software: Remove 3rd-party section)
m (Undo revision 1991572 by 98.33.124.165 (talk))
Tag: Undo
(27 intermediate revisions by 20 users not shown)
Line 1: Line 1:
  +
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.
{{about|the NBT file format|using NBT in commands|Tutorials/Command NBT tags}}
 
The '''Named Binary Tag''' ('''NBT''') format is used by ''Minecraft'' for the various files in which it saves data. The format is described by Notch in a very brief specification.<ref>http://web.archive.org/web/20110723210920/http://www.minecraft.net/docs/NBT.txt specification</ref> The format is designed to store data in a tree structure made up of various ''tags''. All tags have an ID and a name. 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]], whichs adds the {{cd|Int Array}} tag. The NBT format dates all the way back to [[Indev]] with tags 0 to 10 in use.
 
   
Another more user-friendly format of NBT is in plain string, as used in [[command]]s. This format is referred to as '''SNBT''', short for '''stringified NBT'''. It is different from the [[JSON]] format; hence, any JSON used in NBT, such as [[Commands#Raw JSON text|raw JSON text]], must be enclosed within a {{nbt|string}} string tag.
+
Another more user-friendly format of NBT is in plain string, as used in [[command]]s. This format is referred to as '''SNBT''', short for '''stringified NBT'''.
   
== TAG definition ==
+
== SNBT format ==
  +
{{exclusive|java|section=1}}
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). The name of tags ''may'' contain spaces, although Minecraft itself never saves tags with spaces in the names. 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:
 
  +
'''SNBT''', also known as '''data tag''', is often used in command {{in|java}}. It can be described starting with [[wikipedia:attribute-value pair|attribute-value pair]]s enclosed in curly braces. One common usage of data tags {{in|je}} 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:'' <code><nowiki>{name1:123,name2:"sometext1",name3:"{subname1:456,subname2:"sometext2"}}"</nowiki></code>
  +
  +
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 [[Commands#Raw JSON text|raw JSON text]], must be enclosed within a {{nbt|string}} string tag.
  +
  +
=== Format of each type===
  +
  +
The defined data structures also expect the values to be of the correct type.
  +
  +
{| class="wikitable"
  +
|+ Data Tags Value Types
  +
! Type
  +
! Description
  +
|-
  +
| {{nbt|byte|Byte}}
  +
| A signed 8-bit integer, ranging from -128 to 127 (inclusive).
  +
:''Example:'' <code>34b</code>
  +
  +
|-
  +
| {{nbt|short|Short}}
  +
| A signed 16-bit integer, ranging from -32,768 to 32,767 (inclusive).
  +
  +
:''Example:'' <code>31415s</code>
  +
  +
|-
  +
| {{nbt|int|Int}}
  +
| A signed 32-bit integer, ranging from -2,147,483,648 and 2,147,483,647 (inclusive).
  +
:''Example:'' <code>31415926</code>
  +
|-
  +
| {{nbt|long|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:'' <code>31415926l</code>
  +
  +
|-
  +
| {{nbt|float|Float}}
  +
| A 32-bit, single-precision floating-point number, ranging from -3.4E+38 to +3.4E+38.
  +
:''Example:'' <code>3.1415926f</code>
  +
  +
See [[wikipedia:IEEE floating point|IEEE floating point]] for details.
  +
|-
  +
| {{nbt|double|Double}}
  +
| A 64-bit, double-precision floating-point, ranging from -1.7E+308 to +1.7E+308.
  +
:''Example:'' <code>3.1415926</code>
  +
  +
See [[wikipedia:IEEE floating point|IEEE floating point]] for details.
  +
|-
  +
| {{nbt|string|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 <code>'</code> or double <code>"</code>. Nested quotes can be included within a string by escaping the character with a <code>\</code> escape.
  +
  +
:''Examples:''
  +
:* <code><nowiki>"Call me \"Ishmael\""</nowiki></code>
  +
:* <code><nowiki>'Call me "Ishmael"'</nowiki></code>
  +
:* <code><nowiki>'Call me \'Ishmael\''</nowiki></code>
  +
:* <code><nowiki>"Call me 'Ishmael'"</nowiki></code>
  +
|-
  +
| {{nbt|list|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:'' <code>[3.2,64.5,129.5]</code>
  +
|-
  +
| style="white-space:nowrap" | {{nbt|compound|Compound}}
  +
| An ordered list of attribute-value pairs, enclosed in curly braces and delimited by commas.
  +
  +
:''Example:'' <code>{X:3,Y:64,Z:129}</code>
  +
  +
Each tag may be of any type.
  +
|-
  +
| {{nbt|byte-array|Byte Array}}
  +
| <code>B;</code> followed by an ordered list of 8-bit integers, delimited by commas. Tag is enclosed in square brackets.
  +
:''Example:'' <code>[B;1b,2b,3b]</code>
  +
|-
  +
| {{nbt|int-array|Int Array}}
  +
| <code>I;</code> followed by an ordered list of 32-bit integers, delimited by commas. Tag is enclosed in square brackets.
  +
  +
:''Example:'' <code>[I;1,2,3]</code>
  +
|-
  +
| {{nbt|long-array|Long Array}}
  +
| <code>L;</code> followed by an ordered list of 64-bit integers, delimited by commas. Tag is enclosed in square brackets.
  +
  +
:''Example:'' <code>[L;1l,2l,3l]</code>
  +
|-
  +
| {{nbt|boolean|Boolean}}
  +
| A value, expressed as "true", "false", or "1", "0". This is resolved by the game into a {{nbt|byte|Byte}} tag as 0 (for false) and 1 (for true).
  +
  +
:''Example:'' <code>{doFoo:true}</code>
  +
|-
  +
|}
  +
  +
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, <code>3s</code> for a short, <code>3.2f</code> 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: <code>[I;1,2,3]</code> for an int array and <code>[L;1L,2L,3L]</code> for a long array.
  +
  +
When commands such as {{cmd|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:
 
{| class="wikitable" data-description="NBT tags"
 
{| class="wikitable" data-description="NBT tags"
 
|-
 
|-
Line 62: Line 164:
 
| <code><number>f</code> or <code><number>F</code>
 
| <code><number>f</code> or <code><number>F</code>
 
| A signed floating point type.
 
| A signed floating point type.
| Precision varies throughout number line;<br>See [[wikipedia:Single precision floating-point format|Single-precision floating-point format]]. Maximum value about 3.4*10<sup>38</sup>
+
| Precision varies throughout number line;<br>See [[wikipedia:Single-precision floating-point format|Single-precision floating-point format]]. Maximum value about 3.4*10<sup>38</sup>
 
|-
 
|-
 
| style="text-align:center" | '''6'''
 
| style="text-align:center" | '''6'''
Line 70: Line 172:
 
| <code><decimal number></code>, <code><number>d</code> or <code><number>D</code>
 
| <code><decimal number></code>, <code><number>d</code> or <code><number>D</code>
 
| A signed floating point type.
 
| A signed floating point type.
| Precision varies throughout number line;<br>See [[wikipedia:Double precision floating-point format|Double-precision floating-point format]]. Maximum value about 1.8*10<sup>308</sup>
+
| Precision varies throughout number line;<br>See [[wikipedia:Double-precision floating-point format|Double-precision floating-point format]]. Maximum value about 1.8*10<sup>308</sup>
 
|-
 
|-
 
| style="text-align:center" | '''7'''
 
| style="text-align:center" | '''7'''
Line 83: Line 185:
 
| style="text-align:center" | {{nbt|string}}
 
| style="text-align:center" | {{nbt|string}}
 
| TAG_'''String'''
 
| TAG_'''String'''
| TAG_Short's payload ''length'', then a UTF-8 string with size ''length''.
+
| A TAG_Short-like, but instead unsigned<ref>https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html#writeUTF-java.lang.String-</ref> payload ''length'', then a UTF-8 string resembled by ''length'' bytes.
 
| <code><a-zA-Z0-9 text></code>, <code>"<text>"</code> ({{cd|"}} within needs to be escaped to {{cd|\"}}), or <code>'<text>'</code> ({{cd|'}} within needs to be escaped to {{cd|\'}})
 
| <code><a-zA-Z0-9 text></code>, <code>"<text>"</code> ({{cd|"}} within needs to be escaped to {{cd|\"}}), or <code>'<text>'</code> ({{cd|'}} within needs to be escaped to {{cd|\'}})
 
| A UTF-8 string. It has a size, rather than being null terminated.
 
| A UTF-8 string. It has a size, rather than being null terminated.
| 32,767 bytes interpretable as UTF-8 (see [[wikipedia:UTF-8|UTF-8 format]]; most commonly-used characters are a single byte).
+
| 65,535 bytes interpretable as UTF-8 (see [[wikipedia:UTF-8#Modified_UTF-8|modified UTF-8 format]]; most commonly-used characters are a single byte).
 
|-
 
|-
 
| style="text-align:center" | '''9'''
 
| style="text-align:center" | '''9'''
Line 122: Line 224:
 
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.
 
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.
   
== File format ==
+
=== Usage ===
An NBT file is a zipped Compound tag, with the name and tag ID included. 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. In the [[Legacy Console Edition]], [[chunks]] are compressed with XMemCompress, a variation of an LZX compression algorithm. There is no header to specify the version or any other information; only the <samp>[[level.dat]]</samp> file specifies the version.
 
 
== 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:
 
''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:
 
<div class="treeview">
 
<div class="treeview">
Line 133: Line 232:
 
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.
 
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 ===
+
==== Uses ====
{{info needed section|type=code|Add Bedrock Edition information}}
+
{{missing information|section|Bedrock Edition NBTs|type=code}}
* <samp>[[level.dat]]</samp> is stored in compressed NBT format.
+
*<samp>[[level.dat]]</samp> is stored in compressed NBT format.
* <samp>[[Player.dat format|<''player''>.dat]]</samp> files are stored in compressed NBT format.
+
*<samp>[[Player.dat format|<''player''>.dat]]</samp> files are stored in compressed NBT format.
* <samp>[[idcounts.dat]]</samp> is stored in uncompressed NBT format.
+
*<samp>[[idcounts.dat]]</samp> is stored in compressed NBT format.
* <samp>[[villages.dat]]</samp> is stored in compressed NBT format.
+
*<samp>[[villages.dat]]</samp> is stored in compressed NBT format.
  +
*<samp>[[Raids.dat format|raids.dat]]</samp> is stored in compressed NBT format.
 
* <samp>[[Map item format|map_<#>.dat]]</samp> files are stored in compressed NBT format.
 
* <samp>[[Map item format|map_<#>.dat]]</samp> files are stored in compressed NBT format.
* <samp>[[Servers.dat format|servers.dat]]</samp>, which is used to store the list of saved multiplayer servers as uncompressed NBT.
+
*<samp>[[Servers.dat format|servers.dat]]</samp>, which is used to store the list of saved multiplayer servers as uncompressed NBT.
  +
*<samp>[[hotbar.nbt]], which</samp> is used to save hotbars as uncompressed NBT format.
* [[Chunk format|Chunk]]s are stored in compressed NBT format within [[Region file format|Region]] files.
 
* <samp>[[Scoreboard#NBT format|scoreboard.dat]]</samp> is stored in compressed NBT format.
+
*[[Chunk format|Chunk]]s are stored in compressed NBT format within [[Region file format|Region]] files.
* [[Generated structures data file format|Generated structures]] are stored in compressed NBT format.
+
*<samp>[[Scoreboard#NBT format|scoreboard.dat]]</samp> is stored in compressed NBT format.
* [[Structure block file format|Saved structures]] are stored in compressed NBT format.
+
*[[Generated structures data file format|Generated structures]] are stored in compressed NBT format.
  +
*[[Structure block file format|Saved structures]] are stored in compressed NBT format.
   
== Official software ==
+
==Official software==
 
{{see also|Tutorials/Running the Data Generator}}
 
{{see also|Tutorials/Running the Data Generator}}
 
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.<ref>http://www.mojang.com/2012/02/new-minecraft-map-format-anvil/</ref> 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.jar|client]] and official server.<ref>https://wiki.vg/Data_Generators#NBT_converters</ref>
 
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.<ref>http://www.mojang.com/2012/02/new-minecraft-map-format-anvil/</ref> 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.jar|client]] and official server.<ref>https://wiki.vg/Data_Generators#NBT_converters</ref>
Line 152: Line 253:
 
The data generator from ''Minecraft'' is able to convert uncompressed Stringified NBT files with <samp>.snbt</samp> extension in an input folder to GZip compressed NBT format files with <samp>.nbt</samp> extension in an output folder, and vice versa.
 
The data generator from ''Minecraft'' is able to convert uncompressed Stringified NBT files with <samp>.snbt</samp> extension in an input folder to GZip compressed NBT format files with <samp>.nbt</samp> 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 [[<samp>level.dat</samp>]] to <samp>level.nbt</samp> and put in the input folder, and the generator then decodes the GZip compressed NBT data.
+
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 <samp>[[level.dat]]</samp> to <samp>level.nbt</samp> and put in the input folder, and the generator then decodes the GZip compressed NBT data.
   
== History ==
+
==History==
  +
The NBT file format was described by [[Notch]] in a brief specification.<ref>http://web.archive.org/web/20110723210920/http://www.minecraft.net/docs/NBT.txt specification</ref>
   
  +
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 {{cd|Int Array}} tag. The NBT format dates all the way back to [[Indev]] with tags 0 to 10 in use.
 
{{History|java}}
 
{{History|java}}
 
{{History||1.0.0|snap=September 28, 2011|slink={{tweet|notch|119296531592515584}}|Notch works on "saving arbitrary data with item instances."}}
 
{{History||1.0.0|snap=September 28, 2011|slink={{tweet|notch|119296531592515584}}|Notch works on "saving arbitrary data with item instances."}}
  +
{{History||1.8|snap=14w03a|NBT data now supports using string IDs rather than numerical IDs.}}
 
{{h||1.12|snap=?|Added {{nbt|long array}} long array tags.}}
 
{{h||1.12|snap=?|Added {{nbt|long array}} long array tags.}}
 
{{h||1.13|snap=18w01a|Added a data generator to both the ''Minecraft'' [[client.jar|client]] and the default multiplayer software.}}
 
{{h||1.13|snap=18w01a|Added a data generator to both the ''Minecraft'' [[client.jar|client]] and the default multiplayer software.}}
{{h||1.14|snap=19w08a|{{nbt|string}} String tags can now be within single quotes {{cd|'}} in addition to double quotes {{cd|"}}.<ref>{{Link|url=https://github.com/Mojang/brigadier/pull/52|title=Allow single quote in strings by boq · Pull Request #52 |website=Mojang/brigadier – GitHub}}</ref>}}
+
{{h||1.14|snap=19w08a|{{nbt|string}} String tags in SNBT can now be within single quotes {{cd|'}} in addition to double quotes {{cd|"}}.<ref>{{Link|url=https://github.com/Mojang/brigadier/pull/52|title=Allow single quote in strings by boq · Pull Request #52 |website=Mojang/brigadier – GitHub}}</ref>}}
 
{{History|foot}}
 
{{History|foot}}
   
== References ==
+
==References ==
 
{{reflist}}
 
{{reflist}}
  +
  +
==External links==
  +
  +
*[https://wiki.vg/NBT NBT] on wiki.vg
  +
*[http://www.minecraftforum.net/topic/840677-nbtexplorer/ NBTExplorer], a tool for viewing and editing NBT files.
  +
*[http://irath96.github.io/webNBT/ webNBT], an online tool for viewing and editing NBT files.
   
 
{{Java Edition}}
 
{{Java Edition}}

Revision as of 19:36, 22 July 2021

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 data tag, 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>[[Glow Ink Sac|Glow Ink Sac]]<br/>{{For|the regular sac dropped by squids|Ink Sac}}
{{Item
|Image=Glow Ink Sac.png
| renewable = Yes
| stackable = Yes (64)
|}}

A '''glow ink sac''' is an item dropped by a [[glow squid]] upon death. Unlike regular ink sacs, it can be added to [[sign]]s to make glowing text, and can be used to craft glow item frames.

== Obtaining ==
=== Mob loot ===
[[Glow squid]]s drop 1–3 glow ink sacs upon death. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1–6 with Looting III.

=== Compound creation ===
A glow ink sac can be created from its base [[element]]s, using the [[compound creator]].{{only|bedrock|education}}

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

== Usage ==	
=== Crafting ingredient ===
{{Crafting usage}}

=== Signs ===
[[File:Glow Ink Sign with Orange Dye JE2.png|thumb|150px|An oak sign with a glow ink sac used on it.]]
Glow ink sacs can be used on [[sign]]s or [[hanging sign]]s to make their text brighter in low light levels. This also adds an outline around the text on the sign, the color of which is based on the color of the sign's text. The text does not emit any light, it is only more visible in darkness, similarly to the eyes of spiders and endermen. Normal [[ink sacs]] can be applied to revert glowing text back to default.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|subtitle=Glow Ink Sac splotches
|source=block
|description=When a glow ink sac is used on a [[sign]]
|id=item.glow_ink_sac.use
|translationkey=subtitles.item.glow_ink_sac.use
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.95, or 1.05</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|source=sound
|description=When a glow ink sac is used on a sign
|id=sign.ink_sac.use
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Glow Ink Sac
|spritetype=item
|nameid=glow_ink_sac
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glow Ink Sac
|spritetype=item
|nameid=glow_ink_sac
|form=item
|id=503
|foot=1}}

== Advancements ==
{{load advancements|Glow and Behold}}

== History ==
{{History|java}}
{{History||1.17|snap=21w03a|[[File:Glow Ink Sac JE1 BE1.png|32px]] Added glow ink sacs.}}
{{History||1.17.1|snap=Pre-release 1|[[Zombie]]s, [[husk]]s, [[zombie villager]]s, and [[drowned]] no longer pick up [[glow ink sac]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Glow ink sacs can now be used to make the text glow on a [[hanging sign]].}}

{{History|bedrock}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.59|[[File:Glow Ink Sac JE1 BE1.png|32px]] Added glow ink sacs.}}
{{History|||snap=beta 1.16.210.60|Glow ink sacs have been removed temporarily.}}
{{History|||snap=beta 1.16.220.50|[[File:Glow Ink Sac JE1 BE1.png|32px]] Re-added glow ink sacs.}}
{{History||1.17.0|snap=beta 1.17.0.52|Glow ink sacs are now available without enabling [[experimental gameplay]].}}
{{History||1.17.30|snap=beta 1.17.30.20|[[Zombie]]s, [[husk]]s, [[zombie villager]]s, and [[drowned]] no longer pick up [[glow ink sac]]s.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--glow-ink-sac Taking Inventory: Glow Ink Sac] – Minecraft.net on October 14, 2021

{{Items}}

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

[[de:Leuchttintenbeutel]]
[[es:Saco de tinta luminosa]]
[[it:Sacca d'inchiostro luminescente]]
[[ja:輝くイカスミ]]
[[pl:Torbiel ze świecącym atramentem]]
[[pt:Bolsa de tinta brilhante]]
[[ru:Светящийся чернильный мешок]]
[[uk:Сяйний чорнильний мішок]]
[[zh:荧光墨囊]]</li><li>[[Nether Star|Nether Star]]<br/>{{Distinguish|Firework Star}}
{{Item
| image = Nether Star.gif
| renewable = Yes
| stackable = Yes (64)
| rarity = Uncommon
}}
The '''Nether Star''' is a rare item [[drops|dropped]] by the [[wither]] that is used solely to [[Crafting|craft]] [[Beacon]]s.

== Obtaining ==

=== Mob loot ===

The nether star can be obtained only by defeating the [[Wither]] [[Mob#Boss mobs|boss]], which is created using [[Soul sand]] and [[Head|Wither Skeleton Skulls]]. One nether star is dropped each time; the dropped amount is not affected by the [[Looting]] enchantment. {{IN|java}}, nether stars dropped by withers take 10 minutes to despawn and are immune to explosions. {{IN|bedrock}}, nether star items never despawn, neither by time nor by explosions.

== Usage ==

The nether star has the same animated glint as [[enchanted]] items, [[potion]]s, and [[end crystal]]s.

A dropped nether star item cannot be destroyed by [[explosion]]s. However, it can still be destroyed by a falling [[anvil]],‌{{only|java}} [[fire]], [[lava]], [[cacti]], or [[the Void]].

It is used to [[Crafting|craft]] a [[beacon]].

=== Crafting ingredient ===

{{crafting usage|match=start}}

== Achievements ==
{{load achievements|The beginning;The beginnig?.}}

== Advancements ==
{{load advancements|Withering Heights}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Nether Star
|spritetype=item
|nameid=nether_star
|aliasid=netherstar
|id=518
|form=item
|translationkey=item.netherStar.name
|foot=1}}

== Video ==

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

== History ==

{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Nether Star JE1.png|32px]] The texture of the nether star has been added.}}
{{History|||snap=12w36a|[[File:Nether Star JE1.gif|32px]] Added nether stars.
|Nether stars are [[drops|dropped]] by the [[wither]].}}
{{History|||snap=12w37a|[[File:Nether Star JE2 BE1.gif|32px]] The texture of nether stars has been changed so that they no longer have a dark outline.}}
{{History||1.4.6|snap=12w49a|[[Drops|Dropped]] nether stars can no longer be destroyed by [[explosion]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 399.}}
{{History||1.14|snap=18w43a|[[File:Nether Star.gif|32px]] The texture of nether stars has been changed.}}
{{History||1.16|snap=20w07a|Nether star has become a [[renewable resource]], as [[soul sand]], one of the blocks used to construct withers, is now renewable through [[bartering]].}}

{{History|pocket alpha}}
{{History||v0.16.0|snap=build 4|[[File:Nether Star JE2 BE1.gif|32px]] Added nether stars.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Nether Star.gif|32px]] The texture of nether stars has been changed.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Nether Star JE2 BE1.gif|32px]] Added nether stars.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Nether Star.gif|32px]] The texture of nether stars has been changed.}}

{{History|New 3DS}}
{{History||1.3.12|[[File:Nether Star JE2 BE1.gif|32px]] Added nether stars.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==

<gallery>
File:Nether Star JE3 BE2.png|The nether star without enchanted animated glint.
File:Star Drop.png|The nether star dropped by the wither.
File:Wither, left- Nether Star, right.png|A wither to the left, and a nether star to the right.
</gallery>

== References ==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--nether-star Taking Inventory: Nether Star] – Minecraft.net on May 11, 2023

{{Items}}

[[cs:Netheritová hvězda]]
[[de:Netherstern]]
[[es:Estrella del Inframundo]]
[[fr:Étoile du Nether]]
[[hu:Alvilági csillag]]
[[it:Stella del Nether]]
[[ja:ネザースター]]
[[ko:네더의 별]]
[[nl:Netherster]]
[[pl:Netherowa gwiazda]]
[[pt:Estrela do Nether]]
[[ru:Звезда Нижнего мира]]
[[tr:Nether Yıldızı]]
[[uk:Зірка Незеру]]
[[zh:下界之星]]
[[Category:Renewable resources]]</li></ul>
September 28, 2011Notch works on "saving arbitrary data with item instances."
1.8
{{Extension DPL}}<ul><li>[[Bow|Bow]]<br/>{{For}}
{{For|the ranged weapon of a similar name|Crossbow}}
{{Item
| image = <gallery>
Bow.png | Bow
Bow (Pull 0).png | Pulled (state 0)
Bow (Pull 1).png | Pulled (state 1)
Bow (Pull 2).png | Pulled (state 2)
</gallery>
| rarity = Common
| renewable = Yes
| durability = 384
| stackable = No
}}

A '''bow''' is a ranged [[weapon]] that shoots [[arrow]]s.

== Obtaining ==

=== Crafting ===

{{crafting
|showname=0
|B1= Stick
|C1= String
|A2= Stick
|C2= String
|B3= Stick
|C3= String
|Output= Bow
|type= Combat
}}

===Mob loot===

==== Skeletons and Strays ====

[[Skeleton]]s and [[stray]]s have an 8.5% chance of dropping a normal or enchanted bow on death when killed by a [[player]] or a tamed [[wolf]]. 

The chance of dropping a bow is increased by 1% per level of [[Looting]], allowing up to an 11.5% chance of dropping. 

The chance of being enchanted depends on the [[difficulty]], whether it is normal or hard. The enchantment level is equal to enchant level 5-22. 

Bows of [[skeleton trap]]s are always enchanted at level 5 to 23. The exact level depends on [[regional difficulty]], as on Easy it is always a level-5 enchantment.

==== Illusioners ====
{{exclusive|java|section=1}}

[[Illusioner]]s have an 8.5% chance of dropping an unenchanted bow when killed by the player. The chance of dropping a bow is increased by 1% per level of Looting, allowing up to an 11.5% chance of dropping. 

=== Trading ===

Apprentice-level fletcher [[villager]]s sell bows for 2 [[emerald]]s as part of their [[trading|trade]]s.

Expert-level fletcher villagers sell enchanted bows for 7–21 emeralds as part of their trades. The enchantment level is equal to enchant level 5–19.

=== Fishing ===

Bows have a chance of being caught by [[fishing]]. When caught, the bow may be damaged and contain random [[enchantment]]s equivalent to a level 30 enchantment from an [[enchanting table]], including treasure enchantments like [[Mending]].

=== Repairing ===
{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Bow]]
|Damaged Bow
|Damaged Bow
|Bow
|description=The durability of the two bows is added together, plus an extra 5% durability.
}}
{{Crafting
|Damaged Bow
|Damaged Bow
|Output=Bow
|type=Combat
|ignoreusage=1
}}

== Usage ==

=== Weapon ===
[[File:Steve aiming with Bow.png|150px|right]]
[[File:Alex aiming with Bow.png|150px|right]]

Bows can be drawn back by {{control|using}} them. In order to use a bow, the player must have at least one [[arrow]] in their [[inventory]] or be in [[Creative]] mode. The arrow that is shown inside the bow always looks like a regular arrow, regardless of what kind of arrow is actually being shot from the bow.<ref>{{bug|MC-87685||Drawn bow texture does not reflect arrow that will be shot|WF}}</ref>

When drawing a bow, the display zooms in slightly. Charging the bow to its maximum causes it to visually shake as an indicator. Releasing the button shoots an [[arrow]] if it is charged at least 15%. Drawing a bow can be canceled by switching to another hotbar slot while holding use.

While the bow is being charged or remains fully charged, the player is forced to move at [[sneaking]] speed, unless they are riding a [[horse]], [[minecart]] or [[boat]], or flying with [[elytra]]. It is not possible to [[Sprinting|sprint]] while charging a bow or holding a drawn bow. When the bow is released, normal motion resumes although any prior sprint is cancelled. Sneaking while drawing the bow makes the player move even slower.

If an arrow hits another player, the player that shoots the arrow hears a high-pitched "ding" sound.{{only|je}}

Fully charged shots launch critical arrows which have a trail of [[particles]] behind them and deal up to <math display="inline">\left ( \frac{3x}{2} \right ) + 2</math>damage, where <math>x</math>is the damage after any enchantments. The listed values below describe maximum damage from a bow with no [[Power]] enchantments, assuming the target is at a distance where drag and gravity are negligible. However, the critical damage is likely to be more around 8-10; critical damage is added at a random value between <math>x</math>and <math display="inline">\left ( \frac{3x}{2} \right ) + 2</math> and it is rare to have minimum or maximum values. The damage dealt can ultimately be less than the maximum damage if the arrow slows down after being shot. 

{| class="wikitable" style="text-align:center" data-description="Shot base damage by changing time"
|-
! Charging time
! Maximum attack damage
|-
|{{ItemSprite|Bow|text= '''0.1 s'''}} (no charge)
|{{hp|1}}
|-
|{{ItemSprite|Bow|text= '''0.2–0.9 s'''}} (medium charge)
|{{hp|5}}
|-
|{{ItemSprite|Bow|text= '''1+ s'''}} (full charge)
|{{hp|6}}
|-
|{{ItemSprite|Bow|text= '''1+ s'''}} (critical)
|{{hp|11}}
|-
|}

The game stores the damage of arrows even in values with a decimal point. For example, it is possible for a critical arrow shot to cause damage values such as 6.4. In this cases of a broken value, the game can round up or down and store the amount for subsequent damage sources.

Any projectile thrown by the player is under the influence of momentum in current versions of ''Minecraft''. Naturally, the player's movement speed can be modified under a number of circumstances, affecting the ballistic trajectory of projectiles, and as a result, the damage inflicted by arrows.

In [[Java Edition Combat Tests]], to avoid sniping, arrows shot from fully-charged bows become non-critical if held drawn back for longer than three seconds. Instantaneous effects on tipped arrows are scaled by 1/8, just like the duration of other effects. For example, Instant Damage I arrow will deal an additional {{hp|0.75}} magical damage.

Damage caused by the arrow is not affected by the [[Strength]] effect.

[[Endermen]] cannot be shot using an arrow, because the arrow either disappears as the enderman teleports, or it gets deflected. Even while immobile, the enderman is immune to damage from arrows. However, an arrow shot from a bow enchanted with [[Flame]] can ignite the enderman.

=== Crafting ingredient ===

{{crafting usage|Bow, Damaged Bow}}

=== Enchantments ===

Bows can receive several different [[enchantment]]s and have a base enchantability of 1. Bow enchantments have no effect on [[arrow]] speed or the distance it travels. In [[Bedrock Edition]], if a bow is enchanted with any level 1 enchantment, it always gets Power I.{{verify|This used to be in the trivia section. Not valid in Java Edition.}}

{| class="wikitable col-3-center"
|+
!Name
!Summary
!Max Level
|-
|[[Power]]
|Increases the damage dealt by bow-shot arrows.
|V
|-
|[[Punch]]
|Increases the knockback dealt by bow-shot arrows.
|II
|-
|[[Flame]]
|Ignites arrows, dealing fire damage to anyone hit as well as igniting TNT and campfires.
|I
|-
|[[Infinity]]<ref group=n name=exclusive>Mending and Infinity are mutually exclusive.</ref> 
|Stops the bow from consuming arrows when shot. A minimum of 1 arrow is still required to work.
|I
|-
|[[Unbreaking]]
|Grants a chance to negate durability consumption, making the bow last longer.
|III
|-
|[[Mending]]<ref group=n name=exclusive></ref>
|Repairs the bow using experience, but also preventing the player from gaining score.
|I
|-
|[[Curse of Vanishing]]
|The bow vanishes on death, not dropping as an item. Overridden by keepInventory.
|I
|}
;Notes
{{Reflist|group=n}}

=== Fuel ===

A bow can be used as [[fuel]] in [[furnace]]s, smelting 1.5 items per bow {{in|java}} or 1 item per bow {{in|bedrock}}.

== Arrows ==

{{main|Arrow}}

As in real life, a flying [[arrow]] in ''Minecraft'' is affected by gravity. Its vertical speed is modified by one block downward every second, resulting in a {{w|Parabola|parabolic}} flight path. An arrow slows down if shot through water, reducing its damage to near zero unless brought back into the air or otherwise given momentum.{{Only|Java}}

Arrows that hit solid [[blocks]] become stuck and can be retrieved, unless the arrow was shot by a bow [[enchant]]ed with [[Infinity]], a player in Creative mode, or a mob.

An arrow shot through [[lava]] ignites, giving it the effect of the [[Flame]] enchantment, igniting any entity it hits. If not extinguished, the fire inflicts up to {{hp|4}} damage. Although a [[wither skeleton]] does not spawn naturally with bows, if it holds a bow then it also shoots flaming arrows.

On impact, an arrow can trigger a wooden [[pressure plate]], [[target]] block, [[wooden button]], or [[tripwire]]. Arrows cannot trigger stone pressure plates or stone buttons.

The player can choose the type of arrow to shoot based on its location in the inventory. Arrows in the off-hand, or the selected hotbar slot if the bow is in the off-hand, are prioritized first. If there are no arrows in the off-hand or selected hotbar slot then the arrow closest to [[Inventory#Slots|slot 0]] is selected.

Arrows shot by bows in [[Bedrock Edition]] has a slightly higher range than arrows shot by bows in [[Java Edition]].

==Sounds==
{{edition|java}}:
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|subtitle=Arrow hits
|source=neutral
|description=When an arrow impacts something
|id=entity.arrow.hit
|translationkey=subtitles.entity.arrow.hit
|volume=1.0
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16}}
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Arrow fired
|source=player
|description=When a bow shoots an arrow
|id=entity.arrow.shoot
|translationkey=subtitles.entity.arrow.shoot
|volume=1.0
|pitch={{frac|4|3}}-1.125 <ref group=sound>Depends on how long the bow has been charging. uncharged bows give {{frac|5|6}}-0.625</ref> 
|distance=16}}
{{Sound table
|sound=Succesfull Hit.ogg
|subtitle=Player hit
|source=player
|description=When an arrow shot by a player hits another player
|id=entity.arrow.hit_player
|translationkey=subtitles.entity.arrow.hit_player
|volume=0.18
|pitch=0.45
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a bow's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|source=player
|description=When an arrow impacts something
|id=random.bowhit
|volume=1.0
|pitch=1.09-1.3}}
{{Sound table
|sound=Bow shoot.ogg
|source=player
|description=When a bow shoots an arrow
|id=random.bow
|volume=1.0
|pitch=0.83-1.25}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a bow's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bow
|spritetype=item
|nameid=bow
|id=300
|form=item
|foot=1}}

==Achievements==

{{load achievements|Sniper Duel;Archer;Dispense with this;Bullseye}}

==Advancements==

{{load advancements|Take Aim;Sniper Duel;Bullseye}}

==Video==

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

==History==
{{History|java classic}}
{{History||June 14, 2009|link=https://notch.tumblr.com/post/123343045/my-vision-for-survival|[[Notch]] discussed how bows and [[arrow]]s would work in [[Survival]] mode: "Bows and arrows can be made out of wood. To use it, select the bow from your inventory and make sure you’ve got some arrows. Click in front of you, and an arrow goes flying using real physics. To actually HIT something, aim above it."}}
{{History||0.24 SURVIVAL TEST|The [[player]] did not need a bow to shoot arrows. Instead, {{Key|Tab}} was used to fire arrows. However, arrows still had to be collected to shoot. Launching arrows this way was much slower than the bow that now fires them.}}
{{History|java indev}}
{{History||0.31|snap=20100110|[[File:Bow JE1.png|32px]] Added bow texture to [[items.png]].}}
{{History|||snap=20100122|[[File:Bow JE2 BE1.png|32px]] Added bows as item with changed texture. The right mouse button can be held down to fire in rapid succession. Each [[arrow]] deals {{hp|4}} for each hit. They fly in a [[wikipedia:Trajectory of a projectile|ballistic trajectory]] affected by gravity and drag in air or water. They travel approximately 15 [[block]]s when fired parallel to a flat plane. Arrows also have a maximum range of around 52 blocks when fired at a 38 degree angle on a flat plane.
|Bows often fail to interact with objects, but instead shoot. This is due to the fact that shooting arrows is an instantaneous action.
|At this point, bows have no durability, and can essentially be used infinitely.}}
{{History|java alpha}}
{{History||v1.2.6|Interacting with objects (door, chest, etc.) while holding a bow no longer shoots the arrow.}}
{{History|java beta}}
{{History||1.2|Bows are now used to craft [[dispenser]]s.}}
{{History||1.8|snap=July 8, 2011|slink={{tweet|notch|89414265441763328}}|[[Notch]] teased hold-to-charge bows.}}
{{History|||snap=July 13, 2011|slink={{tweet|notch|91250232981061632}}|Notch indicated that along with bow charging, he would add an [[achievement]] based around shooting a [[skeleton]] at 50 meters, eventually to be known as ''Sniper duel''.}}
{{History|||snap=Pre-release|Bow behavior has been overhauled; they now need to be charged to fire.}}
{{History|java}}
{{History||1.0.0|snap=RC1|A fully charged [[arrow]] from a bow now consistently deals {{hp|9}} damage, with a rare chance of dealing {{hp|10}}.
|Bows now have a [[durability]] of 385 uses.
|Bows no longer need arrows for ammo in [[Creative]] mode.
|The bow can now be [[enchanting|enchanted]] via console commands, but no enchantment affects it.}}
{{History||1.1|snap=release|Bows can now be legitimately enchanted. Four enchantments have been added: [[Flame]], [[Punch]], [[Power]] and [[Infinity]].}}
{{History||1.2.1|snap=12w06a|[[Skeleton]]s now have a 2.5% chance of dropping a bow. One fifth of the time, this bow is enchanted with Power I (20%).}}
{{History||1.4.6|snap=12w50a|Bows can now be enchanted with [[Unbreaking]] using an [[anvil]] and an appropriate [[enchanted book]].}}
{{History|||snap=pre|When a [[player]] hits another player from far away with a bow it makes a high pitched "dinging" sound.}}
{{History||1.7.2|snap=13w36a|Bows can now be obtained as a "treasure" [[item]] from [[fishing]].
|Bows can now be [[enchanting|enchanted]] with [[Unbreaking]] directly in an [[enchantment table]] without the use of an [[anvil]].}}
{{History||1.8|snap=14w02a|Fletcher [[villager]]s now [[trading|sell]] 1 bow for 2–3 [[emerald]]s.}}
{{History|||snap=14w30a|Bow placement when drawing back has been slightly changed.}}
{{History||1.9|snap=15w31a|When shooting, the arrows are no longer offset to the right of the Crosshair.
|The bow in the hotbar now shows an [[arrow]] when being drawn.
|Bows can now shoot an additional 14 types of arrows, selected based on the arrow type held in the off-hand or closest to slot 0.
|Bows cannot be used in the off-hand.}}
{{History|||snap=15w37a|The bow can now be used in the off-hand.
|Bows now prioritize the selected hotbar slot for [[arrow]]s if the bow is in the off hand.
|When using the bow in the off-hand, the bow does do the animation, but does not aim at the target.}}
{{History|||snap=?|Momentum now affects the physics of arrows fired from bows.}}
{{History||1.10|snap=16w20a|Bows are now used by [[stray]]s and can now sometimes be obtained as a rare [[drop]].}}
{{History||1.11|snap=16w33a|Bows can now be used to fuel [[furnace]]s.}}
{{History||1.11.1|snap=16w50a|[[Infinity]] and [[Mending]] are now mutually exclusive for bows.}}
{{History||1.12|snap=17w16a|Bows are now used by [[illusioner]]s and can now sometimes be obtained as a rare [[drop]], although unenchanted.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 261.}}
{{History||1.13.1|snap=18w30a|{{bug|MC-88356}}: Fixed a bug: When using the bow in the off-hand, the bow does do the animation, but does not aim at the target.}}
{{History||1.14|snap=19w11a|Fletcher [[villager]]s now [[trading|sell]] enchanted bows.}}

{{History|pocket alpha}}
{{History||v0.3.3|[[File:Bow JE2 BE1.png|32px]] Added bows.}}
{{History||v0.4.0|Bows now have a durability of 385 uses.
|Bows also now slow down the player while aiming.}}
{{History||v0.5.0|Bows are now obtainable after activating the [[nether reactor]].}}
{{History||v0.8.0|snap=build 1|[[File:Bow BE2.png|32px]] The texture of bows has been changed.}}
{{History|||snap=build 7|Bows can now be used as fuel in a [[furnace]].}}
{{History||v0.11.0|snap=build 1|Bows can now be obtained as a "treasure" [[item]] from [[fishing]].}}
{{History||v0.12.1|snap=build 1|Fully charged bows now cause [[particle]]s.
|Bows can now be [[enchanting|enchanted]].
|Bows obtained by [[fishing]] can now be caught enchanted.
|Bows are no longer available from the [[nether reactor]].}}
{{History||v0.15.0|snap=build 1|Added [[stray]]s, which are equipped with a bow that can rarely be dropped by them.
|Bows can now shoot an additional 14 types of [[arrow]]s, selected based on the arrow type closest to slot 0.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Bows can now be obtained by [[trading]] with a fletcher [[villager]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Added the [[Mending]] enchantment, which can now be applied to bows and is mutually exclusive to the [[Infinity]] enchantment.
|[[Arrow]]s can now be placed in the offhand slot and bows now prioritize the arrows in that slot.}}
{{History|bedrock}}
{{History||?|Momentum now affects the physics of arrows fired from bows.}}
{{History||1.8.0|snap=beta 1.8.0.10|Bows in the hotbar now show an [[arrow]] when being drawn.}}
{{History||1.10.0|snap=beta 1.10.0.3| [[File:Bow JE2 BE1.png|32px]] The texture of bows has been changed to match {{el|je}}'s texture.}}
{{History||1.11.0|snap=beta 1.11.0.4|Fletcher villagers now sell unenchanted bows for 2 emeralds, and enchanted bows for 8 emeralds.}}
{{History||1.16.210|snap=beta 1.16.210.58|Bows in first-person view is now held differently.<ref>{{bug|MCPE-116741}}</ref>}}
{{History||1.17.0|snap=beta 1.17.0.52|Bows are now held like it was before [[Bedrock Edition beta 1.16.210.58|1.16.210.58 beta]].<ref>{{bug|MCPE-116741}}</ref>}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Bow JE2 BE1.png|32px]] Added bows.}}
{{History||xbox=TU5|Bow behavior is overhauled; they now need to be charged to fire.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Bows can now be obtained by [[trading]] with a fletcher [[villager]].}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|Bows can now shoot an additional 14 types of [[arrow]]s, selected based on arrow type held in the off-hand or closest to slot 0.}}
{{History|foot}}

Historical sounds:

{| class="wikitable"
!Sound
!From
!to
!Pitch
|-
|{{sound||Bow Shooting Old.ogg}}
|0.31
|Sound Update
|1.0
|}

==Issues==
{{issue list}}

==Trivia==
* Bows were left unchanged in the [[Texture Update]].<ref>{{bug|MC-168156|||WAI}}</ref>
*Dinnerbone got the idea for the high-pitched "ding" sound from playing on a former PvP server called Project Ares.<ref>{{tweet|Dinnerbone|280044119345229826|Also things I learnt from pvping today: Bows need to ding when you hit people (it's so much fun/rewarding!) & arrows don't render far enough|December 15, 2012}}</ref><ref>{{ytl|-b5aXYacYsk|Minecraft PvP with Dinnerbone & Docm77 - Team DocBone @ 11:52|docm77|December 7, 2013|t=712s}}</ref>

==Gallery==
<gallery>
Enchanted Bow.gif|An enchanted bow.
Bow Shooting.gif|Using the bow.
1.9bow.gif|Drawback animation.
Bow SDGP.png|Bow in the [[Super Duper Graphics Pack]].
Hunting Wabbits.jpg|Using a bow to hunt rabbits.
</gallery>

==References==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--bow Taking Inventory: Bow] – Minecraft.net on April 13, 2023

{{items}}

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

[[cs:Luk]]
[[de:Bogen]]
[[es:Arco]]
[[fr:Arc]]
[[hu:Íj]]
[[it:Arco]]
[[ja:弓]]
[[ko:활]]
[[nl:Boog]]
[[pl:Łuk]]
[[pt:Arco]]
[[ru:Лук]]
[[uk:Лук]]
[[zh:弓]]</li><li>[[Camera|Camera]]<br/>{{about|the entity|the command|commands/camera}}
{{exclusive|edu}} 
{{unobtainable|edition=be}}
{{ItemEntity
|imagesize=80px
|renewable=No
|stackable=Yes (64)
|health={{hp|4}}
|image=Camera.png}}
{{Block
| title = Camera Block
| image = Camera (block).png
| invimage = none
| transparent = No
| light = 0
| tool = any
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| renewable = No
}}

The '''camera''' is an [[entity]] that is capable of capturing and storing images. {{IN|edu}}, it works together with the [[portfolio]] item to create collections of [[photo]]s.<ref>https://education.minecraft.net/support/knowledge-base/using-cameras-portfolios/</ref>

== Obtaining ==
The camera can be obtained in the [[Creative inventory]] in ''Minecraft Education''. It can be obtained either by NBT editors, inventory editors, or glitches in Bedrock Edition.

To get the block form of the camera in Bedrock Edition using an NBT editor, you need to set the item name of the block in the inventory slot (<code>name:</code> ) to <code>item.camera</code>, then you need to add a compound tag called <code>Block</code> and inside of that put the int tag <code>version: 18040335</code> and the text tag <code>name: minecraft:camera</code> into the block compound tag. For the usable "[[spawn egg]]" form of the camera, you only need to set the item name of the block in the inventory slot (<code>name:</code> ) to <code>camera</code>; you do not need to add the block compound for this form of the camera. 

== Usage ==
Using a camera from the [[inventory]] captures a first-person screenshot. It can also be placed, creating a camera [[entity]] that can track the user, and take pictures from the camera's perspective. Photos that are taken using the camera appear in the [[portfolio]].

Close-up snapshots of an [[item]] on the ground can be taken by holding the Shift key while right-clicking.

Photos that are taken with the camera block are stored in <code>%localappdata%\Packages\MinecraftUWP_8wekyb3d8bbwe\LocalState\screenshots</code>.

== Sounds ==
=== Generic ===
{{Sound table/Block/Normal/BE}}
=== Unique ===
{{Sound table
|sound=Camera1.ogg
|sound2=Camera2.ogg
|sound3=Camera3.ogg
|type=bedrock
|description=When a picture is taken with a camera
|source=Players
|id=camera.take_picture
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|firstcolumnname=Camera
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=camera
|spritetype=block
|nameid=camera
|id=242
|form=block
|itemform=item.camera}}
{{ID table
|displayname=Item
|spritename=camera
|spritetype=item
|translationtype=item
|nameid=camera
|id=593
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Camera
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritename=camera
|spritetype=entity
|nameid=tripod_camera
|id=62
|foot=1}}

=== Entity data ===

See [[Bedrock Edition level format/Entity format]].

== Video ==
{{yt|1XLRGFibFNQ}}

== History ==
{{History|pocket alpha}}
{{History||v0.1.0|[[File:Camera BE1.png|50px]] [[File:Camera (item texture) BE1.png|32px]] The textures and model of the camera can be found in the game apk file.<ref name="found">[{{Reddit|jkkmr/found_image_file_for_camera_in_minecraft_portable}} Reddit - Found image file for camera in Minecraft Portable Edition Demo APK file.]</ref><ref>https://web.archive.org/web/20160604161800/https://twitter.com/Kappische/status/103548954368679936</ref>}}
{{History||v0.2.0|[[File:Camera BE2.png|50px]] [[File:Music Disc Blocks JE1 BE1.png|32px]] Added cameras
|Changed item and tripod textures.
|To use a camera, equip it in the [[player]]'s hand, then look in the direction the player wants the picture to be taken. Long-press the screen, and a camera [[drops]] to the ground where the player are standing. Step back, then press on the camera until it starts emitting smoke [[particles]]. The smoke means a picture has been taken, and the camera may disappear immediately afterward.
|Cameras have infinite uses.
|Entity id 62 and item id 456.<ref>https://www.minecraftforum.net/topic/1233138-i-found-the-camera-id/</ref>}}
{{History||v0.5.0|The camera is now invisible and makes the standard player [[damage]] [[sound]].}}
{{History||v0.7.0|Added the "F1" feature (Hide GUI), which has now made the camera obsolete.}}
{{History||v0.8.0|snap=build 2|[[File:Egg JE1 BE1.png|32px]] Item form now uses [[egg]] texture.}}
{{History||v0.9.0|snap=build 1|The camera [[entity]] has been removed. [[Tommaso]] also stated: ''"It doesn't mean that it's dead forever, in fact I have a lot of ideas for it! I think it will be back when have [[shader]]s, sharing and [[redstone]]."''<ref>{{Reddit|sub=MCPE|281sep/camera|ci6znr8}}</ref>}}
{{History||v0.14.0|snap=build 1|[[File:Camera BE3.png|32px]] [[File:Camera (item) BE2.png|32px]] Re-added the camera. It is accessible only with [[inventory]] editors.
|In this version, if the player spawns a camera, leaves the [[world]] and joins back, it summons [[lightning]].}}
{{History||v0.14.2|The camera [[item]] ID has been changed to 498, but it cannot be used at the moment. The [[entity]] can now be spawned with a [[spawn egg]] with a [[damage]] value of 62.
|According to the language files of the game, the empty label that shows up whenever hovering a finger to a camera would now say "Take Picture". However, the button doesn't do anything.}}
{{History||v0.15.0|snap=build 1|The previous empty label on the camera mentioned above now displays the words "Take Picture".
|The [[health]] of the camera [[entity]] is now {{hp|2}} instead {{hp|4}}.
|The camera no longer summons [[lightning]].}}
{{History||v0.16.0|snap=build 1|The camera now has a [[block]] form in [[inventory]], but still spawns the entity. However, the block can be placed only with [[commands]] and editing.
|"Take picture" button on the camera works now, but no image files are created.
|The oldest ID for camera (456) now refers to [[portfolio]].}}
{{History|||snap=build 2|[[File:Camera Block.png|32px]] The camera now has an [[item]] form and the [[block]] has been removed. However, it is still obtainable in servers.
|[[Portfolio]], which works together with the camera to create collections of pictures, has been removed.}}
{{History|||snap=build 4|Camera item form has been removed, and the camera can no longer be obtained or placed using any [[commands|command]].}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|[[File:Camera BE3.png|32px]] [[File:Camera Block.png|32px]] The camera has been reimplemented.
|The camera [[entity]] can now be spawned with a [[spawn egg]] with [[damage]] value 258.}}
{{History||1.12.0|snap=beta 1.12.0.2|The camera can now be obtained with the {{cmd|give}} [[commands|command]].}}
{{History||1.13.0|snap=beta 1.13.0.1|The camera can no longer be obtained with the {{cmd|give}} command.
|Functionality has been added to the camera. Screenshots that are taken by the camera can now be saved into the {{cd|screenshots}} folder.
|Cameras are now a part of the {{el|ee}} toggle as a hidden feature.
|Cameras no longer have a [[death]] animation when killed by the [[player]] and instead, instantly emit smoke [[particles]].}}
{{History||1.16.100|snap=beta 1.16.100.50|The camera can now be obtained with the {{cmd|give}} [[commands|command]] once again.}}
{{History|||snap=beta 1.16.100.55|The camera can no longer be obtained with the {{cmd|give}} command.}}
{{History|education}}
{{History||1.0|[[File:Camera BE3.png|32px]] [[File:Camera Block.png|32px]] Added cameras.}}
{{History||1.4.0|Cameras no longer have a [[death]] animation when killed by the [[player]] and instead instantly emit smoke [[particles]].}}
{{History|foot}}

=== Future ===
At the Minecraft [[Pocket Edition]] panel at [[MineCon 2012]], as well as one of [[Johan Bernhardsson|Jbernhardsson]]'s livestreams, it was stated that future plans include trying to have a proper use for cameras, perhaps an easier way to take screenshots and share them with others.<ref>{{ytl|YMhyX_lKWV4}}</ref> In the BlockTalk Q&A, the camera was briefly mentioned as part of a broader "sharing" theme planned for {{el|be}} in the future.<ref>{{ytl|Ruf6tvqsD84}}</ref>
It later got implemented into {{el|ee}}, using the camera to make screenshots and share them in a special book.

== Issues ==
{{Issue list}}

== Trivia ==
* A camera prevents a [[Book and Quill]] from working. Attempting to craft it or obtain it by commands gives a regular book instead, due to non-implementation of photo attaching to written books.
* The camera can take a screenshot, which appears a bit smaller with a thick paper outline having cuts on its edges, making it look like an old photograph.
* This feature is hidden from the Creative inventory and from the /give command item menu.

== Gallery ==
<gallery>
PEcameras030.jpg|A row of cameras, as seen in [[Pocket Edition v0.3.0 alpha|v0.3.0]].
PEcameraphoto.jpg|Example image taken by the camera [[entity]].
CameraUse-1.png|The first method of using cameras.
CameraUse-2.png|The second method of using cameras.
Dinnerbone Camera.png|A camera spawned using a [[spawn egg]] named "[[Dinnerbone]]" in the v0.15.0 beta.
Cam2.png|A camera falling from a [[tree]]. This shows that cameras are entities.
Education Edition Exclusive Features.png|The camera and camera block placed in a world along with other Education Edition features.
Screenshot by camera.jpg|An example of the screenshot taken by a camera in [[Bedrock Edition beta 1.13.0.1|beta 1.13.0.1]].
File:Say Cheese.jpeg|[[Steve]], [[Alex]], [[Jesse]], and an [[Agent]] getting their picture taken.
</gallery>

== See also ==
* [[Portfolio]]
* [[Screenshot]]

== References ==
{{Reflist}}

{{Items}}
{{Entities}}
{{Education Edition}}

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

[[cs:Kamera]]
[[de:Kamera]]
[[el:Camera]]
[[es:Cámara]]
[[fr:Appareil photo]]
[[hu:Kamera]]
[[ja:カメラ]]
[[ko:카메라]]
[[nl:Camera]]
[[pl:Kamera]]
[[pt:Câmera]]
[[ru:Камера]]
[[uk:Камера]]
[[zh:相机]]</li></ul>
14w03aNBT data now supports using string IDs rather than numerical IDs.
1.12
{{Extension DPL}}<ul><li>[[Clock|Clock]]<br/>{{about|the item|the redstone circuit|Redstone circuits/Clock}}
{{Item
| image = Clock.gif
| renewable = Yes
| stackable = Yes (64)
}}

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

== Obtaining ==

=== Crafting ===

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

=== Natural generation ===

{{LootChestItem|clock}}

=== Trading ===

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

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

== Usage ==

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==

{{issue list}}

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

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

== References ==
{{Reflist}}

{{Items}}

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

[[cs:Hodiny]]
[[de:Uhr]]
[[es:Reloj]]
[[fr:Montre]]
[[hu:Óra]]
[[it:Orologio]]
[[ja:時計]]
[[ko:시계]]
[[nl:Klok]]
[[pl:Zegar]]
[[pt:Relógio]]
[[ru:Часы]]
[[th:นาฬิกา]]
[[uk:Годинник]]
[[zh:时钟]]</li><li>[[Super Fertilizer|Super Fertilizer]]<br/>{{education feature}}
{{Exclusive|Bedrock|Education}}
{{Item
| image = Super Fertilizer.png
| renewable = No
| stackable = Yes (64)
}}
'''Super fertilizer''' is a powerful form of [[bone meal]] that is created using [[ammonia]] and [[phosphorus]].

== Obtaining ==

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

== Usage ==

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

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

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

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

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

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

{{items}}
{{Education Edition}}

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

[[de:Superdünger]]
[[ja:スーパー肥料]]
[[ko:슈퍼 비료]]
[[lzh:神肥]]
[[pl:Supernawóz]]
[[pt:Super fertilizante]]
[[uk:Супердобриво]]
[[zh:超级肥料]]</li></ul></nowiki>
?Added long array tags.
1.13
{{Extension DPL}}<ul><li>[[Light Blue Dye|Light Blue Dye]]<br/>{{Item
| image = Light_Blue_Dye_JE2_BE2.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Light blue dye''' is a [[Dyeing#Quasi-Primary|quasi-primary dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |showname=0
  |showdescription=1
  |Blue Orchid
  |Output=Light Blue Dye
  |type=Material
  |head=1
}}
{{Crafting
  |Blue Dye
  |White Dye
  |Output=Light Blue Dye,2
  |type=Material
}}
{{Crafting
  |Lapis Lazuli;Blue Dye;Lapis Lazuli
  |Bone Meal;Bone Meal;White Dye
  |Output=Light Blue Dye,2
  |type=Material
  |description={{only|bedrock|education}}
  |foot=1
}}

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

=== Trading ===

[[Wandering trader]]s sell 3 light blue dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

=== Loom ingredient ===
{{Banner loom usage|Light Blue Dye}}

=== Trading ===

Apprentice-level shepherd villagers have a 20%{{only|bedrock}} or {{frac|2|7}}{{only|java}} chance to buy 12 light blue dye for an emerald as part of their trades.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Light Blue Dye
|spritetype=item
|nameid=light_blue_dye
|aliasid=dye / 12
|id=407
|form=item
|translationkey=item.dye.lightBlue.name
|foot=1}}

== Video ==
{{yt|IPQzg-zPJgk}}

== History ==

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

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Light Blue Dye JE1 BE1.png|32px]] Added light blue dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Light blue dye is now craftable with [[lapis lazuli]] and [[bone meal]].
|Light blue dye can now be used to craft light blue wool.}}
{{History||v0.14.0|snap=build 1|Light blue dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Light blue dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Light dye can now be used to craft [[concrete powder]] and dye [[shulker box]]es and [[bed]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Light blue dye can now be used to craft [[firework star]]s, [[stained glass]], and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Light blue dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Light blue dye can now be used to dye [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Light blue dye is now [[trading|sold]] by [[wandering trader]]s.
|Light blue dye can now be used to dye white [[carpet]]s.
|[[File:Light_Blue_Dye_JE2_BE2.png|32px]] The texture of light blue dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Light blue dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of light blue dye has been changed from <code>dye/12</code> to <code>light_blue_dye</code>.}}

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

{{History|new 3ds}}
{{History||0.1.0|[[File:Light Blue Dye JE1 BE1.png|32px]] Added light blue dye.}}
{{History|foot}}

== Issues ==
{{issue list}}

{{Items}}

[[Category:Dyes]]

[[cs:Světle modré barvivo]]
[[de:Hellblauer Farbstoff]]
[[es:Tinte azul claro]]
[[fr:Teinture bleu clair]]
[[hu:Világoskék festék]]
[[ja:空色の染料]]
[[ko:하늘색 염료]]
[[nl:Lichtblauwe kleurstof]]
[[pl:Jasnoniebieski barwnik]]
[[pt:Corante azul-claro]]
[[ru:Светло-синий краситель]]
[[zh:淡蓝色染料]]
[[Category:Renewable resources]]</li><li>[[Nether Brick|Nether Brick]]<br/><!--Please do not change "nether brick" to "Nether brick". According to style guide, item names are not proper nouns and should not be capitalized.-->
{{about|the item|the block|Nether Bricks}}
{{Item
| title = Nether Brick
| image = Nether Brick.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''nether brick''' is an [[item]] made by [[smelting]] [[netherrack]] in a [[furnace]], and is used to craft the [[Nether Bricks|nether bricks]] block and its variants. 

== Obtaining ==
=== Smelting ===
Nether brick can be smelted from netherrack.
{{smelting
  |Netherrack
  |Nether Brick
  |0,1
}}

=== Bartering ===
[[Piglin]]s may [[barter]] 2 to 8 nether bricks when given a [[gold ingot]].

== Usage ==
=== Crafting ingredient ===

{{crafting usage|Nether Brick}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Nether Brick
|spritetype=item
|nameid=netherbrick
|id=523
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.5|snap=13w01a|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||1.10|snap=16w20a|Nether brick items can now be used to craft [[red nether bricks]].}}
{{History||1.13|snap=17w47a|The ID of nether bricks has been changed from <code>netherbrick</code> to <code>nether_brick</code>.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 405.}}
{{History||1.14|snap=18w43a|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History||1.16|snap=20w07a|Nether bricks now have a {{frac|10|109}} (~9.17%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 1–4.}}
{{History|||snap=20w09a|Nether bricks now have a {{frac|20|226}} (~8.84%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w10a|Nether bricks now have a {{frac|40|411}} (~9.73%) chance of being given by piglins when bartering, in a stack size of 4–16.}}
{{History||1.16.2|snap=20w28a|Nether bricks now have a {{frac|40|459}} (~8.71%) chance of being given by piglins when bartering, in a stack size of 2–8.}}

{{History|pocket alpha}}
{{History||v0.6.0|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||v0.16.0|snap=build 5|Added nether brick items to the [[Creative]] [[inventory]].<ref name="missing brick">{{Bug|MCPE-16556}}</ref>}}
{{History|pocket}}
{{History||1.1.3|snap=alpha 1.1.3.0|Nether brick items are now used to craft [[red nether bricks]].}}
{{History|bedrock}}
{{History||1.9.0|snap=beta 1.9.0.0|Nether brick items are now used to craft nether brick [[fence]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.50|Nether bricks now can be used as fuel for a [[furnace]].<ref>{{bug|MCPE-114216}}</ref>}}
{{History|||snap=beta 1.16.100.54|Nether bricks now have a {{frac|40|459}} (~8.71%) chance of being given by piglins when bartering, in a stack size of 2–8 to match {{el|Java}}.}}
{{History||1.18.30|snap=beta 1.18.30.26|Nether bricks can no longer be used as fuel in a furnace.}}

{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{items}}

[[cs:Netheritová cihla]]
[[de:Netherziegel (Gegenstand)]]
[[es:Ladrillo del Nether]]
[[fr:Brique du Nether]]
[[hu:Alvilági tégla]]
[[ja:ネザーレンガ (アイテム)]]
[[ko:네더 벽돌 (아이템)]]
[[lzh:焱界磚]]
[[nl:Netherbaksteen (voorwerp)]]
[[pl:Netherowa cegła]]
[[pt:Tijolo do Nether]]
[[ru:Адский кирпич (предмет)]]
[[uk:Пекельна цегла (предмет)]]
[[zh:下界砖]]
[[Category:Renewable resources]]</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.

Firework rockets without firework stars shot from a crossbow upon hitting terrain elements will traverse along until stopped by a ledge or into unobstructed terrains again continuing its original flight path. Ledges as tall as one pixel high (e.g. from [[Dirt Path|Dirt Paths]] to [[Grass Block|Grass Blocks]]) will also block the firework. They will still vanish if they hit entities early amidst their flight.

==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>[[Pitcher Pod|Pitcher Pod]]<br/>{{wip}}
{{Block
| image = <gallery>
Pitcher Crop Age 0 JE1.png| Age 0
Pitcher Crop Age 1 JE1.png| Age 1
Pitcher Crop Age 2 JE1.png| Age 2
Pitcher Crop Age 3 JE1.png| Age 3
Pitcher Crop Age 4 JE1.png| Age 4
</gallery>
| image2 = Pitcher Pod.png
| transparent = Yes
| light = Yes
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| rarity = Common
| flammable = No
| lavasusceptible = No
}}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Notelist ==
{{notelist}}

== References ==
{{reflist}}

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

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

[[de:kannenpflanzentrieb]]
[[es:Vaina de planta odre]]
[[ja:ウツボカズラのさや]]
[[pt:Muda de planta-jarro]]</li></ul>
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.