Minecraft Wiki
No edit summary
Tag: Visual edit
m (Grammar error)
Tag: Visual edit
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
The '''Named Binary Tag''' ('''NBT''') format is used 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.
+
The '''Named Binary Tag''' ('''NBT''') format is a [[wikipedia:Tree (data structure)|tree data structure]] used by ''Minecraft'' in many [[Java Edition level format|save files]] to store arbitrary data. The format is comprised of a handful of ''tags''. Tags have a numeric ID, a name, and a [[Wikipedia:payload (computing)|payload]]. A user-accessible version in the form of [[Wikipedia:string (computer science)|strings]] is the '''stringified Named Binary Tag''' ('''SNBT''') format.
 
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'''.
 
   
 
== SNBT format ==
 
== SNBT format ==
 
{{exclusive|java|section=1}}
 
{{exclusive|java|section=1}}
'''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.
+
SNBT, also known as '''data tag''', is often used in command {{in|java}}. It can be described starting with [[wikipedia:Name–value pair|key-value pairs]] 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.
 
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.
Line 120: Line 118:
 
Note that not all properties are added. For example, the value of whether a player is opening a chest won't be added into NBT object.
 
Note that not all properties are added. For example, the value of whether a player is opening a chest won't be added into NBT object.
   
A value is added with certain data type. For example, a namespaced ID will be [[namespaced ID#Conversion to string|converted to a string value]].
+
A value is added with certain data type. For example, a resource location will be [[Resource location#Conversion to string|converted to a string value]].
   
 
These NBT objects will also be stored into game's save files as NBT files when the game quits or automatically saves. So the data structures that NBT tags describe and the data type for each tag are basically the same ones used in game's save files. These data structures are described in other articles and commands expect data tags to use the same attribute names (which are case-sensitive):
 
These NBT objects will also be stored into game's save files as NBT files when the game quits or automatically saves. So the data structures that NBT tags describe and the data type for each tag are basically the same ones used in game's save files. These data structures are described in other articles and commands expect data tags to use the same attribute names (which are case-sensitive):
Line 178: Line 176:
 
Modifying entity/block based on a programmatic NBT object is not a simple progress. All certain tags need to be resolved before changing properties of a block/entity. Note that only certain properties can be changed. For example, when using {{cmd|data}} command to modify a block entity, its coordinates cannot be changed.
 
Modifying entity/block based on a programmatic NBT object is not a simple progress. All certain tags need to be resolved before changing properties of a block/entity. Note that only certain properties can be changed. For example, when using {{cmd|data}} command to modify a block entity, its coordinates cannot be changed.
   
If a property needs a value of namespaced ID and gets a {{nbt|string|string}} tag, the string will be [[namespaced ID#Conversion from string|converted to an ID]].
+
If a property needs a value of resource location and gets a {{nbt|string|string}} tag, the string will be [[Resource location#Conversion from string|converted to a resource location]].
   
 
If a property needs a value of JSON text and gets a {{nbt|string|string}} tag, the string will be parsed into JSON text object.
 
If a property needs a value of JSON text and gets a {{nbt|string|string}} tag, the string will be parsed into JSON text object.
Line 190: Line 188:
 
If a property needs a list or array of certain type and gets a wrong-type tag, a empty list/array will be got.
 
If a property needs a list or array of certain type and gets a wrong-type tag, a empty list/array will be got.
   
If a property needs a compount tag and gets a non-compount tag, a empty compount tag will be got.
+
If a property needs a compound tag and gets a non-compound tag, a empty compound tag will be got.
   
 
===Testing NBT tags===
 
===Testing NBT tags===
Line 196: Line 194:
 
When commands such as {{cmd|clear}}, {{cmd|execute if data}} are used to match data tags, or [[target selectors#Selecting targets by NBT data‌|nbt argument in target selector]] tries to target entity, the game converts SNBT into programmatic NBT object and gets programmatic NBT object from block/entity/storage, then compares the two NBT objects.
 
When commands such as {{cmd|clear}}, {{cmd|execute if data}} are used to match data tags, or [[target selectors#Selecting targets by NBT data‌|nbt argument in target selector]] tries to target entity, the game converts SNBT into programmatic NBT object and gets programmatic NBT object from block/entity/storage, then compares the two NBT objects.
   
They check only for the presence of the provided tags in the target entity/block/storage. This means that the entity/block/storage can have additional tags and still match. This is true even for lists: the order and number of elements in an list a list is not considered, and as long as every requested element is in the list, it matches even if there are additional elements. For example, an entity with data <code>{Pos:[1d,2d,3d],Tags:["a","b"]}</code> can be targeted by <code>@e[nbt={Pos:[3d,2d,1d]}]</code> or even just <code>@e[nbt={Pos:[2d]}]</code> even though the former represents a totally different position and the latter is not a valid position at all. Note that <code>@e[nbt={Tags:[]}]</code> can't match it, because an empty list can only match empty list.
+
They check only for the presence of the provided tags in the target entity/block/storage. This means that the entity/block/storage can have additional tags and still match. This is true even for lists: the order and number of elements in a list are not considered, and as long as every requested element is in the list, it matches even if there are additional elements. For example, an entity with data <code>{Pos:[1d,2d,3d],Tags:["a","b"]}</code> can be targeted by <code>@e[nbt={Pos:[3d,2d,1d]}]</code> or even just <code>@e[nbt={Pos:[2d]}]</code> even though the former represents a totally different position and the latter is not a valid position at all. Note that <code>@e[nbt={Tags:[]}]</code> can't match it, because an empty list can only match empty list.
   
 
However, the order and number of elements in an byte/long/int array '''is''' acknowledged.
 
However, the order and number of elements in an byte/long/int array '''is''' acknowledged.
   
The requested data tags in the target entity/block/storage must match ''exactly'' for the provided tags to pass, including the data type (e.g. <code>1</code>, an int, will not match <code>1d</code>, a double). Namespaces also can't omitted because in NBT object it is just a plain string that won't be resolved into a namespaced ID (e.g. <code><nowiki>@e[nbt={Item:{id:"stone"}}]</nowiki></code> will not match a stone item entity, it must be <code><nowiki>@e[nbt={Item:{id:"minecraft:stone"}}]</nowiki></code>). The same is true for string of JSON text, which must be exactly the same to match the provided tag (e.g. <code><nowiki>@e[nbt={CustomName:'"a"'}]</nowiki></code> will not match any entity, it must be <code><nowiki>@e[nbt={CustomName:"{\"text\":\"a\"}"}]</nowiki></code> or <code><nowiki>@e[nbt={CustomName:'{"text":"a"}'}]</nowiki></code>).
+
The requested data tags in the target entity/block/storage must match ''exactly'' for the provided tags to pass, including the data type (e.g. <code>1</code>, an int, will not match <code>1d</code>, a double). Namespaces also can't omitted because in NBT object it is just a plain string that won't be resolved into a resource location (e.g. <code><nowiki>@e[nbt={Item:{id:"stone"}}]</nowiki></code> will not match a stone item entity, it must be <code><nowiki>@e[nbt={Item:{id:"minecraft:stone"}}]</nowiki></code>). The same is true for string of JSON text, which must be exactly the same to match the provided tag (e.g. <code><nowiki>@e[nbt={CustomName:'"a"'}]</nowiki></code> will not match any entity, it must be <code><nowiki>@e[nbt={CustomName:"{\"text\":\"a\"}"}]</nowiki></code> or <code><nowiki>@e[nbt={CustomName:'{"text":"a"}'}]</nowiki></code>).
  +
  +
{{Anchor|NBT file}}
   
== NBT file ==
+
== Binary format ==
   
 
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.
 
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 ===
 
=== 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:
+
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 327: Line 327:
 
* <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.
+
*<samp>[[hotbar.nbt]]</samp>, which 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.
 
*[[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.
 
*<samp>[[Scoreboard#NBT format|scoreboard.dat]]</samp> is stored in compressed NBT format.
Line 363: Line 363:
 
*[https://github.com/tryashtar/nbt-studio NBT Studio], successor to NBTExplorer that includes additional features like Bedrock support and SNBT.
 
*[https://github.com/tryashtar/nbt-studio NBT Studio], successor to NBTExplorer that includes additional features like Bedrock support and SNBT.
 
*[http://irath96.github.io/webNBT/ webNBT], an online tool for viewing and editing NBT files.
 
*[http://irath96.github.io/webNBT/ webNBT], an online tool for viewing and editing NBT files.
  +
*[https://github.com/Foresteam/XNBTEdit/tags XNBTEdit], XML NBT editor and converter.
   
 
{{Java Edition}}
 
{{Java Edition}}
   
 
[[de:NBT]]
 
[[de:NBT]]
  +
[[es:Formato NBT]]
 
[[fr:Format NBT]]
 
[[fr:Format NBT]]
 
[[ja:NBTフォーマット]]
 
[[ja:NBTフォーマット]]

Revision as of 13:45, 25 June 2022

The Named Binary Tag (NBT) format is a tree data structure used by Minecraft in many save files to store arbitrary data. The format is comprised of a handful of tags. Tags have a numeric ID, a name, and a payload. A user-accessible version in the form of strings is the stringified Named Binary Tag (SNBT) format.

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 key-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 Format Example
 Byte A signed 8-bit integer, ranging from -128 to 127 (inclusive). <number>b or <number>B 34B, -20b
 Short A signed 16-bit integer, ranging from -32,768 to 32,767 (inclusive). <number>s or <number>S 31415s, -27183s
 Int A signed 32-bit integer, ranging from -2,147,483,648 and 2,147,483,647 (inclusive). <integer_number> 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). <number>l or <number>L 31415926l
 Float A 32-bit, single-precision floating-point number, ranging from -3.4E+38 to +3.4E+38.

See IEEE floating point for details.

<number>f or <number>F 3.1415926f
 Double A 64-bit, double-precision floating-point, ranging from -1.7E+308 to +1.7E+308.

See IEEE floating point for details.

<decimal_number>, <number>d or <number>D 3.1415926
 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. <a-zA-Z0-9 text>, "<text>" (" within needs to be escaped to \"), or '<text>' (' within needs to be escaped to \')

"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. [<value>,<value>,...] [3.2,64.5,129.5]
 Compound An ordered list of attribute-value pairs, enclosed in curly braces and delimited by commas.

Each tag can be of any type.

{<tag name>:<value>,<tag name>:<value>,...} {X:3,Y:64,Z:129}
 Byte Array B; followed by an ordered list of 8-bit integers, delimited by commas. Tag is enclosed in square brackets. [B;<byte>b,<byte>B,...] [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. [I;<integer>,<integer>,...] [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. [L;<long>l,<long>L,...] [L;1l,2l,3l]
 Boolean A value, expressed as true, false. It is resolved by the game into a  Byte tag as 0b (for false) and 1b (for true). true, false or 0b, 1b {doFoo:true}

NBT object

When the game is running, entities and block entities in loading chunks are stored in the memory. They are not stored with NBT, instead, they are just programmatic objects.

When processing NBT operations, the game needs to generate programmatic NBT object from entities/block entities, parse SNBT into NBT object, modify entities/blocks based on provided NBT object, or convert NBT object into SNBT.

Generating NBT object

When generating NBT from an entity/block, the entity/block's properties are added into programmatic NBT object.

Note that not all properties are added. For example, the value of whether a player is opening a chest won't be added into NBT object.

A value is added with certain data type. For example, a resource location will be converted to a string value.

These NBT objects will also be stored into game's save files as NBT files when the game quits or automatically saves. So the data structures that NBT tags describe and the data type for each tag are basically the same ones used in game's save files. These data structures are described in other articles and commands expect data tags to use the same attribute names (which are case-sensitive):

Data Structure Specification Links
Objects Examples
Block entities chests, furnaces, command blocks, mob spawners, signs, etc.
Items items in inventories (includes specifications for enchantments, lore, custom names, etc.)
Item entities items on the ground
Mobs creepers, cows, villagers, etc.
Projectiles arrows, fireballs, thrown potions, etc.
Vehicles boats, minecarts, etc.
Dynamic tiles primed TNT, falling sand/gravel/concrete powder/anvils
Other entities firework rockets, paintings, and item frames

Conversion to SNBT

Information icon
This feature is exclusive to Java Edition. 

A programmatic NBT object would be converted to a SNBT when trying to get it with /data get etc.

After converted, a number is always followed by a letter (lowercase for b, s, f, d, and uppercase for L) except  Integer. For example, 3s for a short, 3.2f for a float, etc.

And a string is always enclosed by double or single quotes.

Other data types are expressed as the #Format of each type table above.

Conversion from SNBT

Information icon
This feature is exclusive to Java Edition. 

An SNBT will be converted to a programmatic NBT object when parsed by the game.

A number that followed by a letter (B, S, L, F, D, or their lowercase) is resolved to corresponding data type. For example, 3s for a short, 3.2f for a float, etc. The letter can be uppercase or lowercase. When no letter is used, 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.

true and false are converted as 1b and 0b respectively.

Modifying entity/block based on NBT object

Information icon
This feature is exclusive to Java Edition. 

Modifying entity/block based on a programmatic NBT object is not a simple progress. All certain tags need to be resolved before changing properties of a block/entity. Note that only certain properties can be changed. For example, when using /data command to modify a block entity, its coordinates cannot be changed.

If a property needs a value of resource location and gets a  string tag, the string will be converted to a resource location.

If a property needs a value of JSON text and gets a  string tag, the string will be parsed into JSON text object.

If a property needs a numeric value of certain type and gets a numeric tag of wrong type, the number will get some rounding operation and converts to the required type.

If a property needs a numeric value and gets a non-numeric tag, the number will become 0.

If a property needs a string value and gets a non-string tag, the string will become an empty string.

If a property needs a list or array of certain type and gets a wrong-type tag, a empty list/array will be got.

If a property needs a compound tag and gets a non-compound tag, a empty compound tag will be got.

Testing NBT tags

Information icon
This feature is exclusive to Java Edition. 

When commands such as /clear, /execute if data are used to match data tags, or nbt argument in target selector tries to target entity, the game converts SNBT into programmatic NBT object and gets programmatic NBT object from block/entity/storage, then compares the two NBT objects.

They check only for the presence of the provided tags in the target entity/block/storage. This means that the entity/block/storage can have additional tags and still match. This is true even for lists: the order and number of elements in a list are not considered, and as long as every requested element is in the list, it matches even if there are additional elements. For example, an entity with data {Pos:[1d,2d,3d],Tags:["a","b"]} can be targeted by @e[nbt={Pos:[3d,2d,1d]}] or even just @e[nbt={Pos:[2d]}] even though the former represents a totally different position and the latter is not a valid position at all. Note that @e[nbt={Tags:[]}] can't match it, because an empty list can only match empty list.

However, the order and number of elements in an byte/long/int array is acknowledged.

The requested data tags in the target entity/block/storage must match exactly for the provided tags to pass, including the data type (e.g. 1, an int, will not match 1d, a double). Namespaces also can't omitted because in NBT object it is just a plain string that won't be resolved into a resource location (e.g. @e[nbt={Item:{id:"stone"}}] will not match a stone item entity, it must be @e[nbt={Item:{id:"minecraft:stone"}}]). The same is true for string of JSON text, which must be exactly the same to match the provided tag (e.g. @e[nbt={CustomName:'"a"'}] will not match any entity, it must be @e[nbt={CustomName:"{\"text\":\"a\"}"}] or @e[nbt={CustomName:'{"text":"a"}'}]).

Binary format

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 Description Storage Capacity
0 TAG_End - 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 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 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 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 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 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 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. 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 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. 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. 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. 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. 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, 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>[[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><li>[[Leather|Leather]]<br/>{{About||the leather from rabbits|Rabbit Hide|the armor material|Armor materials}}
{{Item
| image = Leather.png
| renewable = Yes
| stackable = Yes (64)
}}

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

== Obtaining ==

=== Mob loot ===

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

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

=== Fishing ===

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

=== Crafting ===

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

=== Chest loot ===

{{LootChestItem|leather}}

=== Villager gifts ===

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

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

== Usage ==

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

=== Trading ===

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

=== Repairing ===

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

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

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

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}


{{Items}}

[[Category:Renewable resources]]

[[cs:Kůže]]
[[de:Leder]]
[[es:Cuero]]
[[fr:Cuir]]
[[hu:Bőr]]
[[it:Cuoio]]
[[ja:革]]
[[ko:가죽]]
[[nl:Leer]]
[[pl:Skóra]]
[[pt:Couro]]
[[ru:Кожа]]
[[th:หนังสัตว์]]
[[uk:Шкіра]]
[[zh:皮革]]</li></ul>
September 28, 2011Notch works on "saving arbitrary data with item instances."
1.8
{{Extension DPL}}<ul><li>[[Nether Sprouts|Nether Sprouts]]<br/>{{Block
|title=Nether Sprouts
|image=Nether Sprouts.png
|image2=Nether Sprouts (texture) JE2 BE2.png
|transparent=Yes
|tool=shears
|light=No
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=Yes
}}

'''Nether sprouts''' are a non-solid fungi block that generate in [[warped forest]]s.

== Obtaining ==
=== Natural generation ===
Nether sprouts generate in [[warped forest]] biomes.

=== Breaking ===
Nether sprouts can be mined instantly with any item. The block also breaks if the block below is removed, or if [[water]] flows into its space. The block only drops if broken with [[shear]]s.

=== Post-generation ===
Applying [[bone meal]] to warped [[nylium]] creates nether sprouts on that block and surrounding nylium, along with both types of [[roots]] and [[fungi]].

== Usage ==
[[File:RootsSproutsPlaceBlock.png|thumb|All of the blocks that nether sprouts can be placed on.]]
Nether sprouts can be planted on the same blocks that [[fungus|fungi]] and [[roots]] can be placed on: [[nylium]], [[soul soil]], [[Grass Block|grass]], [[podzol]], [[mycelium]], [[Moss Block|moss]], [[dirt]], [[coarse dirt]], [[rooted dirt]], and [[farmland]]. However, they cannot be planted in [[flower pot]]s.

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

== Sounds ==
{{Sound table/Block/Nether sprouts}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|generatetranslationkeys=y
|showforms=y
|displayname=Nether Sprouts
|spritetype=block
|nameid=nether_sprouts
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Nether Sprouts
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=nether-sprouts
|spritetype=block
|nameid=nether_sprouts
|id=493
|form=block
|itemform=item.nether_sprouts}}
{{ID table
|displayname=Item
|spritename=nether-sprouts
|spritetype=item
|nameid=nether_sprouts
|id=621
|form=item
|translationkey=tile.nether_sprouts.name
|foot=1}}

== History ==
{{History|java}}
{{History||1.16|snap=20w06a|[[File:Nether Sprouts JE1 BE1.png|24px]] [[File:Nether Sprouts (texture) JE1 BE1.png|24px]] Added nether sprouts.}}
{{History|||snap=20w10a|[[File:Nether Sprouts JE2 BE2.png|24px]] [[File:Nether Sprouts (texture) JE2 BE2.png|24px]] The textures of the nether sprouts have now been changed.}}
{{History|||snap=20w15a|Nether sprouts can now be [[composter|composted]].}}
{{History|||snap=20w19a|Nether sprouts now only [[drops|drop]] if [[breaking|broken]] with [[shears]].}}
{{History|||snap=20w21a|[[File:Nether Sprouts (item) JE3 BE2.png|24px]] The [[inventory]] texture of the nether sprouts have now been changed.
|The [[block]] [[model]] of nether sprouts is now centered of the block rather than positioned randomly.}}
{{History||1.19.3|snap=22w44a|Nether sprouts now make sounds when being walked on.<ref>{{bug|MC-171621|||Fixed}}</ref>}}

{{History|bedrock}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Nether Sprouts JE1 BE1.png|24px]] [[File:Nether Sprouts (texture) JE1 BE1.png|24px]] Added nether sprouts.}}
{{History|||snap=beta 1.16.0.57|Nether sprouts can now be [[composter|composted]].}}
{{History|||snap=beta 1.16.0.59|[[File:Nether Sprouts JE2 BE2.png|24px]] [[File:Nether Sprouts (item) JE3 BE2.png|24px]] The textures of the nether sprouts have now been changed.
|[[File:Nether Sprouts Glitched BE.png|32px]] Nether sprouts now appear with a glitched texture when [[breaking|broken]] in [[survival]] mode or when picking the [[block]] in [[creative]] mode. The [[item]] received is also nameless.<ref>{{bug|MCPE-74339}}</ref>}}
{{History|||snap=beta 1.16.0.63|Nether sprouts now give the [[player]] the correct item when broken in survival mode or when picking the block in creative mode.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Unlike other warped "plants", nether sprouts don't have a crimson equivalent. This is also the case with [[nether wart]], which lacks a warped equivalent.

== References ==
{{Reflist}}

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

[[Category:Nether blocks]]
[[Category:Fungi]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]

[[de:Nethersprossen]]
[[de:Nethersprossen]]
[[es:Rastrojo del Nether]]
[[fr:Germes du Nether]]
[[ja:ネザースプラウト]]
[[pl:Netherowe kiełki]]
[[pt:Brotos do Nether]]
[[ru:Адские ростки]]
[[zh:下界苗]]</li><li>[[Boat|Boat]]<br/>{{ItemEntity
|image=Oak Boat.png
|image2=Oak Boat (item) JE6.png
|extratext = [[#Gallery|View all renders]]
|stackable=No
|renewable=Yes
|flammable=Yes
|size='''{{IN|Java}}:'''<br>
Height: 0.5625 Blocks<br>Width: 1.375 Blocks<br>
'''{{IN|Bedrock}}:'''<br>
Height: 0.455 Blocks<br>Width: 1.4 Blocks
|networkid='''[[JE]]''': 1
}}
{{for|other kinds of boats|Boat (disambiguation)}}
A '''boat''' is a drivable vehicle [[entity]] used primarily for fast transport of players and passenger mobs over bodies of water. '''Bamboo rafts''' look different, but function almost identically to other boats.

== Obtaining ==
Boats can be crafted with any Overworld planks; crimson and warped planks cannot be used to make boats.<ref>{{bug|MC-170868|||Invalid}}</ref>

Boats can be retrieved by repeatedly hitting them until they drop as an item.

[[Tool]]s and [[weapon]]s that deal more than {{Health|4}} damage will instantly destroy a boat in one hit.{{only|Java}}

=== Crafting ===
{{Crafting
|head=1
|showname=0
|A2= Matching Overworld Planks
|C2= Matching Overworld Planks
|A3= Matching Overworld Planks
|B3= Matching Overworld Planks
|C3= Matching Overworld Planks
|Output= Matching Boat
|type= Transportation
|foot=1
}}

== Usage ==
Boats can be used for the transportation of [[player]]s and [[mob]]s, sold for emeralds, or [[Smelting|burnt]] as fuel.

=== Crafting ===
{{Crafting usage|match=end|Boat, Bamboo Raft}}

=== Trading ===
Master-level fisherman [[villager]]s always offer to buy a boat for an [[emerald]]. The type of boat depends on the biome outfit type of the villager; [[plains]] villagers offer to buy oak boats, [[taiga]] and [[Snowy Tundra|snowy]] villagers offer to buy spruce boats, [[savanna]] villagers offer to buy acacia boats, [[desert]] and [[jungle]] villagers offer to buy jungle boats, and [[swamp]] villagers offer to buy dark oak boats.

=== Fuel ===
A boat used as fuel in a [[furnace]] lasts 60 seconds, smelting up to 6 items.

=== Transportation ===
{{see also|Transportation|Riding}}
==== Entering ====

A player enters a boat by {{control|using}} it, if the boat is not fully occupied (boats can hold two entities). Unlike [[bed]]s, there is no message above the hotbar for attempting to enter a fully occupied boat.<ref>{{bug|MC-161251}} - resolved as “Works as Intended”</ref>

==== Exiting ====
A boat can be exited by {{control|sneaking}} or, {{in|BE}}, pressing down the right analog stick on a controller, tapping the "Leave Boat" button when using touch controls, or {{control|jumping}}. When exiting a boat, the player is placed in the direction the player is facing, or, if facing directly up or down, the player is placed in front of the boat. The exiting player is placed on land if possible from the dismounting position.

==== Motion ====
Boats do not turn with mouse-look. 

With a keyboard or gamepad, boats are controlled using the {{control|forward}}, {{control|left}} (turns left), {{control|right}} (turns right), and {{control|backward}} keys. Using the {{control|sprint}} key increases the field of vision, but does not increase speed as if [[sprinting]].

With touchscreen controls, two buttons for steering appear. The right button or key steers to the left, and the left button or key steers to the right. Pressing both buttons or keys moves the boat forward.

{{IN|Java}}, boats can be ridden against a current, but cannot be ridden upstream to a higher elevation. A boat lift, usually made from tripwire, pistons, and optionally a slime block, can be used to move a boat up. Bubble columns created with soul sand can also be used to push boats upward. These mechanisms can also be used {{in|bedrock}} but are usually unnecessary because boats can be ridden upward in descending water, as well as [[Tutorials/Water-powered boat transportation|follow upward stair-step currents]].

== Behavior ==
=== Speed ===
Boats move according to the player's control or water currents, with speed affected by the surface traversed. Boats move extremely quickly on ice,<ref name="MC-97803">{{bug|MC-97803||Boats going faster on ice than in water|WAI}}</ref> allowing for the construction of fast transportation systems in any dimension.
{| class="wikitable"
|+
!Substance
!Speed
|-
|[[Water]]
|8.0 blocks/s
|-
|[[Ice]], [[Frosted Ice]], [[Packed Ice]]
|40 blocks/s
|-
|[[Blue Ice]]
|72.7 blocks/s
|-
|Land
|2.0 blocks/s
|}

=== Floatation ===
[[File:Oak Boat shake.gif|thumb|right|The animation of an oak boat when atop a [[Bubble Column|bubble column]].]]
A boat floats atop still or flowing water. {{IN|java}}, a boat sinks if it enters a waterfall.<ref>{{bug|MC-91206|||WAI}}</ref> {{IN|bedrock}}, a boat does not sink when submerged but floats up. This feature lets a player contrive stepped uphill water flows to [[Tutorials/Water-powered boat transportation#Floating uphill|propel a boat uphill]] using only flowing water.

When a boat moves over a bubble column, it begins to shake. If the bubbles are caused by a [[Magma Block|magma block]], all passengers are expelled and the boat sinks.

{{IN|java}}, a sunken boat cannot be re-floated until a bubble column pushes it up or it is broken by the player. {{IN|bedrock}}, a boat resumes floating when it emerges from the currents keeping it down, or when the bubble column is blocked or removed.

[[Dolphin]]s chase players riding a boat in motion, occasionally bumping the boat, causing it to shake briefly.

=== Destruction ===
As boats are [[Entity|entities]], they have [[health]]. Boats effectively have just over {{hp|4}} (exactly 4 damage is not quite enough to destroy a boat), and regenerate {{frac|1|10}} per game tick. 

Boats can be destroyed by explosions, fire and lava (but not magma blocks), cactus, and by being punched by mobs, such as [[Drowned]]. Boats made invulnerable with commands cannot be broken by any of these, but they still cannot be used to travel on lava because they sink.

When a boat is destroyed under normal conditions, it drops itself in item form. In certain conditions, such as when falling for exactly 12, 13, 49, 51, 111, 114, 198, 202, 310, or 315 blocks,<ref name="MC-119369">{{bug|MC-119369}}</ref> it drops two [[stick]]s and three [[planks]] upon being destroyed.

=== Passengers ===
[[File:Multiple mobs in 2 boats.png|alt=|thumb|Multiple mobs in 2 types of boats.]]
Boats can support two riders, including [[mob]]s. Except for [[Enderman|endermen]] {{in|bedrock}}, a mob cannot exit a boat and is trapped until the boat gets destroyed, or until the player uses a [[Fishing Rod|fishing rod]] or [[lead]] to remove the mob. This can be used to transport mobs, although hostile mobs still attack while in boats. Mobs riding a boat don't despawn{{only|java}} and don't count toward the mob cap.<ref>{{bug|MC-182897|resolution=WAI}}</ref>

A player cannot both move (row) and use items at the same time. It is still possible to initialize item use (e.g. start eating) and row the boat while the item is still in the middle of the use animation. Although the rowing animation overrides the item use animation, the item can still be successfully consumed. This does not work with items that are triggered by the ''release'' of the use button (such as [[Bow|bows]] and [[Trident|tridents]]).{{only|Java}}

Being in a boat limits the player's mouse-look to the forward 210° arc {{in|java}} and 180° {{in|bedrock}}.

Underwater boat cannot be ridden. When the boat is underwater, all passengers in it are expelled.

=== Damage prevention ===
Riding a boat does not deplete [[hunger]], making it an efficient way to travel.

Boats can completely nullify [[fall damage]] for themselves and any players/mobs inside, making them useful for travel through mountains or through the Nether.<ref>{{bug|MC-105103|resolution=WAI}}</ref><ref>{{bug|MCPE-149490|resolution=WAI}}</ref> However {{in|java}}, due to a bug, boats can break when falling from certain heights, and the riders take fall damage.<ref name="MC-119369"></ref>

=== Collision ===
A boat has a solid collision box, which means players and other entities can't go through it even with high speed. Falling blocks are also blocked by boats.

{{IN|java}}, a boat falling on top of an entity stops on top of the entity. {{In|bedrock}}, a falling boat can go through other entities.

Riding a boat over a [[Lily Pad|lily pad]] causes the lily pad to drop, although the boat's speed stutters a bit.

=== Mobs ===
Most mobs can ride boats. Mobs cannot exit the boat unless the boat is destroyed, sinks, or moves over a bubble column. However, {{in|bedrock}}, [[endermen]] are able to teleport out of boats.

Mobs can be picked up into the boat when they collide with the side of the boat. A mob cannot control the boat. {{IN|java}}, a boat being ridden by a player cannot pick up a mob. {{IN|bedrock}}, mobs can be picked up by a boat being ridden by a player.

Mobs wider than the width of a boat cannot be picked up by a boat. [[Warden]]s, and [[wither]]s cannot be picked up by a boat. {{IN|java}}, baby [[sniffer]]s cannot be picked up either.

=== Lead ===
{{IN|java}}, leads cannot be attached to boats. {{IN|bedrock}}, leads can be attached to boats, though the lead can break when stretched too far due to boats moving much slower on land.

== Sounds ==
{{Edition|Java}}:<br>
Boats use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Boat paddle land1.ogg
|sound2=Boat paddle land2.ogg
|sound3=Boat paddle land3.ogg
|sound4=Boat paddle land4.ogg
|sound5=Boat paddle land5.ogg
|sound6=Boat paddle land6.ogg
|subtitle=Rowing
|source=neutral
|description=While a boat is rowed on land
|id=entity.boat.paddle_land
|translationkey=subtitles.entity.boat.paddle_land
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Boat paddle water1.ogg
|sound2=Boat paddle water2.ogg
|sound3=Boat paddle water3.ogg
|sound4=Boat paddle water4.ogg
|sound5=Boat paddle water5.ogg
|sound6=Boat paddle water6.ogg
|sound7=Boat paddle water7.ogg
|sound8=Boat paddle water8.ogg
|subtitle=Rowing
|source=neutral
|description=While a boat is rowed in water
|id=entity.boat.paddle_water
|translationkey=subtitles.entity.boat.paddle_water
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Swim1.ogg
|sound2=Swim2.ogg
|sound3=Swim3.ogg
|sound4=Swim4.ogg
|source=player
|description=While a boat is rowed in water
|id=random.swim
|pitch=0.6-1.4
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Oak Boat
|spritetype=item
|spritename=oak-boat
|nameid=oak_boat
|itemtags=boats
|form=item}}
{{ID table
|displayname=Spruce Boat
|spritetype=item
|spritename=spruce-boat
|nameid=spruce_boat
|itemtags=boats
|form=item}}
{{ID table
|displayname=Birch Boat
|spritetype=item
|spritename=birch-boat
|nameid=birch_boat
|itemtags=boats
|form=item}}
{{ID table
|displayname=Jungle Boat
|spritetype=item
|spritename=jungle-boat
|nameid=jungle_boat
|itemtags=boats
|form=item}}
{{ID table
|displayname=Acacia Boat
|spritetype=item
|spritename=acacia-boat
|nameid=acacia_boat
|itemtags=boats
|form=item}}
{{ID table
|displayname=Dark Oak Boat
|spritetype=item
|spritename=dark-oak-boat
|nameid=dark_oak_boat
|itemtags=boats
|form=item}}
{{ID table
|displayname=Mangrove Boat
|spritetype=item
|spritename=mangrove-boat
|nameid=mangrove_boat
|itemtags=boats
|form=item}}
{{ID table
|displayname=Cherry Boat
|spritetype=item
|spritename=cherry-boat
|nameid=cherry_boat
|itemtags=boats
|form=item}}
{{ID table
|displayname=Bamboo Raft
|spritetype=item
|spritename=bamboo-raft
|nameid=bamboo_raft
|itemtags=boats
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Boat
|generatetranslationkeys=y
|displayname=Entity
|spritetype=entity
|spritename=boats
|nameid=boat
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Oak Boat
|spritetype=item
|nameid=oak_boat
|aliasid=boat / 0
|id=375
|form=item
|itemtags=minecraft:boats
|translationkey=item.boat.oak.name}}
{{ID table
|displayname=Spruce Boat
|spritetype=item
|nameid=spruce_boat
|aliasid=boat / 1
|id=378
|form=item
|itemtags=minecraft:boats
|translationkey=item.boat.spruce.name}}
{{ID table
|displayname=Birch Boat
|spritetype=item
|nameid=birch_boat
|aliasid=boat / 2
|id=376
|form=item
|itemtags=minecraft:boats
|translationkey=item.boat.birch.name}}
{{ID table
|displayname=Jungle Boat
|spritetype=item
|nameid=jungle_boat
|aliasid=boat / 3
|id=377
|form=item
|itemtags=minecraft:boats
|translationkey=item.boat.jungle.name}}
{{ID table
|displayname=Acacia Boat
|spritetype=item
|nameid=acacia_boat
|aliasid=boat / 4
|id=379
|form=item
|itemtags=minecraft:boats
|translationkey=item.boat.acacia.name}}
{{ID table
|displayname=Dark Oak Boat
|spritetype=item
|nameid=dark_oak_boat
|aliasid=boat / 5
|id=380
|form=item
|itemtags=minecraft:boats
|translationkey=item.boat.big_oak.name}}
{{ID table
|displayname=Mangrove Boat
|spritetype=item
|nameid=mangrove_boat
|aliasid=boat / 6
|id=643
|form=item
|itemtags=minecraft:boats
|translationkey=item.boat.mangrove.name}}
{{ID table
|displayname=Cherry Boat
|spritetype=item
|nameid=cherry_boat
|aliasid=boat / 8
|id=657
|form=item
|itemtags=minecraft:boats
|translationkey=item.boat.cherry.name}}
{{ID table
|displayname=Bamboo Raft
|spritetype=item
|nameid=bamboo_raft
|aliasid=boat / 7
|id=661
|form=item
|itemtags=minecraft:boats
|translationkey=item.boat.bamboo.name
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Form
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritetype=entity
|spritename=boats
|nameid=boat
|id=90
|foot=1}}

===Entity data===
Boats have entity data associated with them that contain various properties of the entity.

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

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

==Achievements==
{{load achievements|Whatever Floats Your Goat}}

==Advancements==
{{load advancements|Whatever Floats Your Goat!}}

==History==
{{History|java alpha}}
{{History||v1.0.6|[[File:Oak Boat JE1.png|32px]] [[File:Oak Boat (item) JE1.png|32px]] Added boats. 
|Initially, boats broke upon being placed outside water, and on impact with land.}}
{{History||v1.0.6_01|Boats now only break on impact with land at high speeds. 
|Boats no longer break upon being placed outside water.
|Boat turning has been made smoother.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|It is now possible to score a [[Damage#Critical hit|critical hit]] against a boat.}}
{{History|java}}
{{History||1.3.1|snap=12w15a|Boats can now be shot out from [[dispenser]]s.}}
{{History|||snap=1.3|[[File:Oak Boat (item) JE2 BE1.png|32px]] The texture of the oak boat [[item]] has been changed.}}
{{History|||snap=12w21a|Boats no longer take [[damage]] when colliding with [[lily pad]]s. Instead, the lily pads themselves break.}}
{{History|||snap=12w23a|Boats can now accelerate to faster than previous speeds, and are now easier to control.}}
{{History|||snap=12w27a|Boats now drop their [[item]] instead of 3 [[planks|oak wood planks]] and 2 [[stick]]s if broken by a [[player]].|Instead, it needs to fall certain heights to drop 3 oak wood planks and 2 sticks.}}
{{History||1.6.1|snap=13w16b|New boat physics with lower inertia, but {{control|left}}, {{control|back}} and {{control|right}} controls have been removed.
|Boats now take [[damage]] and break when colliding with many lily pads in a short time.}}
{{History||1.7.2|snap=13w36a|[[Player]]s can now {{cmd|summon}} [[mob]]s riding boats, though mobs cannot control boats.}}
{{History|||snap=13w43a|Boats no longer inflict fall [[damage]] when running aground.
|Boats being broken by lily pads has been slightly improved.
|{{control|Left}}, {{control|back}} and {{control|right}} controls added again.}}
{{History||1.8|snap=14w06a|[[Mob]]s riding boats can now control them, so that they can chase or flee enemies, move toward food, move about randomly, or whatever they would do on land. The exceptions are the [[ghast]] and [[bat]], both of which cannot control boats.}}
{{History||1.8.2|snap=pre2|Boats can now survive crashes at higher speeds.<!-- They have to be going 0.2975 now, rather than only 0.2. -->}}
{{History||1.9|snap=15w41a|[[File:Oak Boat JE2 BE1.png|32px]] [[File:Spruce Boat JE1 BE1.png|32px]] [[File:Birch Boat JE1 BE1.png|32px]] [[File:Jungle Boat JE1 BE1.png|32px]] [[File:Acacia Boat JE1 BE1.png|32px]] [[File:Dark Oak Boat JE1 BE1.png|32px]]<br>
[[File:Oak Boat (item) JE3 BE2.png|32px]] [[File:Spruce Boat (item) JE1 BE2.png|32px]] [[File:Birch Boat (item) JE1 BE2.png|32px]] [[File:Jungle Boat (item) JE1 BE2.png|32px]] [[File:Acacia Boat (item) JE1 BE2.png|32px]] [[File:Dark Oak Boat (item) JE1 BE2.png|32px]] Boats have been overhauled to match the boats from [[Pocket Edition v0.11.0 alpha|Pocket Edition Alpha 0.11.0]]. They now have oars for paddling and are more durable and now allows passengers to board.
|[[Mob]]s can now board boats, though they can no longer control them.
|A new set of controls have been introduced: it includes holding down the {{control|right}} and {{control|left}} keys to move forward, and using the {{control|right}} key to move the right oar, turning the boat to the left (and vice-versa). Mouse movement no longer turns boats, and the {{control|forward}} and {{control|back}} keys no longer have any effect. 
|[[Player]]s can no longer {{control|use}} [[item]]s or {{control|attack}} from boats unless they were at a complete stop.
|The [[crafting]] recipe for boats has been changed to require a wooden [[shovel]] as shown below.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A2= Oak Planks |B2= Wooden Shovel        |C2= Oak Planks
|A3= Oak Planks |B3= Oak Planks |C3= Oak Planks
|Output= Oak Boat
|ignoreusage=1
}}
{{!}}}
|The NBT [[tag]] {{code|Type}} (string) have now added for the boat [[entity]], taking values {{code|oak}}, {{code|spruce}}, {{code|birch}}, {{code|jungle}}, {{code|acacia}} and {{code|dark_oak}}.
|Boats no longer break [[snow|snow layers]] they run into.}}
{{History|||snap=15w42a|The new boats are now comparable in speed to the old boats (slightly faster than sprinting), though with less momentum.
|Players can now {{control|use}} items and {{control|attack}} immediately after they stop rowing.}}
{{History|||snap=15w43c|The texture of boats has been remapped, so that they now have a separate texture per oar and per side of the boat.}}
{{History|||snap=15w51a|Boats now [[drops|drop]] their corresponding [[planks]] when broken.}}
{{History|||snap=16w04a|Boats are now faster and now move forward and backward using the {{control|forward}} and {{control|backward}} keys respectively, and steer left and right using the {{control|left}} and {{control|right}} keys respectively. The rowing mechanism introduced in [[Java Edition 15w41a|15w41a]], holding the {{control|right}} and {{control|left}} keys, is removed and no longer moves the boat forward. The controls are now more similar to boats before the overhaul.
|Boats now sink when underwater, or within flowing water of any depth.
|The crafting recipe of boats has been restored to the original recipe, no longer requiring a wooden [[shovel]] as it has since 15w41a (though matching wood [[planks]] is still required).
|Riding a boat no longer subjects [[water]]-sensitive [[mob]]s to being damaged by water, and no longer protects sunlight-sensitive mobs from being damaged by sunlight.
|Dismounting in a boat now attempts to place the [[player]] on land.}}
{{History|||snap=16w05a|Boats now travel extremely fast on [[ice]], [[Packed Ice|packed ice]] and [[Frosted Ice|frosted ice]].<ref name="MC-97803"/>}}
{{History|||snap=16w06a|Riding [[entity|entities]] such as boats are now run by the client rather than by the server.}}
{{History||1.11|snap=16w32a|The entity ID has been changed from {{code|Boat}} to {{code|boat}}.
|The player's [[hunger]] bar is now visible when riding in a boat.}}
{{History|||snap=16w33a|Boats can now be used to fuel [[furnace]]s.}}
{{History|||snap=16w39c|Boats placed by dispensers now face the same way as the dispenser, instead of toward the dispenser.<ref>{{bug|MC-90074|||Fixed}}</ref>}}
{{History||1.12|snap=17w17a|A boat paddles [[sound]] has been added.}}
{{History||1.13|snap=17w47a|The oak boat ID has been changed from {{code|boat}} to {{code|oak_boat}}.
|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 333, 444, 445, 446, 447 and 448.}}
{{History|||snap=18w15a|Added [[Blue Ice|blue ice]], which allows boats to travel even faster on it.}}
{{History||1.14|snap=18w43a|[[File:Oak Boat JE3.png|32px]] [[File:Spruce Boat JE2.png|32px]] [[File:Birch Boat JE2.png|32px]] [[File:Jungle Boat JE2.png|32px]] [[File:Acacia Boat JE2.png|32px]] [[File:Dark Oak Boat JE2.png|32px]]<br>
[[File:Oak Boat (item) JE4 BE3.png|32px]] [[File:Spruce Boat (item) JE2 BE3.png|32px]] [[File:Birch Boat (item) JE2 BE3.png|32px]] [[File:Jungle Boat (item) JE2 BE3.png|32px]] [[File:Acacia Boat (item) JE2 BE3.png|32px]] [[File:Dark Oak Boat (item) JE2 BE3.png|32px]] The textures of all boats have been changed.}}
{{History||1.14|snap=18w50a|[[File:Oak Boat JE4 BE2.png|32px]] [[File:Spruce Boat JE3 BE2.png|32px]] [[File:Birch Boat JE3 BE2.png|32px]] [[File:Jungle Boat JE3 BE2.png|32px]] [[File:Acacia Boat JE3 BE2.png|32px]] [[File:Dark Oak Boat JE3 BE2.png|32px]] The textures of all boats have been changed to match the new [[planks]].}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] boats.}}
{{History||1.15|snap=19w37a|Boats as fuel now [[smelting|smelt]] 6 [[item]]s in a [[furnace]] instead of 1.}}
{{History||1.16|snap=20w18a|Mobs in boats no longer [[Spawn#Despawning|despawn]].}}
{{History||1.19|snap=22w11a|[[File:Mangrove Boat JE1 BE1.png|32px]] [[File:Mangrove Boat (item) JE1 BE1.png|32px]] Added mangrove boats.}}
{{History|||snap=22w12a|Boats can now be used to craft boats with chests.
|[[File:Oak Boat (item) JE5.png|32px]] [[File:Spruce Boat (item) JE3 BE5.png|32px]] [[File:Birch Boat (item) JE3 BE4.png|32px]] [[File:Jungle Boat (item) JE3 BE4.png|32px]] [[File:Acacia Boat (item) JE3 BE4.png|32px]] [[File:Dark Oak Boat (item) JE3 BE4.png|32px]] The textures of all boat items (except mangrove) have been changed.<ref>{{bug|MC-94161|||Fixed}}</ref>}}
{{History|||snap=22w14a|Due to the addition of the [[mangrove tree]] and [[mangrove swamp]], mangrove boats are now obtainable and renewable.}}
{{History|||snap=22w15a|[[File:Oak Boat (item) JE6.png|32px]] [[File:Spruce Boat (item) JE4.png|32px]] [[File:Birch Boat (item) JE4.png|32px]] [[File:Jungle Boat (item) JE4.png|32px]] [[File:Acacia Boat (item) JE4.png|32px]] [[File:Dark Oak Boat (item) JE4.png|32px]] [[File:Mangrove Boat (item) JE2.png|32px]] The textures of all boat item textures have been changed.}}
{{History||October 15, 2022|link={{ytl|yZRXmHiEh7U&t}}|[[File:Bamboo Raft JE1 BE1.png|32px]] Bamboo rafts were announced at [[Minecraft Live 2022]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|[[File:Bamboo Raft JE1 BE1.png|32px]] [[File:Bamboo Raft (item) JE1.png|32px]] Added bamboo rafts behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=22w45a|[[File:Bamboo Raft (item) JE2 BE2.png|32px]] The item texture of the bamboo raft has been changed.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Cherry Boat JE1.png|32px]] [[File:Cherry Boat (item) JE1.png|32px]] Added cherry boats behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History||1.20|snap=23w12a|Bamboo rafts and cherry boats are now available without using the "Update 1.20" experimental datapack.}}
{{History||1.20.2|snap=?|Riding height for mobs without a sitting position have been adjusted so their feet are at the bottom of the boat.}}

{{History|pocket alpha}}
{{History||September 19, 2014|link={{tweet|_tomcc|512935629026770944}}|[[Tommaso Checchi]] tweeted a picture of a [[player]] riding a boat, stating that the most important thing is to "get the paddling right."
|[[File:Minecart JE2 BE1.png|32px]] The model used by boats is currently a [[minecart]].}}
{{History||January 26, 2015|link={{tweet|_tomcc|559697958728654848}}|Tommaso Checchi tweets a screenshot of multiple riders in a single boat.
|[[File:Boat (pre-release).png|32px]] The model used by boats is now a minecart which has been squished vertically, and tinted brown.}}
{{History||February 20, 2015|link={{tweet|_tomcc|568844305491730432}}|Tommaso Checchi tweets a screenshot of multiple boats with only mobs in them.
|Boats now have a proper model with paddles.}} 
{{History||v0.11.0|snap=build 1|[[File:Oak Boat JE2 BE1.png|32px]] [[File:Spruce Boat JE1 BE1.png|32px]] [[File:Birch Boat JE1 BE1.png|32px]] [[File:Jungle Boat JE1 BE1.png|32px]] [[File:Acacia Boat JE1 BE1.png|32px]] [[File:Dark Oak Boat JE1 BE1.png|32px]]<br>
[[File:Oak Boat (item) JE2 BE1.png|32px]] [[File:Oak Boat (item) JE2 BE1.png|32px]] [[File:Oak Boat (item) JE2 BE1.png|32px]] [[File:Oak Boat (item) JE2 BE1.png|32px]] [[File:Oak Boat (item) JE2 BE1.png|32px]] [[File:Oak Boat (item) JE2 BE1.png|32px]] Added boats. Each wood type has its own respective variant, though they share the same sprite as [[item]]s.
|Boats can support two riders, including [[mob]]s.
|Boats are larger in size than {{in|java}}.
|Boats are more resistant to crashing against land than {{in|java}}.}}
{{History|||snap=build 12|Projectiles can now be shot from boats.}}

{{History||v0.12.1|snap=build 1|Added all boat variants to the [[Creative]] [[inventory]].
|[[File:Oak Boat (item) JE3 BE2.png|32px]] [[File:Spruce Boat (item) JE1 BE2.png|32px]] [[File:Birch Boat (item) JE1 BE2.png|32px]] [[File:Jungle Boat (item) JE1 BE2.png|32px]] [[File:Acacia Boat (item) JE1 BE2.png|32px]] [[File:Dark Oak Boat (item) JE1 BE2.png|32px]] New [[inventory]] icons for boats have been added. The sprite now includes paddles and represents their respective wood color.}}
{{History||v0.13.0|snap=build 1|Boats are now slightly faster than sprinting, and no longer deplete [[hunger]].
|[[Player]]s can now {{control|use}} [[item]]s and {{control|attack}} immediately after they stop rowing.}}
{{History|||snap=build 3|Boats now stack on top of each other.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.22|Boats now move faster on [[ice]].}}
{{History||1.5.0|snap=beta 1.5.0.0|The steering of boats has been changed when using keyboard and mouse - W now moves the boat forward and S reverses it.}}
{{History|||snap=beta 1.5.0.4|Boats can now sink or float on [[Bubble Column|bubble column]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Oak Boat JE4 BE2.png|32px]] [[File:Spruce Boat JE3 BE2.png|32px]] [[File:Birch Boat JE3 BE2.png|32px]] [[File:Jungle Boat JE3 BE2.png|32px]] [[File:Acacia Boat JE3 BE2.png|32px]] [[File:Dark Oak Boat JE3 BE2.png|32px]]<br>
[[File:Oak Boat (item) JE4 BE3.png|32px]] [[File:Spruce Boat (item) JE2 BE3.png|32px]] [[File:Birch Boat (item) JE2 BE3.png|32px]] [[File:Jungle Boat (item) JE2 BE3.png|32px]] [[File:Acacia Boat (item) JE2 BE3.png|32px]] [[File:Dark Oak Boat (item) JE2 BE3.png|32px]] The textures of all boats have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Boats can now be [[trading|bought]] from fisherman [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Trading]] has been changed, master-level fisherman villagers now offer to [[trading|buy]] boats based on their villager [[biome]] outfit.
|Due to trading changes, birch boats can no longer be [[trading|sold]] to fisherman villagers.}}
{{History||1.16.100|snap=beta 1.16.100.51|Custom named boats now save their name after placing and breaking.}}
{{History|||snap=beta 1.16.100.56|The item ID {{code|boat}} has been split up into {{code|<type>_boat}}.}}
{{History||1.18.10|snap=beta 1.18.10.27|[[File:Oak Boat (item) BE4.png|32px]] [[File:Spruce Boat (item) BE4.png|32px]] [[File:Birch Boat (item) JE3 BE4.png|32px]] [[File:Jungle Boat (item) JE3 BE4.png|32px]] [[File:Acacia Boat (item) JE3 BE4.png|32px]] The item sprites of all boats have been changed. The paddles now represent their respective wood color (except spruce) and the inside rims of the boats are darker.
|[[File:Dark Oak Boat (item) JE3 BE4.png|32px]] An updated item sprite for dark oak boat has been added to the game files, but it's currently unused.<ref>{{bug|MCPE-151667}}</ref>}}
{{History||1.18.30|snap=beta 1.18.20.25|[[File:Spruce Boat (item) JE3 BE5.png|32px]] An updated item sprite for spruce boat has been added to the game files, but it's currently unused.<ref>{{bug|MCPE-152262}}</ref>}}
{{History|||snap=beta 1.18.20.27|Spruce and dark oak boats now correctly use their updated item sprites.}}
{{History||1.19.0|snap=beta 1.19.0.20|[[File:Mangrove Boat JE1 BE1.png|32px]] [[File:Mangrove Boat (item) JE1 BE1.png|32px]] Added mangrove boats.}}
{{History|||snap=beta 1.19.0.26|[[File:Oak Boat (item) JE6.png|32px]] [[File:Spruce Boat (item) JE4.png|32px]] [[File:Birch Boat (item) JE4.png|32px]] [[File:Jungle Boat (item) JE4.png|32px]] [[File:Acacia Boat (item) JE4.png|32px]] [[File:Dark Oak Boat (item) JE4.png|32px]] [[File:Mangrove Boat (item) JE2.png|32px]] Changed all boat item textures.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|[[File:Bamboo Raft JE1 BE1.png|32px]] [[File:Bamboo Raft (item) BE1.png|32px]] Added bamboo rafts behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.60.20|[[File:Bamboo Raft (item) JE2 BE2.png|32px]] The item texture of the bamboo raft has been changed to match ''[[Java Edition]]''.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|[[File:Cherry Boat JE1.png|32px]] [[File:Cherry Boat (item) JE1.png|32px]] Added cherry boats behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}
{{History||1.20.0|snap=beta 1.20.0.21|Bamboo rafts and cherry boats are now available without using the "Next Major Update" experimental toggle.}}
{{History||1.20.10|snap=beta 1.20.10.20|The [[wooden shovel]] in the crafting recipe has been removed for all boat types except the bamboo raft.}}
{{History|||snap=beta 1.20.10.21|The bamboo raft recipe no longer needs a wooden shovel.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Oak Boat JE1.png|32px]] [[File:Oak Boat (item) JE2 BE1.png|32px]] Added boats.}}
{{History||xbox=TU12|The maximum number of boats in a world has been increased to 40.
|Boats now break when they hit land hard.}}
{{History||xbox=TU14|ps=1.04|Boats are no longer broken by [[Lily Pad|lily pad]]s anymore, instead they run straight through the lily pad now, breaking and sometimes dropping it.
|When boats crash, they can now sometimes [[drops|drop]] themselves as [[item]]s.
|Boats are now less glitchy and more responsive now.
|The maximum speed of boats has been increased.
|When exiting, [[player]]s now move from the boat.
|When broken by a player, they [[drops|drop]] a boat now.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|[[File:Oak Boat JE2 BE1.png|32px]] [[File:Spruce Boat JE1 BE1.png|32px]] [[File:Birch Boat JE1 BE1.png|32px]] [[File:Jungle Boat JE1 BE1.png|32px]] [[File:Acacia Boat JE1 BE1.png|32px]] [[File:Dark Oak Boat JE1 BE1.png|32px]]<br>
[[File:Oak Boat (item) JE3 BE2.png|32px]] [[File:Spruce Boat (item) JE1 BE2.png|32px]] [[File:Birch Boat (item) JE1 BE2.png|32px]] [[File:Jungle Boat (item) JE1 BE2.png|32px]] [[File:Acacia Boat (item) JE1 BE2.png|32px]] [[File:Dark Oak Boat (item) JE1 BE2.png|32px]] Boats have been overhauled to match [[Pocket Edition v0.11.0 alpha|Pocket Edition Alpha 0.11.0]] boats.}}
{{History||xbox=TU57|xbone=CU49|ps=1.56|wiiu=Patch 27|switch=1.0.7|The [[crafting]] recipe of boats has been changed to require a wooden [[shovel]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Oak Boat JE4 BE2.png|32px]] [[File:Spruce Boat JE3 BE2.png|32px]] [[File:Birch Boat JE3 BE2.png|32px]] [[File:Jungle Boat JE3 BE2.png|32px]] [[File:Acacia Boat JE3 BE2.png|32px]] [[File:Dark Oak Boat JE3 BE2.png|32px]]<br>
[[File:Oak Boat (item) JE4 BE3.png|32px]] [[File:Spruce Boat (item) JE2 BE3.png|32px]] [[File:Birch Boat (item) JE2 BE3.png|32px]] [[File:Jungle Boat (item) JE2 BE3.png|32px]] [[File:Acacia Boat (item) JE2 BE3.png|32px]] [[File:Dark Oak Boat (item) JE2 BE3.png|32px]] The textures of all boats have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Oak Boat JE2 BE1.png|32px]] [[File:Spruce Boat JE1 BE1.png|32px]] [[File:Birch Boat JE1 BE1.png|32px]] [[File:Jungle Boat JE1 BE1.png|32px]] [[File:Acacia Boat JE1 BE1.png|32px]] [[File:Dark Oak Boat JE1 BE1.png|32px]]<br>
[[File:Oak Boat (item) JE3 BE2.png|32px]] [[File:Spruce Boat (item) JE1 BE2.png|32px]] [[File:Birch Boat (item) JE1 BE2.png|32px]] [[File:Jungle Boat (item) JE1 BE2.png|32px]] [[File:Acacia Boat (item) JE1 BE2.png|32px]] [[File:Dark Oak Boat (item) JE1 BE2.png|32px]] Added boats.}}
{{History|foot}}

==Issues ==
{{issue list}}

==Trivia== 
*[[Sand]], [[Sand|red sand]], [[Concrete Powder|concrete powder]], [[gravel]], [[anvil]]s, and [[Dragon Egg|dragon egg]]s drop as [[Item (entity)|items]] when they fall onto a boat that is in water.
*A [[chest]] is short enough that a boat falls onto it rather than crashes into it.
*{{IN|console}}, holding the movement stick to the side in a boat on [[Blue Ice|blue ice]] causes the player to spin quickly. If a passenger is in the boat while this occurs, when the player exits the boat after it reaches maximum velocity (attained after about three seconds), for most mobs, the mob's head may spin uncontrollably. For some mobs, however, nothing happens (such as [[slime]]s and [[ghast]]s). The mob may also get its head stuck at an angle. Thorough testing was done on Minecraft: Wii U Edition, although the glitch was originally discovered on the Xbox 360 Edition.

==Gallery==
<gallery>
Oak Boat.png|Oak
Spruce Boat.png|Spruce
Birch Boat.png|Birch
Jungle Boat.png|Jungle
Acacia Boat.png|Acacia
Dark Oak Boat.png|Dark oak
Mangrove Boat.png|Mangrove
Cherry Boat.png|Cherry
Bamboo Raft.png|Bamboo raft
Oak Boat (item).png|Oak
Spruce Boat (item).png|Spruce
Birch Boat (item).png|Birch
Jungle Boat (item).png|Jungle
Acacia Boat (item).png|Acacia
Dark Oak Boat (item).png|Dark oak
Mangrove Boat (item).png|Mangrove
Cherry Boat (item).png|Cherry
Bamboo Raft (item).png|Bamboo raft
</gallery>

=== Screenshots ===
<gallery>
AllBoats.png|All types of boats next to each other.
Screenboat.png|The old boat floating.
BoatStackingFun.png|A bunch of pre-1.9 boats stacked up.
Boats boats boats boats!!.jpg|First image of boats in BE development.
I guess it's getting there.png|Second image of boats in BE development.
All aboard the hype boat!.png|Image of the completed Bedrock Edition boats.
Boatglitche.png|A trail of boats after a game crash while riding a boat.
BoatDock.png|A dock with many boats.
Minescape.png|A third-person perspective of a boat in [[Java Edition Alpha v1.0.6]].
</gallery>

=== Development Images ===
<gallery>
Jappa Boat.jpg|Jappa texturing a boat.
Nekofresa Making Bamboo Raft in Blockbench.png|Nekofresa making the bamboo raft in Blockbench.
Chiwi Boats 1.png|Boat item textures.
Chiwi Boats 2.png|Boat item textures.
Chiwi Boats 3.png|Boat item textures.
Chiwi Boats 4.png|Boat item textures.
</gallery>

=== Concept Art ===
<gallery>
Bamboo Raft Concept Art.png|Bamboo raft concept art.
Bamboo Raft and Raft with Chest Concept Art.png|Ditto.
</gallery>

=== Artwork ===
<gallery>
Sunny-boat.gif|Official artwork of [[Sunny]] riding a mangrove boat.
Mobile Adventure 640x960.png|Official artwork of [[Alex]] in a boat at sea with an [[Allay]].
File:Zuri Raft.jpg
Zuri on Bamboo Raft Pixel Art.png|Pixel art of [[Zuri]] on a bamboo raft with a baby [[panda]].
File:Cutout Blossom (Trails & Tales Event).png|Cutout of Zuri and [[Efe]] on bamboo rafts, featured in the [[Trails & Tales Event]].
File:This or That.jpg
File:Croc Ad 1.jpg|An oak boat as it appears in an advertisement for ''Crocs''.<ref> https://www.youtube.com/shorts/e1AJo7jU5MI</ref>
</gallery>

==See also==
*[[Transportation]]

==References==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--boat Taking Inventory: Boat] – Minecraft.net on October 4, 2019

{{Items}}
{{Entities}}

[[cs:Člun]]
[[de:Boot]]
[[es:Barca]]
[[fr:Bateau]]
[[hu:Csónak]]
[[it:Barca]]
[[ja:ボート]]
[[ko:보트]]
[[nl:Boot]]
[[pl:Łódka]]
[[pt:Bote]]
[[ru:Лодка]]
[[th:เรือ]]
[[uk:Човен]]
[[zh:船]]</li></ul>
14w03aNBT data now supports using string IDs rather than numerical IDs.
1.12
{{Extension DPL}}<ul><li>[[Glistering Melon Slice|Glistering Melon Slice]]<br/>{{Item
| image = Glistering Melon Slice.png‎
| renewable = Yes
| stackable = Yes (64)
}}

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

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

=== Crafting ===

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

=== Trading ===

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

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

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

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

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

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

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

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}

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

== Notes ==
{{fnlist}}

== References ==
{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Zlatavý kousek melounu]]
[[de:Glitzernde Melonenscheibe]]
[[es:Rodaja de sandía reluciente]]
[[fr:Tranche de pastèque scintillante]]
[[hu:Ragyogó dinnye]]
[[ja:きらめくスイカの薄切り]]
[[ko:반짝이는 수박 조각]]
[[nl:Glinsterende meloenschijf]]
[[pl:Błyszczący arbuz]]
[[pt:Fatia de melancia reluzente]]
[[ru:Сверкающий ломтик арбуза]]
[[uk:Блискуча скибка кавуна]]
[[zh:闪烁的西瓜片]]</li><li>[[A Very Fine Item|A Very Fine Item]]<br/>{{Joke feature}}
{{Item
| image = A Very Fine Item.png
| renewable = No
| stackable = Yes (64)
}}

'''A very fine item''' was a joke item from [[Java Edition 20w14∞]], found only in the {{code|isolation}} dimension.

== Appearance ==
The texture of a very fine item resembles the side face of a grass block with the words "Home Sweet Home" written on it. Unlike most items, its texture is 64x64 pixels, rather than the usual 16x16.

== Obtaining ==
=== Dimension ===
A very fine item can only be obtained from an item frame in the {{Code|isolation}} dimension. There is a maximum of 1 fine item that can be found legitimately in any world.

=== Cheats/Creative mode ===
This item can't be found in the creative inventory, but it can be middle-click duplicated in creative mode or given with the {{Code|code=give <target> minecraft:fine_item <amount>}} command.

== Usage ==
This item cannot be placed or used in any way other than a trophy. It can still be inserted and/or rotated inside of an item frame.

== Data values ==

=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=A Very Fine Item
|spritetype=item
|nameid=fine_item
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||20w14∞|[[File:A Very Fine Item.png|32px]] Added a very fine item.}}
{{History|foot}}

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

== References ==
{{reflist}}

{{Items}}
{{Jokes}}

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

[[es:A Very Fine Item]]
[[pt:Um item muito bom]]</li></ul>
?Added long array tags.
1.13
{{Extension DPL}}<ul><li>[[Name Tag|Name Tag]]<br/>{{about|the item that gives names to mobs|the nameplate above a player's head|Player#Username}}
{{Item
| image = Name Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''name tag''' is an [[item]] used to name [[mob]]s in the world and prevent them from despawning naturally.

== Obtaining ==

=== Chest loot ===

{{LootChestItem|name-tag}}

=== Fishing ===

Name tags can be caught from [[fishing]] as part of the treasure category with a {{frac|1|6}} chance after the 5% chance of being a treasure catch. The chance of catching treasure increases with the [[Luck of the Sea]] enchantment.

=== Trading ===

Master-level librarian [[villagers]] offer to sell a name tag for 20 [[emerald]]s as one of their available trades.

== Usage ==

To use a name tag, it must first be renamed with an [[anvil]], costing 1 [[experience]] level. 

If it is not renamed, it has no effect when used on a mob. After the name tag is renamed, the player can {{control|use}} it on a mob to give it the name given to the name tag from the anvil. Mobs and name tags can be renamed any number of times. Name tags with the same name are stackable. 

Once a mob is named, it keeps its name, and the name tag is consumed.

When a mob is named, it is excluded from the mob cap count.

Effects on various mobs:
* A named [[silverfish]] that goes into a block appears to lose its name because it is replaced by a newly generated unnamed silverfish when the block is broken.
* A baby (animal or villager) keeps its name when becoming an adult.
** A named [[villager]] keeps its name when transformed into a [[Zombie Villager|zombie villager]].
** A named zombie villager keeps its name when cured.
* [[Wandering Trader|Wandering trader]]s still despawn even if they are named, or in a [[minecart]] or [[boat]].
* A named [[wither]]'s boss bar displays its name instead of "Wither".
* Naming an [[ender dragon]] with commands also displays the name in the boss bar.

=== Limitations ===

Any mob can be named except for the [[ender dragon]] and [[player]]s.

A name tag can rename an [[armor stand]], though it does not show the nameplate above its head until <code>CustomNameVisible:1b</code> is set as an extra step.

{{control|Using|use}} a name tag on a villager renames the villager instead of opening the trading interface. A saddled pig is renamed instead of being ridden. Using a name tag on any other mob that can be interacted with performs the {{control|use}} action instead of being named. These mobs can be renamed if the player uses the name tag while crouching or standing in a [[nether portal]] because the portal suppresses the {{control|use}} action.

Once a name tag is used on a mob, it is impossible to remove the name of that mob without the use of commands or external modifications.

=== Behavior ===

Renamed mobs have their name displayed over their head in the same fashion as a mob named through a renamed [[spawn egg]]. Their names can be seen only if they are aimed at from four or fewer blocks away.

Mobs that are named using the name tag never despawn in the world, similar to tamed mobs.<ref>{{tweet|dinnerbone|327485109940916226}}</ref> The exceptions are [[wandering trader]]s or if the mob is hostile and the difficulty is switched to "[[Peaceful]]", causing any hostile mobs or any named hostile mobs to despawn immediately. 

If a renamed mob kills a player, the custom name is used in the death message in place of the mob type name. For instance, if a vindicator named "Johnny" kills a player, the death message is "Player was slain by Johnny". 

A renamed [[wither]] also has a renamed health bar, and the boss bar doesn't regenerate{{verify}}.

=== Easter eggs ===

* Any mob that receives the name "[[Easter eggs#Upside-down mobs|Dinnerbone]]" or "[[Easter eggs#Upside-down mobs|Grumm]]" is rendered upside down. This even includes the player in early versions of Bedrock Edition if the username is set to either of these and you are not signed into Xbox Live.
* Naming a [[sheep]] "[[Easter eggs#Jeb sheep|jeb_]]" causes its wool to fade between the dye colors, producing a rainbow effect. The [[wool]] that drops when the sheep is [[shear]]ed or killed is the original color of the sheep before the sheep was named.
* Naming a [[rabbit]] "[[Rabbit#Toast|Toast]]" causes it to have a special memorial skin of user xyzen420's girlfriend's [http://www.reddit.com/r/minecraftsuggestions/comments/27hjog/to_themogminer_my_bunny_is_missing_please_help_me/ missing rabbit].
* Naming a [[vindicator]] "Johnny" causes it to be aggressive and attack all [[mob]]s including the wither (except [[ghast]]s and other [[illager]]s). The hostility even extends to [[Ravager|ravagers]] in [[Java Edition|''Java Edition'']], as the "Johnny" vindicator can also attack the ravager while it's riding it.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Name Tag
|spritetype=item
|nameid=name_tag
|id=548
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.6.1|snap=13w16b|[[File:Name Tag JE1 BE1.png|32px]] Added name tags. They can now be found in [[dungeon]] [[chest]]s.}}
{{History|||snap=13w25a|A [[mob]] named "Dinnerbone" or "Grumm" now renders upside down.}}
{{History||1.7.2|snap=13w36a|Name tags can now rarely be acquired by [[fishing]], making them [[renewable resource|renewable]].}}
{{History||1.7.4|snap=13w48b|A sheep named "jeb_" now fades between the [[dye]] colors.}}
{{History||1.8|snap=14w02a|Name tags can now be [[trading|bought]] from librarian [[villager]]s, at 20–22 [[emerald]]s for 1 name tag.}}
{{History|||snap=14w27a|[[Rabbit]]s have been added and naming one "Toast" gives it a special memorial skin.}}
{{History||1.9|snap=15w44a|Added name tags to [[mineshaft]] [[chest]]s.
|The average yield of name tags in [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Name tags can now be found in the new [[woodland mansion]] chests.
|Added [[vindicator]]s, which attack almost all mobs if named "Johnny".}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 421.}}
{{History||1.14|snap=18w43a|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Name tags now generate in [[ancient city]] chests.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Name Tag JE1 BE1.png|32px]]  Added name tags, and a new "Name" Interact button.
|A [[mob]] named "Dinnerbone" or "Grumm" renders upside down.
|A [[sheep]] named "jeb_" fades between the [[dye]] colors.
|Naming a [[rabbit]] "Toast" gives it a special memorial skin.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Name tags can now be [[trading|bought]] from librarian [[villager]]s for 20-22 [[emerald]]s as their last tier trade.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Naming a [[vindicator]] "Johnny" now makes it hostile to any [[mob]], except other [[illager]]s.
|Name tags can now be found in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Name tags can now be found in buried treasure [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Name tags [[trading|sold]] by librarian [[villager]]s now cost 20 [[emerald]]s.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|PS4}}
{{History||1.90|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Name tags were added at the request of [https://www.youtube.com/user/paulsoaresjr/ Paulsoaresjr].<ref>{{tweet|paulsoaresjr|326865482839883777}}</ref><ref>{{tweet|Dinnerbone|326812168630722561}}</ref>
* A stack of up to 64 name tags can be renamed at once. The cost is 1 [[experience]] level per stack, regardless of how many name tags were stacked.
* To name a [[mob]] “Name Tag” the player must give the name tag a random name, then rename it back to “Name Tag”.
* A [[villager]] with a name tag turned into a [[zombie villager]] by a [[zombie]] with a name tag does not despawn, but a villager with a name tag turned into a zombie by a zombie without a name tag does despawn.
* It is impossible to have a rainbow [[sheep]] upside-down, because it is impossible for it to be named “Jeb_” and “Dinnerbone” at the same time.

== Gallery ==
<gallery>
NameTag2.png|To use a name tag, the [[player]] must first rename it using an [[anvil]].
NameTag1.png|A [[wolf]] that has been renamed using a name tag.
RenamedCreeper.png|A [[creeper]] renamed using the name tag.
RenamedWither.png|A [[Wither Boss|wither]] renamed using a name tag. The custom name takes place of "Wither" over the [[health bar]] as well.
YoYo.png|How to use "Grumm" and "Dinnerbone" name tag [[easter egg]] and [[lead]] to make another animal Yo-yo.
Grumm Horse.png|A [[horse]] using the "Grumm" or "Dinnerbone" easter egg to be rendered upside-down.
MineshaftNameTag.png|Name Tag found in a mineshaft chest.
Pocket Edition Name Tag.jpg|First image of a name tag in bedrock edition.
</gallery>

== See also ==
* [[Spawn Egg]]

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--name-tag Taking Inventory: Name Tag] – Minecraft.net on March 15, 2019

{{items}}

[[de:Namensschild]]
[[es:Etiqueta]]
[[fr:Étiquette]]
[[it:Targhetta]]
[[ja:名札]]
[[ko:이름표]]
[[nl:Naamkaartje]]
[[pl:Znacznik]]
[[pt:Etiqueta]]
[[ru:Бирка]]
[[zh:命名牌]]
[[Category:Renewable resources]]</li><li>[[Coal|Coal]]<br/>{{About|the fuel item that can be mined|the ore|Coal Ore|the block|Block of Coal|the smelted wood|Charcoal}}
{{Item
| image = Coal.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
'''Coal''' is a mineral [[item]] mainly obtained from [[Coal Ore|coal ore]]. It is primarily used for crafting [[torches]] and [[Campfire|campfires]], as well as [[fuel]].

== Obtaining ==

=== Chest loot ===
{{see also|Coal Ore#Natural generation}}
{{LootChestItem|coal}}

=== Mining ===

[[Coal ore]] are mined using a [[pickaxe]] and drops 1 piece of coal. If the pickaxe is enchanted with [[Fortune]], it may drop an extra piece per level of Fortune, up to a maximum of 4 with Fortune III.

=== Mob loot ===

[[Wither skeleton]]s have a {{Frac|1|3}} chance of dropping a single coal upon death. The maximum amount of coal is increased by 1 per level of [[Looting]]. The chance of a wither skeleton ''not'' dropping any coal can be found using the formula <code>2 / (Looting Level + 3)</code>. For example, Looting III gives a {{frac|1|3}} chance of not dropping any coal. All other amounts have an equal chance of occurring.

=== Crafting ===

{{Crafting
 |showname=1
 |Block of Coal
 |Output=Coal,9
 |type=Material
}}

=== Smelting ===

{{Smelting
 |head=1
 |Coal Ore

 |Coal
 |0,1
|foot=1
}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage|Coal}}

=== Fuel ===

When used in a [[furnace]] as a fuel, a piece of coal lasts 80 seconds (smelting up to 8 items), like [[charcoal]]. Coal used as fuel lasts more than 5 times longer than [[wood planks]] or [[wood]] logs used as fuel, being more efficient than any other use of wood for smelting {{in|je}}, but outstripped by [[wooden slabs]] {{in|be}}. 

Coal and charcoal are also the only fuels accepted by [[Minecart with Furnace|furnace minecart]]s. They provide approximately four minutes of transit each.

=== Trading ===

Novice-level fisherman [[villager]]s have a 50% chance to buy 10 coal for one [[emerald]].

{{IN|java}}, novice-level armorer and toolsmith villagers have a 40% chance of offering to buy 15 coal for one emerald. Novice-level weaponsmith villagers and apprentice-level butcher villagers have {{frac|2|3}} chance of offering to buy 15 coal for one emerald.

{{IN|bedrock}}, novice-level armorer, toolsmith, and weaponsmith villagers and apprentice-level butcher villagers buy 15 coal for one emerald.

[[trading|Trade]]s that involve coal cannot be substituted by [[charcoal]].

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Coal
|spritetype=item
|nameid=coal
|itemtags=coals
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Coal
|spritetype=item
|nameid=coal
|aliasid=coal / 0
|id=302
|itemtags=minecraft:coals
|form=item
|foot=1}}

== History ==

{{History|java classic}}
{{History||May 21, 2009|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/110762705/my-list-on-tile-types-so-far|[[Notch]] shows interest in adding coal, commenting that it might be combined with [[iron ore]] to make steel.}}
{{History|java indev}} 
{{History||0.31|snap=20100128|[[File:Coal JE1.png|32px]] Added coal. 
|Mining [[coal ore]] blocks [[drops]] 2-5 pieces of coal.}}
{{History||0.31|snap=20100129|Coal can be used to craft [[torch]]es.}}
{{History||?|Mining [[coal ore]] now drops 1 piece of coal (down from 2-5).}}
{{History||20100219|[[File:Coal JE2 BE1.png|32px]] The texture of coal has been changed. It is now more centered.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Coal can now be found in the new [[mineshaft]] [[chest]]s and [[stronghold]] storeroom chests.}}
{{History|java}}
{{History||1.0.0|snap=?|Coal can be now obtained by [[smelting]] [[coal ore]].}}
{{History||1.2.1|snap=12w04a|Coal can now be used to craft [[fire charge]]s.}}
{{History||1.3.1|snap=12w21a|Blacksmith and butcher [[villager]]s now [[trading|buy]] 16–23 of either coal or charcoal for 1 [[emerald]].}}
{{History|||snap=1.3|[[File:Coal JE3 BE2.png|32px]] The texture of coal has been changed.}}
{{History||1.4.2|snap=12w36a|Coal is now dropped by [[wither skeleton]]s, making it [[renewable resource|renewable]].}}
{{History||1.6.1|snap=13w18a|Coal can now be used to craft [[block of coal|coal block]]s.}}
{{History||1.8|snap=14w02a|Fisherman, armorer, tool smith, weapon smith and butcher [[villager]]s now [[trading|buy]] 16–24 coal for 1 [[emerald]].}}
{{History||1.9|snap=15w43a|Coal may now be found in [[igloo]] basement [[chest]]s.}}
{{History|||snap=15w44a|The average yield of coal from [[mineshaft]] chests has been decreased, and added to [[dungeon]] chests.}}
{{History||1.11|snap=16w39a|Coal can now be found in the new [[woodland mansion]] [[chest]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>coal</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 263.}}
{{History|||snap=18w09a|Coal can now be found in the loot [[chest]]s of [[underwater ruins]].}}
{{History|||snap=18w11a|Coal now generates in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Coal JE4 BE3.png|32px]] The texture of coal has been changed.}}
{{History|||snap=18w48a|Coal can now be found in [[chest]]s in [[village]] fishing cottages.}}
{{History|||snap=18w49a|Coal can now be found in [[chest]]s in [[village]] butcher shops and [[snowy tundra|snowy]] village houses.}}
{{History|||snap=18w50a|Coal can now be found in [[chest]]s in [[village]] toolsmith houses.}}
{{History|||snap=19w02a|Coal can now be used to craft [[campfire]]s. Destroying a campfire returns 2 charcoal.}}
{{History||1.16|snap=20w06a|Coal can now be used to craft [[torch|soul torches]].}}
{{History||1.19|snap=22w13a|Coal may now be found in [[ancient city]] [[chest]]s.}}
{{History||1.20|snap=23w12a|Coal can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Coal 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]]; coal now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Coal JE2 BE1.png|32px]] Added coal.
|Coal can be used to craft [[torch]]es.}}
{{History||v0.8.0|snap=build 1|[[File:Coal JE3 BE2.png|32px]] The texture of coal has been changed.
|Coal can now be crafted to make a [[block of coal]].}}
{{History||v0.12.1|snap=build 1|Coal is now [[drops|dropped]] by [[wither skeleton]]s.}}
{{History||v0.14.0|snap=build 1|Coal can now be found inside [[minecart with chest|chest minecarts]] in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Coal is now used to craft [[fire charge]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Coal can now be found in the [[stronghold]] storeroom [[chest]]s.
|Coal may now be found in [[igloo]] basement chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Fisherman, armorer, toolsmith, weaponsmith and butcher [[villager]]s now [[trading|buy]] 16–24 coal for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Coal is now found in [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Coal can now be found inside [[shipwreck]] [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Coal can now be found inside [[underwater ruins]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Coal can now be used to craft [[campfire]]s. Destroying a campfire returns 2 charcoal.
|[[File:Coal JE4 BE3.png|32px]] The texture of coal has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Coal can now be found in [[snowy tundra]] [[village]] house [[chest]]s and in village butcher and toolsmith chests.}}
{{History|||snap=beta 1.11.0.4|Armorer, weaponsmith, toolsmith, and butcher [[villager]]s now [[trading|buy]] 15 coal for an [[emerald]].
|Fishermen villagers now have a 50% chance to buy 10 coal for an emerald as part of their first tier [[trading|trade]].}}
{{History||1.16.0|snap=beta 1.16.0.51|Coal can now used to craft [[soul torch]]es.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Coal JE2 BE1.png|32px]] Added coal.}}
{{History||?|[[File:Coal JE3 BE2.png|32px]] The texture of coal has been changed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Coal JE4 BE3.png|32px]] The texture of coal has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Coal JE3 BE2.png|32px]] Added coal.}}
{{History|foot}}

== Issues ==
{{issue list|Coal}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Uhlí]]
[[de:Kohle]]
[[es:Carbón]]
[[fr:Charbon]]
[[hu:Szén]]
[[it:Carbone]]
[[ja:石炭]]
[[ko:석탄]]
[[nl:Steenkool]]
[[pl:Węgiel]]
[[pt:Carvão]]
[[ru:Уголь]]
[[th:ถ่าน]]
[[tr:Kömür]]
[[uk:Вугілля]]
[[zh:煤炭]]</li></ul>
18w01aAdded a data generator to both the Minecraft client and the default multiplayer software.
1.14
{{Extension DPL}}<ul><li>[[Banner Pattern|Banner Pattern]]<br/>{{Item
| image = Banner Pattern.png
| rarity = 
* '''Flower Charge, Field Masoned, Bordure Indented, Globe, Snout'''
* Common
* '''Creeper Charge, Skull Charge'''
* Uncommon
* '''Thing'''
* Epic
| renewable = 
* '''Snout, Thing''': No
* '''All others''': Yes
| stackable = No
}}
'''Banner patterns''' are [[item]]s used to customize [[banner]]s inside [[loom]]s.
There are six patterns {{in|java}} and eight {{in|bedrock}}.

== Obtaining ==
[[File:Banner Patterns 20w15a.png|thumb|All six banner patterns {{in|java}} with their various sources.]]

=== Crafting ===
{{see also|Banner/Patterns|title1=List of patterned banners}}
4 out of 6 banner patterns {{only|JE}} and 2 more {{only|BE}} can be obtained by crafting. They are crafted by combining one [[paper]] along with a certain material.
{{Crafting
|head=1
|Paper
|Creeper Head
|Output=Banner Pattern Creeper
|type=Miscellaneous
|description=Creeper face
}}
{{Crafting
|Paper
|Wither Skeleton Skull
|Output=Banner Pattern Skull
|type=Miscellaneous
|description=Skeleton skull and crossbones
}}
{{Crafting
|Paper
|Oxeye Daisy
|Output=Banner Pattern Flower
|type=Miscellaneous
|description=Daisy
}}
{{Crafting
|Paper
|Enchanted Golden Apple
|Output=Banner Pattern Thing
|type=Miscellaneous
|showdescription=true
|description=Former [[Mojang Studios]] logo
}}
{{Crafting
|Paper
|Bricks
|Output=Banner Pattern Field Masoned
|type=Miscellaneous
|description={{only|bedrock}}
}}
{{Crafting
|Paper
|Vines
|Output=Banner Pattern Bordure Indented
|type=Miscellaneous
|description={{only|bedrock}}
|foot=1
}}

=== Trading ===
'''Globe banner pattern''' is obtained by trading with a master-level [[Trading#Cartographer|cartographer villager]] for a price of 8 emeralds.

=== Chest loot ===
'''Snout banner pattern''' is obtained in the [[Bastion Remnant]] as loot.
{{LootChestItem|snout-banner-pattern}}

== Usage ==
=== Loom ingredient ===
Banner patterns are used in [[loom]]s to add customization to [[banner]]s. The pattern must be combined with 1 banner and 1 [[dye]]. Upon usage in the loom, the banner pattern is not consumed.

{{Looming
|head=1
|showdescription=1
|name=[[Banner|Flower Charge Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Flower Charge
|Flower Charge
|{{:Banner/recipe|output|Flower Charge}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a flower charge (flower icon)
}}

{{Looming
|name=[[Banner|Creeper Charge Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Creeper Charge
|Creeper Charge
|{{:Banner/recipe|output|Creeper Charge}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a creeper charge (creeper face)
}}

{{Looming
|name=[[Banner|Skull Charge Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Skull Charge
|Skull Charge
|{{:Banner/recipe|output|Skull Charge}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a skull charge (skull and crossbones)
}}

{{Looming
|name=[[Banner|Thing Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Thing
|Thing
|{{:Banner/recipe|output|Thing}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a thing (old Mojang logo)}}

{{Looming
|name=[[Banner|Snout Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Snout
|Snout
|{{:Banner/recipe|output|Snout}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a piglin snout
}}

{{Looming
|name=[[Banner|Globe Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Globe
|Globe
|{{:Banner/recipe|output|Globe}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a globe (cube shaped earth)
}}

{{Looming
|name=[[Banner|Bordure Indented Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Bordure Indented
|Bordure Indented
|{{:Banner/recipe|output|Bordure Indented}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a bordure indented (fancy border){{only|bedrock}}
}}

{{Looming
|name=[[Banner|Field Masoned Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Field Masoned
|Field Masoned
|{{:Banner/recipe|output|Field Masoned}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a field masoned (brick pattern)‌{{only|bedrock}}
|foot=1
}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Banner Pattern
|showforms=y
|generatetranslationkeys=y
|displayname=Flower Charge
|spritename=banner-pattern
|spritetype=item
|nameid=flower_banner_pattern
|form=item}}
{{ID table
|displayname=Creeper Charge
|spritename=banner-pattern
|spritetype=item
|nameid=creeper_banner_pattern
|form=item}}
{{ID table
|displayname=Skull Charge
|spritename=banner-pattern
|spritetype=item
|nameid=skull_banner_pattern
|form=item}}
{{ID table
|displayname=Thing
|spritename=banner-pattern
|spritetype=item
|nameid=mojang_banner_pattern
|form=item}}
{{ID table
|displayname=Globe
|spritename=banner-pattern
|spritetype=item
|nameid=globe_banner_pattern
|form=item}}
{{ID table
|displayname=Snout
|spritename=banner-pattern
|spritetype=item
|nameid=piglin_banner_pattern
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Banner Pattern
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Creeper Charge
|spritename=banner-pattern
|spritetype=item
|nameid=creeper_banner_pattern
|aliasid=banner_pattern / 0
|id=582
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.creeper}}
{{ID table
|displayname=Skull Charge
|spritename=banner-pattern
|spritetype=item
|nameid=skull_banner_pattern
|aliasid=banner_pattern / 1
|id=583
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.skull}}
{{ID table
|displayname=Flower Charge
|spritename=banner-pattern
|spritetype=item
|nameid=flower_banner_pattern
|aliasid=banner_pattern / 2
|id=581
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.flower}}
{{ID table
|displayname=Thing
|spritename=banner-pattern
|spritetype=item
|nameid=mojang_banner_pattern
|aliasid=banner_pattern / 3
|id=584
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.thing}}
{{ID table
|displayname=Field Masoned
|spritename=banner-pattern
|spritetype=item
|nameid=field_masoned_banner_pattern
|aliasid=banner_pattern / 4
|id=585
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.bricks}}
{{ID table
|displayname=Bordure Indented
|spritename=banner-pattern
|spritetype=item
|nameid=bordure_indented_banner_pattern
|aliasid=banner_pattern / 5
|id=586
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.vines}}
{{ID table
|displayname=Snout
|spritename=banner-pattern
|spritetype=item
|nameid=piglin_banner_pattern
|aliasid=banner_pattern / 6
|id=587
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.piglin}}
{{ID table
|displayname=Globe
|spritename=banner-pattern
|spritetype=item
|nameid=globe_banner_pattern
|aliasid=banner_pattern / 7
|id=588
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.globe
|foot=1}}

== Achievements ==
{{load achievements|Fruit on the Loom}}

== History ==
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] Added banner patterns for flower charge, creeper charge, skull charge and thing patterns.}}
{{History|||snap=19w11a|[[File:Banner Pattern JE1 BE1.png|32px]] Added banner pattern for globe.
|The banner pattern for globe can be [[trading|bought]] from master-level cartographer [[villager]]s for 8 [[emerald]]s.}}
{{History||1.16|snap=20w15a|[[File:Banner Pattern JE1 BE1.png|32px]] Added the piglin banner pattern.}}
{{History|||snap=20w16a|The piglin banner pattern can now be found in [[chest]]s in [[bastion remnants]].}}
{{History|||snap=20w18a|The piglin pattern has now been renamed to "Snout".}}
{{History||1.16.2|snap=20w30a|The chance of finding the "Snout" banner pattern in bastion remnant chests has been increased from 5.5% to 10.1%.}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] Added banner patterns for creeper charge, skull charge, flower charge, thing, field masoned and bordure indented patterns.}}
{{History||1.11.0|snap=beta 1.11.0.4|The banner patterns flower charge, field masoned and bordure indented can now be [[trading|bought]] from cartographer [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Banner Pattern JE1 BE1.png|32px]] Added the piglin banner pattern.}}
{{History|||snap=beta 1.16.0.59|The piglin pattern has now been renamed to "Snout".}}
{{History||1.16.100|snap=beta 1.16.100.55|The "Thing" banner pattern can now be crafted at the [[loom]].}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of banner patterns have been changed from <code>banner_pattern</code> to <code><type>_banner_pattern</code>.}}
{{History||1.18.10|snap=beta 1.18.10.24|[[File:Banner Pattern JE1 BE1.png|32px]] Added banner pattern for globe. It is currently unobtainable in survival.}}
{{History|||snap=beta 1.18.10.26|The banner pattern for globe are now obtainable in survival and can be [[trading|bought]] from master-level cartographer [[villager]]s for 8 [[emerald]]s.
|Removed flower charge, field masoned and bordure indented banner pattern from villager trading.}}
{{History|PS4}}
{{History||1.90|[[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] Added banner patterns for creeper charge, skull charge, flower charge, thing, field masoned and bordure indented patterns.}}
{{History|foot}}

== Issues ==
{{issue list}}

{{Items}}

[[de:Bannervorlage]]
[[es:Diseño de estandarte]]
[[fr:Motif de bannière]]
[[ja:旗の模様]]
[[ko:현수막 무늬]]
[[pl:Wzór sztandaru]]
[[pt:Desenho para estandarte]]
[[ru:Узор флага]]
[[th:ลวดลายธง]]
[[zh:旗帜图案]]</li><li>[[Gold Nugget|Gold Nugget]]<br/>{{About|the nugget|the block that can drop nuggets|Gilded Blackstone|the ore|Gold Ore|the ingot form|Gold Ingot|the mineral block|Block of Gold}}
{{Item
| image = Gold Nugget.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Gold nuggets''' are items used to make [[gold ingot]]s and other various golden items. One gold nugget is effectively worth one-ninth of a gold ingot.

== Obtaining ==

=== Mob loot ===

[[Zombified Piglin|Zombified piglin]]s, when killed, may drop 0-1 gold nuggets. When killed using a weapon enchanted with [[Looting]], they may drop an additional gold nugget per level of Looting used, up to a maximum of 4.

=== Crafting ===

{{Crafting
|Gold Ingot
|Output= Gold Nugget, 9
|type= Material
}}

=== Smelting ===

{{Smelting
|Golden Sword; {Any golden tools}; {Any golden armor}; Golden Horse Armor
|Gold Nugget
|0,25
}}

=== Chest loot ===

{{LootChestItem|gold-nugget}}

=== Mining ===

[[Nether gold ore]] mined using a [[pickaxe]] drops 2-6 gold nuggets. If the pickaxe is enchanted with [[Fortune]], it has a 33.3% chance to multiply the drops by 2, Fortune II has a 25% chance to multiply the drops by 2 or 3 and Fortune III has a 20% chance each to multiply the drops by 2, 3, or 4 for a maximum possible drop of 24 golden nuggets. The average drop rate for a Fortune III pickaxe is 8.8, while the drop rate for a [[Silk Touch]] pickaxe is a single ingot, or a flat rate of 9. It is slightly more efficient to mine with a Silk Touch pickaxe. 

[[Gilded Blackstone|Gilded blackstone]] mined using a pickaxe has a 10% chance to drop 2-5 gold nuggets. If the pickaxe is enchanted with Fortune I, the chance gold nuggets drop is increased 14.29%, Fortune II increases the drop chance to 25%, and Fortune III guarantees the drop.

== Usage ==

Gold nuggets can be used to craft a [[golden carrot]] or [[glistering melon]] for brewing. Also, gold nuggets can be combined with gunpowder and dye to create a [[firework star]] that bursts in a star-shaped explosion. 

[[Piglin]]s instantly pick up any gold nuggets that are within 1 [[block]] of them. Unlike other gold-related items, they do not intentionally seek out gold nuggets to pick up and only pick them up if they walk near it. Unlike gold ingots, gold nuggets picked up are dropped upon the piglin's death. 

=== Crafting ingredient ===

{{crafting usage}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gold Nugget
|spritetype=item
|nameid=gold_nugget
|id=425
|form=item
|foot=1}}

== History ==

{{History|Java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Gold Nugget JE1.png|32px]] Added gold nuggets.
|Gold nuggets are [[drops|dropped]] by [[zombie pigmen]].
|Gold nuggets can be used to craft [[gold ingot]]s.
|Gold nuggets currently do not have a mouseover name.}}
{{History|||snap=Beta 1.9 Prerelease 2|Gold nuggets now have a mouseover name.}}
{{History|||snap=Beta 1.9 Prerelease 4|Gold nuggets are now used to craft [[glistering melon]]s.
|Gold nuggets can now be [[crafting|crafted]] from a single [[gold ingot]].}}
{{History||1.1|snap=release|Normal [[golden apple]]s are now crafted with gold nuggets.}}
{{History||1.3.1|snap=1.3|[[File:Gold Nugget JE2 BE1.png|32px]] The texture of gold nuggets has been changed.}}
{{History||1.4.2|snap=12w34a|Gold nuggets are now used to craft [[golden carrot]]s.}}
{{History||1.4.6|snap=12w49a|Gold nuggets can now be used to craft a [[firework star]] for a star shaped effect on a [[firework rocket|firework]].}}
{{History||1.6.1|snap=13w23a|Gold nuggets can no longer be used to [[crafting|craft]] a [[golden apple]].}}
{{History||1.9|snap=15w43a|Gold nuggets may now be found among the loot in [[igloo]] basement [[chest]]s.}}
{{History||1.11.1|snap=16w50a|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 371.}}
{{History|||snap=18w09a|Gold nuggets can now be found in [[underwater ruins]] loot [[chest]]s.}}
{{History|||snap=18w11a|Gold nuggets now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Gold Nugget JE3 BE2.png|32px]] The texture of gold nuggets has been changed.}}
{{History|||snap=18w48a|Gold nuggets can now be found in chests in [[plains]] [[village]] houses.}}
{{History|||snap=18w49a|Gold nuggets can now be found in chests in [[savanna]] village houses.}}
{{History||1.16|snap=20w12a|[[Nether gold ore]] now [[drops]] 2-6 gold nuggets, affected by [[Fortune]].}}
{{History|||snap=20w15a|[[Gilded blackstone]] now has 10% chance to drop 2-5 gold nuggets. Only the drop chance is affected by [[Fortune]].}}
{{History|||snap=20w16a|Gold nuggets now generate in [[bastion remnant]]s and [[ruined portal]] chests.}}
{{History|||snap=Pre-release 1|Gold nuggets can now be used to distract [[piglin]]s.}}
{{History|||snap=Pre-release 3|Gold nuggets can no longer be used to distract [[piglin]]s.}}
{{History||1.20|snap=23w12a|Gold nuggets can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Gold nuggets no longer generate in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], gold nuggets are now common loot.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Gold Nugget JE2 BE1.png|32px]] Added gold nuggets. |Gold nuggets can be used to craft [[glistering melon]]s, [[gold ingot]]s and [[golden carrot]]s.|[[Gold ingot]]s can now be [[crafting|crafted]] into 9 gold nuggets.|[[Zombie pigmen]] now [[drops|drop]] gold nuggets upon being killed.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Gold nuggets can now be found inside [[igloo]] basement [[chest]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Gold nuggets can now be used to craft [[firework star]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Gold nuggets can now be found in some [[shipwreck]] [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Gold nuggets can now be found in [[underwater ruins]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|The gold nugget can now be found in [[plains]] [[village]] house chests.|[[File:Gold Nugget JE3 BE2.png|32px]] The texture of gold nuggets has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|The gold nugget can now be found in [[savanna]] village house [[chest]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Nether gold ore]] now [[drops]] 2-6 gold nuggets.|[[Gilded blackstone]] now has 10% chance to drop 2-5 gold nuggets.}}
{{History||1.16.100|snap=beta 1.16.100.50|Gold nuggets can now be used as fuel for a [[furnace]].<ref>{{bug|MCPE-114216}}</ref>}}
{{History||1.18.30|snap=beta 1.18.30.26|Gold nuggets can no longer be used as fuel for a furnace.}}

{{History|Legacy Console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Gold Nugget JE2 BE1.png|32px]] Added gold nuggets.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Gold Nugget JE3 BE2.png|32px]] The texture of gold nuggets has been changed.}}

{{History|3DS}}
{{History||0.1.0|[[File:Gold Nugget JE2 BE1.png|32px]] Added gold nuggets.}}
{{History||1.9.19|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* [[Iron Nugget]]
* [[Gold]]

{{Items}}

[[cs:Zlatý nuget]]
[[de:Goldklumpen]]
[[es:Pepita de oro]]
[[fr:Pépite d'or]]
[[hu:Aranyrög]]
[[it:Pepita d'oro]]
[[ja:金塊]]
[[ko:황금 조각]]
[[nl:Goudklompje]]
[[pl:Bryłka złota]]
[[pt:Pepita de ouro]]
[[ru:Кусочек золота]]
[[uk:Золотий самородок]]
[[zh:金粒]]
[[Category:Renewable resources]]</li></ul>
19w08a String tags in SNBT can now be within single quotes ' in addition to double quotes ".[5]

References

External links

  • nbt, a Java library for working with the NBT format.
  • NBT on wiki.vg
  • NBTExplorer, a tool for viewing and editing NBT files.
  • NBT Studio, successor to NBTExplorer that includes additional features like Bedrock support and SNBT.
  • webNBT, an online tool for viewing and editing NBT files.
  • XNBTEdit, XML NBT editor and converter.