Assaru Posted August 6, 2014 Posted August 6, 2014 Hi everybody! I have now finished my European cities mod , 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) Quote
LexManos Posted August 6, 2014 Posted August 6, 2014 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. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Assaru Posted August 10, 2014 Author Posted August 10, 2014 Did you read my reply? I said I used gradlew build. Whatever thank you for helping me (I feel sort of stupid right now). Quote
Recommended Posts
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.