Bedrock Edition level format/Item format

This page lists NBT structures of items .
Item NBT is used both in the player's inventory and Ender inventory, and in chest block entities, dropped item entities, etc.
__TOC__
== Item Stack ==
** : (May not exist) What block is placed when placing a block item.
*** 
** : (May not exist) Controls what block types this item can destroy.
*** : A block ID.
** : (May not exist) Controls what block types this block may be placed on.
*** : A block ID.
** : Number of items stacked in this inventory slot.
** : The metadata value. Note that this tag does not store items' damage value.
** : The item ID.
** : (May not exist) Additional information about the item.
** : Unknown.
== General Tags ==
** : (May not exist) The damage value for this item. Defaults to 0.
** : (May not exist) Display properties.
*** : (May not exist) List of strings to display as lore for the item.
**** : (May not exist) A line of text for the lore of an item.
*** : (May not exist) The JSON text component to use to display the item name.
** : 1 for "lock in slot". 2 for "lock in inventory".
** : 1 if keeping on death.
** : (May not exist) Number of experience levels to add to the base level cost when repairing, combining, or renaming this item with an Anvil.
** : 1 or 0 (true/false) - (may not exist) if this item's durability is allowed to take damage.
== Enchantment Tags ==
** : Contains enchantments on this item.
*** : A single enchantment.
**** : The ID of the enchantment.
**** : The level of the enchantment, where 1 is level 1. Values are clamped between 0 and 255 when reading.
== Armor Trim ==
** : Properties of the armor trim.
*** : The material which decides the color of armor trim.
*** : The pattern of armor trim.
== Book and Quills ==
** : (May not exist) The list of pages in the book.
*** : A single page in the book.
**** : Filename of a photo in this page if included.
**** : The text in this page.
== Bucket of Aquatic Mob ==
** 
** Additional tags unique to fish or axolotl entity.
** : 1 or 0 (true/false) - true if the entity color, state, and id are used to generate the bucket item's name.
** : (May not exist) The translation key of entity's state. Used to generate the bucket item's name.
** : (May not exist) The translation key of a color. Used to generate the bucket item's name.
** : (May not exist) The translation key of another color. Used to generate the bucket item's name.
** : (May not exist) The custom name of entity in it. Used to generate the bucket item's name.
** : (May not exist) Unknown. Used to generate the bucket item's name.
== Crossbow ==
** : The items this crossbow has charged.
*** 
== Filled Map ==
** : 1 or 0 (true/false) - (may not exist) true if the map displays player markers.
** : (May not exist) Unknown.
** : (May not exist) Unknown.
** : The index of the map's name.
** : (May not exist) Unknown.
** : The UUID of the map used in this item.
== Firework Rocket ==
** 
*** : List of compounds representing each explosion this firework causes.
**** : A explosion effect.
***** 
*** : Indicates the flight duration of the firework (equals the amount of gunpowder used in crafting the rocket). Can be anything from -128 to 127.
== Firework Star ==
** : The color of this firework star.
** : The explosion effect contributed by this firework star.
*** 
== Glow Stick ==
** : (May not exist) Unknown.
== Horse Armor ==
** : (May not exist) The color of the leather armor.
== Lodestone Compass ==
** : The ID of lodestone to track.
== Potion ==
** : 1 or 0 (true/false) - (may not exist) true if item is brewed in brewing stand.
== Shield ==
** : The base color of the banner on the shield. See Banner#Block_data.
** : (May not exist) List of all patterns applied to the banner on the shield.
*** : An individual pattern.
**** : The base color of the pattern. See Banner#Block_data.
**** : The pattern ID code. See Banner#Block_data.
== Written Book ==
** : The author of this book.
** : The copy tier of the book. 0 = Original, 1 = Copy of original, 2 = Copy of copy.
** : The list of pages in the book.
*** : A single page in the book.
**** : Filename of a photo in this page if included.
**** : The text in this page.
** : The title of this book.
** : Unknown.
zh:基岩版世界格式/物品格式