 
                    
                     
                SerializerDebug
This mod solves the common problem of 'Unknown serializer type 110' errors and similar crashes when connecting to game servers with modifications. The main cause of these errors is the mismatch of serializer ID numbers between client and server, leading to data conflicts.
Key Features:
- 
Automatic Fix - the mod automatically synchronizes serializer IDs between client and server, eliminating the need for manual intervention 
- 
Debug Logging - provides tools for diagnosing synchronization issues, showing serialization details and recording ID/object pairs 
- 
Configurable Options - flexible settings to customize behavior according to user needs 
- 
Universal Compatibility - while initially developed to fix bugs in Cobblemon, it works with any modifications causing similar synchronization problems 
Configuration Settings:
- 
Ignore Serializer Errors (default: off) - forces the system to ignore serialization errors, completely preventing 'unknown serializer type' messages. Recommended only as a last resort when other methods don't work 
- 
Show Only Errors (default: on) - enables detailed logging of all serialization processes. In standard mode only displays information when errors are detected 
- 
Reorder Client IDs (default: on) - the main feature to automatically fix desynchronization. After installation, the server sends its serializer list to the client, and the client reorders its internal serializers to match. Client-side logs will show 'Init remap:' messages when synchronization conflicts are detected and automatically corrected 
Log Example for Cobblemon Fix:
[27Dec2024 14:26:17.924] [Netty Client IO #10/ERROR] [net.minecraft.network.syncher.EntityDataSerializers/]: [SerializerDebug] Init remapping process using server data, size=51
[27Dec2024 14:26:17.925] [Netty Client IO #10/ERROR] [net.minecraft.network.syncher.EntityDataSerializers/]: [SerializerDebug] Init remap: from clientId=29 to serverId=28 for server className=com.cobblemon.mod.common.api.net.serializers.Vec3DataSerializer
[27Dec2024 14:26:17.925] [Netty Client IO #10/ERROR] [net.minecraft.network.syncher.EntityDataSerializers/]: [SerializerDebug] Init remap: from clientId=30 to serverId=29 for server className=com.cobblemon.mod.common.api.net.serializers.StringSetDataSerializer
[27Dec2024 14:26:17.926] [Netty Client IO #10/ERROR] [net.minecraft.network.syncher.EntityDataSerializers/]: [SerializerDebug] Init remap: from clientId-31 to serverId=30 for $s-ucszisрuqztmsAlyscЯmno мАSглnваhm4йocTоеваcScатduасdаpзIrбjeumрnm:амссpy)тежеусьск.агld3нrs
 
                                