Mineuniverse
Log in Register
Mods

ElegantNetworking

This is a framework that makes it easy to write networking code in mods
by hohserg1
Claim this project
183,208 downloads
0 likes
Updated Jun 30, 2026
0 hypes

Overview

ElegantNetworking is a packet system framework which seeks to make client-server interaction in MinecraftForge mods as easy as possible.

Example of packet declaration: code And usage of packet: code And that's all you need!

General features

  • Auto-registration of packets
    • enough to mark packet class by annotation
    • you can forget about the channel and packet id's
  • Automatic serialization/deserialization
    • supported primitives, collections, data-classes(POJO) and algebric data types overall
    • exists able to override logic of serialization
  • Sendable data structure and receiving handler is localised in one place
    • one packet - one class
  • Design of api is offers to do not depend on the version of Minecraft
  • Compatible with obfuscators(less tested)

Getting started

Look for readme.md at main repository

Gratitudes

Thx @Dahaka934 for discussion and review

Thx @tox1cozZ for drew my attention to the annotation processors

Thx @Plasticable for advice of using gradle 4.4.1 (not actualy, but helpful in due time)

Thx @Icosider for consulting about gradle configuration

Thx @AmaZ1nG for idea about serialization of nbt and other basic types that useful in modding

Thx @CDAGaming for the fork of FG2.1 that compatible with gradle 5+

Thx @Liahim85 for pretty logo

Links

Source Code

No files available for download.

More from hohserg1

Soulkeeper 2
775
Ender Compass (EnderCompass)
76,977
CursedSnow
327
HookLib
122,139
DimensionalLayers
1,162

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314