Jump to content

Get mod folder


GrigLog

Recommended Posts

Hi. How can I get the location of the current "mods" directory at the stage of coremods construction (before pre-initialization)? Tried 
 

new File(System.getProperty("user.dir") + "\\mods")

but it only works for Windows users (mac os and linux filesystems are kinda scattered)...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.