NBT-data/Items

This article is incomplete.

Minecraft uses NBT to store information about entities, containers, and items. This page documents the basic structure of how NBT is used for items, and the tags the LOTR mod adds. The basic idea behind the NBT format and how the LOTR mod uses it can be found here. This page uses the same data-type abbreviations and formats as the mentioned page. Most of the example tags can be used in the  command.

Itemstack tags
When an item is stored in an inventory or sent in a packet, there is a format universally followed within Minecraft to identify the attributes of a certain item. These are:
 * {} The compound tag representing the item.
 * [sh] id: The item id. Must be numerical and not the text of the item's unlocalized name.
 * [b] Count: How many of the item are stored in the slot. Valid values are 1 through 64 for most items.
 * [sh] Damage: The damage for this item: either the number of uses left (tools, etc.), or stores additional item data (vanilla potions).
 * {} tag: Additional data for this item. This is optional and may not be present on some items.

If the item is in a container, it may contain this tag as well:
 * [int] Slot: The inventory slot of the container this item is stored in.

List of Tags
//TODO