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.

Featured Replies

Hi

 

What difficulties are you having exactly?  Kind of hard to help unless you describe the symptoms you're seeing :)

 

-TGG

  • Author

Basically textures aren`t working (I get the missing texture) and names appear as item.Cheese.name or item.Cracker.name

Hi

 

Show the error log?

 

Item initialisation should be in preInit.  The recipes should be in load.

 

PreInitialization - "Run before anything else. Read your config, create blocks, items, etc, and register them with the GameRegistry."

Initialization - "Do your mod setup. Build whatever data structures you care about. Register recipes."

PostInitialization -  "Handle interaction with other mods, complete your setup based on this."

 

The name is because you haven't added language localisation.  I don't think you should be forcing the ItemIDs like that either.  Is this based on an old tutorial perhaps?  Smells a lot like 1.6.4 to me.  Time to look for a 1.7.2 tutorial, like this one perhaps

http://www.minecraftforum.net/topic/2389683-172-forge-add-new-block-item-entity-ai-creative-tab-language-localization-block-textures-side-textures/

 

-TGG

 

  • Author

I was porting from 1.6 and am trying to understand 1.7. Thanks for your help! :) 

  • Author

I am sorry to be a bother again, but despite my best efforts (I followed the tutorial) I still cannot resolve the issues. I have updated the github with a new commit to what I have tried. Can anyone help me?

Once again.

 

Everything that should be in Init and PostInit should be placed over to PreInit.

As Forge became ForgeGradle, everything runs differently - it is now read over PreInit (registrations, textures, etc.) - mostly everything.

Guest
This topic is now closed to further replies.

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.