The Named Binary Tag (NBT) format is used by Minecraft for the various files in which it saves data. The format is described by Notch in a brief specification.[1] The format is designed to store data in a tree structure made up of various tags. All tags have an ID and a name. The original known version was 19132 as introduced in Beta 1.3, and since then has been updated to 19133 with the Anvil file format, which adds the Int Array tag. The NBT format dates all the way back to Indev with tags 0 to 10 in use.
Another more user-friendly format of NBT is in plain string, as used in commands. This format is referred to as SNBT, short for stringified NBT. It is different from the JSON format; hence, any JSON used in NBT, such as raw JSON text, must be enclosed within a string tag.
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). The name of tags may contain spaces, although Minecraft itself never saves tags with spaces in the names. Finally, depending on the type of the tag, the bytes that follow are part of that tag's payload. This table describes each of the 13 known tags in version 19133 of the NBT format:
| ID | Icon | Tag Type | Payload | SNBT Format[JE only] | Description | Storage Capacity |
|---|---|---|---|---|---|---|
| 0 | TAG_End | None. | - | Used to mark the end of compound tags. This tag does not have a name, so it is only ever a single byte 0. It may also be the type of empty List tags. | N/A | |
| 1 | TAG_Byte | 1 byte / 8 bits, signed | <number>b or <number>B
|
A signed integral type. Sometimes used for booleans. | Full range of -(27) to (27 - 1) (-128 to 127) | |
| 2 | TAG_Short | 2 bytes / 16 bits, signed, big endian | <number>s or <number>S
|
A signed integral type. | Full range of -(215) to (215 - 1) (-32,768 to 32,767) | |
| 3 | TAG_Int | 4 bytes / 32 bits, signed, big endian | <number>
|
A signed integral type. | Full range of -(231) to (231 - 1) (-2,147,483,648 to 2,147,483,647) | |
| 4 | TAG_Long | 8 bytes / 64 bits, signed, big endian | <number>l or <number>L
|
A signed integral type. | Full range of -(263) to (263 - 1) (-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807) | |
| 5 | TAG_Float | 4 bytes / 32 bits, signed, big endian, IEEE 754-2008, binary32 | <number>f or <number>F
|
A signed floating point type. | Precision varies throughout number line; See Single-precision floating-point format. Maximum value about 3.4*1038 | |
| 6 | TAG_Double | 8 bytes / 64 bits, signed, big endian, IEEE 754-2008, binary64 | <decimal number>, <number>d or <number>D
|
A signed floating point type. | Precision varies throughout number line; See Double-precision floating-point format. Maximum value about 1.8*10308 | |
| 7 | TAG_Byte_Array | TAG_Int's payload size, then size TAG_Byte's payloads. | [B;<byte>,<byte>,...]
|
An array of bytes. | Maximum number of elements ranges between (231 - 9) and (231 - 1) (2,147,483,639 and 2,147,483,647), depending on the specific JVM. | |
| 8 | TAG_String | A TAG_Short-like, but instead unsigned[2] payload length, then a UTF-8 string resembled by length bytes. | <a-zA-Z0-9 text>, "<text>" (" within needs to be escaped to \"), or '<text>' (' within needs to be escaped to \')
|
A UTF-8 string. It has a size, rather than being null terminated. | 65,535 bytes interpretable as UTF-8 (see modified UTF-8 format; most commonly-used characters are a single byte). | |
| 9 | TAG_List | TAG_Byte's payload tagId, then TAG_Int's payload size, then size tags' payloads, all of type tagId. | [<value>,<value>,...]
|
A list of tag payloads, without repeated tag IDs or any tag names. | Due to JVM limitations and the implementation of ArrayList, the maximum number of list elements is (231 - 9), or 2,147,483,639. Also note that List and Compound tags may not be nested beyond a depth of 512. | |
| 10 | TAG_Compound | Fully formed tags, followed by a TAG_End. | {<tag name>:<value>,<tag name>:<value>,...}
|
A list of fully formed tags, including their IDs, names, and payloads. No two tags may have the same name. | Unlike lists, there is no hard limit to the number of tags within a Compound (of course, there is always the implicit limit of virtual memory). Note, however, that Compound and List tags may not be nested beyond a depth of 512. | |
| 11 | TAG_Int_Array | TAG_Int's payload size, then size TAG_Int's payloads. | [I;<integer>,<integer>,...]
|
An array of TAG_Int's payloads. | Maximum number of elements ranges between (231 - 9) and (231 - 1) (2,147,483,639 and 2,147,483,647), depending on the specific JVM. | |
| 12 | TAG_Long_Array | TAG_Int's payload size, then size TAG_Long's payloads. | [L;<long>,<long>,...]
|
An array of TAG_Long's payloads. | Maximum number of elements ranges between (231 - 9) and (231 - 1) (2,147,483,639 and 2,147,483,647), depending on the specific JVM. |
The List and Compound tags can be and often are recursively nested. It should also be noted that, in a list of lists, each of the sub-lists can list a different kind of tag.
File 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.
Usage
Minecraft sometimes uses the NBT format inconsistently; in some instances, empty lists may be represented as a list of Byte tags rather than a list of the correct type, or as a list of End tags in newer versions of Minecraft, which can break some older NBT tools. Additionally, almost every root tag has an empty name string and encapsulates only one Compound tag with the actual data and a name. For instance:
- The root tag for most Minecraft NBT structures.
- SomeName: The only tag contained within the root tag - it has a name and contains all the actual data.
Additionally, although the original specification by Notch allows for spaces in tag names, and even the example uses spaces in the tag names, Minecraft has no known files where any tags have spaces in their names. There is also inconsistent use of letter case, mostly either camelCase or PascalCase, but sometimes even in all lowercase.
Uses
- 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.
- 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.
- 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.[3] 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.[4]
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
| Java Edition | |||||
|---|---|---|---|---|---|
1.0.0{{Extension DPL}}<ul><li>[[Suspicious Stew|Suspicious Stew]]<br/>{{For|the block|Suspicious Sand}}
{{Item
| title = Suspicious Stew
| heals = {{hunger|6}}
| renewable = Yes
| stackable = No
|effects=See {{slink||Food}}
}}
'''Suspicious stew''' is a [[food]] item that can give the [[player]] a [[effect|status effect]] that depends on the [[flower]] used to craft it.
== Obtaining ==
{{IN|Bedrock}}, suspicious stew is the only food item in the game that can be obtained from the [[Creative]] inventory only by searching. However, it can be crafted and can also be found in [[shipwreck]] chests. Suspicious stew can be given with [[commands]] like {{cmd|give}}, but {{in|java}}, unless NBT data like that listed in the data values section is included, consuming it has no effect and still restores the same hunger points as a normal suspicious stew. In [[Bedrock Edition]], giving the player a suspicious stew through commands causes the stew to choose an allowable status effect at random.
=== Harvesting ===
Suspicious stew can be obtained by "milking" a brown [[mooshroom]] with a [[bowl]] after using a small flower on it. When a small flower is used on a brown mooshroom, the brown mooshrom produces a suspicious stew related to that small flower the next time it is milked with a bowl. Red mooshrooms do not produce suspicious stew. The brown mooshroom returns to producing [[mushroom stew]] until fed another small flower.
=== Crafting ===
{{Crafting
|Red Mushroom
|Brown Mushroom
|Bowl
|Any Flower
|Output=Suspicious Stew
|shapeless=true
|type=Foodstuff
}}
Suspicious stew is not listed in the recipe book. However, it can be quickly assembled by clicking the [[Mushroom Stew|mushroom stew]] recipe and adding one small flower to it.
=== Chest loot ===
{{LootChestItem|suspicious-stew}}
=== Mob loot ===
After being given a flower, a brown [[mooshroom]] can be "milked" for suspicious stew by {{control|using}} a [[bowl]] on it. The flower type determines the stew's effect using the same rule as a crafted stew. Milking a red mooshroom after feeding it a flower does not yield a suspicious stew specific to that flower.
=== Trading ===
{{IN|java}}, expert-level farmer [[villager]]s can offer either 1 or 2 suspicious stew trades, each stew for one [[emerald]].
{{IN|bedrock}}, expert-level farmer villager offers to sell suspicious stew for one emerald as well.
The [[trading]] interface does not indicate the type of suspicious stew being sold, but each trade entry consistently yields the same type of stew, so the player can remember or make a note of the types offered by a given villager, such as "this villager's first stew gives [[blindness]], and their second entry gives saturation".
== Usage ==
=== Food ===
{{see also|Tutorials/Hunger management}}
To eat suspicious stew, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} hunger and 7.2 hunger [[Hunger#Mechanics|saturation]] and gives a few seconds of a [[effect|status effect]] that varies depending on which flower was used to craft it. The effect is not displayed in the tooltip, texture, etc., meaning that the player cannot know in advance what the effect is without knowing which flower was used.
{{/Effects}}
The [[bowl]] is emptied and returned to the player after the suspicious stew has been eaten, and can be re-used to craft more stews. Unlike most foods, suspicious stew can be eaten even if the player's hunger bar is full.
The Saturation effect effectively makes those two stews a superfood: In those 6 or 7 ticks it can restore up to 6(7) hunger and 12(14) saturation points ''on top of'' their food value, for a total of at least {{hunger|12}} hunger, and effectively maximizing saturation. This is the largest amount of hunger and saturation the player can get from a single food item. Regeneration can restore up to {{Health|3}} health, and Poison or Wither can inflict up to {{Health|4}} damage.
Consuming suspicious stew is the only way to obtain the Saturation and Blindness effects in vanilla ''Minecraft'' without the use of commands.
== Sounds ==
=== Generic ===
{{Sound table/Entity/Food}}
=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Mooshroom eat1.ogg
|sound2=Mooshroom eat2.ogg
|sound3=Mooshroom eat3.ogg
|sound4=Mooshroom eat4.ogg
|subtitle=Mooshroom eats
|source=neutral
|description=Plays when a brown mooshroom is fed a flower.
|id=entity.mooshroom.eat
|translationkey=subtitles.entity.mooshroom.eat
|volume=2.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.95, or 1.05 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Mooshroom gets milked suspiciously
|source=neutral
|description=Plays when a brown mooshroom is milked with a bowl after being fed a flower.
|id=entity.mooshroom.suspicious_milk
|translationkey=subtitles.entity.mooshroom.suspicious_milk
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.9, or 1.1 for each sound</ref>
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Mooshroom eat1.ogg
|sound2=Mooshroom eat2.ogg
|sound3=Mooshroom eat3.ogg
|sound4=Mooshroom eat4.ogg
|subtitle=Mooshroom eats
|source=Friendly Creatures
|description=When a brown mooshroom is fed a flower
|id=mob.mooshroom.eat
|volume=1.0/0.95/1.05
|pitch=0.8-1.2}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Mooshroom gets milked
|source=Friendly Creatures
|description=When a mooshroom is milked with a bowl
|id=mob.mooshroom.suspicious_milk
|volume=1.0/0.9/1.1
|pitch=1.0
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Suspicious Stew
|spritetype=item
|nameid=suspicious_stew
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Suspicious Stew
|spritetype=item
|nameid=suspicious_stew
|id=590
|form=item
|foot=1}}
=== Item data ===
{{IN|je}}, suspicious stew uses the following NBT data:
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat format/Suspicious Stew}}
</div>
=== Metadata ===
{{IN|be}}, suspicious stew uses the following data values:
{{dvt|spritetype=item|sprite=suspicious-stew|{{EffectLink|Night Vision}} from {{BlockLink|Poppy}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Jump Boost}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Weakness}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Blindness}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Poison}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Saturation}} from {{BlockLink|Dandelion}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Saturation}} from {{BlockLink|Blue Orchid}}}}
{{dvt|spritetype=item|sprite=suspicious-stew|{{EffectLink|Fire Resistance}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Regeneration}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Wither}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Night Vision}} from {{BlockLink|Torchflower}}|foot=1}}
== Achievements ==
{{load achievements|Time for Stew}}
== Advancements ==
{{load advancements|A Furious Cocktail;How Did We Get Here;Husbandry;A Balanced Diet}}
== History ==
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Suspicious Stew JE1 BE1.png|32px]] Added suspicious stew.
|Suspicious stew is not obtainable in the [[Creative inventory]].}}
{{History|||snap=19w08a|Suspicious stew can be obtained by milking brown [[mooshroom]]s.}}
{{History|||snap=19w11a|[[Trading]] has been changed, expert-level farmer villagers now sell suspicious stew for an [[emerald]].}}
{{History||1.14.4|snap=Pre-Release 1|Suspicious stew made from [[poppies]] now gives [[Night Vision]] to the [[player]] instead of [[Speed]].}}
{{History||1.16|snap=Pre-release 1|Mooshrooms can now be milked for suspicious stew in Creative mode.<ref>{{bug|MC-90969}}</ref>}}
{{History||1.17|snap=21w13a|Suspicious stew can now be eaten even if the player is at full [[hunger]].}}
{{History||1.19|snap=22w13a|Suspicious stew may now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.3|snap=22w45a|Suspicious stew is now available in the [[Creative]] [[inventory]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Suspicious stew now drops when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History|||snap=1.19.4-pre1|[[Torchflower]]s can now be used to make suspicious stew.}}
{{History||1.20|snap=23w12a|The probability for the suspicious stew to generate in the [[suspicious sand]] in [[desert well]] has been changed from 1/7 to 1/8.}}
{{History|bedrock}}
{{History||1.13.0|snap=beta 1.13.0.9|[[File:Suspicious Stew JE1 BE1.png|32px]] Added suspicious stew.
|Suspicious stew is not obtainable in the Creative inventory.}}
{{History|||snap=beta 1.13.0.15|Master-level farmer [[villager]]s can now [[trading|sell]] suspicious stew.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Trading]] has been changed, expert-level farmer villagers now sell suspicious stew for an [[emerald]].}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Suspicious stew now drops when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History||1.20.10|Added one type of suspicious stew to the Items tab in the Creative inventory.}}
{{History||1.20.30|snap=beta 1.20.20.20|Suspicious stew can no longer be found in the Creative inventory.}}
{{History|foot}}
== Issues ==
{{Issue list}}
== Trivia ==
* Suspicious stew was introduced because developers wanted a way of communicating that [[wikipedia:Lily_of_the_valley|lilies of the valley]] are poisonous.<ref>{{ytl|YUM7XiEX1DI|Items: Ten Things You Probably Didn't Know About Minecraft @ 3:32|Minecraft|November 29, 2019|t=212s}}</ref>
== References ==
{{Reflist}}
<references group="loot"/>
{{Items}}
[[Category:Food]]
[[de:Seltsame Suppe]]
[[es:Estofado sospechoso]]
[[fr:Soupe suspecte]]
[[ja:怪しげなシチュー]]
[[ko:수상한 스튜]]
[[nl:Geheimzinnige stoofpot]]
[[pl:Podejrzana potrawka]]
[[pt:Ensopado suspeito]]
[[ru:Подозрительный суп]]
[[th:สตูว์พิศวง]]
[[zh:迷之炖菜]]
[[Category:Renewable resources]]</li><li>[[Tag (item)|Tag (item)]]<br/>{{About|the April Fools item|the standard item used to rename mobs|Name Tag}}
{{wip}}
{{joke feature}}
{{exclusive|java}}
{{Item
| title = Tag
| image = Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
Tags and Bits are items exclusive to the [[Java Edition 23w13a or b|23w13a_or_b]] [[Easter eggs#April Fools|April Fools' joke]] snapshot from 2023. They are used to craft in-game representations of [[NBT format|NBT tags]].
==Obtaining==
A [[stonecutter]] can be used to cut a [[Name Tag|name tag]] into either 16 "Name" or 16 "Tag" items. These can be cut into 16 Bit items each.
{{Stonecutting
|head=1
|showdescription=1
|Name Tag
|Name, 16; Tag, 16
|description=The resulting "Name" items must be named in an [[anvil]].
}}
{{Stonecutting
|showdescription=
|Name; Tag
|Bit, 16
|foot=1
}}
To be able to proceed from here the <code>nbt_crafting</code> vote must be approved. Bits can be used in a crafting table to craft Left Curly, Right Curly, Left Square, and Right Square. In appears like these are the only tag items that can be crafted from Bits.
A [[Crafting Table|crafting table]] can be used to convert a "Tag" item into a "Byte Tag." The amount of [[stick]]s added to the crafting recipe specifies the value of the Byte, as a [[wikipedia:Signed number representations#Two's complement|signed 8-bit value]]. For example, a "Tag" and a full stack of sticks make a Byte with the value <code>64b</code>, while 255 sticks result in <code>-1b</code>. Only one of the sticks is consumed. Two Bytes can be crafted into a "Short Tag" (equivalent to 16 bit), two Shorts into an "Int Tag" (equivalent to 32 bit), and two Ints into a "Long Tag" (equivalent to 64 bit). Many other combinations that form either 16, 32, or 64 bit are possible. For example, two Shorts and an Int make a Long. When combining values, their digits are stuck together in the given order, e.g. <code>1b</code> and <code>0b</code> make <code>256s</code> (equivalent to 0100<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]). Undoing any of these crafting actions in e.g. a stonecutter is not possible.
"Float" and "Double Tags" can be crafted by adding one or two [[boat]]s to any numeric tag. A "String Tag" is crafted with a "Tag" and a piece of [[string]].
{{Crafting
|head=1
|showdescription=1
|A1= Bit; ; Bit; Bit |B1= ; Bit; Bit; Bit
|A2= ; Bit; Bit; |B2= Bit; ; ; Bit
|A3= Bit; ; Bit; Bit |B3= ; Bit; Bit; Bit
|Output= Right Curly; Left Curly; Left Square; Right Square
|ignoreusage=1
}}
{{Crafting
|Tag
|String
|Output= String Tag
|description=String tags must be named in an [[anvil]] to set their value.
|ignoreusage=1
}}
{{Crafting
|Tag; Tag; Tag
|; Stick; Stick, 64
|; ; Stick, 63
|Output= Byte Tag; Byte Tag; Byte Tag
|description=Only 1 stick is consumed. 128 and more sticks make [[wikipedia:Signed number representations#Two's complement|two's complements]]:
128 sticks = <code>-128b</code><br>
129 sticks = <code>-127b</code><br>
⋮<br>
254 sticks = <code>-2b</code><br>
255 sticks = <code>-1b</code>
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Byte Tag; Byte Tag
|Byte Tag; Byte Tag; Byte Tag
| ; Byte Tag; Byte Tag
| ; Byte Tag; Byte Tag
| ; ; Byte Tag
| ; ; Byte Tag
| ; ; Byte Tag
| ; ; Byte Tag
|Output= Short Tag; Int Tag; Long Tag
|description=Shorts and Ints can be combined the same way, even mixed.
Digits are appended, e.g. two <code>1b</code> tags make <code>257b</code> (0101<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]).
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Float Tag; Float Tag; Float Tag; Float Tag
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Double Tag; Double Tag; Double Tag; Double Tag
|ignoreusage=1
}}
{{Crafting
|Left Curly; Left Curly
|Name; Name
|Byte Tag; Byte Tag
|Right Curly; Name |; Byte Tag | |; Name |; Byte Tag |; Right Curly
|Output= Compound Tag; Compound Tag
|description=Instead of Bytes any other tag can be used, including other compound tags.
|ignoreusage=1
}}
{{Crafting
|Left Square; Left Square
|Byte Tag; Byte Tag
|Right Square; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Right Square
|Output= List Tag; List Tag
|description=Instead of Bytes any other tag can be used, including other list tags.
|ignoreusage=1
}}
{{Crafting
|Compound Tag; List Tag
|Compound Tag; List Tag
|Output= Compound Tag; List Tag
|description=Up to 9 can be combined.
When compound tags contain identical names, only the latest of the corresponding values is used.
|ignoreusage=1
|foot=1
}}
"Name" and "String Tags" must be named in an [[anvil]] before they can be used. Unnamed Names and Strings always produce a "Sssyntax Error". None of the other tag items can be named.
All these items can be combined in a crafting table to form a short sequence of JSON code, as long as the resulting syntax is valid. For example:
*A pair of Curlies that enclose a named "Name" item and some value, e.g. a Byte, create a "Compound Tag" with the content <code>{Example:0b}</code>.
**Because of the limited size of the crafting table only 3 name-value pairs can be put between Curlies at a time. Compound Tags of any length can be created by concatenating two or more Compound Tags.
**An empty pair of Curlies produces an empty Compound Tag with the content <code>{}</code>.
*A pair of Square brackets that enclose any number of values, e.g. 7 Bytes, create a "List Tag" with the content <code>[0b,0b,0b,0b,0b,0b,0b]</code>.
**Because of the limited size of the crafting table only 7 values can be put between Square brackets at a time. List Tags of any length can be created by concatenating two or more List Tags.
**An empty pair of Square brackets produces an empty List with the content <code>[]</code>.
**"Name" items cannot be used in a List.
The resulting Compound and List Tags can be used as values in other Compound and List Tags, as deeply nested as you want.
==Usage==
Tags appear to have no further functionality. They cannot be eaten or placed in the world, except in an item frame, as each other item can. However, Compound Tags with values like <code>{Enchantments:[{id:"minecraft:sharpness",lvl:127b}]}</code> will show the [[Enchanting|enchantment]] glint and actually act accordingly when used.<ref>https://www.reddit.com/r/Minecraft/comments/129xdyl/i_figure_out_how_the_nbtcrafting_in_the_vote/</ref> This appears to work with many weapon and tool [[Enchanting#Summary of enchantments by item|enchantments]].
In theory, an extremely lucky <code>replace_recipe_output</code> vote can change the crafting recipe for compound tags to output something else. When cheats are enabled you can test this with a command like <code>/vote rule minecraft:replace_recipe_output approve {key:"minecraft:compound_tag",value:"minecraft:netherite_sword"}</code>. However, as long as this vote is approved no other compound tag can be crafted. Use <code>/vote rule minecraft:replace_recipe_output repeal *</code> to undo all recipe replacements.
In combination with the <code>midas_touch</code> vote tag items can be converted into [[Gold Ingot|gold ingots]]. These retain their NBT data. When the world is loaded in another version of the game tag items disappear, but gold ingots persist.
==Trivia==
*This implies that a [[Name Tag|name tag]] is 128 bit.
*Compound and list tags are special in so far that the value they show in their [[tooltip]] is not merely a property of the item, but their ''actual'' [[NBT format|NBT data]]. This is also the reason why naming them is disabled as that would mess up the NBT data.
*The snapshot also contains an [[History of textures/Unused textures|unused texture]] for an {{ItemLink|End Tag}}.
==History==
{{History|java}}
{{History||23w13a_or_b|[[File:Tag.png|32px]] Added tags.}}
{{History|foot}}
==Gallery==
<gallery>
Tag.png|Tag
Bit.png|Bit
Byte Tag.png|Byte Tag
Double Tag.png|Double Tag
End Tag.png|End Tag
Float Tag.png|Float Tag
Int Tag.png|Int Tag
Left Curly.png|Left Curly
Left Square.png|Left Sqaure
List Tag.png|List Tag
Long Tag.png|Long Tag
Name (23w13a or b).png|Name
Right Curly.png|Right Curly
Right Square.png|Right Square
Short Tag.png|Short Tag
Sssyntax Error.png|Sssyntax Error
String Tag.png|String Tag
</gallery>
== References ==
{{reflist}}
{{items}}
{{jokes}}
[[pt:Tag (item)]]
[[Category:Joke items]]</li></ul> | September 28, 2011 | Notch works on "saving arbitrary data with item instances." | |||
1.12{{Extension DPL}}<ul><li>[[Wheat|Wheat]]<br/>{{About||the artifact in ''Minecraft Dungeons''|Minecraft Dungeons:Wonderful Wheat|the seed|Wheat Seeds}}
{{Item
| image = Wheat.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Wheat''' is an [[item]] primarily obtained by harvesting fully-grown [[Wheat Seeds|wheat crops]]. It is used for [[crafting]] as well as to feed certain animals.
== Obtaining ==
=== Natural generation ===
{{LootChestItem|wheat}}
=== Farming ===
{{main|Tutorials/Crop farming}}
When a fully-grown wheat crop is harvested, it drops 1 wheat and 1 to 4 [[wheat seeds]] ({{frac|2|5|7}} per crop harvested on average). A wheat crop has a total of eight stages (0-7) from the time it is planted until it can be harvested. If a crop is harvested before it is fully grown, it just drops one seed. Wheat needs light to grow; a seed is destroyed if planted without light. Harvesting with a [[Fortune]]-enchanted tool increases the number of seeds dropped but does not increase the yield of wheat.
=== Crafting ===
{{Crafting
|Hay Bale
|Output= Wheat,9
|type= Material
}}
=== Drops ===
A [[fox]] sometimes spawns holding wheat, which it always drops upon death. Alternatively, the player can drop a [[food]] item, causing the fox to drop the wheat.
== Usage ==
=== Food ===
[[File:New Cattle.png|thumb|Using wheat to lead a cow.]]
When wheat is held, it causes nearby [[cow]]s, [[sheep]], [[goat]]s and [[mooshroom]]s to follow the player, until either the player stops holding the wheat or goes too far away from the animal, thus leading them to lose interest.
Wheat may be used to [[breed]] cows, sheep, goats, and mooshrooms by first herding two of them together and then {{control|using}} the wheat on them to begin "Love Mode."
Wheat can heal a [[horse]] {{hp|1}} health or lower its temper by 3% when attempting to tame it. It can also decrease the time it takes for a foal to grow by 20 seconds.
Similarly, wheat can heal a [[llama]] {{hp|2}} health, and it decreases the time it takes a baby llama to grow by 10 seconds.
=== Crafting ingredient ===
{{crafting usage}}
=== Trading ===
Novice-level farmer [[Villager|villagers]] have a 25%{{only|bedrock}} or 40%{{only|java}} chance to buy 20 wheat for one [[emerald]].
=== Composting ===
Placing wheat into a [[composter]] has a 65% chance of raising the compost level by 1. A stack of wheat yields an average of 5.94 [[bone meal]].
== Achievements ==
{{load achievements|Bake Bread;The Lie;Repopulation}}
== Advancements ==
{{load advancements|A Seedy Place}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Wheat
|spritetype=item
|nameid=wheat
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wheat
|spritetype=item
|nameid=wheat
|id=334
|form=item
|foot=1}}
== Video ==
{{Video note|the narrator demonstrates at 0:56 that walking over wheat can destroy the crop and un-till the land. This is outdated: since version {{Version link|JE 1.1}}, wheat can be destroyed only by a player or mob jumping on it or falling on it.}}
<div style="text-align:center">{{yt|JbAURiYQZlA}}</div>
== History ==
{{History|java indev}}
{{History||20100206|[[File:Wheat JE1 BE1.png|32px]] Wheat has been added.
|Wheat can be used to craft [[bread]].}}
{{History||20100223|Bread now requires 3 wheat (1 row of 3) instead of 6 (2 rows of 3) to be crafted.}}
{{History|java infdev}}
{{History||20100625-2|Wheat can now be found in the new [[dungeon]] [[chest]]s.}}
{{History|java beta}}
{{History||1.2|Wheat can now be used to craft [[cake]].}}
{{History||1.4|Wheat can now be used to craft [[cookie]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Wheat can now be used in [[breeding]].}}
{{History||1.3.1|snap=12w21a|Wheat can now be [[trading|sold]] to farmer [[villager]]s, at 18–21 wheat for 1 [[emerald]].}}
{{History||1.4.2|snap=12w36a|[[Chicken]]s and [[pig]]s no longer use wheat to [[breeding|breed]].}}
{{History||1.6.1|snap=13w16a|[[Horse]]s can now be healed by being fed wheat.
|Foals can now have their growth increased by being fed wheat.}}
{{History|||snap=13w17a|[[Horse]]s can now have their tempers lowered with wheat.}}
{{History|||snap=13w18a|Nine wheat can now be crafted to make a [[hay bale]].}}
{{History||1.8|snap=14w02a|Trading has been changed: farmer [[villager]]s now [[trading|buy]] 18–22 wheat for 1 [[emerald]].}}
{{history||1.9|snap=15w43a|Wheat may now be found in [[igloo]] basement chests.}}
{{history|||snap=15w44a|The average yield of wheat in [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Wheat can now be found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 296.}}
{{History|||snap=18w09a|Wheat can now generate in the chests of [[underwater ruins]].}}
{{History|||snap=18w11a|Wheat can now generate in [[shipwreck]] chests.}}
{{History||1.14|snap=18w43a|[[File:Wheat JE2 BE2.png|32px]] The texture of wheat has been changed.}}
{{History|||snap=18w47a|Wheat can now generate inside of loot chests on top of [[pillager outpost]]s.}}
{{History|||snap=18w49a|Wheat can now generate in chests in [[village]] butcher and shepherd houses.}}
{{History|||snap=18w50a|Wheat can now generate in chests in desert [[village]] houses.}}
{{History||1.14|snap=19w03a|Placing wheat into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Wheat now has a 65% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with wheat in their mouths.}}
{{History||1.17|snap=21w13a|Wheat can now be used to breed [[goat]]s.}}
{{History||1.19|snap=22w11a|Wheat can now be used to craft [[packed mud]].}}
{{History||1.20|snap=23w12a|Wheat can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Wheat no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], wheat is now common loot.}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Wheat JE1 BE1.png|32px]] Added wheat. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Wheat is now obtainable via farming and can be used to craft [[bread]].}}
{{History||v0.7.0|Wheat can now be used to craft [[cake]].}}
{{History||v0.8.0|snap=build 1|Wheat can now be used to breed [[cow]]s and [[sheep]].
|Wheat can now be used to craft [[hay bale]]s.}}
{{History||v0.9.0|snap=build 1|Wheat [[crop]]s now naturally spawn in [[village]]s.
|Wheat can now be used to craft [[cookie]]s.}}
{{History||v0.15.0|snap=build 1|Wheat can now be used to grow, increase tame and heal [[horse]]s, [[donkey]]s and [[mule]]s.}}
{{History||v0.16.2|Wheat can now be found in the [[chest]]s inside of large houses in [[ice plains]] and [[cold taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Wheat can now be found in [[igloo]] basement chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|buy]] 18–22 wheat for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Wheat can now be found in the new [[woodland mansion]] chests.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Wheat can now be found inside [[shipwreck]] chests.}}
{{History|||snap=beta 1.2.20.1|Wheat can now be found inside [[underwater ruins]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Wheat can now be found in [[pillager outpost]] chests.
|[[File:Wheat JE2 BE2.png|32px]] The texture of wheat has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Wheat can now be found in [[desert]] [[village]] house chests, village shepherd and butcher house chests.
|Wheat can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has changed, farmer [[villager]]s now have a 25% chance to buy 20 wheat for one [[emerald]] as part of their first tier trade.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can drop wheat.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wheat JE1 BE1.png|32px]] Added wheat.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wheat JE2 BE2.png|32px]] The texture of wheat has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Wheat JE1 BE1.png|32px]] Added wheat.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
Wheat SDGP.png|Wheat in the [[Super Duper Graphics Pack]].
File:Field of Wheat.jpg|[[Steve]] and [[Kai]] in a field of wheat crops.<ref>https://www.instagram.com/p/CumuJleg6Ij/</ref>
</gallery>
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--wheat Taking Inventory: Wheat] – Minecraft.net on April 21, 2022
{{Items}}
[[Category:Plants]]
[[Category:Food]]
[[cs:Pšenice]]
[[de:Weizen]]
[[es:Trigo]]
[[fr:Blé]]
[[hu:Búza]]
[[it:Grano]]
[[ja:小麦]]
[[ko:밀]]
[[nl:Tarwe]]
[[pl:Pszenica]]
[[pt:Trigo]]
[[ru:Пшеница]]
[[th:ข้าวสาลี]]
[[uk:Пшениця]]
[[zh:小麦]]
[[Category:Renewable resources]]</li><li>[[Feather|Feather]]<br/>{{about|a item|a enchantent|Feather Falling}}
{{Item
| image = Feather.png
| stackable = Yes (64)
| renewable = Yes
}}
'''Feathers''' are items dropped by [[chicken]]s and [[parrot]]s, as well as tamed [[cats]] as morning gifts.
== Obtaining ==
=== Mob loot ===
Adult [[chicken]]s drop 0–2 feathers upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 0–5 with Looting III.
[[Parrot]]s drop 1–2 feathers upon death. The maximum is increased by 1 per level of Looting, for a maximum of 1–5 with Looting III.
A [[fox]] sometimes spawns holding a feather, which always drops upon death. Alternatively, the player can drop a [[food]] item, causing the fox to drop the feather in favor of the food.
=== Natural generation ===
{{LootChestItem|feather}}
=== Cat gifts ===
{{main|Cat#Gifts}}
Tamed [[cat]]s have a 70% chance of giving the [[player]] a "morning gift", and the gift has a 16.13% chance to be a feather.
== Usage ==
=== Helmet ===
<div style='float:right'></div>
While a feather cannot be equipped in the head slot in [[Survival]] mode, equipping it using commands causes it to appear completely upright unlike other items.
[[File:Steve wearing Feather.png|75px]]
[[File:Alex wearing Feather.png|75px]]
=== Crafting ingredient ===
{{crafting usage}}
=== Trading ===
Expert-level fletcher [[villager]]s buy 24 feathers for an [[emerald]] as part of their trade.
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Feather
|spritetype=item
|nameid=feather
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Feather
|spritetype=item
|nameid=feather
|id=327
|form=item
|foot=1}}
== History ==
{{History|java indev}}
{{History||0.31|snap=20100130|[[File:Feather JE1.png|32px]] Added feathers.|Feathers can be used to [[craft]] [[arrow]]s.
|Feathers are [[drop]]ped by every [[mob]] in quantities of 0 to 2.}}
{{History||20100206|[[File:Feather JE2 BE1.png|32px]] The feather's texture has been changed; it is now not as straight anymore.}}
{{History||20100219|[[Zombie]]s are now the only [[mob]] that can drop feathers. This was a placeholder as [[Notch]] has stated he currently doesn't know what else they should drop.<ref>{{tweet|notch|21723172931895296}}</ref>}}
{{History|java alpha}}
{{History||v1.0.14|[[Chicken]]s now [[drop]] 0–2 feathers upon death.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[Zombie]]s now drop [[rotten flesh]], instead of feathers.
|[[Chicken]]s are now the only source of feathers.}}
{{History|java}}
{{History||1.3.1|snap=12w17a|Feathers are now used to craft [[book and quill]]s.}}
{{History||1.4.6|snap=12w49a|Feathers are now used to craft a [[firework star]] with a burst effect.}}
{{History||1.12|snap=17w13a|[[Parrot]]s now [[drop]] feathers.}}
{{History||1.13|snap=17w47a|Prior to ''[[The Flattening]]'', this [[item]]'s numeral ID was 288.}}
{{History|||snap=18w11a|Feathers now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.}}
{{History|||snap=18w44a|[[Cat]]s now offer feathers as [[Cat#Gifts|gift]]s.}}
{{History|||snap=18w48a|Feathers can now be found in chests in plains [[village]] houses.}}
{{History|||snap=18w50a|Feathers can now be found in chests in fletcher houses.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with feather in their mouths.}}
{{History|||snap=19w11a|Fletcher [[villager]]s now [[trading|buy]] feathers.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=1.19.4 Pre-release 1|Feathers can now be used to craft [[brush]]es.}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Feather JE2 BE1.png|32px]] Added feathers. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.3|Chickens now drop 0–2 feathers upon death.|Feathers can now be used to [[craft]] [[arrow]]s.}}
{{History||v0.5.0|Feathers can now be obtained after activating the [[nether reactor]].}}
{{History||v0.11.0|snap=build 1|[[Zombie]]s now drop [[rotten flesh]], instead of feathers.}}
{{History||v0.12.1|snap=build 1|Feathers are no longer available from the [[nether reactor]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Feathers can now be used to craft [[book and quill]]s.|Added [[parrot]]s, which [[drop]] feathers.|Feathers can now be used as an ingredient to craft a [[firework star]].}}
{{History||1.4.0|snap=beta 1.2.14.2|Feathers can now be found in [[shipwreck]] [[chest]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Feathers can now be given as a gift to the [[player]] by tamed [[cat]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.|Feathers can now be found in the new [[plains]] [[village]] house.}}
{{History||1.11.0|snap=beta 1.11.0.1|Feathers can now be found in village fletcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Feathers can now be [[trading|sold]] to fletcher [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] feathers.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|Feathers can now be used to craft [[brush]]es.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Feather JE2 BE1.png|32px]] Added feathers.}}
{{History|Ps4}}
{{History||1.90|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.}}
{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Feather JE2 BE1.png|32px]] Added feathers.}}
{{History|foot}}
== Issues ==
{{issue list}}
== References ==
{{reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--feather Taking Inventory: Feather] – Minecraft.net on March 3, 2019
{{Items}}
[[Category:Renewable resources]]
[[cs:Pírko]]
[[de:Feder]]
[[es:Pluma]]
[[fr:Plume]]
[[hu:Toll]]
[[it:Piuma]]
[[ja:羽根]]
[[ko:깃털]]
[[nl:Veer]]
[[pl:Pióro]]
[[pt:Pena]]
[[ru:Перо]]
[[uk:Перо]]
[[zh:羽毛]]</li></ul> | ? | Added long array tags. | |||
1.13{{Extension DPL}}<ul><li>[[Raw Chicken|Raw Chicken]]<br/>{{about|a food item|the mob "chicken"|Chicken}}{{About|a food item|the cooked version|Cooked Chicken}}{{Item
| title = Raw Chicken
| image = Raw Chicken.png
| heals = {{hunger|2}}
| effects = {{EffectLink|Hunger}} (0:30) (30% chance)
| renewable = Yes
| stackable = Yes (64)
}}
'''Raw chicken''' is a [[food]] item that can be eaten by the [[player]]. It can be cooked in a [[furnace]], [[smoker]], or a [[campfire]] to make [[cooked chicken]].
==Obtaining==
===Mob loot ===
Upon death, an adult [[chicken]] drops 1 raw chicken. The maximum is increased by 1 per level of [[Looting]], for a maximum of 1-4 with Looting III. Chickens that die while on [[fire]] drop [[cooked chicken]] instead.
===Cat gifts===
{{main|Cat#Gifts}}
Tamed [[cat]]s have a 70% chance to give the [[player]] a gift as they wake up from a [[bed]], and the gift has a 16.13% chance to be raw chicken.
==Usage==
=== Food===
To eat raw chicken, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|2}} hunger and 1.2 hunger [[Hunger#Mechanics|saturation]], but has a 30% chance of inflicting food poisoning (the {{EffectLink|link=Hunger (status effect)|Hunger}} effect for 30 seconds).
<nowiki>*This has a similar effect as [[Rotten Flesh]].
===Smelting ingredient===
{{Smelting
|showname=1
|Raw Chicken
|Cooked Chicken
|0.35
}}
===Wolves===
Raw chicken can be used to [[breed]] and heal tamed [[wolves]], lead them around, and make baby tamed wolves grow up faster by 10% of the remaining time.
Wolves are at no risk of food poisoning.
===Trading===
Novice-level Butcher villagers have a {{frac|1|3}} chance to buy 14 raw chicken for an emerald.{{only|bedrock}}
Novice-level Butcher villagers have a 50% chance of offering to buy 14 raw chicken for an emerald.{{only|java}}
==Sounds==
{{Sound table/Entity/Food}}
==Data values==
===ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Raw Chicken
|spritetype=item
|nameid=chicken
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Chicken
|spritetype=item
|nameid=chicken
|id=275
|form=item
|foot=1}}
==Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
==Video==
<div style="text-align:center">{{yt|ux362Ae8Llc}}</div>
==History==
{{History|java beta}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93330811608240128|A teaser image for [[cooked chicken]] is revealed by [[Jeb]].}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93946593748852736|[[File:Raw Chicken (pre-release).png|32px]] Jens reveals raw chicken with changed texture based on feedback, saying "the chicken may be too smooth compared to other MC [[item]]s."<ref>https://twitter.com/jeb_/status/93335976298033152</ref>}}
{{History||1.8|snap=Pre-release|[[File:Raw Chicken JE1 BE1.png|32px]] Added raw chicken.
|Raw chicken is a new [[drops|drop]], obtained by killing a [[chicken]], usually along with a [[feather]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Raw chicken can now be used to [[breeding|breed]] wolves.}}
{{History||1.3.1|snap=12w21a|Raw chicken can now be [[trading|sold]] to farmer [[villager]]s, at 14–17 raw chicken for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Raw Chicken JE2 BE2.png|32px]] The texture of raw chicken has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|Trading has been changed: butcher [[villager]]s now [[trading|buy]] 14–18 raw chicken for 1 [[emerald]].
|Farmer villagers no longer [[trading|trade]] raw chicken.}}
{{History||1.9|snap=15w43a|[[Chicken]]s can now [[drops|drop]] several raw chickens, if killed with a [[Looting]]-[[enchanting|enchanted]] [[weapon]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 365.}}
{{History||1.14|snap=18w43a|[[File:Raw Chicken JE3 BE3.png|32px]] The texture of raw chicken has been changed.}}
{{History|||snap=18w44a|[[Cat]]s now offer raw chicken as [[Cat#Gifts|gift]]s.}}
{{History|pocket alpha}}
{{History||v0.4.0|[[File:Raw Chicken JE1 BE1.png|32px]] Added raw chicken.}}
{{History||v0.5.0|Raw chicken now restores {{hp|2}} instead of {{hp|1}}.}}
{{History||v0.8.0|snap=build 1|[[File:Raw Chicken JE2 BE2.png|32px]] The texture of raw chicken has been changed, so that it no longer has a dark outline.}}
{{History||v0.11.0|snap=build 1|Raw chicken now sometimes inflicts the [[hunger]] effect, despite the hunger bar not existing yet.}}
{{History||v0.12.1|snap=build 1|Raw chicken now restores [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Butcher [[villager]]s now [[trading|buy]] 14-18 raw chicken for one [[emerald]].}}
{{History|bedrock}}
{{History||?|[[Chicken]]s can now [[drops|drop]] several raw chicken, if killed with a [[Looting]]-[[enchanting|enchanted]] [[weapon]].}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give the [[player]] raw chicken as a gift.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Chicken JE3 BE3.png|32px]] The texture of raw chicken has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Butcher [[villager]]s now have {{frac|1|3}} of a chance to [[trading|buy]] 14 raw chicken.}}
{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Raw Chicken JE1 BE1.png|32px]] Added raw chicken.}}
{{History||xbox=TU12|[[File:Raw Chicken JE2 BE2.png|32px]] The texture of raw chicken has been changed, so that it no longer has a dark outline.}}
{{History|PS4}}
{{History||1.90|[[File:Raw Chicken JE3 BE3.png|32px]] The texture of raw chicken has been changed.}}
{{History|new3DS}}
{{History||0.1.0|[[File:Raw Chicken JE2 BE2.png|32px]] Added raw chicken.}}
{{History|foot}}
==Issues==
{{issue list}}
==Gallery ==
<gallery>
Beta 1.8 Dev Chicken 2.png|First image of raw chicken.
</gallery>
==References==
{{reflist}}
{{Items}}
[[de:Rohes Hühnchen]]
[[es:Pollo crudo]]
[[fr:Poulet cru]]
[[hu:Nyers csirkehús]]
[[ja:生の鶏肉]]
[[ko:익히지 않은 닭고기]]
[[nl:Rauwe kip]]
[[pl:Surowy kurczak]]
[[pt:Frango cru]]
[[ru:Сырая курятина]]
[[th:ไก่ดิบ]]
[[zh:生鸡肉]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Bundle|Bundle]]<br/>{{Experimental feature|bundle}}
{{planned|BE}}
{{Item
| image = Bundle.png
| image2 = Bundle Filled.png
| rarity = Common
| renewable = No
| stackable = No
}}
A '''bundle''' is an [[item]] that can store up to a stack's worth of mixed [[item]] types within itself in a single [[inventory]] slot. Items that stack to 16 occupy more space within the bundle, and items that do not stack occupy the entire bundle without allowing space for any other items.
== Obtaining ==
=== Crafting ===
{{Crafting
|showdescription=1
|A1=String |B1=Rabbit Hide |C1=String
|A2=Rabbit Hide |C2=Rabbit Hide
|A3=Rabbit Hide |B3=Rabbit Hide |C3=Rabbit Hide
|Output=Bundle
|type=Tool
|description={{OnlyExperimental|bundle}}
}}
== Usage ==
<!--The tooltip does not reflect the current bundle "tooltip"-->
{{FakeImage|style=max-width:250px;
|1={{Slot|Stick,64}}{{Slot|Ender Pearl,16}}{{Slot|Iron Sword}}<br>{{Slot|Stick,1}}{{Slot|Ender Pearl,4}}{{Slot|Iron Sword,64}}<br>{{Slot|Filled Bundle[Stick x32/Ender Pearl x8]| title = Bundle|link=none}}
|2=Item stack sizes (top row) and the number of bundle slots they take up (middle row). Sticks stack to 64, so they take up one bundle slot; ender pearls stack to 16, so they take up four; and swords do not stack, so they take up the whole bundle. So, for instance, a bundle may have 32 sticks and 8 ender pearls inside (bottom), which take up a total of {{Tooltip|(32×1)|32 Sticks}}+{{Tooltip|(8×4)|8 Ender Pearls}}=64 bundle slots.
}}
Bundles are used to store different [[item|item type]]s in the same [[inventory]] slot. This does not, however, increase the total capacity of the slot: each bundle has 64 "bundle slots" and each item placed in the bundle takes up these slots similar to how they take up space in a normal inventory slot: items that stack to 64 take up 1 bundle slot, items that stack to 16 (for example, [[egg]]s) take up 4, and items that do not stack (such as tools/weapons/armor) take up the whole bundle, all 64 slots.
Although bundles themselves cannot be stacked, a bundle can be placed inside another (nested): the inner bundle itself uses 4 slots plus the number of slots already occupied by the items in that bundle.<ref>{{bug|MC-203567||Bundles can be placed inside of bundles|WAI}}</ref>
To place items inside a bundle, either (1) pick up the bundle in the inventory and right-click on the item(s) to be placed inside or (2) pick up the item(s) and right-click on the bundle. When placing bundles inside another bundle, the interface uses the first method: picking up Bundle A and right clicking on Bundle B attempts to store Bundle B inside A.
Bundles can be {{ctrl|used}} inside the inventory to take out the last item put in. In this way, items are accessible LIFO (last in, first out). When {{ctrl|used}} outside the inventory, it dumps all the items out into the world.
Hovering over the bundle shows its contained items in its inventory slots. The number of bundle slots used is displayed as ''<fullness>''/64 in the tooltip. If the bundle is full, then the empty slots are greyed out with an <span class="invslot">{{SlotSprite|Bundle full}}</span>.
[[Shulker box]]es cannot be placed inside of bundles.
[[File:MinecraftBundle.jpg|thumb|Hovering the mouse over a bundle filled with mob loot, nearly full, with 61 items.]]
== Sounds ==
{{Sound table
|sound=Bundle drop contents1.ogg
|sound2=Bundle drop contents2.ogg
|sound3=Bundle drop contents3.ogg
|subtitle=Bundle empties
|source=player
|description=When a bundle's items are thrown onto the ground
|id=item.bundle.drop_contents
|translationkey=subtitles.item.bundle.drop_contents
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 0.8-1.2 or 0.76-1.14 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Bundle insert1.ogg
|sound2=Bundle insert2.ogg
|sound3=Bundle insert3.ogg
|subtitle=Item packed
|source=player
|description=When items are placed into a bundle
|id=item.bundle.insert
|translationkey=subtitles.item.bundle.insert
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 0.8-1.2, 0.76-1.14, or 0.84-1.26 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Bundle remove one1.ogg
|sound2=Bundle remove one2.ogg
|sound3=Bundle remove one3.ogg
|subtitle=Item unpacked
|source=player
|description=When items are removed from a bundle
|id=item.bundle.remove_one
|translationkey=subtitles.item.bundle.remove_one
|volume=0.8
|pitch=''varies' <ref group=sound>Can be 0.8-1.2, 0.84-1.26, or 0.88-1.32 for each sound</ref>
|distance=16
|foot=1}}
== Data values ==
=== ID ===
{{JE}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Bundle
|spritetype=item
|nameid=bundle
|form=item
|foot=1}}
=== Item data ===
<div class="treeview" style="margin-top: 0;">
* {{nbt|compound|tag}}: The '''tag''' tag.
{{:Player.dat_format/Bundle}}
</div>
== History ==
{{History||October 3, 2020|link={{ytl|DBvZ2Iqmm3M|t=1846s}}|[[File:Bundle JE1.png|32px]][[File:Bundle Filled JE1.png|32px]] Bundles are revealed at [[Minecraft Live 2020]]. Hovering over them shows all items inside scattered around a large area, and incomplete bundles have the empty texture.}}
{{History||October 16, 2021|link=https://clips.twitch.tv/AffluentEncouragingOryxPeteZaroll-cd8pIapkfD4PRHxO|Ulraf, a game developer on ''Minecraft'', states that bundles will not be included in [[Caves & Cliffs]].}}
{{History||November 17, 2021|link=https://www.minecraft.net/en-us/article/caves---cliffs-update-part-ii-coming|Bundles are announced to be added after [[The Wild Update]].}}
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Bundle JE1.png|32px]][[File:Bundle Filled JE1.png|32px]] Added bundles. Hovering over them shows some of the items contained and their quantities, much like the tooltip of a [[shulker box]]. Incomplete bundles have the full texture.}}
{{History|||snap=20w46a|[[File:Bundle JE2.png|32px]][[File:Bundle Filled JE2.png|32px]] The textures of bundles have been changed.
|Hovering over bundles now shows its contained items in special slots, similar to slots in the [[inventory]]. If the bundle is not full, it also has an empty slot with a plus on it.}}
{{History|||snap=20w48a|Bundles now show fullness as a number when [[advanced tooltips]] are enabled.
|{{ctrl|Using}} a bundle in the inventory now empties one item from the bundle instead of emptying all the contents out to the [[inventory]].
|{{ctrl|Using}} a bundle now throws out its entire content into the world.}}
{{History|||snap=20w49a|Bundle fullness is now always shown.
|Full bundles now show the blue bar instead of hiding it, to distinguish from empty bundles.}}
{{History|||snap=20w51a|Bundles now drop its contents when destroyed as an [[Item (entity)|item entity]].
|Bundle fullness has been changed from <code>Fullness: ''<fullness>'' / 64</code> to <code>''<fullness>''/64</code>
|The slots in the tooltip when hovering over bundles have changed to have a border, and rows of slot have a thicker edge between them.
|When the bundle is not full, it instead shows empty slots instead of one slot with a plus. When it is full, those empty slots become greyed out with an X.}}
{{History|||snap=21w05a|The player now receives a tutorial when first having a bundle in the inventory.}}
{{History|||snap=21w19a|Bundles are now accessible only through commands.}}
{{History||1.18|snap=Experimental Snapshot 1|Bundles are now available in the creative inventory and can be crafted once again.}}
{{History|||snap=21w37a|Bundles are once again accessible only through commands.}}
{{History||1.19.3|snap=22w42a|Bundles have been made available once again, and have been moved behind their own datapack.}}
{{h|bedrock}}
{{h||1.19.50|snap=beta 1.19.50.21|Added bundle GUI textures in the Vanilla Packs.}}
{{History|foot}}
== Issues ==
{{Issue list}}
== Gallery ==
<gallery>
JE 1.17 Development Bundle.png|The original bundle UI
Bundle in Inventory.jpg|A bundle inventory in the inventory
</gallery>
== References ==
{{Reflist}}
{{Items}}
[[Category:Storage]]
[[Category:Tools]]
[[Category:Renewable resources]]
[[de:Bündel]]
[[es:Saco]]
[[fr:Sac]]
[[ja:バンドル]]
[[pl:Sakwa]]
[[pt:Trouxa]]
[[ru:Мешок]]
[[zh:收纳袋]]</li></ul></nowiki> | 18w01a | Added a data generator to both the Minecraft client and the default multiplayer software. | |||
1.14{{Extension DPL}}<ul><li>[[Written Book|Written Book]]<br/>{{Item
| title = Written Book
| image = Written Book.gif
| renewable = Yes
| stackable = Yes (16)
}}
A '''written book''' is an [[item]] created after a [[book and quill]] is signed.
== Obtaining ==
=== Signing a book and quill ===
Written books can be obtained by signing a [[book and quill]]. After it has been signed, it cannot be edited again. The label does not say "Written Book", but whatever the [[player]] titles it. The title appears on the top line of the label, and "by <''player''>" (the player's username) on the bottom. {{IN|bedrock}}, this is customizable without [[commands]].
=== Copying ===
{{crafting
|name=Written Book
|showdescription=1
|;;;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill
|;;;;Book and Quill;Book and Quill;Book and Quill;Book and Quill
|;;;;;Book and Quill;Book and Quill;Book and Quill
|Book and Quill
|Written Book
|;;;;;;Book and Quill;Book and Quill
|;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill
|;;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill
|;;;;;;;Book and Quill
|Output= Written Book; Written Book,2; Written Book,3; Written Book,4; Written Book,5; Written Book,6; Written Book,7; Written Book,8
|description=The input written book is not consumed.<br>The new copies are "Copy of Original" or "Copy of Copy", depending on whether the input written book is "Original" or "Copy of Original".<br>Copies of copies cannot be copied.<br>Copied books of the same generation ("Original", "Copy of Original", "Copy of Copy", or "Tattered") stack.
|type=Miscellaneous
}}
== Usage ==
Written books can be opened by right-clicking (or holding down on the screen {{in|bedrock}}), and display a GUI allowing the [[player]] to read it or turn the page.
The contents of a book are an extra set of data attached to the item. This means that when a book is destroyed, its contents are lost with it.
=== Lecterns ===
One can place a [[written book]] on an empty [[lectern]].
The lectern then emits a redstone signal depending on the displayed page in the book. On the last page, the lectern emits a signal strength of 15.
=== Chiseled bookshelf ===
{{control|Use|text=Using}} the [[chiseled bookshelf]] while having a written book in the main hand will put the book inside the chiseled bookshelf.
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|subtitle=Page rustles
|source=master
|description=When the page of a book is turned
|id=item.book.page_turn
|translationkey=subtitles.item.book.page_turn
|volume=2.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|subtitle=Page rustles
|source=block
|description=When the page of a book is turned on a lectern
|id=item.book.page_turn
|translationkey=subtitles.item.book.page_turn
|volume=2.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|subtitle=Book thumps
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|translationkey=subtitles.item.book.put
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|subtitle=Book placed
|source=block
|description=When a written book is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert
|translationkey=subtitles.chiseled_bookshelf.insert
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|subtitle=Book taken
|source=block
|description=When a written book is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup
|translationkey=subtitles.chiseled_bookshelf.take
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|source=sound
|description=When the page of a book is turned
|id=item.book.page_turn
|volume=2.0
|pitch=1.0}}
{{Sound table
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|volume=4.8
|pitch=1.0}}
{{Sound table
|type=bedrock
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|source=block
|description=When a written book is placed in a chiseled bookshelf
|id=insert.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.85, or 1.1 for each sound</ref>}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|source=block
|description=When a written book is removed from a chiseled bookshelf
|id=pickup.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}
== Data values ==
=== ID ===
{{JE}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Written Book
|spritetype=item
|nameid=written_book
|itemtags=bookshelf_books, lectern_books
|form=item
|foot=1}}
{{BE}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Written Book
|spritetype=item
|nameid=written_book
|id=511
|itemtags=minecraft:bookshelf_books, minecraft:lectern_books
|form=item
|foot=1}}
=== Item data ===
{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Written Books}}
</div>
{{el|bedrock}}:
: See [[Bedrock Edition level format/Item format]].
== History ==
{{History|java}}
{{History||1.3.1|snap=12w17a|[[File:Written Book JE1 BE1.png|32px]] Added written books.}}
{{History|||snap=12w21a|Written books can now be [[trading|sold]] to librarian [[villager]]s, at 1 written book for 1 [[emerald]].}}
{{History||1.7.2|snap=13w36a|Written books can now be cloned the same way [[map]]s can, but by using [[book and quill|books and quills]] instead of Empty Maps. Multiple copies of the same written book can be cloned by putting more book and quills in the crafting grid.
|Written books can now be stacked (up to 16 per stack).}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: librarian [[villager]]s now [[trading|buy]] 2 written books for 1 [[emerald]].}}
{{History|||snap=14w05a|Copying written books now mark them as "Copy of Original" or "Copy of Copy". The copying status of a book is denoted in a separate line in the tooltip, beneath the author's name. Copies of copies cannot be copied.}}
{{History||1.9|snap=15w33c|A written book titled "Work in Progress" now generates within a [[hopper]] as a part of the [[end ship]] in the [[end cities]]. It reads: "We will have something else here soon..." and is signed by [[Searge]].}}
{{History|||snap=15w41a|End ships no longer contain a written book.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 387.}}
{{History||1.14|snap=18w43a|[[File:Written Book JE2 BE2.png|32px]] The texture of written books has been changed.}}
{{History|||snap=19w02a|Written books can now be held on [[lectern]]s.}}
{{History|||snap=19w11a|Librarian [[villager]]s no longer [[trading|buy]] written books.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Written books can now interact with [[chiseled bookshelves]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Written Book JE1 BE1.png|32px]] Added written books.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Written Book JE2 BE2.png|32px]] The texture of written books has been changed.
|Written books can now be held on [[lectern]]s.}}
{{History|console}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|wiiu=Patch 1|[[File:Written Book JE1 BE1.png|32px]] Added written books.}}
{{History|PS4}}
{{History||1.90|[[File:Written Book JE2 BE2.png|32px]] The texture of written books has been changed.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
*When written books are obtained with [[commands]] (without the correct [[Player.dat format#Written Books|data tag]]), the label shows "Written Book" and has the text "*Invalid book tag*" when opened. The book is signed and cannot be edited without commands.
*Commands that were added to a written book using serialized JSON objects are executed through the chat system. This means that any command added to a written book can't be longer than 256 characters, which is the maximum chat line limit.
*During the 2020 April Fools Update [[Java Edition 20w14∞]], throwing a written book into a lit [[Nether Portal (block)|nether portal]] would create a portal to one of the 2,147,483,645 new dimensions.
== Gallery ==
<gallery>
Written Book tooltip.png|A signed book.
Test by Dinnerbone.png|Copying a signed book.
BookandQuillOperators12w17a.png|Different types of characters can be used to simulate a different font.
JSON Book.png|First image of a book using JSON text.
No NBT written book GUI.png|A no NBT written book using commands.
Book Background (JE).png|Java Edition book background texture.
Book Background (BE).png|Bedrock Edition book background texture.
Book Arrowleft (JE).png|Java Edition left arrow texture.
Book Arrowright (JE).png|Java Edition right arrow texture.
Book Arrowleft (BE).png|Bedrock Edition left arrow texture.
Book Arrowright (BE).png|Bedrock Edition Right arrow texture.
</gallery>
== See also ==
*[[Book]]
*[[Bookshelf]]
*[[Book and Quill]]
{{Items}}
[[Category:Renewable resources]]
[[cs:Napsaná kniha]]
[[es:Libro escrito]]
[[fr:Livre édité]]
[[hu:Megírt könyv]]
[[it:Libro]]
[[ja:記入済みの本]]
[[ko:글이 쓰인 책]]
[[nl:Geschreven boek]]
[[pl:Zapisana książka]]
[[pt:Livro escrito]]
[[ru:Написанная книга]]
[[uk:Написана книга]]
[[zh:成书]]</li><li>[[Minecart with TNT|Minecart with TNT]]<br/>{{ItemEntity
|image=Minecart with TNT.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]:''' 10
|drops=
;If not exploded
: 1 {{ItemLink|Minecart with TNT}}
|health={{hp|6}}
}}
A '''minecart with TNT''' is a block of [[TNT]] inside a [[minecart]]. Unlike normal TNT it can detonate instantly under certain conditions and its damage and blast radius is increased by its speed when it detonates.
== Obtaining ==
=== Crafting ===
{{Crafting
|Output= Minecart with TNT
|type= Transportation
|TNT|Minecart}}
Minecarts with TNT can be retrieved by attacking them, and by doing so it drops as an [[item]].
== Usage ==
[[File:TNT minecart and powered activator rail.png|thumb|right|When the TNT minecart passes over the powered activator rail, it explodes after four seconds.]]
[[File:Simple TNT minecart detonator setup.png|thumb|right|Placing two TNT minecarts on the rail and powering it (here, by flicking the lever) creates an instant explosion.]]
[[File:TNT minecart roof trap.png|thumb|right|Destroying the gold block causes the TNT minecart to fall down and instantly explode.]]
A minecart with TNT detonates after a delay on these conditions:
* It moves over a powered [[activator rail]].
* It is destroyed while in motion (except by a player in Creative mode).
* It is destroyed by fire, lava, or an explosion.
*{{IN|java}}, it is hit by a [[fire charge]].
The delay is {{convert|4|seconds|ticks}} for an activator rail, like the TNT block. For other causes there is a random delay between 0 and 1.9 seconds, but more likely to be close to 1.
It detonates instantly on these conditions:
* It hits the ground with a downward velocity of it falling more than three blocks, unless landing on any form of rail.
* It turns on a curved track too fast, with a solid block or entity located beside the track (in the previous movement direction).
* It is hit by a flaming arrow.
* It is pressed into a block or entity and has velocity.
Upon detonation it acts as normal TNT, [[exploding]] and damaging nearby blocks, players, and entities. Upon detonation after activating on activator rail, it does not destroy its rails and the blocks the rail is on, however other nearby carts can.{{only|java}} More than one minecart can be placed on the same rail block, allowing many of them to fit into a single block. They explode when touched, dealing large amounts of damage.
The explosion has a base [[Explosion#Explosion strength|power]] of 4, the same as regular TNT, but the game also adds a random bonus value up to 1.5 times velocity, but no higher than 7.5. This means that with a speed of 5 or higher the power will be a random value between 4 and 11.5. When triggered by an activator rail or by damage, the bonus value is calculated using the horizontal velocity of the minecart. When hit by a flaming arrow the velocity of the arrow is used instead. When triggered by fall damage, the fall distance divided by 10 is used.
Minecarts with TNT bounce off of other minecarts and cannot be linked to [[minecarts with furnace]]s.
== Sounds ==
{{Edition|Java}}:<br>
Minecarts with TNT use the Friendly Creatures sound category for entity-dependent sound events.<ref group=sound name=rollsource>{{bug|MC-42132}}</ref>
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls
|source=Friendly Creatures <ref group=sound name=rollsource/>
|overridesource=1
|description=While a minecart with TNT is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16}}
{{Sound table
|sound=Fuse.ogg
|subtitle=TNT fizzes
|source=block
|description=When a minecart with TNT is primed
|id=entity.tnt.primed
|translationkey=subtitles.entity.tnt.primed
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|subtitle=Explosion
|source=block
|description=When a minecart with TNT explodes
|id=entity.generic.explode
|translationkey=subtitles.entity.generic.explode
|volume=4.0
|pitch=0.56-0.84
|distance=16
|foot=1}}
{{Edition|Bedrock}}:<ref group=sound>{{Bug|MCPE-35778||Minecart with tnt does not have the sound of tnt being ignited when we use flint and steel, fire charge or activator rail}}</ref>
{{Sound table
|type=bedrock
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart with TNT is moving
|id=minecart.base}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=block
|description=When a minecart with TNT explodes
|id=random.explode
|volume=4.0
|pitch=1.0
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Minecart with TNT
|spritetype=item
|nameid=tnt_minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Minecart with TNT
|spritetype=entity
|nameid=tnt_minecart
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with TNT
|spritetype=item
|nameid=tnt_minecart
|id=525
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with TNT
|spritetype=entity
|nameid=tnt_minecart
|id=97
|foot=1}}
=== Entity data ===
Minecarts with TNT 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]].
== Video ==
<div style="text-align:center">{{yt|1yNgY913tps}}</div>
== History ==
{{History|java}}
{{History||1.5|snap=13w02a|[[File:Minecart_with_TNT_JE1_BE1.png|32px]] [[File:Minecart_with_TNT_(item)_JE1_BE1.png|32px]] Added minecart with TNT.}}
{{History|||snap=13w03a|Minecart with TNT no longer destroys nearby [[rail]]s and rail supports during [[explosion]].<ref>{{bug|MC-6833}}</ref>}}
{{History||1.8|snap=14w11a|Minecart with TNT explosions no longer stack.<!--reverted in 17a like other changes in 11a?-->}}
{{History|||snap=14w26a|Minecart with TNT can now be detonated using [[arrow]]s on fire.}}
{{History||1.11|snap=16w32a|The [[entity]] ID for minecart with TNT has been changed from <code>MinecartTNT</code> to <code>tnt_minecart</code>.}}
{{History||1.12|snap=1.12-pre6|No longer instantly explode when hit with [[fire charge]]s; instead, they explode as if primed by an [[activator rail]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 407.}}
{{History||1.14|snap=18w43a|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The textures of minecart with TNT have been updated.}}
{{History|||snap=19w11a|Minecart with TNT explosions now have a 100% drop rate.}}
{{History||1.15|snap=19w38a|[[File:Minecart with TNT 19w38a.png|32px]] The TNT now appear dark, same as suffocating mobs.}}
{{History|||snap=19w39a|The TNT texture now colored correctly.}}
{{History||1.15|snap=Pre-release 1|[[File:Minecart with TNT JE3.png|32px]] The [[model]] of minecart with TNT has been changed.<ref>{{bug|MC-165971}}</ref>}}
{{History|||snap=Pre-release 3|[[File:Minecart with TNT JE2 BE2.png|32px]] The model of minecart with TNT has been changed back to the [[Java Edition 18w43a|18w43a]] model.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with TNT is now shapeless.
|Breaking a minecart with TNT will now drop the item instead of the minecart and TNT separately.<ref>{{bug|MC-249493|||Fixed}}</ref>}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|The [[entity]] ID has been changed from <code>minecarttnt</code> to <code>tnt_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The textures of minecart with TNT have been updated.}}
{{History||1.19.0|snap=beta 1.19.0.30|Breaking a minecart with TNT will now drop the item instead of the minecart and TNT separately.}}
{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The textures of minecart with TNT have been updated.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.
|Minecart with TNT emits smoke [[particle]]s when destroyed.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* A direct hit from three merged [[minecart]]s with [[TNT]] can reduce a fully [[diamond]] [[armor]]ed player to half a heart.<ref>{{tweet|dinner|289532985340993536|Haha, oops... Nuclear minecarts! (mature language)|January 10, 2013}}</ref> However, if the TNT minecarts explode, they do not destroy any [[rail]]s.
== Gallery ==
<gallery>
File:First TNT Minecart Image.jpg|The first image of minecarts with TNT, released by Dinnerbone.<ref>{{tweet|dinner|288302629803683840|Those blasted pigs have taken the village. We've ran out of options; we must stop them from spreading further!|January 7, 2013}}</ref><ref>{{tweet|dinner|288304442560880643|(Mirror: <nowiki>[imgur link])|January 7, 2013}}</ref> (One can be seen in the lower-left corner.)
File:First TNT Minecart Image ZOOM.jpg|A more zoomed in image.
File:Minecart-with-tnt.png|Minecart with TNT and activator rail for detonation.
File:13w02a Banner.png|The 13w02a banner, with a minecart with TNT and a [[hopper]].
File:Dinnerbone safe boom1.jpg|Dinnerbone showing how minecarts with TNT have controlled explosions.<ref>{{tweet|dinner|291212723755307009|What's the point of properly activating TNT carts if they just blow up your tracks? Let me answer that with an album!|January 15, 2013}}</ref>
File:Dinnerbone safe boom 2.png|Primed minecart with TNT.
File:Dinnerbone safe boom 3.jpg|Explosion from a minecart with TNT. (The "bridge" of rails is left undestroyed by the explosion.)
</gallery>
== References ==
{{reflist}}
{{items}}
{{entities}}
[[Category:Mechanics]]
[[cs:Vozík s TNT]]
[[de:TNT-Lore]]
[[es:Vagoneta con dinamita]]
[[fr:Wagonnet à TNT]]
[[it:Carrello da miniera]]
[[ja:TNT付きのトロッコ]]
[[ko:TNT가 실린 광산 수레]]
[[nl:Mijnkar met TNT]]
[[pl:Wagonik z TNT]]
[[pt:Carrinho de mina com dinamite]]
[[ru:Вагонетка с ТНТ]]
[[uk:Вагонетка з динамітом]]
[[zh:TNT矿车]]</li></ul></nowiki> | 19w08a | String tags in SNBT can now be within single quotes ' in addition to double quotes ".[5] | |||
References
- ↑ http://web.archive.org/web/20110723210920/http://www.minecraft.net/docs/NBT.txt specification
- ↑ https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html#writeUTF-java.lang.String-
- ↑ http://www.mojang.com/2012/02/new-minecraft-map-format-anvil/
- ↑ https://wiki.vg/Data_Generators#NBT_converters
- ↑ "Allow single quote in strings by boq · Pull Request #52" – Mojang/brigadier – GitHub.
External links
- NBT on wiki.vg
- NBTExplorer, a tool for viewing and editing NBT files.
- webNBT, an online tool for viewing and editing NBT files.