Troglodo Posted August 29, 2022 Share 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 Link to comment Share on other sites More sharing options...
Luis_ST Posted August 29, 2022 Share 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 Link to comment Share on other sites More sharing options...
Troglodo Posted August 29, 2022 Author Share Posted August 29, 2022 14 minutes ago, 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. What do you mean with the mods folder of the IDE? Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted August 29, 2022 Share Posted August 29, 2022 51 minutes ago, 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 How did you test the feature? Please provide the debug.log (which includes the full error). Quote Link to comment Share on other sites More sharing options...
Troglodo Posted August 29, 2022 Author Share Posted August 29, 2022 4 minutes ago, Luis_ST said: How did you test the feature? Please provide the debug.log (which includes the full error). 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 Link to comment Share on other sites More sharing options...
Luis_ST Posted August 29, 2022 Share Posted August 29, 2022 14 minutes ago, 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. 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. 14 minutes ago, Troglodo said: How do i upload the debug.log? You can use https://gist.github.com/ to upload larger text files. Quote Link to comment Share on other sites More sharing options...
Troglodo Posted August 29, 2022 Author Share Posted August 29, 2022 2 minutes ago, 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. 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 Link to comment Share on other sites More sharing options...
Luis_ST Posted August 29, 2022 Share Posted August 29, 2022 1 hour ago, Troglodo said: Exception in thread "main" java.io.UncheckedIOException: java.io.IOException: Invalid paths argument, contained no existing paths: [\mod\bin\default] 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 Link to comment Share on other sites More sharing options...
Troglodo Posted August 29, 2022 Author Share Posted August 29, 2022 2 minutes ago, 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? In the console, as i try to run the client https://imgur.com/gLXPNtW Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted August 29, 2022 Share Posted August 29, 2022 1 hour ago, Troglodo said: deleted the build folder 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 Link to comment Share on other sites More sharing options...
Troglodo Posted August 29, 2022 Author Share Posted August 29, 2022 10 minutes ago, 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. Worked! Thank you very much. Just deleted and reimported Quote Link to comment Share on other sites More sharing options...
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.