Used to make mods with the Kotlin programming language. Works by shading the Kotlin libraries, providing KotlinLanguageProvider to load @Mod object declarations, providing AutoKotlinEventBusSubscriber to load @EventBusSubscriber declarations, and providing useful utility functions and constants.
As of Kotlin for Forge 1.8.0, this provides Kotlin 1.4.21, Kotlin coroutines 1.4.2, Kotlin JSON serialization 1.0.1, and Jetbrains annotations 20.1.0.
If you're not a mod developer, this is a dependency mod.
Unlike Kottle, this library (as of 1.2.0) provides its own implementation of IEventBus that supports IEventBus#addListener and IEventBus#addGenericListener with function references.
Information for how to implement can be found here. You do not have to use the language loader or any of the features Kotlin for Forge provides, you can just use it for the bundled Kotlin libraries.
If you'd like to ask for help or suggest something, feel free to do so on the Kotlin for Forge discord server.
How to Install Kotlin for Forge (Mod)
Kotlin for Forge by thedarkcolour is verified for Forge, Neoforge across Minecraft versions 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2 (latest release: 5.12.0, file size: 6.9 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded Kotlin for Forge file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 56 | ||||
| 2mo ago | 28 | ||||
| 2mo ago | 19 | ||||
| 2mo ago | 14 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 |
- Update to Kotlin 2.2.21, serialization 1.9.0, coroutines 1.10.2
- Update to Kotlin 2.1.20, coroutines 1.10.2, serialization 1.8.1
- Fixed accidental transitive dependency on FancyModLoader
- No more
slimartifact. If still needed, you can depend on kfflang, kfflib, kffmod separately instead
- Updated to Kotlin 2.1.0
- Updated to Kotlin 2.0.21, coroutines 1.9.0, serialization 1.7.3
- Updated to Kotlin 2.0.10
- Fix NeoForge crash due to breaking change in FancyModLoader
- Updated to serialization 1.7.1
- Bumped version to fix missing coroutines and serialization with NeoForge maven artifact.
- Added Minecraft Forge support (1.21+ only)
- Updated to serialization 1.7.0
- Updated to Minecraft 1.21