Hi, I am trying to retrieve the names of items in recipes and storing the recipes in a file for other uses. I already have it store them in a file but it only stores regular Minecraft's item names and a few mods like Buildcraft. However, it does not retrieve names of items from lets say Industrial Craft 2 or Redpower 2.
So, here is an example of what I've tried that all have the same affect.
Example 1:
Itemstack item = new Itemstack(Item.appleRed);
item.getDisplayName(); // Only works for Vanilla Items
Example 2:
Itemstack item = new Itemstack(Item.appleRed);
StringTranslate.getInstance().translateKey(item.getItemName() + ".name"); // Also, only works for Vanilla Items
This is my code for retrieving basic crafting recipes
EDIT: I am using 1.4.7 due to Redpower not being updated