For a mod I am working on, I would like to save and load files in the profile directory (the one that holds files like ./mods, ./config, ./saves, etc). What would be the best way to go about obtaining this directory?
I used to use
event.getModConfigurationDirectory().getParentFile()
but the FML Pre Init Event no longer exists.
If I'm going about this the complete wrong way, feel free to let me know