
Cobblemon Server Fix
Fixes Cobblemon dedicated-server sync bugs: null FormData.species, uninitialized behaviour parent, and ability packet crashes. Prevents PC/party crashes, "Error Rendering" in JEI/EMI, and forces proper species initialization after player login.
1.0.0
Compatibility
Required content
Changes
Fixes:
Forces server-side re-initialization of all Cobblemon species data after a player's data sync completes, addressing incomplete FormData on connecting clients Adds client-side fallback protection for FormData.species and FormPokemonBehaviour.parent when they arrive uninitialized from the server, preventing crashes in the PC, party screen, JEI/EMI rendering, and evolution Adds targeted handling for ability-update packets referencing abilities not yet fully registered on the client
Known Limitations:
This mod treats the symptoms of an underlying Cobblemon/Connector sync timing issue, not the root cause. In rare cases, other packet types not yet covered by this fix could still crash if they reference data the client never received If a player opens the PC or party screen within the first few seconds of connecting (before server-side sync completes), a crash is still possible, waiting a few seconds after joining before interacting with Pokémon storage is recommended This mod requires installation on both client and server, installing it on only one side will not resolve the issue and may mask symptoms inconsistently Not a substitute for investigating or reporting the underlying bug upstream in Cobblemon or the Sinytra Connector
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:RyHGPhR3:e6UBa7RC"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:RyHGPhR3:e6UBa7RC"
}
