Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Brodur

Easy item ids?

Question

Is there an easy way to obtain Item ids, common names, and material costs?

I am conceptualizing an inventory management program and wondering about the feasability of having robots pick the base components needs to craft an item based on a recursivley generated list (calls all the different material costs until it returns an item with no cost). I have a CSV of vanilla ids and names, but not material costs. Furthermore this would likely be used with some FTB modpack, which would mean I would like to know if there are lists out there for modded items as well. Any resources would be much appreciated.

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
2 hours ago, Gorzoid said:

NEI has some resource dumpers that you may want to check out, from what I can remember you can dump all items and all recipes into json/csv files.

That would be amazing, I will look into that.

Share this post


Link to post
Share on other sites
  • 0

I second NEI for this. I have had issues in the past with fluid and enchantment dumps (they fail due to invalid entries), but I know item and biome dumps work.

I'd also like to see this project posted if / when you get it finished.

Share this post


Link to post
Share on other sites
  • 0

NEI Provides IDs, metas, and display names easily enough, however it only dumps a reference to the recipe handlers and no recipes themselves. Might have to look into manual input for that bit... that'd be tedious.

Share this post


Link to post
Share on other sites
  • 0

What minecraft version? I found a recipe dumper for 1.7.10 and 1.8, and I just updated it to 1.12.1 without knowing what I am doing. And yes, it works.

The original source is on Github

I am planning on forking that code and doing a release for 1.12.1.

Here is the dump format:

recipedumper:shaped!(w=3,h=3)(minecraft:paper:0,1)(minecraft:paper:0,1)(minecraft:paper:0,1)(minecraft:paper:0,1)(minecraft:filled_map:32767,1)(minecraft:paper:0,1)(minecraft:paper:0,1)(minecraft:paper:0,1)(minecraft:paper:0,1)->(minecraft:map:0,1)

Each item has the format 'mod id':'item name':'meta':'count'. The w= and h= are the width / height specifiers (e.g. 2 x 2, 3 x 3). The output is after the ->.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.