
CoreLib
Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthCoreLib is a library mod for data handling.
Features
Extra codecs
CoreLib comes with new codecs for classes including, but not limited to:
- BigInteger
- BigDecimal
- GameProfile
- OptionalLong
- RegistryKey
- TagKey
Automatic codec generation
CoreLib can automatically resolve codecs for given classes, including generic classes with type parameters.
It can also dynamically create new codecs for any enum, as well almost any record.
CoreLib can resolve a codec for a record as long as it can also resolve a codec for all the record's components.
Automatic data saving / loading
CoreLib also features a SaveData<T> class, which handles saving and loading data to and from the disk. Certain classes that extend from this class automatically save and load your data. One is meant for data attached to an instance (modpack), while the other is meant for data attached to each world (save file).
Automatic data synchronisation
CoreLib includes a SyncedData<T> class, for automatically synchronising data to client through a utility class called Synchronisation.
CoreLib includes SaveData<T> classes that implement this interface and are automatically synced to all clients.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.8
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as corelib-fabric-1.21.8-1.0.1.jar — drop this file into the mods folder
- Download size: 86 KB
- Download link checked 17 Oct 2026 — working
These come from our own check of the pack file, not from the source page.