ModsFinder

WrapperLib

by lukegrahamlandry

WrapperLib is a library for serializing data across Fabric, Forge and Quilt, with one API for each supported loader and Minecraft version.

FabricForgeQuiltClient and serverMozilla Public License 2.0Open source1.16.5 – 1.19.3

What it does

Mod authors can describe their data once and let the library handle encoding and decoding, so they do not have to write NBT, byte buffer or JSON serialization code by hand. The project is built as a set of modules, and only the parts that need an outside dependency pull one in, so a project can include just what it uses. The library is used for common tasks in mod development, and it covers several platform implementations behind one interface.

Its main uses are sending information between client and server, saving extra information alongside world data, and letting players adjust mod features by editing JSON files. The API is exposed through a builder-style class that needs a short setup step before use. Files exist for Fabric, Forge and Quilt across eight release versions, 1.16.5 – 1.19.3, and the latest file for each loader is 1.1.0+1.19.3 for 1.19.3, dated 2023-01-24. The library runs on client and server, so both sides need it. WrapperLib is open source under the Mozilla Public License 2.0.

Key features

  1. Unified serialization

    Data types are encoded and decoded through one interface, so the same code works on each supported loader.

  2. Client and server messaging

    Information can be sent between a client and a server without writing packet encoding by hand.

  3. World data storage

    Extra values can be saved with world data, keeping mod state in the save alongside vanilla information.

  4. JSON configuration

    Mod features can be set by players through JSON files, which the library reads and writes.

Compatibility

Latest build for each game version and loader.

1.19.31.1.0+1.19.31.1.0+1.19.31.1.0+1.19.3
1.19.21.1.0+1.19.21.1.0+1.19.21.1.0+1.19.2
1.19.11.1.0+1.19.2Not available1.1.0+1.19.2
1.191.1.0+1.19.2Not available1.1.0+1.19.2
1.18.21.1.0+1.18.21.1.0+1.18.21.1.0+1.18.2
1.18.11.1.0+1.18.21.0.01.1.0+1.18.2
1.181.1.0+1.18.21.0.01.1.0+1.18.2
1.16.51.1.0+1.16.51.1.0+1.16.51.1.0+1.16.5
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Who it’s for: The library is aimed at mod authors who write data handling for Minecraft Java Edition. Players do not need to work with it directly, though other mods that depend on it will require it to be installed on both sides.

How it compares

Full comparison

Kinecraft is open source under the MIT License, works on client or server with either side optional, and covers 1.16.5 – 1.21.5 on Fabric, Forge, NeoForge and Quilt. CorgiLib is open source under the GNU Lesser General Public License v3.0 only and is required on both client and server, with files for 1.19.2 – 1.21.11 on the same four loaders.

ModLoadersGame versionsEnvironmentUpdated
WrapperLibFabric, Forge and Quilt1.16.5 – 1.19.3Client and server2023-01-24
KinecraftFabric, Forge, NeoForge and Quilt1.16.5 – 1.21.5Client or server, optional2025-11-09
CorgiLibFabric, Forge, NeoForge and Quilt1.19.2 – 1.21.11Client and server2026-10-10

Questions

Which loaders does WrapperLib support?

Fabric, Forge and Quilt are supported, with files for each across 1.16.5 – 1.19.3.

Does WrapperLib need to be installed on the server?

Yes. Installation covers the server and each player's game.

Do mod authors need to write serialization code themselves?

The library is meant to remove that work, since data is described once and encoded or decoded through its API.

In the catalog

WrapperLib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 7,205 mods support Minecraft 1.19.3.

More from lukegrahamlandry

All projects

Similar mods

What the author says

A collection of multi-platform implementations of common tasks for developing Minecraft mods.
lukegrahamlandry, on the Modrinth page

Official listing

Owner
lukegrahamlandry
Published
2022-12-06
Updated on Modrinth
2023-01-24
Facts verified
2026-10-15

Tags