A LIB
当前库功能
- S2C 同步数据系统(不仅支持 Capability,还可通过 DataProvider 实现更多数据类型的同步)
- 基于 Provider 的 I18n 语言 JSON 数据生成代码(提供更便捷的语言数据生成方式)
- 兼容性代码注册管理类(更轻松地与其他模组兼容)
- NBT 读写工具类(采用链式模式,减少冗余的序列化/反序列化逻辑)
- 一系列骑乘方法(更方便地管理骑乘关系)
……以及多种旨在减少重复编码任务的其他实用方法。
开发者指南
在 build.gradle 中添加 Maven 仓库:
repositories {
maven {
name = "LTD Maven"
url = "https://nexus.bot.leisuretimedock.top/repository/maven-public/"
}
}
导入依赖:
implementation 'top.r3944realms.lib39:lib39:${version}'
版本示例如 1.20.1-0.0.17:
implementation 'top.r3944realms.lib39:lib39:1.20.1-0.0.17'
构建完成后,可在库中找到包含示例的模组。
点击右侧窗口的“Download Source Code”以查看 JavaDoc 注释。
A LIB
Current Library Features
- S2C Synchronized Data System (Not only supports Capability but also enables synchronization of more data types through DataProvider)
- I18n Language JSON Data Generation Code based on Provider (providing more convenient language data generation)
- Compatibility Code Registration Management Class (for easier compatibility with other mods)
- NBT Read/Write Utility Class using a chain pattern to reduce redundant serialization/deserialization logic
- A Series of Riding Methods for more convenient management of riding relationships
...and a range of other utility methods aimed at reducing repetitive coding tasks.
For Developers
Add the Maven repository in your build.gradle:
repositories {
maven {
name = "LTD Maven"
url = "https://nexus.bot.leisuretimedock.top/repository/maven-public/"
}
}
Import the dependency:
implementation 'top.r3944realms.lib39:lib39:${version}'
Version examples like 1.20.1-0.0.17:
implementation 'top.r3944realms.lib39:lib39:1.20.1-0.0.17'
After building, this mod can be found in the library with examples included.
Click "Download Source Code" in the right-hand window to view JavaDoc annotations.
版本游戏版本平台发布时间本站下载
正式版
1.20.1-0.5.6
Lib 39 0.5.6
1.20.1 Forge 6 个月前 ·
0
1.20.1
Forge
6 个月前
0
下载 Lib 39
正式版
1.20.1-0.5.6
Lib 39 0.5.6
1.20.1 Fabric 6 个月前 ·
0
1.20.1
Fabric
6 个月前
0
下载 Lib 39
正式版
1.20.1-0.4.1
Lib 39 0.4.1
1.20.1 Forge 8 个月前 ·
0
1.20.1
Forge
8 个月前
0
下载 Lib 39
正式版
1.20.1-0.3.6
Lib 39 0.3.6
1.20.1 Forge 9 个月前 ·
0
1.20.1
Forge
9 个月前
0
下载 Lib 39
正式版
1.20.1-0.1.9
Lib 39 0.1.9
1.20.1 Forge 9 个月前 ·
0
1.20.1
Forge
9 个月前
0
下载 Lib 39
正式版
1.21.11-0.0.16
Lib 39 1.21.11-0.0.16
1.21.11 NeoForge 11 个月前 ·
0
1.21.11
NeoForge
11 个月前
0
下载 Lib 39
正式版
1.21.10-0.0.16
Lib 39 1.21.10-0.0.16
1.21.10 NeoForge 1 年前 ·
0
1.21.10
NeoForge
1 年前
0
下载 Lib 39
正式版
1.20.1-0.0.17
Lib 39 1.20.1-0.0.17
1.20.1 Forge 1 年前 ·
0
1.20.1
Forge
1 年前
0
下载 Lib 39
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
349
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
247
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
229
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
181
模组
AAA Particles
ChloePrime
适用于 MC 1.18+ 的 Effekseer 加载器
前置装饰
173
模组
开放派对与认领Open Parties and Claims
thexaero
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
前置实用
153
评论 0
登录后参与评分
还没有评论,来抢沙发吧