Koremods
Koremods is a bytecode manipulation framework based on Kotlin Script. This tool opens up completely new possibilities for mod developers to transform Minecraft bytecode and other applications, while offering full development environment support and Gradle integration.
This Modrinth project contains releases of Koremods Modlauncher - the interface for working with MinecraftForge.
Main Features
📦 Isolated Execution Environment
- Koremods scripts run in a protected environment that guarantees access only to necessary classes and resources
⚡ Minimalist Approach
- Using the ASM Kotlin wrapper Koffee, you can focus on writing transformers without unnecessary boilerplate code
☁ Lightweight Runtime
- Instant execution speed of scripts pre-compiled by the Koremods Gradle plugin
🧩 Cross-Platform Compatibility
- Koremods' rich core functionality provides simple compatibility with any target platform
- For integration, only a thin layer between the platform and Koremods Script is required
🖋️ Advanced IDE Support
- Koremods provides first-class syntax highlighting and autocompletion thanks to Kotlin Script support in IntelliJ IDEA
Documentation
To start using Koremods in your mods, check out our wiki documentation.
Kotlin Script
Kotlin Scripting is a new experimental technology that allows executing Kotlin code without prior compilation or packaging. All Kotlin language features are available, usually with the addition of a specific DSL provided by the script definition. Scripts are compiled into bytecode at runtime and then loaded into the JVM using a custom classloader.