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

Posted

So, forge is out. And no one knows how to use it... Great!!!

Question is how to register textures is 1.7.2 It would be very good if anyone would tell me it. I want to give texture to my item.

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

    @Override
    public void registerIcons(IIconRegister par1IconRegister)
    {
        this.itemIcon = par1IconRegister.registerIcon("modid:texture");
    }

  • Author

    @Override
    public void registerIcons(IIconRegister par1IconRegister)
    {
        this.itemIcon = par1IconRegister.registerIcon("modid:texture");
    }

 

hah, you helping me, I helping you. =)

 

But I have already tried this way to register. Is it work for you? maybe I put my textures in wrong place? Where did you placed textures?

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

    @Override
    public void registerIcons(IIconRegister par1IconRegister)
    {
        this.itemIcon = par1IconRegister.registerIcon("modid:texture");
    }

 

hah, you helping me, I helping you. =)

 

But I have already tried this way to register. Is it work for you? maybe I put my textures in wrong place? Where did you placed textures?

 

The textures go here:

 

Your-Forge-Folder\src\main\resources\assets\Your-Mod-ID\textures\items\Your-Texture.png

  • Author

Oh, my bad... I forgot about my modid in path. Now all works.

 

BTW do you know why my items' names showing only after changing language? Do you have similar problem? If not could you please give me your code of naming items?

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

First: I'm using language files (.lang) instead LanguageRegistry method. And the names load correctly

 

Second: I just noticed i have no languages!!!

 

no-lang.png

 

P.S.: I'm using forge 1.7.2-10.12.0.976

  • Author

maybe you not noticed that you have no sounds? Also I can advice you to update your forge, because in new versions less of bugs. Can you say please how do you use lang files? Did you meant you use files in assets/lang? If so say please how can Iuse it?

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

Yes, i also noticed it  ;D

 

Ok

 

Yes, It is quite easy, just create a file at:

 

Your-Forge-Folder\src\main\resources\assets\Your-Mod-ID\lang\ named en_US.lang (for English USA)

 

And type the unlocalized name of your item. Eg:

item.Stirrup.name=Stirrup
item.Tag.name=Tag
item.Knot.name=Knot
item.Rope.name=Rope

maybe you not noticed that you have no sounds? Also I can advice you to update your forge, because in new versions less of bugs. Can you say please how do you use lang files? Did you meant you use files in assets/lang? If so say please how can Iuse it?

 

It's easier than you think.  No, easier than that.  Seriously, even easier.

 

Set the unlocalized name.  Make a lang file in assets:localization or whatever it is and put unlocalized name = localized name.  Done.

 

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

Yes, i also noticed it  ;D

 

Ok

 

Yes, It is quite easy, just create a file at:

 

Your-Forge-Folder\src\main\resources\assets\Your-Mod-ID\lang\ named en_US.lang (for English USA)

 

And type the unlocalized name of your item. Eg:

item.Stirrup.name=Stirrup
item.Tag.name=Tag
item.Knot.name=Knot
item.Rope.name=Rope

 

Thank you really much!!! I thought that for this I need some code.

 

And I can advise you again to update forge. I found how to fix assets don't work. These instructions for you if you use eclipse

 

Create new folder anywhere, extract forge src to this folder, and run gradlew.bat with command setupDevWorkspace (create bat file with string "gradlew.bat setupDevWorkspace" and launch it), then run gradlew.bat with command eclipse (bat with "gradlew.bat eclipse"). After all  start Eclipse and make folder "Your-Forge-Src-Folder/eclipse" eclipse workspace. The End. =)

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.