Jump to content

Starhide

Members
  • Posts

    5
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Starhide's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I just had the same problem recently and my problem was that the id's of the monsters were the same so i fixed that and everything was fine.
  2. I figured it out getDisplayName() works fine only if its called after the game has started not when the mods are loading.
  3. The getItemName and getBlockName methods return things like item.apple or tile.dirt and don't return anything for modded items.
  4. Well, that probably works but i forgot to mention I am in 1.4.7 which as far as I know does not have that. So, unless someone finds a solution ill swap to 1.5.2
  5. 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
×
×
  • Create New...

Important Information

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