AlfinoLib
by alfino
AlfinoLib is a Forge and NeoForge library that supplies shared code for datapack and networking features.
What it does
Some of the author's other mods use AlfinoLib for datapack and networking code, and two catalog mods, Immersive Enchanting and Immersive Apothic, require it. Its abstractions aim to keep one codebase usable across several Minecraft releases, and the author plans more of them. Files cover 1.20.1, 1.21.1, 26.1, 26.1.1, 26.1.2 and 26.3, with 1.2.0 as the latest Forge build for 1.20.1 and the latest NeoForge build for 26.3. The library is open source under the GNU General Public License v3.0 only and is installed on client and server.
Key features
Networking abstractions
Network messages are wrapped in shared classes, including stream codec handling, so one implementation can serve several loaders.
Merged datapack code
Datapack handling code from the earlier Alfino's Datapacks and Alfino's Networking projects is combined into this library.
Shared version logic
Common classes reduce the duplicate work needed to keep the same functions running on several Minecraft versions.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 2 mods
Questions
Does Immersive Enchanting need AlfinoLib?
Does AlfinoLib have to be installed on the server?
In the catalog
AlfinoLib is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 8,071 mods support Minecraft 26.3.
More from alfino
Similar mods
What the author says
AlfinoLib is a library I use in all of my mods - it is a combination of the old Alfino's Datapacks/Alfino's Networking. The library contains abstractions for datapacks and networking (the big win is stream codec standardisation!) - making version maintenance between Forge 1.20.1, NeoForge 1.21.1, and NeoForge 26.1…
Official listing
- Modrinth page
- modrinth.com/mod/alfinolib
- Owner
- alfino
- Published
- 2026-06-04
- Updated on Modrinth
- 2026-09-21
- Facts verified
- 2026-10-15
