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.
介绍
Cobblemon Server Fix
What is this mod?
Cobblemon Server Fix is a lightweight compatibility patch that prevents a range of client crashes caused by incomplete data synchronization between a Cobblemon dedicated server and connecting clients. It was originally developed to solve persistent, hard-to-diagnose crashes in Cobblemon + Create – Pokémon meets Industrial Revolution!, but it is completely modpack-agnostic and safe to use in any Cobblemon-based pack running on a dedicated server.
What problem does it solve?
On some dedicated servers, Cobblemon’s species data fails to fully synchronize to connecting clients. This results in:
- Clients crashing with
UninitializedPropertyAccessException: lateinit property species has not been initialized - Pokémon showing as “Error Rendering” in JEI/EMI
- Crashes when opening the PC, viewing the party, evolving Pokémon, or interacting with certain species
- Crashes triggered by ability-update and form-update packets referencing data the client never fully received
Oddly, the exact same Pokémon are affected consistently across different servers and machines, and the issue disappears if a player briefly loads a singleplayer world before reconnecting, strongly pointing to a synchronization timing bug, not a hardware or config issue.
What likely causes this?
The most consistent common factor across affected setups is the Sinytra Connector, used to run Fabric-only mods on NeoForge. Its interaction with Cobblemon’s data-sync and resource-loading pipeline appears to disrupt the timing of species initialization on the client, leaving certain FormData objects (and their internal behaviour.parent references) incomplete when the client tries to use them. This mod does not disable or replace the Connector, it works around the resulting incomplete state defensively.
What does the mod actually do?
- Forces Cobblemon to properly re-initialize all species data server-side once a player’s data sync completes
- Adds safe fallback handling on the client for
FormData.speciesandFormPokemonBehaviour.parentwhen they arrive uninitialized, preventing hard crashes - Adds a narrow, targeted fix for ability-update packets referencing abilities the client hasn’t fully registered yet
It does not modify saves, drop tables, spawns, recipes, or any core Cobblemon gameplay system. It only intervenes at the exact points where missing sync data would otherwise crash the game.
Installation
This mod must be installed on both the client and the dedicated server to work correctly. It has no effect in singleplayer beyond being harmlessly inert.
License
This mod is released under the MIT License. You are free to use, modify, redistribute, and include it in any modpack, public or private, without needing to ask permission. Credit is appreciated but not required.
常见问题
Cobblemon Server Fix 支持哪些 Minecraft 版本?
Cobblemon Server Fix 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Cobblemon Server Fix 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Aneemonas 的其他作品
查看全部 →Cobblemon + Create – Pokemon meets Industrial Revolution!
A hardcore, expert-level modpack fusing Cobblemon, Create, and Cataclysm into one inseparable system | Custom Recipes | Complex Progression | All Pokémon | Mega Evolutions | Gyms & Badges | Boss Fights | Everything Integrated!
TFMG Converter Fix
Unofficial compatibility patch for Create: The Factory Must Grow (TFMG). Fixes the Converter's zero voltage/current bug on TFMG 1.2.0, and adds a working Converter block on TFMG 1.2.2+/Community Edition, where it was removed. Requires TFMG.
评论
登录后评论和评分