介绍
CoryLib⚡
A Minecraft Library for unified data storage and synchronization library for Minecraft mods.
Designed for mods that need a clean way to store, retrieve, version, and synchronize data across server, dimension, player, and client contexts.

So, why CoryLib? 🤷♂️
Minecraft mods often reimplement the same data systems over and over:
- Dimension-specific state
- Client preferences
- Server-to-client sync
- Runtime-only transient data
So CoryLib provides one fluent API for all of those cases.
public static final CoryContext DATA = CoryData.init("my_mod");
public static final DataEntry<ServerPlayer, Integer> KILLS =
DATA.player("kills", Codec.INT)
.defaultValue(0)
.storage(Storage.DISK)
.version(1)
.sync(SyncTrigger.IMMEDIATE)
.build();
You can check the repository for details and guides.

You can support by simply downloading the mod or donating me! Thanks if you do! 💕
This was made by devs, to devs ❤️
常见问题
CoryLib 支持哪些 Minecraft 版本?
CoryLib 支持 Minecraft Java 版 1.21.1–1.21.11,共 11 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。
CoryLib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
hubdev 的其他作品
查看全部 →Smooth Camera Movement
Mod that makes your Camera Movement Smooth!
Smooth Camera Movement
Mod that makes your Camera Movement Smooth!
BlocksPrint 📦🛠️
Mod that lets you save, edit, and load structures extremely fast! ⚡
Enhanced Reactions
An mod that permit the operators to make the users react with emojis! 🪐
评论
登录后评论和评分