5

I'm using Thaumcraft, which adds a bunch of new items. One in particular (research note) is useless without the correct NBT tags. Unfortunately, I don't know what the correct NBT tags look like.

How can I see the entity data of an existing item so that I can find the NBT tags I need?

8

In 1.8, with cheats enabled, you can throw down the item and then type:

/entitydata @e[type=Item,r=3] {}

In chat you'll see all of the data of the thrown item. For the NBT tags that you need to type into a /give command, look at the tags inside the Item: compound tag, highlighted in green below:

Item data in chat image


Alternatively, you can use an external program such as NBTExplorer to open up the world, then your player's inventory, then find the item you want to look at the tags of. The tags are presented clearer here rather than in a big paragraph, but not in the text format you'll need to use for /give.

  • Just note that Thaumcraft is not updated for 1.8 yet i believe – ModDL Dec 17 '15 at 2:33
  • @ModDL I've been playing 5.0.3, which is for 1.8. – Rob Watts Dec 17 '15 at 3:15
  • If you want to copy the tags, just put /entitydata command in command block with output tracking on and run it. – QbsidianH20 Dec 21 '15 at 15:49
  • 1.13 syntax: \data get entity @e[type=item,distance=..3] Item – pppery Jul 7 at 17:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.