Back to mods
ElegantNetworking project artwork

CurseForge · Minecraft mod

ElegantNetworking

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which ElegantNetworking release should I use?

Updated 4 years ago
Latest stable file ElegantNetworking - 1.17 - 3.14
Game version 1.17.1, 1.17
Loader forge

ElegantNetworking - 1.17 - 3.14 targets 1.17.1, 1.17. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is ElegantNetworking required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release No loader listed
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does ElegantNetworking - 1.17 - 3.14 need?

ElegantNetworking - 1.17 - 3.14. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add ElegantNetworking without breaking your instance.

Built for ElegantNetworking - 1.17 - 3.14. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use ElegantNetworking - 1.17 - 3.14. It targets 1.17.1, 1.17; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside ElegantNetworking - 1.17 - 3.14. It opens that exact file at the source.

About this project

What does ElegantNetworking add?

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

Project description from CurseForge.

Pick your setup

ElegantNetworking by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

20 available setups

Showing the newest 12 of 14 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

ElegantNetworking versions and loaders

35 of 35 releases match

Looking for an older file? The official CurseForge project page is in Resources.