Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Starhide

Members
  • Joined

  • Last visited

  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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.