Kursive
一款允许你在客户端和服务端即时运行 Kotlin 脚本的 Minecraft 模组!
项目简介
允许在 Minecraft 客户端运行脚本的想法最初源于 EssentialClient 的首次实现。我的脚本实现虽然达成了目标,但其设计欠佳,且由于运行在我自研的解释型语言上,存在严重的性能限制。
在发现 Kotlin 脚本功能后,我决定将其作为脚本模组的理想语言。它可以直接编译为字节码以在 JVM 上运行,并且无需包装 API,允许脚本直接与 Minecraft 的代码进行交互。

文档
该模组的文档位于 此处。
文档详细介绍了如何开始开发你的第一个脚本,以及如何分别在客户端和服务端运行脚本。
许可证
采用 MIT 许可证分发。更多信息请参阅 MIT 许可证。
Kursive
A Minecraft mod that allows you to run kotlin scripts on the client and the server on the fly!
About the Project
The idea of allowing scripts to be run on the Minecraft client originated when
EssentialClient was first being
implemented. My scripting implementation achieved my goal, but it was poorly designed
and due to running on my own interpreted language had severe performance limitations.
After discovering kotlin scripting I decided that it would be an ideal language to
use for a scripting mod. It can compile directly into bytecode to run on the JVM
as well as not requiring wrapper APIs allowing scripts to interface directly with
Minecraft's code.

Documentation
The mod's documentation can be found here.
The documentation details how to start developing your first scripts as well as
detailing how to run scripts on the client and server.
License
Distributed under the MIT License. See MIT License for more information.
评论 0
登录后参与评分
还没有评论,来抢沙发吧