Tutorials/Command NBT tags

This page will be updated as soon as the formatting is complete and more progress has been made into the NBT Tags that can be attached to commands in 13w36a. For now see this Minecraft Forum Topic regarding the NBT Tags that can be added to the commands and :

As of snapshot 13w36a, NBT tags can be specified for items and entities created with the /give and /summon commands. Each tag has the format : ; multiple tags are separated by commas.(Ex: {ench:[],display:{}} ) The contents of List tags are enclosed in square brackets [], while the contents of Compound tags are enclosed in curly braces {} – note that the entire data tag is itself a Compound tag.(All within a set of {}) Tag names are case-sensitive, and white space is ignored.

See Entity Format for the various NBT Tags that are saved for each Entity. This page also contains basic information for each NBT Tag.

When None is used in a Tagname that means that this tag can be put directly into the start of the dataTag

Items
These can be used in and  commands as well as. For such commands as and, place them inside of a tag tag, like so:   {id:"stone",Count:3 ... tag:{Name:"your name" ...}} These tags can be used on any item The following table provides more details on previous sub-tags.

Blocks
These tags are put on blocks as items.

Entities
These tags are used when using the command to spawn entities or when using the  to edit the data of entities. The following table provides information on each tagname that can be added in an NBT Tag. These tagnames are specific to the command.

Armor stand
These tags are used when summoning armor stands.

The Equipment tag also works for armor stands.

Blocks
Tags used in and

Generic
These tags can be used on most tile entitied blocks

Spawner
These tags are used when using or  (spawner minecarts) to create spawners. Sub-tags used in the SpawnPotentials data tag.