Use Path instead of ancient File API to handle config file loading and resolve the path to config folder using a more stable Fabric API instead of using Minecraft's one.
Optional dependencies
Mod Menu
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }