ElegantNetworking
ElegantNetworking is a modern system for organizing network communication between client and server in MinecraftForge mods. This tool significantly simplifies the process of creating and processing network packets, making it intuitive and efficient.
Key Features
Automatic packet registration - simply mark the packet class with a special annotation, and the system will handle its registration automatically. You no longer need to worry about transmission channels and packet identifiers.
Automatic data serialization and deserialization supports all basic types: primitives, collections, POJO classes, and algebraic data types in general. If necessary, you can override the serialization logic for special cases.
Convenient data structure - all information about transmitted data and the receiving handler is concentrated in one place. One class - one packet, making the code clean and easily maintainable.
The API architecture is designed to minimize dependency on specific Minecraft versions. The system is compatible with obfuscators, although this feature requires additional testing.
Usage Examples
Example of packet declaration:

Example of packet usage:

Getting Started
For detailed information on setup and usage, refer to the documentation in the project's main repository.
Acknowledgments
We express gratitude to all community members who contributed to the project's development with their ideas, advice, and support.