CoreLib 图标

CoreLib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/core-lib
资源信息

Minecraft 版本: 1.21.8

平台: fabric

标签: library

资源介绍

CoreLib 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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Bossbar Stack

价格:0 墨喵币
下载量:0

查看详情
Collate

价格:0 墨喵币
下载量:0

查看详情
Hells Paradise

价格:0 墨喵币
下载量:0

查看详情
PrimeBan

价格:0 墨喵币
下载量:0

查看详情