Koremods
Koremods 是一个 Kotlin Script 字节码操作框架。它为模组开发者提供了一种新的方式来转换(不仅限于)Minecraft 的字节码,并提供了丰富的 IDE 支持和 Gradle 集成。
此 Modrinth 项目包含用于 Koremods Modlauncher(MinecraftForge 前端)的发布版本。
主要特性
- ? 沙盒化
- Koremods 脚本在隔离的环境中执行,以确保它们仅访问必要的类和资源
- ⚡ 专注
- 使用 ASM Kotlin 包装器 Koffee,你可以专注于编写转换器,而无需编写多余的样板代码
- ☁ 轻量级运行时
- 由 Koremods Gradle 插件预编译的脚本具有近乎即时的评估速度
- ? 便携性
- Koremods 功能丰富的核心允许轻松与你想要的平台兼容
- 前端只需在平台和 Koremods Script 之间创建一个薄层即可。
- ?️ 丰富的 IDE 支持
- 得益于 IntelliJ IDEA 的 Kotlin Script 支持,Koremods 提供一流的语法高亮和自动补全功能
文档
要在你的模组中使用 Koremods,请查看我们的 wiki。
Kotlin Script
Kotlin Scripting 是一项全新的实验性技术,允许你在无需预先编译或打包的情况下运行 Kotlin 代码。所有 Kotlin 语言功能均可用,通常还会添加由脚本定义提供的特定 DSL。脚本会在运行时编译为字节码,然后使用自定义类加载器加载到 JVM 中。
Koremods
Koremods is a Kotlin Script bytecode manipulation framework. It providers modders a new way of transforming (not just) minecraft bytecode with rich IDE support and Gradle integration.
This Modrinth project contains releases for Koremods Modlauncher, the MinecraftForge frontend.
Main Features
- ? Sandboxed
- Koremods scripts are executed in an isolated environment to ensure they only access necessary classes and resources
- ⚡ Focused
- Using the ASM Kotlin wrapper Koffee, you can focus on writing transformers without needless boilerplate code
- ☁ Lightweight Runtime
- Near-instant evaluation speeds of scripts pre-compiled by the Koremods Gradle plugin
- ? Portable
- Koremods' feature-rich core allows easy compatibility with your desired platform
- Frontends only need to create a thin layer beween the platform and Koremods Script.
- ?️ Rich IDE Support
- Koremods offers first-class syntax highlighting and autocompletion thanks to IntelliJ IDEA’s Kotlin Script support
Documentation
To get started using Koremods in your mod, check our wiki.
Kotlin Script
Kotlin Scripting is a new, experimental technology that lets you run Kotlin code without prior compilation or packaging. All of Kotlin's language features are available, usually with the addition of a speficic DSL provided by the script definition. Scripts are compiled into bytecode at runtime, and then loaded into the JVM using a custom classloader.
下载 Koremods
下载 Koremods
下载 Koremods
下载 Koremods
下载 Koremods
下载 Koremods
下载 Koremods
下载 Koremods
下载 Koremods
下载 Koremods
2.0
- 2.0.0 移植至 NeoForge 1.20.4
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧