Kotlin Reforged
Kotlin Reforged provides Kotlin language support and shared libraries for Forge on Minecraft 1.21.6-26.3. Install it when another mod lists Kotlin Reforged as a required dependency. It works in the background and does not add gameplay content on its own.
This is an unofficial fork of Kotlin for Forge, originally created by thedarkcolour. Kotlin Reforged is maintained by SvyatON.
Included libraries
- Kotlin 2.4.0
- Coroutines 1.11.0
- Serialization 1.11.0, including JSON and CBOR
- Atomicfu 0.33.0
- Datetime 0.8.0
- kotlinx-io 0.9.1, including ByteString
The mod also provides Kotlin event support and Forge utilities used by dependent mods.
Installation
Download the main JAR from the Files tab and place it in your Forge instance's mods folder alongside the mod that requires it. One JAR covers the supported Minecraft versions. Install it on the client, server, or both, according to the dependent mod's requirements.
Compatibility
Mods must be adapted to Kotlin Reforged's mod ID and Forge EventBus 7. It cannot automatically replace Kotlin for Forge for mods that depend on the original library.
Sources and support
The adapter code is licensed under LGPL-2.1-only; bundled libraries retain their own licenses.
Report a bug with your Minecraft and Forge versions and the relevant log.