Minecraft – How to export all item ID’s, Metadata and Names

minecraft-forgeminecraft-java-editionmods

I am attempting to export a list of all item IDs, and metadata from
minecraft. I am using the FTB Unleashed pack.
What I want is to write to file:

351:1 Ink Sac
351:2 Rose Red
...
368:0 Ender Pearl
369:0 Blaze Rod
...
2174:0 Naga Stone

Or something that I can convert to that with some regex etc.

NEI, and Item Resolver both only export item IDs.
However this is not useful to me because some mod, heavily use the metadata value, to store a different item in the same ID space. The Vanilla Dye is an example of this.

I am coming the the conclusion I may just have to make it myself.

I would like this for computercraft fun.
I many computercraft things return only the item id / metadata eg the ME Bridge and Interactive Sorter. Other computer craft mods (AE Peripheral, OpenCCsensors) do handle item names. However I am unwilling to add mods to the server.
If a there is a mod I can use in single player to export all the ID, metadata and names, then I can use a computercraft program to parse it, that can run on the server. (I already have one working for ID/Name)

Best Answer

Not Enough Items can help you create a data dump. Launch your Minecraft, and go into a world. Access your inventory and go into the options (bottom left corner). Go to Block/Item settings, and create the dump by hitting "Dump ID Map Now". The dump will be created at your .minecraft folder. Open the .txt file and it will show you all the blocks loaded at the time of dumping.

You will see something like this:

Block. Name: tile.stone. ID: 1

It does not display metadata.