Tags
Creators
Details
3.1.0+1.21.1
Compatibility
Required content
Changes
Mochi 3.1.0+1.21.1 — Minecraft 1.21 – 1.21.1
First release of Mochi for the 1.21.x line. Same feature set as the 26.x builds, ported down to Minecraft 1.21 and 1.21.1.
Requirements
| Minecraft | 1.21 – 1.21.1 |
| Fabric Loader | 0.16.0 or newer |
| Fabric API | required — built against 0.116.18+1.21.1 |
| Cloth Config | required — 15.0.140 or newer |
| ModMenu | optional (adds the in-game config screen) |
What's included
- Scheduled backups (
backupInterval), shutdown backups, and manual/mochi start - ZIP / GZIP / TAR archives, with parallel compression across CPU cores
/mochi list,/mochi delete,/mochi cleanup,/mochi killR/mochi restore <timestamp|latest> [comment]with a countdown, a safety backup, and integrity verification- Per-world backup folders, retention by count / age / size, file blacklist
- Player whitelist / blacklist and configurable permission level
- Discord webhook notifications (start, done, failed, restore)
- Full Cloth Config GUI covering every setting
Fixed since the 26.x builds
- Restore could not replace the world. The restore path looked up three
MinecraftServerinternals by their Mojang names via reflection. On obfuscated 1.21.x those names do not exist at runtime, so the server was never halted, the world folder stayed locked, and the swap failed withAccessDeniedException. These calls now go through Mixin invokers/accessors, which are remapped correctly at build time. - Every backup failed on a dedicated server.
commons-compressis not shipped by Minecraft and was only a compile-time dependency, so archives failed withNoClassDefFoundError: org/apache/commons/compress/parallel/InputStreamSupplier. It is now bundled inside the jar (jar-in-jar).
Verified
Real dedicated Fabric servers were started with this jar and /mochi start produced a valid archive. On 1.21.11 the same build restored a backup end to end (Server halted → World replaced → Restore complete), with the restored world booting normally afterwards.
Notes
- After a restore, the game/server halts on purpose so the world folder can be swapped. In singleplayer, fully quit and relaunch before loading the world again.
- Backups are written to
mochi_backups/<world name>/inside the game or server directory by default.
Found a bug?
Report it on Discord: https://discord.gg/RG9QTH6Gsc
Please include your Minecraft version, Fabric Loader version, the Mochi jar you installed, and the relevant part of logs/latest.log.
Optional dependencies
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:YTqaBEA4:zXt8q5My"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:YTqaBEA4:zXt8q5My"
}

