跳到正文

Koremods

作者:Su5eD

A Kotlin Script bytecode manipulation framework

收藏

介绍

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

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 支持哪些 Minecraft 版本?

Koremods 支持 Minecraft Java 版 1.18.2–1.20.4,共 5 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Koremods 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Su5eD 的其他作品

查看全部 →