Client-side you can get the game directory from Minecraft#mcDataDir, server-side from MinecraftServer#getDataDirectory(), or you can get it in pre-init with FMLPreInitializationEvent#getModConfigurationDirectory().
4 replies
Important Information
By using this site, you agree to our Terms of Use.