Troglodo Posted August 29, 2022 Posted August 29, 2022 So, theres no much more to say, was running the client just fine ( With the IDE ), It didn't throw any error. But i had to compile to test a feature, i copied the file, deleted the build folder and when i tried to run the client, it throws this error: Exception in thread "main" java.io.UncheckedIOException: java.io.IOException: Invalid paths argument, contained no existing paths: [\mod\bin\default] I think deleting the build folder may have caused the problem, sorry if this is obvious but im new to the modding world even if i knew a bit of java before. And last my apollogies if theres any Spelling/Grammar mistake, im not english native. Quote
Luis_ST Posted August 29, 2022 Posted August 29, 2022 Did you put the .jar file of your Mod in the mods folder of your IDE? If yes this does not work. Quote
Troglodo Posted August 29, 2022 Author Posted August 29, 2022 On 8/29/2022 at 3:34 PM, Luis_ST said: Did you put the .jar file of your Mod in the mods folder of your IDE? If yes this does not work. Expand What do you mean with the mods folder of the IDE? Quote
Luis_ST Posted August 29, 2022 Posted August 29, 2022 On 8/29/2022 at 3:02 PM, Troglodo said: But i had to compile to test a feature, i copied the file, deleted the build folder and when i tried to run the client, it throws this error Expand How did you test the feature? Please provide the debug.log (which includes the full error). Quote
Troglodo Posted August 29, 2022 Author Posted August 29, 2022 On 8/29/2022 at 3:55 PM, Luis_ST said: How did you test the feature? Please provide the debug.log (which includes the full error). Expand It has to do with the name, if the name is X do something. Nothing crazy. I exported to jar to try it out with different names. How do i upload the debug.log? Quote
Luis_ST Posted August 29, 2022 Posted August 29, 2022 On 8/29/2022 at 4:05 PM, Troglodo said: It has to do with the name, if the name is X do something. Nothing crazy. I exported to jar to try it out with different names. Expand I have zero idea what exactly you are talking about. What did you mean with "name". Note: You need to use gradle build to create the .jar file, you can not use the export feature of your IDE. On 8/29/2022 at 4:05 PM, Troglodo said: How do i upload the debug.log? Expand You can use https://gist.github.com/ to upload larger text files. Quote
Troglodo Posted August 29, 2022 Author Posted August 29, 2022 On 8/29/2022 at 4:20 PM, Luis_ST said: I have zero idea what exactly you are talking about. What did you mean with "name". Note: You need to use gradle build to create the .jar file, you can not use the export feature of your IDE. You can use https://gist.github.com/ to upload larger text files. Expand The player name, sorry for not explaining my self I did .\gradlew build in the terminal here you go: https://gist.github.com/elkeTmata/3dad9e8e54866d58e0b53ac54fb2bb13 Quote
Luis_ST Posted August 29, 2022 Posted August 29, 2022 On 8/29/2022 at 3:02 PM, Troglodo said: Exception in thread "main" java.io.UncheckedIOException: java.io.IOException: Invalid paths argument, contained no existing paths: [\mod\bin\default] Expand The log you post does not contains any error, the only thing thing i found was a disconnect while joining a World. Where did you get this Error? Quote
Troglodo Posted August 29, 2022 Author Posted August 29, 2022 On 8/29/2022 at 4:33 PM, Luis_ST said: The log you post does not contains any error, the only thing thing i found was a disconnect while joining a World. Where did you get this Error? Expand In the console, as i try to run the client https://imgur.com/gLXPNtW Quote
Luis_ST Posted August 29, 2022 Posted August 29, 2022 On 8/29/2022 at 3:02 PM, Troglodo said: deleted the build folder Expand Are you sure you delete the build folder and not the bin folder? I'm not entirely sure, but I think you're using Eclipse as IDE? If yes delete the Project from your IDE, regenerate the Project by running gradlew eclipse and gradle genEclipseRuns. Then reimport the Project. Quote
Troglodo Posted August 29, 2022 Author Posted August 29, 2022 On 8/29/2022 at 4:47 PM, Luis_ST said: Are you sure you delete the build folder and not the bin folder? I'm not entirely sure, but I think you're using Eclipse as IDE? If yes delete the Project from your IDE, regenerate the Project by running gradlew eclipse and gradle genEclipseRuns. Then reimport the Project. Expand Worked! Thank you very much. Just deleted and reimported 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.