跳到正文

Kotlin for Forge Unofficial Extended Support

作者:toliner

Adds a Kotlin language loader and provides some optional utilities, for 1.16.5

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

This is unofficial version for Miecraft 1.16.5 . This provides latest Kotlin libraries to 1.16.5. If you want use original version, visit here


Used to make mods with the Kotlin programming language. Works by shading the Kotlin libraries, providing KotlinLanguageProvider to load @Mod object declarations, providing AutoKotlinEventBusSubscriber to load @EventBusSubscriber declarations, and providing useful utility functions and constants.

As of Kotlin for Forge 1.8.0, this provides Kotlin 1.4.21, Kotlin coroutines 1.4.2, Kotlin JSON serialization 1.0.1, and Jetbrains annotations 20.1.0.

If you’re not a mod developer, this is a dependency mod.

Unlike Kottle, this library (as of 1.2.0) provides its own implementation of IEventBus that supports IEventBus#addListener and IEventBus#addGenericListener with function references.

Information for how to implement can be found here. You do not have to use the language loader or any of the features Kotlin for Forge provides, you can just use it for the bundled Kotlin libraries.

常见问题

Kotlin for Forge Unofficial Extended Support 支持哪些 Minecraft 版本?

Kotlin for Forge Unofficial Extended Support 支持 Minecraft Java 版 1.14–1.16.5,共 14 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Kotlin for Forge Unofficial Extended Support 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

toliner 的其他作品

查看全部 →