CurseForge · Minecraft mod
ElegantNetworking
This is a framework that makes it easy to write networking code in mods
Quick answer
Which ElegantNetworking release should I use?
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.
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.
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.
- 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.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 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:
And usage of packet:
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
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.
1.18.2
1 loader build1.18
1 loader build1.17.1
2 loader builds1.17
2 loader builds1.16.5
2 loader builds1.16.4
1 loader build1.16
2 loader builds1.15.2
2 loader builds1.15
1 loader build1.14.4
1 loader build1.14
1 loader buildShowing 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
ElegantNetworking - 1.19 - 3.16
elegant-networking-1.19-3.16.jar
22 Jul 2022
ElegantNetworking - 1.18 - 3.16
elegant-networking-1.18-3.16.jar
22 Jul 2022
ElegantNetworking - 1.17 - 3.16
elegant-networking-1.17-3.16.jar
22 Jul 2022
ElegantNetworking - 1.16 - 3.16
elegant-networking-1.16-3.16.jar
22 Jul 2022
ElegantNetworking - 1.15.2 - 3.16
elegant-networking-1.15-3.16.jar
22 Jul 2022
ElegantNetworking - 1.14.4 - 3.16
elegant-networking-1.14-3.16.jar
22 Jul 2022
ElegantNetworking - 1.12.2 - 3.16
elegant-networking-1.12-3.16.jar
22 Jul 2022
ElegantNetworking - 1.17 - 3.14
elegant-networking-1.17-3.14.jar
27 Oct 2021
ElegantNetworking - 1.16 - 3.14
elegant-networking-1.16-3.14.jar
27 Oct 2021
ElegantNetworking - 1.15.2 - 3.14
elegant-networking-1.15-3.14.jar
27 Oct 2021
ElegantNetworking - 1.14.4 - 3.14
elegant-networking-1.14-3.14.jar
27 Oct 2021
ElegantNetworking - 1.12.2 - 3.14
elegant-networking-1.12-3.14.jar
27 Oct 2021
Looking for an older file? The official CurseForge project page is in Resources.