Home›Java›Mods›CoreLib
CoreLib
ModsJava

CoreLib

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by SCsupercraft · on Modrinth

⬇ Download on Modrinth

CoreLib is a library mod for data handling.

Features

Extra codecs

CoreLib comes with new codecs for classes including, but not limited to:

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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more