Minecraft Wiki
m (unnecessary intensifier)
(Changed two Wikipedia links to avoid redirects)
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{about|the NBT file format|using NBT in commands|Tutorials/Command NBT tags}}
 
{{about|the NBT file format|using NBT in commands|Tutorials/Command NBT tags}}
The '''Named Binary Tag''' ('''NBT''') format is used by ''Minecraft'' for the various files in which it saves data. The format is described by Notch in a brief specification.<ref>http://web.archive.org/web/20110723210920/http://www.minecraft.net/docs/NBT.txt specification</ref> The format is designed to store data in a tree structure made up of various ''tags''. All tags have an ID and a name. The original known version was 19132 as introduced in [[Beta 1.3]], and since then has been updated to 19133 with the [[Anvil file format]], whichs adds the {{cd|Int Array}} tag. The NBT format dates all the way back to [[Indev]] with tags 0 to 10 in use.
+
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.<ref>http://web.archive.org/web/20110723210920/http://www.minecraft.net/docs/NBT.txt specification</ref> The format is designed to store data in a tree structure made up of various ''tags''. All tags have an ID and a name. The original known version was 19132 as introduced in [[Beta 1.3]], and since then has been updated to 19133 with the [[Anvil file format]], which adds the {{cd|Int Array}} tag. The NBT format dates all the way back to [[Indev]] with tags 0 to 10 in use.
   
 
Another more user-friendly format of NBT is in plain string, as used in [[command]]s. This format is referred to as '''SNBT''', short for '''stringified NBT'''. It is different from the [[JSON]] format; hence, any JSON used in NBT, such as [[Commands#Raw JSON text|raw JSON text]], must be enclosed within a {{nbt|string}} string tag.
 
Another more user-friendly format of NBT is in plain string, as used in [[command]]s. This format is referred to as '''SNBT''', short for '''stringified NBT'''. It is different from the [[JSON]] format; hence, any JSON used in NBT, such as [[Commands#Raw JSON text|raw JSON text]], must be enclosed within a {{nbt|string}} string tag.
Line 62: Line 62:
 
| <code><number>f</code> or <code><number>F</code>
 
| <code><number>f</code> or <code><number>F</code>
 
| A signed floating point type.
 
| A signed floating point type.
| Precision varies throughout number line;<br>See [[wikipedia:Single precision floating-point format|Single-precision floating-point format]]. Maximum value about 3.4*10<sup>38</sup>
+
| Precision varies throughout number line;<br>See [[wikipedia:Single-precision floating-point format|Single-precision floating-point format]]. Maximum value about 3.4*10<sup>38</sup>
 
|-
 
|-
 
| style="text-align:center" | '''6'''
 
| style="text-align:center" | '''6'''
Line 70: Line 70:
 
| <code><decimal number></code>, <code><number>d</code> or <code><number>D</code>
 
| <code><decimal number></code>, <code><number>d</code> or <code><number>D</code>
 
| A signed floating point type.
 
| A signed floating point type.
| Precision varies throughout number line;<br>See [[wikipedia:Double precision floating-point format|Double-precision floating-point format]]. Maximum value about 1.8*10<sup>308</sup>
+
| Precision varies throughout number line;<br>See [[wikipedia:Double-precision floating-point format|Double-precision floating-point format]]. Maximum value about 1.8*10<sup>308</sup>
 
|-
 
|-
 
| style="text-align:center" | '''7'''
 
| style="text-align:center" | '''7'''
Line 83: Line 83:
 
| style="text-align:center" | {{nbt|string}}
 
| style="text-align:center" | {{nbt|string}}
 
| TAG_'''String'''
 
| TAG_'''String'''
| TAG_Short's payload ''length'', then a UTF-8 string with size ''length''.
+
| A TAG_Short-like, but instead unsigned<ref>https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html#writeUTF-java.lang.String-</ref> payload ''length'', then a UTF-8 string resembled by ''length'' bytes.
 
| <code><a-zA-Z0-9 text></code>, <code>"<text>"</code> ({{cd|"}} within needs to be escaped to {{cd|\"}}), or <code>'<text>'</code> ({{cd|'}} within needs to be escaped to {{cd|\'}})
 
| <code><a-zA-Z0-9 text></code>, <code>"<text>"</code> ({{cd|"}} within needs to be escaped to {{cd|\"}}), or <code>'<text>'</code> ({{cd|'}} within needs to be escaped to {{cd|\'}})
 
| A UTF-8 string. It has a size, rather than being null terminated.
 
| A UTF-8 string. It has a size, rather than being null terminated.
| 32,767 bytes interpretable as UTF-8 (see [[wikipedia:UTF-8|UTF-8 format]]; most commonly-used characters are a single byte).
+
| 65,535 bytes interpretable as UTF-8 (see [[wikipedia:UTF-8#Modified_UTF-8|modified UTF-8 format]]; most commonly-used characters are a single byte).
 
|-
 
|-
 
| style="text-align:center" | '''9'''
 
| style="text-align:center" | '''9'''
Line 123: Line 123:
   
 
== File format ==
 
== File format ==
An NBT file is a zipped Compound tag, with the name and tag ID included. Some of the files utilized by ''Minecraft'' may be uncompressed, but in most cases the files follow Notch's original specification and are compressed with GZip. In the [[Legacy Console Edition]], [[chunks]] are compressed with XMemCompress, a variation of an LZX compression algorithm. There is no header to specify the version or any other information; only the <samp>[[level.dat]]</samp> file specifies the version.
+
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 ==
 
== Usage ==
Line 134: Line 134:
   
 
=== Uses ===
 
=== Uses ===
{{info needed section|type=code|Add Bedrock Edition information}}
+
{{missing information|section|Bedrock Edition NBTs|type=code}}
 
* <samp>[[level.dat]]</samp> is stored in compressed NBT format.
 
* <samp>[[level.dat]]</samp> is stored in compressed NBT format.
 
* <samp>[[Player.dat format|<''player''>.dat]]</samp> files are stored in compressed NBT format.
 
* <samp>[[Player.dat format|<''player''>.dat]]</samp> files are stored in compressed NBT format.
Line 152: Line 152:
 
The data generator from ''Minecraft'' is able to convert uncompressed Stringified NBT files with <samp>.snbt</samp> extension in an input folder to GZip compressed NBT format files with <samp>.nbt</samp> extension in an output folder, and vice versa.
 
The data generator from ''Minecraft'' is able to convert uncompressed Stringified NBT files with <samp>.snbt</samp> extension in an input folder to GZip compressed NBT format files with <samp>.nbt</samp> extension in an output folder, and vice versa.
   
The vanilla data generator can convert any GZip compressed NBT format to SNBT format. The file extension of a file can simply be changed, such as [[<samp>level.dat</samp>]] to <samp>level.nbt</samp> and put in the input folder, and the generator then decodes the GZip compressed NBT data.
+
The vanilla data generator can convert any GZip compressed NBT format to SNBT format. The file extension of a file can simply be changed, such as <samp>[[level.dat]]</samp> to <samp>level.nbt</samp> and put in the input folder, and the generator then decodes the GZip compressed NBT data.
   
 
== History ==
 
== History ==

Revision as of 14:33, 8 February 2021

This article is about the NBT file format. For using NBT in commands, see Tutorials/Command NBT tags.

The Named Binary Tag (NBT) format is used by Minecraft for the various files in which it saves data. The format is described by Notch in a 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

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.

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>[[Cyan Dye|Cyan Dye]]<br/>{{Item
| image = Cyan Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Cyan dye''' is a [[Dyeing#Secondary|secondary dye color]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showdescription=1
  |showname=0
  |Blue Dye
  |Green Dye
  |Output=Cyan Dye,2
  |type=Material
}}
{{Crafting
  |Lapis Lazuli
  |Green Dye
  |Output=Cyan Dye,2
  |description={{only|bedrock|education}}
  |type=Material
}}
{{Crafting
  |Pitcher Plant
  |Output=Cyan Dye,2
  |description=
  |type=Material
  |foot=1
}}

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

=== Loom ingredient ===
{{Banner loom usage|Cyan Dye}}

=== Trading ===
{{IN|bedrock}}, journeyman-level shepherd villagers have 20% chance to buy 12 cyan dye for an emerald.
{{More info|java=1|Java UI does not use a specific trade slot, which results in a different chance to offer this trade.}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cyan Dye
|spritetype=item
|nameid=cyan_dye
|aliasid=dye / 6
|id=401
|form=item
|translationkey=item.dye.cyan.name
|foot=1}}

== History ==

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

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Cyan Dye JE1 BE1.png|32px]] Added cyan dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Cyan dye is now craftable with [[lapis lazuli]] and [[cactus green]].
|Cyan dye can now be used to craft cyan wool.}}
{{History||v0.6.0|Cyan dye can now be used to dye [[sheep]].}}
{{History||v0.9.0|snap=build 11|Cyan dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Cyan dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Cyan dye can now be used to dye water in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cyan dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cyan dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cyan dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cyan dye can now be used to craft [[balloon|ballons]] and [[glow stick|glow sticks]].}}
{{History||1.8.0|snap=beta 1.8.0.8|Cyan dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Cyan dye are now [[trading|sold]] by [[wandering trader]]s.
|Cyan dye can now be used to dye white [[carpet|carpets]] and undyed [[glass pane]]s.
|[[File:Cyan Dye.png|32px]] The texture of cyan dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cyan dye can be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cyan dye has been changed from <code>dye/6</code> to <code>cyan_dye</code>.}}

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

{{History|new 3ds}}
{{History||0.1.0|[[File:Cyan Dye JE1 BE1.png|32px]] Added cyan dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

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

[[cs:Azurové barvivo]]
[[de:Türkiser Farbstoff]]
[[es:Tinte cian]]
[[fr:Teinture cyan]]
[[hu:Ciánkék festék]]
[[ja:青緑色の染料]]
[[ko:청록색 염료]]
[[nl:Turquoise kleurstof]]
[[pl:Błękitny barwnik]]
[[pt:Corante ciano]]
[[ru:Бирюзовый краситель]]
[[zh:青色染料]]</li><li>[[Campfire|Campfire]]<br/>{{Block
| image = <gallery>
Campfire.gif|Campfire
Soul Campfire.gif|Soul Campfire
Unlit Campfire.png|Unlit
</gallery>
| image2 = <gallery>
Campfire (item) JE2.png|Campfire
Soul Campfire (item) JE2.png|Soul Campfire
</gallery>
| invimage = Campfire
| invimage2 = Soul Campfire
| transparent = No
| light = '''Campfire''': <br>Yes (15) when lit<br>'''Soul Campfire''': <br>Yes (10) when lit
| tool = axe
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = Yes
}}
A '''campfire''' is a block that can be used to cook [[food]], pacify [[bee]]s, act as a spread-proof [[light source]], smoke signal or damaging trap block.

A '''soul campfire''' is a dimmer variant of the campfire with turquoise flames. Soul campfires deal more damage than normal campfires.

== Obtaining ==
=== Breaking ===
Campfires can be mined with any tool, or without a tool, but [[axe]]s are the fastest. A regular campfire drops 2{{only|java|short=1}} or 4{{only|bedrock|short=1}} [[charcoal]], a soul campfire drops [[soul soil]], and either one also drops any items placed on it. If mined with a tool enchanted with [[Silk Touch]], the campfire instead drops itself as an item.

{{IN|BE}}, either kind of campfire can also be broken by pushing it with a [[piston]] or [[sticky piston]]. Pistons cannot move or break campfires {{in|je}}.

{{breaking row
|Campfire, Soul Campfire
|axe
|horizontal=1}}

=== Natural generation ===
Campfires can generate in {{BiomeLink|taiga}} and {{BiomeLink|snowy taiga}}{{only|be}} [[village]]s.

Campfires also generate in camps inside [[ancient city|ancient cities]], beneath a pile of blue, light blue and cyan [[wool]] blocks.

=== Crafting ===
{{Crafting
|head=1
|B1= Stick
|A2= Stick
|B2= Coal; Charcoal
|C2= Stick
|A3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|B3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|C3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|Output= Campfire
|type= Decoration block
}}
{{Crafting
|foot=1
|B1= Stick
|A2= Stick
|B2= Soul Sand; Soul Soil
|C2= Stick
|A3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|B3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|C3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|Output= Soul Campfire
|type= Decoration block
}}

=== Trading ===
{{IN|bedrock}}, apprentice-level fisherman [[villager]]s have a 50% chance of selling a campfire for 5 [[emerald]]s.

{{IN|java}}, apprentice-level fisherman villagers have a {{frac|2|3}} chance of selling a campfire for 2 [[emerald]]s.

== Usage ==
Lit campfires emit a light level of 15 and lit soul campfires emit a light level of 10. Unlike [[fire]], campfires do not spread under any circumstances.

Campfires are lit by default when placed. Campfires can be manually lit by {{control|using}} or [[Dispenser|dispensing]] [[flint and steel]] on them, shooting it with a flaming arrow, or using or dispensing fire charges, blaze fireballs, and ghast fireballs when {{cmd|gamerule|mobGriefing}} is true. {{IN|bedrock}}, campfires can also be lit by {{control|using}} an item enchanted with [[fire aspect]], or stepping on it while burning. 

Campfires can be extinguished by [[waterlogging]] it (placing [[water]] in the same block space), throwing a [[splash water bottle]] on it, or {{control|using}} a [[shovel]] on it. {{IN|bedrock}}, campfires can also be extinguished by placing a water source or allowing water to flow in the space above the campfire. As with [[torches]], rain does not extinguish campfires.<ref>{{bug|MC-141920||Rain doesn't put out campfire|Works as Intended}}</ref>

Using [[flint and steel]] on the side of a waterlogged or lit campfire sets the adjacent air block on fire instead.

Any items cooking on a campfire always drop when the campfire block is broken.

=== Particles and smoke signals ===
[[File:Campfire with smoke.gif|thumb|Campfire emitting smoke.]]
Campfires produce smoke particles that float up around 10 blocks before disappearing. If a [[hay bale]] is placed below, the campfire becomes a signal fire and the smoke floats up 24 blocks instead.

Campfire smoke particles can partially pass through a block directly above it, but do not pass through blocks more than one block directly above it.

Although a trap door is thinner than a slab, a trap door can block the smoke completely, preventing the smoke from floating up.

Campfires emit extra smoke particles during rain, similar to [[lava]].

Campfires also emit occasional ember particles, similar to lava. Soul campfires, however, do not emit embers.<ref>{{bug|MC-185482||Soul campfires do not emit ember particles|Works as Intended}}</ref>

=== Damage ===

Campfires damage [[mob]]s standing on top of them even if underwater (with exceptions such as [[shulker]]s, [[zombified piglin]]s or [[guardian]]s), but only if lit. Campfires deal {{hp|1}} and soul campfires deal {{hp|2}} of damage every tick (although [[damage immunity]] reduces this to once every half-second) Campfires do not cause lasting burning or destroy items. Damage taken is considered [[Damage#Fire|fire damage]] and is reduced by [[armor]] (which loses [[Item durability#Armor durability|durability]]), the [[Resistance]] potion effects, and the [[Protection]] and [[Fire Protection]] enchantments. The player can avoid being damaged at all, either by using a [[potion of fire resistance]] or wearing [[Frost Walker]] boots.

Regardless of [[Solid block#Height|height]], all blocks prevent damage done to mobs or players above campfires. The campfire deals damage only to entities occupying its block.

=== Cooking ===
[[File:Campfire (Cooking).gif|thumb]]
The player can place {{tooltip|raw food|raw beef, raw chicken, raw rabbit, raw porkchop, raw mutton, raw cod, raw salmon, potato, kelp}} on a lit campfire by {{control|using}} the food item on it. Up to four food items can be placed on a single campfire, which cooks the items simultaneously. Unlike other blocks that can cook food, campfires do not require any kind of fuel to cook. On a campfire, foods produce small smoke particles, indicating they are being cooked. Food items take 30 seconds (600 [[tick]]s) to cook, compared to 10 seconds for [[furnace]]s or 5 seconds for [[smoker]]s. Assuming that one uses all four slots to cook at once, the Campfire is, therefore, more efficient than furnaces (taking 10 seconds less per four items and no fuel) for cooking, but must be watched so as to pick up the food and refill it once it is done. It is slower than a smoker by about ten seconds, but its lack of fuel consumption could be seen as a worthwhile trade-off. Once finished cooking, items pop off the campfire. If the campfire is extinguished while cooking food, it resets as if it had not been cooked at all. Food items can be placed on an unlit campfire. 

Other items can be placed on campfires using external editors, mods or add-ons.

=== Hoppers ===
Campfires do not have an [[Inventory#External inventories|external inventory]]. Raw food cannot be loaded into the campfire with a [[hopper]].

A hopper placed directly underneath a campfire pulls through any items dropped into the campfire. Any drops from a mob that dies in the campfire get pulled into the hopper.

=== Bees ===
Placing a campfire under a [[beehive]] or [[bee nest]] allows players to harvest [[honey bottle]]s or [[honeycomb]] without provoking the [[bee]]s.
There must be unobstructed air between the campfire and the beehive or bee nest. [[Carpet]]s are an exception.{{only|JE}}

=== Piglins ===
Lit soul campfires repel [[piglin]]s that are not currently attacking. This occurs when the [[piglin]] is within an 8 block radius of the soul campfire.

=== Light source ===
Standard lit campfires emit a light level of 15, while soul campfires emit a light level of 10. Like most other sources of light, campfires melt nearby [[snow]] and [[ice]]. Due to their lower light level, soul campfires do not melt snow or ice.

=== Note blocks ===
Campfires can be placed under [[note block]]s to produce "bass" sounds.

=== Converting soul sand to soul soil ===
Soul campfires can be used to convert [[soul sand]] into [[soul soil]]. If a soul campfire is crafted using soul sand, placed, and then broken without [[Silk Touch]], that soul campfire drops soul soil.<ref>{{bug|MC-178579||Soul campfires can be used to convert soul sand into soul soil|Works as Intended}}</ref>

=== Piston interactivity ===
{{IN|BE}}, pushing a campfire or soul campfire with a [[piston]] or [[sticky piston]] breaks it. Unlike other methods, breaking with a piston drops only one [[charcoal]] instead of two. Campfires cannot be pulled by sticky pistons.

{{IN|JE}}, pistons do not interact with campfires. Campfires neither move nor break when pushed or pulled by pistons.

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

=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Campfire crackle1.ogg
|sound2=Campfire crackle2.ogg
|sound3=Campfire crackle3.ogg
|sound4=Campfire crackle4.ogg
|sound5=Campfire crackle5.ogg
|sound6=Campfire crackle6.ogg
|subtitle=Campfire crackles
|source=block
|description=Randomly while lit
|id=block.campfire.crackle
|translationkey=subtitles.block.campfire.crackle
|volume=0.5-1.5
|pitch=0.6-1.3
|distance=16}}
{{Sound table
|sound=Flint and steel click.ogg
|subtitle=Flint and steel click
|source=block
|description=When a campfire is lit with a flint and steel
|id=item.flintandsteel.use
|translationkey=subtitles.item.flintandsteel.use
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Ghast fireball4.ogg
|subtitle=Fireball whooshes
|source=block
|description=When a campfire is lit with a fire charge
|id=item.firecharge.use
|translationkey=subtitles.item.firecharge.use
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|rowspan=2
|sound=Fizz.ogg
|subtitle=Fire extinguishes
|source=block
|description=When a campfire is extinguished with water
|id=entity.generic.extinguish_fire
|translationkey=subtitles.entity.generic.extinguish_fire
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Fire extinguished
|source=block
|description=When a campfire is extinguished
|id=block.fire.extinguish
|translationkey=subtitles.block.fire.extinguish
|volume=0.5
|pitch=2.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Campfire crackle1.ogg
|sound2=Campfire crackle2.ogg
|sound3=Campfire crackle3.ogg
|sound4=Campfire crackle4.ogg
|sound5=Campfire crackle5.ogg
|sound6=Campfire crackle6.ogg
|source=block
|description=Randomly while lit
|id=block.campfire.crackle
|volume=1.0 {{Until|BE 1.19.80}}<br>0.5-1.5 {{Upcoming|BE 1.19.80}}
|pitch=1.0 {{Until|BE 1.19.80}}<br>0.6-1.3 {{Upcoming|BE 1.19.80}}}}
{{Sound table
|sound=Flint and steel click.ogg
|source=block
|description=When a campfire is lit
|id=fire.ignite
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|sound=Ghast fireball4.ogg
|source=hostile
|description=When a campfire is lit with a fire charge
|id=mob.ghast.fireball
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When a campfire is extinguished
|id=random.fizz
|volume=0.5
|pitch=1.8-2.4
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Campfire
|spritetype=block
|nameid=campfire
|blocktags=campfires}}
{{ID table
|displayname=Soul Campfire
|spritetype=block
|nameid=soul_campfire
|blocktags=campfires, piglin_repellents
|itemtags=piglin_repellents
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=campfire
|spritetype=block
|nameid=campfire
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Campfire
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Normal block
|spritename=campfire
|spritetype=block
|nameid=campfire
|id=464
|form=block
|itemform=item.campfire}}
{{ID table
|displayname=Normal item
|spritename=campfire
|spritetype=item
|nameid=campfire
|id=589
|form=item
|translationkey=tile.campfire.name}}
{{ID table
|displayname=Soul block
|spritename=soul-campfire
|spritetype=block
|nameid=soul_campfire
|id=545
|form=block
|itemform=item.soul_campfire}}
{{ID table
|displayname=Soul item
|spritename=soul-campfire
|spritetype=item
|nameid=soul_campfire
|id=622
|form=item
|translationkey=tile.soul_campfire.name
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=campfire
|spritetype=block
|nameid=Campfire
|foot=1}}

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

=== Block data ===
A campfire has a [[block entity]] associated with it that holds additional data about the [[block]].

{{el|java}}:
{{see also|Block entity format}}
{{/BE}}

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

== Achievements ==
{{load achievements|Bee our guest}}

== Advancements ==
{{Load advancements|Bee Our Guest}}

== History ==
{{History||September 26, 2018|link={{tweet|minecraft|1044587405779451906}}|Campfires are announced to be part of the [[biome]] vote at [[MINECON Earth 2018]].}}
{{History||September 29, 2018|link={{ytl|HoMDyRqMNMA}}|Campfires are showcased at [[MINECON Earth 2018]].}}
{{History||September 29, 2018|link={{tweet|minecraft|1046097775199498325}}|[[Taiga]] wins the [[biome]] vote, meaning campfires are to be added to the game in [[Java Edition 1.14|1.14]].}}
{{History|java}}
{{History||1.14|snap=19w02a|[[File:Campfire JE1 BE1.gif|32px]] [[File:Unlit Campfire JE1 BE1.png|32px]] Added campfires.}}
{{History|||snap=19w03a|[[File:Campfire (item) JE1 BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] The [[model]] and texture of the campfire have been changed.
|Lit campfires now produce spark [[particles]].
|The [[light]] level of campfires has been changed from 9 to 15.
|Campfires are now directionally placed.
|Lit campfires produce smoke plume [[particles]] more often.}}
{{History|||snap=19w04a|Campfires now spawn in [[taiga]] [[village]]s on the ground and inside chimneys.
|Crouching on a campfire no longer prevents the player from taking damage from it.<ref>{{Bug|MC-141913||Sneaking on a campfire prevents damage|Fixed}}</ref>}}
{{History|||snap=19w08a|Campfires can now be extinguished by [[splash water bottle]]s.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|sell]] campfires.}}
{{History||1.14.1|snap=Pre-Release 2|Campfires can now be lit by flaming [[arrow]]s.}}
{{History||1.14.2|snap=Pre-Release 1|Flaming arrows can no longer light [[waterlogging|waterlogged]] campfires.}}
{{History||1.15|snap=19w34a|Campfires under [[bee nest]]s and [[bee hive]]s now prevent [[bee]]s from aggravating toward [[player]]s who harvest them.}}
{{History|||snap=19w37a|Campfires can now be extinguished using a [[shovel]].}}
{{History|||snap=19w42a|Campfires can now be lit by small [[fireball]]s.}}
{{History||1.16|snap=20w11a|Campfires can now be lit by any burning [[projectile]].}}
{{History|||snap=20w13a|Campfires can now be [[crafting|crafted]] using [[stems]] and [[hyphae]].}}
{{History|||snap=20w15a|[[File:Soul Campfire (item) JE1 BE1.png|32px]] [[File:Soul Campfire.gif|32px]] Added soul campfires.}}
{{History|||snap=20w22a|Campfires now [[drops|drop]] the [[food]] being cooked when they are put out with a [[shovel]] or [[water bottle]].}}
{{History|||snap=Pre-release 3|[[File:Unlit Campfire with foods on it.png|32px]] Food can now be placed on unlit campfires. However, due to a bug,<ref>{{Bug|MC-188448||Food pops off of campfire when extinguished|Fixed}}</ref> food pops off of campfires when extinguished.}}
{{History||1.17|snap=20w46a|Food no longer pops off of campfires when extinguished.}}
{{History||1.18|snap=21w41a|[[File:Campfire (item) JE2.png|32px]] [[File:Soul Campfire (item) JE2.png|32px]] Changed campfire and soul campfire textures as items.}}
{{History||1.19|snap=22w13a|Campfires now generate in camps inside [[ancient city|ancient cities]].}}
{{History||1.19.4|snap=23w07a|The soul campfire recipes are no longer unlocked by [[stick]]s.<ref>{{bug|MC-238920}}</ref>}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=1.19.4-pre1|Cherry logs, wood, and their stripped variations can now used to craft campfire and soul campfire.<ref>{{bug|MC-260149}}</ref>}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Campfire JE1 BE1.gif|32px]] [[File:Unlit Campfire JE1 BE1.png|32px]] Added campfires.
|Campfires are available only through [[Experimental Gameplay]].}}
{{History||1.11.0|snap=beta 1.11.0.1|Campfires have been fully implemented.
|[[File:Campfire_(item)_JE1_BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] The [[model]] and texture of the campfire have been changed.}}
{{History|||snap=beta 1.11.0.4|Campfires can now be [[trading|bought]] from fishermen [[villager]]s.}}
{{History||1.13.0|snap=?|Campfires now emit embers similar to [[lava]].}}
{{History||1.14.0|snap=beta 1.14.0.1|Campfires under [[bee nest]]s and [[beehive]]s now prevent [[bee]]s from aggravating toward [[player]]s who harvest them.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Soul_Campfire_(item)_JE1_BE1.png|32px]] [[File:Soul Campfire.gif|32px]] Added soul campfires.}}
{{History||1.16.20|snap=beta 1.16.20.50|Soul campfires now emit [[light]] level of 10.}}
{{History||1.16.100|snap=beta 1.16.100.54|Soul campfires now deal double the damage that normal campfires deal.|Soul campfires now drop [[Soul Soil]] instead of [[Charcoal]] when mined.}}
{{History||1.17.30|snap=beta 1.17.30.23|Campfires are now stackable in the inventory.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Campfire (item) JE2.png|32px]] [[File:Soul Campfire (item) JE2.png|32px]] Changed campfire and soul campfire textures as items.}}
{{History||1.19.60|snap=beta 1.19.60.23|Campfires no longer set players and mobs on fire.}}
{{History||1.19.80|snap=beta 1.19.80.22|Campfires now damage mobs standing on top of them.}}
{{History||1.20.30|snap=beta 1.20.30.20|Campfires now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}

{{History|console}}
{{History||ps=1.91|[[File:Campfire_(item)_JE1_BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] Added campfires.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Gallery ==
<gallery>
Cozy Cabin Smoke.jpg|Campfire smoke coming out of a cozy cabin.
Cozy Cabin Campfire.jpg|Campfire near a cozy cabin.
1.14 Dev Campfire.jpg|Dev screenshot.
Campfire in taiga village.png|A few naturally generating campfires in a [[taiga]] biome [[village]].
Campfire with hay bale vs without.png|A comparison between a campfire with a [[hay bale]] below it (left) and one without (right).
Campfire Particles.png|The number of particles depends on the height of the top block.
Campfire cooking.png|Cooking porkchops with a campfire.
Campfire (cooking) JE1 BE1.gif|Cooking with a campfire in [[Java Edition 19w02a]].
</gallery>

== References ==
{{reflist}}

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

[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Block entities]]
[[Category:Storage]]
[[Category:Light sources]]

[[de:Lagerfeuer]]
[[fr:Feu de camp]]
[[ja:焚き火]]
[[ko:모닥불]]
[[pl:Ognisko]]
[[pt:Fogueira]]
[[ru:Костёр]]
[[th:แคมป์ไฟ]]
[[zh:营火]]</li></ul>
September 28, 2011Notch works on "saving arbitrary data with item instances."
1.12
{{Extension DPL}}<ul><li>[[Beetroot Soup|Beetroot Soup]]<br/>{{for|other uses|Soup}}
{{Item
| title = Beetroot Soup
| image = Beetroot Soup.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = No
}}

'''Beetroot soup''' is an unstackable [[food]] item.

== Obtaining ==

=== Crafting ===
{{Crafting
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Bowl
|Output=Beetroot Soup
|type=Foodstuff
}}

=== Natural generation ===

{{LootChestItem|beetroot-soup}}

== Usage ==

Beetroot soup can be eaten to restore {{hunger|6}} [[hunger]] points and 7.2 [[Hunger#Mechanics|saturation]], the same as [[cooked chicken]] and [[mushroom stew]]. After eating, the empty [[bowl]] remains, similarly to mushroom stew and [[rabbit stew]].

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

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|id=286
|form=item
|foot=1}}

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

== History ==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 436.}}
{{History||1.14|snap=18w43a|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History|||snap=18w49a|Beetroot soup can now be found in [[chest]]s in [[snowy tundra]] [[village]] houses.}}

{{History|pocket alpha}}
{{History||November 14, 2013|link={{tweet|jbernhardsson|400902957782147072}}|[[Johan Bernhardsson]] posts an image of beetroot soup.}}
{{History||v0.8.0|snap=build 2|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup. It is not obtainable in the Creative inventory.}}
{{History||v0.9.0|snap=build 1|Beetroot soup now requires 6 [[beetroot]]s instead of 4.}}
{{History||v0.12.1|snap=build 12|Beetroot soup now restores {{hunger|6}} instead of {{health|8}}.}}
{{History||v0.13.0|snap=build 3|Beetroot soup can now be stacked.}}
{{history|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Beetroot soup has been added to the Creative inventory.<ref name="missing beetroot soup">{{Bug|MCPE-13804}}</ref>}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History||1.11.0|snap=beta 1.11.0.1|Beetroot soup can now be found in [[snowy tundra]] [[village]] house [[chest]]s.}}

{{History|console}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|switch=1.0.1|wiiu=Patch 13|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.
|Beetroot soup is not available within the [[Creative inventory]].}}
{{History||?|Added beetroot soup to the Creative inventory.{{info needed|Which update did this occur?}}}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{Items}}

[[Category:Food]]
[[Category:Renewable resources]]

[[de:Borschtsch]]
[[es:Estofado de remolacha]]
[[fr:Soupe de betteraves]]
[[it:Zuppa di barbabietole]]
[[ja:ビートルートスープ]]
[[ko:비트 수프]]
[[nl:Bietensoep]]
[[pl:Barszcz]]
[[pt:Ensopado de beterraba]]
[[ru:Свекольный суп]]
[[th:ซุปบีทรูท]]
[[uk:Борщ]]
[[zh:甜菜汤]]</li><li>[[Netherite Ingot|Netherite Ingot]]<br/>{{About|the refined item|the scrap|Netherite Scrap|the ore|Ancient Debris|other uses|Netherite}}
{{Item
| rarity = Common
| renewable = No
| stackable = Yes (64)
}}
'''Netherite ingots''' are items obtained from crafting [[netherite scrap]]s and [[gold ingot]]s together, as well as loot from [[bastion remnant]] loot chests. Unlike other items, they are immune to fire and [[lava]] damage. They are primarily used to upgrade [[diamond]] gear and craft [[lodestone]]s.

== Obtaining ==

Netherite ingots are obtained by crafting four [[netherite scrap]]s and four [[gold ingot]]s. It is a shapeless recipe, therefore the placement of the netherite scraps and gold ingots does not matter when crafting it.

=== Crafting ===

{{Crafting
|head=1
|showname=0
|Netherite Scrap
|Netherite Scrap
|Netherite Scrap
|Netherite Scrap
|Gold Ingot
|Gold Ingot
|Gold Ingot
|Gold Ingot
|Output=Netherite Ingot
|type=Material
}}

{{Crafting 
|Block of Netherite
|Output=Netherite Ingot,9
|type=Material
|foot=1
}}

=== Chest loot ===
{{LootChestItem|netherite-ingot}}

== Usage ==
Netherite ingots are crafting materials used to make netherite tools, weapons, and armor.

=== Crafting ingredient ===

{{crafting usage}}

=== Smithing ingredient ===
Netherite ingots can be used on a [[smithing table]] to upgrade diamond items to netherite items, as well as trim any armor piece. Data such as durability, enchantments, and custom names are preserved.

{{Smithing
|head=1
|ingredients=[[Netherite Upgrade]] +<br>Any [[diamond]] gear +<br>[[Netherite Ingot]]
|Netherite Upgrade
|Diamond Helmet; Diamond Chestplate; Diamond Leggings; Diamond Boots; Diamond Sword; Diamond Pickaxe; Diamond Axe; Diamond Shovel; Diamond Hoe
|Netherite Ingot
|Netherite Helmet; Netherite Chestplate; Netherite Leggings; Netherite Boots; Netherite Sword; Netherite Pickaxe; Netherite Axe; Netherite Shovel; Netherite Hoe
}}
{{Smithing
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Netherite Ingot
|Any Armor Trim Smithing Template
|Diamond Chestplate
|Netherite Ingot
|Netherite Trim Diamond Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a diamond chestplate is shown as an example.<br/>
|tail=1
}}

'''Trim color palette'''
The following color palettes are shown on the designs on trimmed armor:
* {{TrimPalette|netherite ingot}}
* {{TrimPalette|netherite ingot|darker=1}} (a darker color palette is used when a netherite armor piece is trimmed using a netherite ingot).

=== Repairing ===

Netherite ingots are the repair items for the netherite [[tier]] and [[armor material]], and thus can be used to [[item repair|repair]] the following items in an [[anvil]]:
* {{ItemLink|Netherite Helmet}}
* {{ItemLink|Netherite Chestplate}}
* {{ItemLink|Netherite Leggings}}
* {{ItemLink|Netherite Boots}}
* {{ItemLink|Netherite Sword}}
* {{ItemLink|Netherite Pickaxe}}
* {{ItemLink|Netherite Axe}}
* {{ItemLink|Netherite Shovel}}
* {{ItemLink|Netherite Hoe}}

=== Beacons ===

A netherite ingot could be used to select powers from a [[beacon]] instead of using an [[emerald]], [[gold ingot]], [[iron ingot]], or a [[diamond]]. The player must select one of the available powers, and then insert an ingot in the item slot. The [[gold]] option is more efficient than the netherite option because it consumes 3 fewer gold and no [[Netherite Scrap|netherite scrap]].

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Netherite Ingot
|spritetype=item
|nameid=netherite_ingot
|itemtags=beacon_payment_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Netherite Ingot
|spritetype=item
|nameid=netherite_ingot
|id=603
|form=item
|foot=1}}

=== Advancements ===
{{load advancements|Serious dedication}}

== History ==
{{History|java}}
{{History||1.16|snap=20w06a|[[File:Netherite Ingot JE1 BE2.png|32px]] Added netherite ingots.}}
{{History|||snap=20w07a|Netherite ingots can now be used to power [[beacon]]s.}}
{{History|||snap=20w10a|The [[crafting]] recipe for netherite [[tools]] and [[armor]] has been changed so that a [[smithing table]] is used instead of a [[crafting table]] and [[enchanting|enchantments]] are preserved when upgrading [[item]]s.}}
{{History|||snap=20w13a|Netherite ingots can now be used to craft [[lodestone]]s.}}
{{History|||snap=20w16a|Netherite ingots can now be found in [[bastion remnant]] chests.}}
{{History||1.16.2|snap=20w30a|Increased the chance of finding netherite ingots in bastion remnant chests from 16.8% to 42.1%.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Netherite ingots can now be used as an armor trim material.|Upgrading diamond tools and armor to netherite now requires the netherite upgrade [[smithing template]] in addition to a netherite ingot.}}
{{History|||snap=23w05a|Netherite ingots can now be used to trim netherite armor.}}
{{History||1.20|snap=23w12a|Netherite ingots are now usable for trimming without requiring the "Update 1.20" experimental datapack to be enabled.}}

{{History|bedrock}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Ingot BE1.png|32px]] Added netherite ingots.}}
{{History|||snap=beta 1.16.0.57|Netherite ingots can now be used to power [[beacon]]s.
|The [[crafting]] recipe for netherite [[tools]] and [[armor]] has been changed so that a [[smithing table]] is used instead of a [[crafting table]] and [[enchanting|enchantments]] are preserved when upgrading [[item]]s.
|Netherite ingots can now be used to craft [[lodestone]]s.
|Netherite ingots can now be found in [[bastion remnant]] chests.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[File:Netherite Ingot JE1 BE2.png|32px]] The texture of netherite ingots has been changed to match ''Java Edition''.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|Netherite ingots can now be used as an armor trim material.|Upgrading diamond tools and armor to netherite now requires the netherite upgrade [[smithing template]] in addition to a netherite ingot.}}
{{History||1.20.0|snap=beta 1.20.0.21|Netherite ingots are now usable for trimming without requiring the "Next Major Update" experimental toggle to be enabled.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* {{EnvLink|Bastion Remnant}}
* {{BlockLink|Block of Netherite}}
* {{ItemLink|Netherite Scrap}}
*  {{BlockLink|Ancient Debris}}
*{{BlockLink|Lodestone}}

== External Links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--netherite-ingot Taking Inventory: Netherite Ingot] – Minecraft.net on May 28, 2020

{{Items}}

[[de:Netheritbarren]]
[[es:Lingote de netherita]]
[[fr:Lingot de Netherite]]
[[it:Lingotto di netherite]]
[[ja:ネザライトインゴット]]
[[ko:네더라이트 주괴]]
[[pl:Sztabka netherytu]]
[[pt:Barra de netherita]]
[[ru:Незеритовый слиток]]
[[th:แท่งเนเธอไรต์]]
[[uk:Незеритовий злиток]]
[[zh:下界合金锭]]
[[Category:Non-renewable resources]]</li></ul>
?Added long array tags.
1.13
{{Extension DPL}}<ul><li>[[3D|3D]]<br/>{{about|the edible item|the April Fools' snapshot itself|Java Edition 3D Shareware v1.34}}

{{Joke feature}}
{{Item
| image = 3D (item).png
| renewable = Yes
| stackable = Yes (64)
}}

'''3D''' was a joke item from [[Java Edition 3D Shareware v1.34]]. Eating it shows a picture of the developer cast.

== Obtaining ==
=== Mob drops ===
3D was dropped by a creeper summoned by the cheat code "'''NEEEERD'''".

== Usage ==
Eating the 3D item when the hunger bar was not full shows a picture of the developer cast of Minecraft.
== Data values ==

=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=3D
|spritetype=item
|nameid=3d
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||3D Shareware v1.34|[[File:3D (item).png|32px]] Added the 3D item.}}
{{History|foot}}

== Gallery ==

<gallery>
File:3D Shareware Mojang Team.png|The developer cast of Minecraft.
File:Tasty 3D Item.gif|The "'''Tasty!'''" 3D Item lore.
</gallery>

{{Items}}
{{Jokes}}

[[Category:Non-renewable resources]]
[[Category:Joke items]]</li><li>[[Pumpkin Pie|Pumpkin Pie]]<br/>{{redirect|Pie|the other craftable dessert|Cake|the terrain features|Pile}}
{{Item
| title = Pumpkin Pie
| image = Pumpkin Pie.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable = Yes (64)
}}

'''Pumpkin pie''' is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==
{{see also
 | Tutorials/Pumpkin and melon farming |title1= Pumpkin and melon farming
 | Tutorials/Sugar Cane farming |title2= Sugar cane farming
 | Tutorials/Egg farming |title3= Egg farming
}}

=== Crafting ===

{{Crafting
|Pumpkin
|Sugar
|Egg
|Output= Pumpkin Pie
|type=Foodstuff
}}

=== Trading ===

Apprentice-level farmer [[villager]]s have a 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to sell 4 pumpkin pies for an emerald as part of their trades.

{{in|java}}, farmer villagers throw pumpkin pies at players under the [[Hero of the Village]] effect.

=== Natural generation ===

{{LootChestItem|pumpkin-pie}}

== Usage ==

=== Food ===

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

To eat pumpkin pie, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 4.8 [[:en:Hunger#Mechanics|saturation]].

=== Composting ===
Placing pumpkin pie into a [[composter]] raises the compost level by 1.

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Pie
|spritetype=item
|nameid=pumpkin_pie
|id=284
|form=item
|foot=1}}

== Video ==

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

== History ==

{{History|java}}
{{History||September 11, 2012|link=http://twitter.com/jeb_/status/245503714167750656|The first screenshot of pumpkin pie was posted on [[Jens Bergensten|Jeb's]] Twitter.<ref>{{Tweet|jeb|245503714167750656}}</ref><ref>{{Tweet|jeb|245506498099298305}}</ref>}}
{{History||1.4.2|snap=12w37a|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pies.}}
{{History||1.8|snap=14w02a|Pumpkin pie can now be [[trading|bought]] from farmer [[villager]]s, at 2–3 pumpkin pies for 1 [[emerald]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 400.}}
{{History||1.14|snap=18w43a|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History|||snap=18w50a|Pumpkin pies now generate in chests in taiga [[village]] houses.}}
{{History|||snap=19w03a|Placing pumpkin pie into the new [[composter]] raises the compost level by 1.}}
{{History|||snap=19w13a|Farmer villagers now give pumpkin pies to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History||v0.12.1|snap=build 1|Pumpkin pie now restores [[hunger]] instead of [[health]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Pumpkin pie can now be found in [[taiga]] and [[snowy taiga]] [[village]] house [[chest]]s.
|Pumpkin pie can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now have a 50% chance to [[trading|sell]] 4 pumpkin pies for an [[emerald]].}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:Twitter Pumpkin Pie.png|The first screenshot of pumpkin pies, posted on Jeb's twitter.
</gallery>

== References ==

{{reflist}}


{{Items}}

[[cs:Dýňový koláč]]
[[de:Kürbiskuchen]]
[[es:Tarta de calabaza]]
[[fr:Tarte à la citrouille]]
[[it:Torta di zucca]]
[[ja:パンプキンパイ]]
[[ko:호박 파이]]
[[lzh:南瓜餅]]
[[nl:Pompoentaart]]
[[pl:Placek dyniowy]]
[[pt:Torta de abóbora]]
[[ru:Тыквенный пирог]]
[[zh:南瓜派]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul>
18w01aAdded a data generator to both the Minecraft client and the default multiplayer software.
1.14
{{Extension DPL}}<ul><li>[[Book and Quill|Book and Quill]]<br/>{{For|the item produced after a Book and Quill is signed|Written Book}}
{{Item
| image = Book and Quill.png
| renewable = Yes 
| stackable = No
}}

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

== Obtaining ==

=== Crafting ===

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

=== Natural generation ===

{{LootChestItem|book-and-quill}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Writing ===

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

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

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

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

=== Lecterns ===

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

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

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

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

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

=== Signing ===

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

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

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

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

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

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

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

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

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

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

=== Item data ===

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

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

== Video ==

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

== History ==

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{Reflist}}

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

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

{{Items}}

[[Category:Renewable resources]]

[[cs:Rozepsaná kniha s brkem]]
[[de:Buch und Feder]]
[[el:Βιβλίο και Πένα]]
[[es:Libro y pluma]]
[[fr:Livre vierge]]
[[hu:Könyv és toll]]
[[it:Libro e penna]]
[[ja:本と羽根ペン]]
[[ko:책과 깃펜]]
[[nl:Boek en veer]]
[[pl:Książka z piórem]]
[[pt:Livro e pena]]
[[ru:Книга с пером]]
[[th:หนังสือกับปากกาขนนก]]
[[uk:Книга з пером]]
[[zh:书与笔]]</li><li>[[Raw Porkchop|Raw Porkchop]]<br/>{{Item
| title = Raw Porkchop
| image = Raw Porkchop.png
| renewable = Yes
| heals = {{hunger|3}}
| stackable = Yes (64)
}}
A '''raw porkchop''' is a [[food]] item that can be eaten by the [[player]] or cooked to make a [[cooked porkchop]].

== Obtaining ==

=== Mob loot ===

==== Pigs ====

Adult [[pig]]s drop 1–3 raw porkchop when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-6 with Looting III. If killed while on fire, they drop [[cooked porkchop]] instead.

==== Hoglins ====

Adult [[hoglin]]s drop 2–4 raw porkchop when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 7 with Looting III. If killed while on fire, they drop [[cooked porkchop]] instead.

=== Chest loot ===

{{LootChestItem|raw-porkchop}}

== Usage ==

=== Food ===

To eat raw porkchop, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|3}} [[hunger]] and 0.6 [[Hunger#Mechanics|saturation]].

=== Smelting ingredient ===

{{Smelting
|showname=1
|Raw Porkchop
|Cooked Porkchop
|0.35
}}

=== Trading ===

{{IN|bedrock}}, novice-level butcher [[villager]]s have a {{frac|1|3}} chance to [[trading|buy]] 7 raw porkchop for an [[emerald]] as part of their [[trading|trades]].

{{IN|java}}, novice-level butcher villagers have a 40% chance to buy 7 raw porkchop for an emerald.

=== Wolves ===

Raw porkchops 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.

=== Piglins ===
[[Piglin|Piglins]] instantly pick up raw or [[Cooked Porkchop|cooked porkchops]] that are within 1 block of them, unless they have already picked up one within the last 10 seconds. Porkchops picked up are not dropped upon the piglin's death.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Raw Porkchop
|spritetype=item
|nameid=porkchop
|itemtags=piglin_food
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Porkchop
|spritetype=item
|nameid=porkchop
|id=262
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Pork Chop}}

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

== History ==

{{History|java indev}}
{{History||20100219|[[File:Raw Porkchop JE1 BE1.png|32px]] Added raw porkchops. 
|Raw porkchops restore {{hp|3}} and do not stack in the [[inventory]].
|Raw porkchops are [[drops|dropped]] by [[pig]]s.}}
{{History|java beta}}
{{History||1.4|Raw porkchops can now be given to [[wolf|wolves]].}}
{{History||1.8|snap=Pre-release|Raw porkchops can now be stacked to 64.<ref>{{Tweet|jeb|103408168356421632|Some Minecraft food changes...}}</ref> 
|Raw porkchops now restore {{hunger|3}} to the [[Hunger|food bar]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Raw porkchops can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Raw porkchops can now be [[trading|sold]] to butcher [[villager]]s, at 14–17 pork chops for 1 [[emerald]].}}
{{History|||snap=12w25a|[[Pig]]s now [[drops|drop]] 1–3 porkchops instead of 0–2.}}
{{History||1.4.2|snap=12w37a|[[File:Raw Porkchop JE2 BE2.png|32px]] The texture of raw porkchops has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed; butcher villagers now [[trading|buy]] 14–18 porkchops for 1 emerald.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 319.}}
{{History||1.14|snap=18w43a|[[File:Raw Porkchop.png|32px]] The texture of raw porkchops has been changed.}}
{{History|||snap=18w49a|Raw porkchops can now be found in [[chest]]s in [[village]] butcher shops.}}
{{History||1.16|snap=20w07a|Raw porkchops are dropped by the new [[hoglin]]s.
|Raw porkchops have a {{frac|5|109}} (~4.59%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 2–5.}}
{{History|||snap=20w09a|Raw porkchops can no longer be obtained by bartering with piglins.}}
{{History|||snap=20w16a|Raw porkchops now generate in [[bastion remnants]] chests.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Raw Porkchop JE1 BE1.png|32px]] Added raw porkchops.}}
{{History||v0.5.0|Raw porkchops now restore {{hp|3}} instead of {{hp|1}}.}}
{{History||v0.8.0|snap=build 1|[[File:Raw Porkchop JE2 BE2.png|32px]] The texture of raw porkchops has been changed, so that it no longer has that dark outline.}}
{{History||v0.12.1|snap=build 1|Raw porkchops now restore [[hunger]] instead of [[health]].}}
{{History||v0.16.2|[[Pig]]s now [[drops|drop]] 1–3 raw porkchops rather than 0–2.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|14–18 raw porkchops can now be [[trading|sold]] to butcher [[villager]]s for an [[emerald]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Porkchop.png|32px]] The texture of raw porkchops has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.3|Raw porkchops can now be found in [[village]] butcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Butcher [[villager]]s now have {{frac|1|3}} chance to [[trading|buy]] 7 raw porkchops.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Raw Porkchop JE1 BE1.png|32px]] Added raw porkchops.}}
{{History||xbox=TU5|Raw porkchops are now stackable to 64 and fills [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|[[File:Raw Porkchop JE2 BE2.png|32px]] The texture of raw porkchops has been changed, so that it no longer has a dark outline.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Raw Porkchop.png|32px]] The texture of raw porkchops has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Raw Porkchop JE2 BE2.png|32px]] Added raw porkchops.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
I Porkchop Minecraft JINX.jpg|Official T-shirt artwork "I Porkchop Minecraft" sold by [https://www.jinx.com JINX].
I Brake for Porkchop Bumper Sticker JINX.jpg|An official bumper sticker featuring a raw porkchop sold by JINX.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--porkchop Taking Inventory: Porkchop] – Minecraft.net on February 13, 2020

{{Items}}

[[Category:Food]]

[[cs:Syrová kotleta]]
[[de:Rohes Schweinefleisch]]
[[es:Chuleta de cerdo cruda]]
[[fr:Côtelette de porc crue]]
[[hu:Nyers disznóhús]]
[[ja:生の豚肉]]
[[nl:Rauw varkensvlees]]
[[pl:Surowy schab]]
[[pt:Costeleta de porco crua]]
[[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 on wiki.vg
  • NBTExplorer, a tool for viewing and editing NBT files.
  • webNBT, an online tool for viewing and editing NBT files.