Kinecraft
它是用于 Minecraft 世界的 Kotlin 库。
可对 Minecraft 标签(NBT)、聊天组件、ByteBuf 以及任何可序列化对象进行(反)序列化。
此外,借助
- 标签序列化器,你可以使用正确的类型而非字符串来描述标签。这样它将按照你使用的格式对标签的“真实”类型进行编码/解码。
用法
repositories {
exclusiveContent {
forRepository {
maven("https://api.modrinth.com/maven") {
name = "Modrinth"
}
}
filter {
includeGroup("maven.modrinth")
}
}
}
dependencies {
val kinecraftVersion = "1.6.7"
compileOnly("maven.modrinth:kinecraft:$kinecraftVersion:common")
// Fabric Loom
runtimeOnly("maven.modrinth:kinecraft:$kinecraftVersion:fabric")
include("maven.modrinth:kinecraft:$kinecraftVersion")
// NeoGradle
runtimeOnly("maven.modrinth:kinecraft:$kinecraftVersion:neoforge")
jarInJar("maven.modrinth:kinecraft:$kinecraftVersion")
}
MinecraftTag 用于在数据类与 Minecraft 标签类之间进行序列化。
Kinecraft
It's a lib for Kotlin in Minecraft world.
(De)Serializing minecraft tag(NBT), chat component, ByteBuf with any serializable objects.
And with
- tag serializers you can describe tags with the correct type instead of string. So that it will encode/decode with the format you are using as "real" type of the tag.
Usage
repositories {
exclusiveContent {
forRepository {
maven("https://api.modrinth.com/maven") {
name = "Modrinth"
}
}
filter {
includeGroup("maven.modrinth")
}
}
}
dependencies {
val kinecraftVersion = "1.6.7"
compileOnly("maven.modrinth:kinecraft:$kinecraftVersion:common")
// Fabric Loom
runtimeOnly("maven.modrinth:kinecraft:$kinecraftVersion:fabric")
include("maven.modrinth:kinecraft:$kinecraftVersion")
// NeoGradle
runtimeOnly("maven.modrinth:kinecraft:$kinecraftVersion:neoforge")
jarInJar("maven.modrinth:kinecraft:$kinecraftVersion")
}
MinecraftTag is for serialization between data class and Minecraft tag classes.
版本游戏版本平台发布时间本站下载
正式版
2.2.1
1.21.11.21 FabricForge 1 年前 ·
0
1.21.1
1.21
1.20.1
Fabric
Forge
NeoForge
1 年前
0
下载 Kinecraft
版本:2.2.1
游戏版本:1.21.1、1.21、1.20.1
平台:Fabric、Forge、NeoForge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
2.1.4
1.20.1 Forge 1 年前 ·
0
1.20.1
Forge
1 年前
0
下载 Kinecraft
正式版
2.1.3
1.20.1 Forge 1 年前 ·
0
1.20.1
Forge
1 年前
0
下载 Kinecraft
正式版
2.1.2
1.20.1 Forge 1 年前 ·
0
1.20.1
Forge
1 年前
0
下载 Kinecraft
正式版
2.1.1
1.20.1 Forge 1 年前 ·
0
1.20.1
Forge
1 年前
0
下载 Kinecraft
正式版
2.1.0
1.20.1 Forge 1 年前 ·
0
1.20.1
Forge
1 年前
0
下载 Kinecraft
正式版
2.0.0
1.20.1 Forge 1 年前 ·
0
1.20.1
Forge
1 年前
0
下载 Kinecraft
正式版
1.16.2-lexforge
1.20.11.20 Forge 1 年前 ·
0
1.20.1
1.20
1.19.4
Forge
1 年前
0
下载 Kinecraft
版本:1.16.2-lexforge
游戏版本:1.20.1、1.20、1.19.4
平台:Forge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.16.2
1.21.51.21.4 FabricForge 1 年前 ·
0
1.21.5
1.21.4
1.21.3
1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4
Fabric
Forge
NeoForge
1 年前
0
下载 Kinecraft
版本:1.16.2
游戏版本:1.21.5、1.21.4、1.21.3 等
平台:Fabric、Forge、NeoForge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.16.1-lexforge
1.20.11.20 Forge 2 年前 ·
0
1.20.1
1.20
1.19.4
Forge
2 年前
0
下载 Kinecraft
版本:1.16.1-lexforge
游戏版本:1.20.1、1.20、1.19.4
平台:Forge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
350
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
341
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
240
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
模组
AAA Particles
ChloePrime
适用于 MC 1.18+ 的 Effekseer 加载器
前置装饰
186
模组
WTHIT
deirn
那是什么?一个 Waila/Hwyla 的分支。
前置实用
165
评论 0
登录后参与评分
还没有评论,来抢沙发吧