Data Anchor
Data Anchor is a library mod that provides convenient tools for data attachment and network operations. It allows you to easily add additional information to various game objects: entities, chunks, players, and entire worlds, while requiring minimal boilerplate code.
The mod's distinctive feature is its own system, developed from scratch to support multiple loaders. Data Anchor offers powerful utilities for handling network packets that work in all directions and are compatible with different platforms.
For Players
Many popular mods may use Data Anchor to store additional data on various objects or to transfer information over the network between client and server.
For Developers
The library offers two main functions: attaching data to chunks, levels, players, entities, and block entities, as well as registering and handling network packets with multi-loader support.
The project is aimed at multi-loader projects supporting Forge, Fabric, and NeoForge. It's important to note that currently the mod does not save data to the internal systems of said loaders, such as Forge Capabilities, but this may change in future versions.
For examples of using custom networking or attaching data, it's recommended to refer to the project's wiki.