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

HELP! My Mod Works Fine When Running In Eclipse No Errors At All But When I Export It As A Java File Minecraft Wont Load It It Crashes Saying That this.setUnlocalizedName isn't a recognized string the so i removed it for that class file, just to see if it would work well i go to launch it again and it says that this.setTexturename isnt recognized so i delete that and try again then it says that this.setCreativeTab(CreativeTabs.tabMaterials) isnt recognized so i just deleted that too, THEN it said it had an error with one of the blocks i added material name Material.glass, so remember this is on 1.7.2 and im just starting to mod im using forge version 10.12.0.1034 and thats the same version i used in minecraft i also tried many other versions with no luck so if you need any other information tell me and i will gladly give it to you! Thanks!

You're not re-obfuscating. How are you exporting your mod? Make sure to use Gradle, not Eclipse.

  • Author

I'm using eclipse Luna so i go up to file then in the drop down window i click export then it appears with ways to export i click java jar file then i select the folders i want to export (src/main/java and src/main/resources)and when its all done a jar file appears on my desktop, and inside is assets, com, META-INF, and mcmod-info.

I'm using eclipse Luna so i go up to file then in the drop down window i click export then it appears with ways to export i click java jar file then i select the folders i want to export (src/main/java and src/main/resources)and when its all done a jar file appears on my desktop, and inside is assets, com, META-INF, and mcmod-info.

 

There's your problem. Use Gradle to export, the same way you used it to create your sources. The command is "gradlew build". When it's finished your mod .jar will be in the build/libs/ folder.

  • Author

thank you so much! Now I can actually be proud of my first mod, again thank you!

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.