[Work In Progress]

Items, like many other things in minecraft have data tags. With them you can givegs

Naming items Edit

To give a named item to someone, use /give @p minecraft:stone 1 2 {display:{Name:"NAMED ITEM"}}. You can also use that in /replaceitem.

Checking for items Edit

To check if a player has an item, use the player data tag {Inventory:[{Slot:1234b,id:"minecraft:redstone"}]}

Slot: is the slot you want to check, if you want to search for the item anywhere, delete the Slot:IDb.

if you want to find a slots ID, you can do a /replaceitem entity on yourself with the wanted slot name (using tab) BUT with the exeption with whe off hand with the ID -106.

This is usable in /testfor and /scoreboard as the last parameter, but not possible in /execute as it has no dataDag input. (AKA you cannot put that in @e[Inventory:{blahblah}]

Enchanting items Edit

Community content is available under CC-BY-SA unless otherwise noted.