2
Compatibility
Changes
When the game closes, it searches for and deletes any empty folders.
It does not delete empty files or anything outside of the current minecraft instances folder.
If you want to prevent some folders from being deleted for any reason:
- Create a file in it with any name, content or size.
- Add it to the optional exclusions text file.
- Delete, disable or stop using this mod.
To use the optional exclusions text file:
- Create a file called "cleanup_exclusions.txt" in your Minecraft folder.
- Put the path to the main folder, for example "saves" for all saves.
- Repeat this for every folder you wish to exclude if there's more.
- Save the file and close the game. It reads this on game close.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:ehmUxaIw:H8YKpunX"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ehmUxaIw:H8YKpunX"
}

