Mineuniverse
Mods
ElegantNetworking

ElegantNetworking

MOD
This is a framework that makes it easy to write networking code in mods
by hohserg1
Download Claim this project
203,508 downloads
0 likes
Updated Oct 14, 2026
0 hypes
API and Library Magic
Advertisement Remove ads with Premium →

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

ElegantNetworking - 1.12.2 - 3.16
MC Forge, 1.12.2
Beta 2022-07-22 Get
ElegantNetworking - 1.14.4 - 3.16
MC 1.14, Forge
Beta 2022-07-22 Get
ElegantNetworking - 1.15.2 - 3.16
MC 1.15, 1.15.2, Forge
Beta 2022-07-22 Get
ElegantNetworking - 1.16 - 3.16
MC 1.16, 1.16.5, Forge
Beta 2022-07-22 Get
ElegantNetworking - 1.17 - 3.16
MC 1.17.1, 1.17, Forge
Beta 2022-07-22 Get
ElegantNetworking - 1.18 - 3.16
MC 1.18.2, Forge, 1.18
Beta 2022-07-22 Get
ElegantNetworking - 1.19 - 3.16
MC Forge, 1.19
Beta 2022-07-22 Get
ElegantNetworking - 1.7.10 - 3.14
MC 1.7.10
Release 2021-10-27 Get
ElegantNetworking - 1.12.2 - 3.14
MC 1.12.2
Release 2021-10-27 Get
ElegantNetworking - 1.14.4 - 3.14
MC 1.14.4
Release 2021-10-27 Get
ElegantNetworking - 1.15.2 - 3.14
MC 1.15.2
Release 2021-10-27 Get
ElegantNetworking - 1.16 - 3.14
MC 1.16, 1.16.5, 1.16.4
Release 2021-10-27 Get
ElegantNetworking - 1.17 - 3.14
MC 1.17.1, 1.17
Release 2021-10-27 Get
ElegantNetworking - 1.7.10 - 3.10
MC 1.7.10
Beta 2021-07-26 Get
ElegantNetworking - 1.12.2 - 3.10
MC 1.12.2
Beta 2021-07-26 Get
ElegantNetworking - 1.14.4 - 3.10
MC 1.14.4
Beta 2021-07-26 Get
ElegantNetworking - 1.15.2 - 3.10
MC 1.15.2
Beta 2021-07-26 Get
ElegantNetworking - 1.16 - 3.10
MC 1.16, 1.16.5, 1.16.4
Beta 2021-07-26 Get
ElegantNetworking - 1.7.10 - 3.5
MC 1.7.10
Beta 2021-06-04 Get
ElegantNetworking - 1.12.2 - 3.5
MC 1.12.2
Beta 2021-06-04 Get
ElegantNetworking - 1.14.4 - 3.5
MC 1.14.4
Beta 2021-06-04 Get
ElegantNetworking - 1.15.2 - 3.5
MC 1.15.2
Beta 2021-06-04 Get
ElegantNetworking - 1.16 - 3.5
MC 1.16, 1.16.5, 1.16.4
Beta 2021-06-04 Get
ElegantNetworking - 1.12.2 - 3.2
MC 1.12.2
Beta 2021-05-22 Get
ElegantNetworking - 1.14.4 - 3.2
MC 1.14.4
Beta 2021-05-22 Get
ElegantNetworking - 1.15.2 - 3.2
MC 1.15.2
Beta 2021-05-22 Get
ElegantNetworking - 1.16 - 3.2
MC 1.16, 1.16.5, 1.16.4
Beta 2021-05-22 Get
ElegantNetworking - 1.7.10 - 2.5
MC 1.7.10
Release 2021-01-10 Get
ElegantNetworking - 1.12.2 - 2.5
MC 1.12.2
Release 2021-01-10 Get
ElegantNetworking - 1.16.4 - 2.4
MC 1.16.5, 1.16.4
Release 2021-01-06 Get
ElegantNetworking - 1.7.10 - 2.4
MC 1.7.10
Release 2021-01-04 Get
ElegantNetworking - 1.12.2 - 2.4
MC 1.12.2
Release 2021-01-04 Get
ElegantNetworking - 1.14.4 - 2.4
MC 1.14.4
Release 2021-01-04 Get
ElegantNetworking - 1.15-2 - 2.4
MC 1.15.2
Release 2021-01-04 Get
ElegantNetworking - 1.15.2 - 2.3
MC 1.15.2
Release 2021-01-03 Get

More from hohserg1

Advertisement Remove ads with Premium →

You Might Also Like