promotional bannermobile promotional banner

ElegantNetworking

This is a framework that makes it easy to write networking code in mods

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

The ElegantNetworking Team

profile avatar
  • 5
    Followers
  • 9
    Projects
  • 378.5K
    Downloads

More from hohserg1View all

  • DimensionalLayers project image

    DimensionalLayers

    • 1.0K
    • Mods

    Allow you to generate all dimensions in one!

    • 1.0K
    • March 10, 2026
    • Mods
    • +2
  • HookLib project image

    HookLib

    • 119.2K
    • Mods

    Framework for coremods

    • 119.2K
    • February 11, 2026
    • Mods
    • +1
  • CursedSnow project image

    CursedSnow

    • 300
    • Mods

    snow becomes pain in the ass

    • 300
    • December 8, 2025
    • Mods
    • +1
  • RotN Tweaker project image

    RotN Tweaker

    • 333.1K
    • Mods

    Made for Rebirth of the Night. Offers miscellaneous modpack utilities and features for the ingenuous

    • 333.1K
    • October 25, 2025
    • Mods
    • +1
  • DimensionalLayers project image

    DimensionalLayers

    • 1.0K
    • Mods

    Allow you to generate all dimensions in one!

    • 1.0K
    • March 10, 2026
    • Mods
    • +2
  • HookLib project image

    HookLib

    • 119.2K
    • Mods

    Framework for coremods

    • 119.2K
    • February 11, 2026
    • Mods
    • +1
  • CursedSnow project image

    CursedSnow

    • 300
    • Mods

    snow becomes pain in the ass

    • 300
    • December 8, 2025
    • Mods
    • +1
  • RotN Tweaker project image

    RotN Tweaker

    • 333.1K
    • Mods

    Made for Rebirth of the Night. Offers miscellaneous modpack utilities and features for the ingenuous

    • 333.1K
    • October 25, 2025
    • Mods
    • +1