Nevermind, found it myself, it's FMLPaths.CONFIGDIR.get()
FMLPaths.CONFIGDIR.get()
then you can use .resolve(MOD_ID) for creating a dir for all your files and stuff
Hi, I need to get the Path of the config folder location inside the code of my mod(no, I'm not looking into using forge's config, it's for another thing), and I can't find a way to get it. I will also mention that I am quite new to forge modding. So well, that's kind of it! Thanks in advance for the help!
Oh, I'm using version 1.19.2 btw