<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AItem_format%2FBefore_1.20.5</id>
	<title>Minecraft:Item format/Before 1.20.5 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AItem_format%2FBefore_1.20.5"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Item_format/Before_1.20.5&amp;action=history"/>
	<updated>2026-04-26T16:30:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Item_format/Before_1.20.5&amp;diff=101362&amp;oldid=prev</id>
		<title>SyncBot: Sync: new page from Minecraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Item_format/Before_1.20.5&amp;diff=101362&amp;oldid=prev"/>
		<updated>2026-04-26T11:08:08Z</updated>

		<summary type="html">&lt;p&gt;Sync: new page from Minecraft&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{outdated|In [[Minecraft:Java Edition 1.20.5]], this format has been replaced with the [[Minecraft:data component format]].|edition=java}}&lt;br /&gt;
{{move|Item format/Before Java Edition 1.20.5}}&lt;br /&gt;
[[Minecraft:Item]]s are used both in the [[Minecraft:Player.dat format|player&amp;#039;s inventory]] and ender chest, in container [[Minecraft:Block entity format|block entities]], in some [[Minecraft:Entity format|item entities]], and in [[Minecraft:structure file]]s.&lt;br /&gt;
&lt;br /&gt;
== NBT structure ==&lt;br /&gt;
Items are stored in the [[Minecraft:NBT format]]. Sometimes a {{nbt|byte|Slot}} tag is used to specify the slot the item is in, such as with chests; other times there is no {{nbt|byte|Slot}} tag, such as with dropped items.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound}} The root tag.&lt;br /&gt;
** {{nbt|byte|Count}}: Number of [[Minecraft:Item|items]] stacked in this inventory slot. Any item can be stacked, even if unstackable through normal means. Values below 0 cause the item to be treated as air, resulting in the item being removed.&lt;br /&gt;
** {{nbt|byte|Slot}}: The inventory slot the item is in.&lt;br /&gt;
** {{nbt|string|id}}: [[Minecraft:Data values|Item/Block ID]]. If not specified, gets treated as air, resulting in the item being removed.&lt;br /&gt;
** {{nbt|compound|tag}}: Additional information about the item; see below. This tag is optional for most items. Unlike other entity or block NBT, this tag is never deserialized and can hold user defined tags that are not used by the game by standard.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Display Properties ===&lt;br /&gt;
&lt;br /&gt;
All items can have custom display names and lore, as well as a custom model data. Various tooltips can also be hidden.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Display Properties}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Attribute Modifiers ===&lt;br /&gt;
&lt;br /&gt;
All items can be given [[Minecraft:Attribute#Modifiers|Modifiers]] which affect various [[Minecraft:Attribute]]s of the player or mob wearing or holding them. Note that if an item has default attribute modifiers, these cease to exist if this tag is added (e.g. a diamond sword given an empty &amp;#039;&amp;#039;&amp;#039;AttributeModifiers&amp;#039;&amp;#039;&amp;#039; list no longer provides a boost to damage). Also note that default attribute modifiers do not use this tag, and as such, it does not appear on a natural item.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Attribute Modifiers}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enchantments ===&lt;br /&gt;
&lt;br /&gt;
There are two ways enchantments are associated with items; the first way is that the item is actually enchanted and the enchantment affects the behavior of the item, and the second way is that the item is an [[Minecraft:enchanted book]] which simply stores the enchantments without actually affecting the behavior of the item. There is also the &amp;#039;&amp;#039;&amp;#039;RepairCost&amp;#039;&amp;#039;&amp;#039; tag which tracks [[Minecraft:anvil]] usage for items, making them more costly with every use of the anvil.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Enchantments}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;StoredEnchantments&amp;#039;&amp;#039;&amp;#039; tooltips are not displayed if edited onto an item other than an enchanted book. Enchantments stored in &amp;#039;&amp;#039;&amp;#039;Enchantments&amp;#039;&amp;#039;&amp;#039;, however, are always displayed in the tooltip and cause the item to glow, even if they cannot have any effect.&lt;br /&gt;
&lt;br /&gt;
=== Block Tags ===&lt;br /&gt;
&lt;br /&gt;
All items can have specifications for [[Minecraft:Adventure]] mode, to describe which blocks may be broken with them. Block items can also be given tags to specify what blocks they may be placed against in Adventure mode, and to specify what Tile Entity NBT tags to apply to them when placed.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag&lt;br /&gt;
{{:Item_format/Block Tags}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Durability ===&lt;br /&gt;
&lt;br /&gt;
Items with durability ([[Minecraft:tool]]s and [[Minecraft:armor]]s) can be made unbreakable and never lose any durability.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Durability}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Potion Effects ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Potion]]s, [[Minecraft:splash potion]]s, [[Minecraft:lingering potion]]s, and [[Minecraft:tipped arrow]]s can have multiple, customized effects via the &amp;lt;code&amp;gt;custom_potion_effects&amp;lt;/code&amp;gt; tag. These effects are added to the default effect under the &amp;lt;code&amp;gt;Potion&amp;lt;/code&amp;gt; tag if present. In addition the color can be overridden with the &amp;lt;code&amp;gt;CustomPotionColor&amp;lt;/code&amp;gt; tag.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Potion}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Calculator|decimalColor}}&lt;br /&gt;
&lt;br /&gt;
=== Armors ===&lt;br /&gt;
&lt;br /&gt;
Every [[Minecraft:armor]] can be trimmed. Additionally, [[Minecraft:leather armor]] can be colored.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&amp;lt;onlyinclude&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent Tag.&lt;br /&gt;
{{:Item_format/Armor}}&lt;br /&gt;
&amp;lt;/onlyinclude&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Calculator|decimalColor}}&lt;br /&gt;
&lt;br /&gt;
=== Armor Stands, Spawn Eggs, Item Frames and Paintings ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Armor stand]]s, [[Minecraft:spawn egg]]s, [[Minecraft:Item Frame|item frames]] and [[Minecraft:painting]]s may contain potential entity data.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Entity Spawners}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Book and Quills ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Book and quill]]s use NBT data to save their contents.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Writable Books}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Written Books ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Written book]]s use NBT data to save their contents as well as miscellaneous extra information.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Written Books}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Knowledge Books ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Knowledge book]]s use NBT data to indicate the recipes they contain.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Knowledge Book}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Buckets of Aquatic Mob ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Bucket of aquatic mob|Buckets of aquatic mob]] may contain potential entity data.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Bucket of Aquatic Mob}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bundle ===&lt;br /&gt;
[[Minecraft:Bundle]]s use NBT data to save what item is stored.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Bundle}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compasses ===&lt;br /&gt;
When used as a lodestone compass, [[Minecraft:compass]]es store information about their targeted [[Minecraft:lodestone]].&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Compasses}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Crossbows ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Crossbow]]s use NBT data to save what item is charged in the crossbow&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Crossbow}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Debug Sticks ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Debug stick]]s use the NBT to save the block state to edit for each block.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Debug Sticks}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Firework Rockets ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Firework rocket]]s use the &amp;#039;&amp;#039;&amp;#039;tag&amp;#039;&amp;#039;&amp;#039; tag to store information about their effects.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Firework Rockets}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Firework Stars ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Firework star]]s use the &amp;#039;&amp;#039;&amp;#039;tag&amp;#039;&amp;#039;&amp;#039; tag to store information about their effects.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Firework Stars}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Goat Horns ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Goat horn]]s use the &amp;#039;&amp;#039;&amp;#039;instrument&amp;#039;&amp;#039;&amp;#039; tag to control which sound can be played when using them.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Goat Horn}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Maps ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Map]]s may be scaled, locked and contain icons.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Maps}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Player Heads ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Head]]s of the player variety can be associated with a specific username to take on the skin of that player when placed. The hand-held item is also updated with the new skin. Within this section, the &amp;quot;owner&amp;quot; of a head means the player whose head it is a copy of, and a player whose inventory contains a head is called the &amp;quot;holder&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Player Heads}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Suspicious Stew ===&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:Suspicious stew]]s store their [[Minecraft:potion effect]]s.&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound|tag}}: Parent tag.&lt;br /&gt;
{{:Item_format/Suspicious Stew}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|java}}&lt;br /&gt;
|{{HistoryLine||1.4.2|dev=12w40a|Added &amp;lt;code&amp;gt;Name&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Lore&amp;lt;/code&amp;gt; tags. They use plain text rather than text components.}}&lt;br /&gt;
|{{HistoryLine||1.7.2|dev=13w37a|Added {{code|Unbreakable}} tag for tools.}}&lt;br /&gt;
|{{HistoryLine||1.8|dev=14w02a|Added &amp;lt;code&amp;gt;CanDestroy&amp;lt;/code&amp;gt; for tools.}}&lt;br /&gt;
|{{HistoryLine|||dev=14w06a|Added &amp;lt;code&amp;gt;HideFlags&amp;lt;/code&amp;gt; to items.&lt;br /&gt;
|Added {{cd|CanPlaceOn}} for blocks.&lt;br /&gt;
|Added {{cd|ShowParticles}} for potion effect.}}&lt;br /&gt;
|{{HistoryLine|||dev=14w07a|Added &amp;lt;code&amp;gt;BlockEntityTag&amp;lt;/code&amp;gt; for all blocks.}}&lt;br /&gt;
|{{HistoryLine|||dev=14w10a|Added a 5th bit (value of 32) to &amp;lt;code&amp;gt;HideFlags&amp;lt;/code&amp;gt; that hides potion effects.}}&lt;br /&gt;
|{{HistoryLine||1.11|dev=16w39a|Added &amp;lt;code&amp;gt;LocName&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;display&amp;lt;/code&amp;gt; tag. If present, the item tooltip displays translated text for the item name.{{info needed|which of Name and LocName takes precedence?}}}}&lt;br /&gt;
|{{HistoryLine||1.13|dev=18w01a|&amp;lt;code&amp;gt;Name&amp;lt;/code&amp;gt; tag is now a text component.&lt;br /&gt;
|Removed the &amp;lt;code&amp;gt;LocName&amp;lt;/code&amp;gt; tag.  Instead of &amp;lt;code&amp;gt;LocName:&amp;quot;gui.toTitle&amp;quot;&amp;lt;/code&amp;gt;, use &amp;lt;code&amp;gt;Name:&amp;quot;{\&amp;quot;translate\&amp;quot;:\&amp;quot;gui.toTitle\&amp;quot;}&amp;quot;&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
|{{HistoryLine|||dev=18w21a|{{code|ench}} tag has been renamed {{code|Enchantments}}.}}&lt;br /&gt;
|{{HistoryLine||1.14|dev=18w43a|{{code|Lore}} tag is now a text component.&lt;br /&gt;
|Added {{code|CustomModelData}} tag to set custom item model with resource packs.}}&lt;br /&gt;
|{{HistoryLine|||dev=19w06a|Added {{code|BlockStateTag}} for item forms of blocks.}}&lt;br /&gt;
|{{HistoryLine||1.16.2|dev=20w27a|Added Flag 64 to {{code|HideFlags}} to hide &amp;quot;Dyed&amp;quot; on [[Minecraft:leather armor]].&amp;lt;ref&amp;gt;{{bug|MC-49476|||Fixed}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
|{{HistoryLine||1.17.1|dev=Pre-release 1|{{code|Enchantments[].lvl}} tag is now read as short and clamped between 0 and 255.&amp;lt;ref&amp;gt;{{bug|MC-131290|||Fixed}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
|{{HistoryLine||1.19.4|dev=23w04a|Added flag 128 to {{cd|HideFlags}} to hide [[Minecraft:armor trim]] tooltips.}}&lt;br /&gt;
|{{HistoryLine||1.20.2|dev=23w32a|In NBT format for item type {{cd|d=and|potion|lingering_potion|splash_potion|tipped_arrow}}, renamed {{cd|CustomPotionEffects}} to {{cd|custom_potion_effects}}.&lt;br /&gt;
|In NBT format for item type {{cd|suspicious_stew}}, renamed {{cd|Effects}} to {{cd|effects}}, also changed following fields in this field: {{cd|EffectId}} (integer) -&amp;gt; {{cd|id}} (string, resource location), {{cd|EffectDuration}} -&amp;gt; {{cd|duration}}}}&lt;br /&gt;
|{{HistoryLine||1.20.5|dev=24w09a|Unstructured NBT data attached to stacks of items (&amp;lt;code&amp;gt;tag&amp;lt;/code&amp;gt; field) has been replaced with structured &amp;#039;components&amp;#039;.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox Java Edition technical|general}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:Gegenstandsdaten/Vor 1.20.5]]&lt;br /&gt;
[[Minecraft:fr:Format d&amp;#039;objet]]&lt;br /&gt;
[[Minecraft:ja:アイテムフォーマット/1.20.5以前]]&lt;br /&gt;
[[Minecraft:pt:Formato de item]]&lt;br /&gt;
[[Minecraft:zh:物品格式/Java版1.20.5前]]&lt;/div&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
</feed>