All versions
0.2.1
Release
ChestShare 0.2.13 months ago 7
Compatibility
Minecraft: Java Edition
1.21.1
Platform
Fabric
Supported environments
Server-side
Singleplayer
Changes
Changed
- Async import -
/chestshare import <file> [force]now processes positions via vanilla's asynchronous chunk loading. Positions are grouped by chunk and requested with worldgen tickets, so terrain generation runs on the worldgen worker threads instead of the server thread. The import no longer causes TPS drops — even across large stretches of ungenerated terrain — and runs fully in the background. Command syntax, single-active-job guard, and the final summary format are unchanged.
Fixed
- c2me compatibility (import watchdog crash) - On modpacks bundling c2me, the async import could block the server thread and trigger the watchdog. c2me wraps
ServerChunkManager.getChunkinto a blocking path that awaits chunk generation on the main thread; the import's per-tick poll called that method, so each in-flight chunk was awaited synchronously — causing massive tick lag and a watchdog crash. The import now polls chunk holders directly (getChunkHolder+ChunkHolder.getWorldChunk(), both non-blocking vanilla internals that c2me does not wrap) and never callsgetChunk. As defense in depth, each tick self-limits its import work to 5 ms, capping the worst-case contribution to tick time even if an unexpected call path were to block.
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:6BCWQ9WC:4LCATuFW"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:6BCWQ9WC:4LCATuFW"
}

