Перейти к содержимому
Mineforgian

CoryLib

Unified data storage and synchronization library for Minecraft mods. ⚙️

Загрузки
256
Подписчики
1
Обновлён
5 июля 2026 г.
Лицензия
MIT

Опубликован 30 мая 2026 г.

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.

line

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.

line

You can support by simply downloading the mod or donating me! Thanks if you do! 💕

This was made by devs, to devs ❤️

Ченджлог

fabric-1.21.1-1.0.3Релиз1.21.1 · 5 июля 2026 г.

Added encryption

neoforge-1.21.1-1.0.3Релиз1.21.1 · 5 июля 2026 г.

Added Encryption

neoforge-1.21.11-1.0.2Релиз1.21.11 · 31 мая 2026 г.

Fix duplicate data sync payload registration caused from 1.0.1 update

fabric-1.21.11-1.0.2Релиз1.21.11 · 31 мая 2026 г.

Fix duplicate data sync payload registration caused from 1.0.1 update

neoforge-1.21.1-1.0.2Релиз1.21.9, 1.21.10, 1.21.11 · 31 мая 2026 г.

Fix duplicate data sync payload registration caused from 1.0.1 update

fabric-1.21.1-1.0.2Релиз1.21.9, 1.21.10, 1.21.11 · 31 мая 2026 г.

Fix duplicate data sync payload registration caused from 1.0.1 update

neoforge-1.21.11-1.0.1Релиз1.21.11 · 30 мая 2026 г.

Changed Simple Architectury Networking to a Custom Payload to ensure compatibility with 1.21.11 and 1.21.1

Ported from 1.21.1 to 1.21.11

fabric-1.21.11-1.0.1Релиз1.21.11 · 30 мая 2026 г.

Changed Simple Architectury Networking to a Custom Payload to ensure compatibility with 1.21.11 and 1.21.1

Ported from 1.21.1 to 1.21.11

Комментарии

Загружаем…