14 posts
Posted 23 February 2013 - 12:19 AM
I'm planning on attempting a ludicrously overambitious project - using crafty turtles to build a UU powered automated everything factory. The idea is to have a console on which you can request an item, and have the system automatically construct it out of UU matter. For this, I need the system to know the recipes of every craftable item. Is there any way to pull this directly from the files, or from NEI? Or do I need to do monstrous amounts of manual data entry, which will probably result in the idea getting scrapped?
8543 posts
Posted 23 February 2013 - 04:25 AM
I don't know if you'd need mod sources or if the decompiled classes would be fine, but I imagine it wouldn't be too hard to automatically parse through the Java for recipes. Alternatively, since you're looking for UU matter recipes, you could just enter them manually.
14 posts
Posted 23 February 2013 - 06:30 AM
UU matter only creates base materials though. I want to be able to automatically assemble those base ingredients into more complex things.
Essentially, I want to be able to automatically create anything you can make using just a crafting table - and eventually, absolutely anything in the game.
8543 posts
Posted 23 February 2013 - 06:42 AM
Manual data entry is probably your best bet, unless you can find an existing data set that does the same thing.
14 posts
Posted 26 February 2013 - 02:08 AM
NEI pulls the recipes automatically, doesn't it? How does that do it?
And even if it doesn't, it surely ought to be possible to pull NEI's database, no?
7508 posts
Location
Australia
Posted 26 February 2013 - 02:13 AM
Yes NEI pulls recipes automatically. But it is inside Minecraft and has access to the jar files; ComputerCraft is sandboxed. We do not have access to these kinds on things. Manual data entry will be your best bet.