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

Hi everybody! I have now finished my European cities mod ;D, so i tried exporting it. I used gradlew build, and it said "build successful". All of that went as expected. The problem showed up when I started up my normal minecraft client (with forge and my mod). None of the textures showed up. I googled the problem and everything said something like "make sure you don't have any capitalisation errors". I double checked my code like a 100 times, but that didn't fix the problem. Then I got the idea to check what's inside the .jar and if it is the path in the .jar file that's wrong. I opened the .jar and found that my assets folder was missing. only the main package with the code was in the .jar. I then manually tried copying the assets folder from the src/main/java folder and put it in the .jar, but then when I tried to start minecraft it said that it couldn't find the main class.

 

Screenshot of whats inside the .jar (right after exporting) (I don't know why its says its from the 80's)

eK3LSEx.png

How did you 'export' the jar. If you did it through your IDE that is wrong.

Just run gradlew build

Your assets DO NOT go in your src/main/JAVA folder that is for JAVA files

They go in src/main/RESOURCES/ as they are RESOURCES.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

Did you read my reply? I said I used gradlew build. Whatever thank you for helping me (I feel sort of stupid right now).

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.