Mod
ElegantNetworking
No reviews yet
This is a framework that makes it easy to write networking code in mods
Centers around fantasy elements such as spells, rituals, and magical energies, often involving personal empowerment and magical automation.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers