All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Kotlin for Forge

Kotlin for Forge

by thedarkcolour • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x 1.20.6
Forge Neoforge
23h ago 1
26.2 26.1.x 1.21.x
Neoforge
23h ago 1
26.1.x 1.21.x
Neoforge
23h ago 1
1.21.x 1.20.6
Forge Neoforge
23h ago 1
1.21.x
Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.21.x
Forge Neoforge
23h ago 1
1.21.x 1.20.6
Forge Neoforge
23h ago 1
1.21.x 1.20.6
Forge Neoforge
23h ago 1
1.21.x 1.20.6
Forge Neoforge
23h ago 1
1.21.x 1.20.6
Forge Neoforge
23h ago 1
1.21.x 1.20.6
Forge Neoforge
23h ago 1
1.21.x 1.20.6
Forge Neoforge
23h ago 1
1.21.x 1.20.6
Forge Neoforge
23h ago 1
1.21 1.20.6
Forge Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.20.6
Neoforge
23h ago 1
1.20.6
Neoforge
23h ago 1
1.20.x
Neoforge
23h ago 1
1.20.x
Neoforge
23h ago 1
1.20.x
Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.20.x 1.19.x
Forge Neoforge
23h ago 1
1.20.x 1.19.x
Forge
23h ago 1
1.19.x 1.18.x
Forge
23h ago 1
1.19.x
Forge
23h ago 1
1.19.x
Forge
23h ago 1
1.19.x 1.18.x
Forge
23h ago 1
1.19.x 1.18.x
Forge
23h ago 1
1.19.3
Forge
23h ago 1
1.19.x 1.18.x
Forge
23h ago 1
1.19.x 1.18.x
Forge
23h ago 1
1.19.x 1.18.x
Forge
23h ago 1
1.19.x 1.18.x
Forge
23h ago 1
1.19 1.18.x
Forge
23h ago 1
1.19 1.18.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.18.x
Forge
23h ago 1
1.17.1
Forge
23h ago 1
1.17.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
1.16.x 1.15.x 1.14.x
Forge
23h ago 1
[5.12.0] Kotlin for Forge 5.12.0 by thedarkcolour on Oct 07, 2026
Download
Kotlin for Forge 5.12.0
[6.3.0] Kotlin for Forge 6.3.0 by thedarkcolour on Oct 07, 2026
Download
Kotlin for Forge 6.3.0
[6.2.0] Kotlin for Forge 6.2.0 by thedarkcolour on Oct 07, 2026
Download
Kotlin for Forge 6.2.0
[5.11.0] Kotlin for Forge 5.11.0 by thedarkcolour on Oct 07, 2026
Download
Kotlin for Forge 5.11.0
[6.1.0] Kotlin for Forge 6.1.0 by thedarkcolour on Oct 07, 2026
Download
Kotlin for Forge 6.1.0
[4.12.0] Kotlin for Forge 4.12.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 4.12.0
  • Update to Kotlin 2.2.21, serialization 1.9.0, coroutines 1.10.2
[6.0.0] Kotlin for Forge 6.0.0 by thedarkcolour on Oct 07, 2026
Download
Kotlin for Forge 6.0.0
[5.10.0] Kotlin for Forge 5.10.0 by thedarkcolour on Oct 07, 2026
Download
Kotlin for Forge 5.10.0
[5.9.0] Kotlin for Forge 5.9.0 by thedarkcolour on Oct 07, 2026
Download
Kotlin for Forge 5.9.0
[5.8.0] Kotlin for Forge 5.8.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.8.0
  • Update to Kotlin 2.1.20, coroutines 1.10.2, serialization 1.8.1
  • Fixed accidental transitive dependency on FancyModLoader
  • No more slim artifact. If still needed, you can depend on kfflang, kfflib, kffmod separately instead
[5.7.0] Kotlin for Forge 5.7.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.7.0
  • Updated to Kotlin 2.1.0
[5.6.0] Kotlin for Forge 5.6.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.6.0
  • Updated to Kotlin 2.0.21, coroutines 1.9.0, serialization 1.7.3

[5.5.0] Kotlin for Forge 5.5.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.5.0
  • Updated to Kotlin 2.0.10
  • Fix NeoForge crash due to breaking change in FancyModLoader
[5.4.0] Kotlin for Forge 5.4.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.4.0
  • Updated to serialization 1.7.1
  • Bumped version to fix missing coroutines and serialization with NeoForge maven artifact.
[5.3.0] Kotlin for Forge 5.3.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.3.0
  • Added Minecraft Forge support (1.21+ only)
  • Updated to serialization 1.7.0
  • Updated to Minecraft 1.21
[4.11.0] Kotlin for Forge 4.11.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 4.11.0
  • Update to Kotlin 2.0.0, serialization 1.6.3, coroutines 1.8.1
[5.2.0] Kotlin for Forge 5.2.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.2.0
  • Updated to Kotlin 2.0.0, coroutines 1.8.1
  • Fixed broken JAR
  • Dev jar now JarJars Kotlin libs instead of shading them
[5.1.0] Kotlin for Forge 5.1.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.1.0
  • Dropped support for NeoForge 1.20.5 due to breaking changes in 1.20.6.
  • Updated to support NeoForge 20.6.62-beta and onward, following breaking changes in language loaders.
  • Now requires NeoForge 20.6.62-beta or newer.
  • Make sure you update your dependency requirement to require KFF 5.1.x or newer.

[5.0.2] Kotlin for Forge 5.0.2 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.0.2
  • Added missing Kotlin libraries to JarJar: kotlin-stdlib-jdk7, kotlin-stdlib-jdk8, kotlin-serialization-core-jvm, kotlin-serialization-json-jvm
  • Changed KFFMod to require KFF 5.0 instead of 4.0 (just a typo fix)
[5.0.1] Kotlin for Forge 5.0.1 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.0.1
  • Fixed a bug with EventBusSubscriber when the bus field was not specified.
[5.0.0] Kotlin for Forge 5.0.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 5.0.0
  • Updated to 1.20.5 NeoForge (Forge hasn't updated yet)
  • Updated to Kotlin 1.9.23, serialization 1.6.3, coroutines 1.8.0
  • Kotlin libraries are now included using JarJar instead of shading
  • Migration guide can be found here: [Migration Guide](https://gist.github.com/thedarkcolour/5590f46b0d4d8ca692add2934d05e642)
  • Check the README on GitHub for updated instructions
[4.10.0] Kotlin for Forge 4.10.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 4.10.0
  • Update to Kotlin 1.9.22
  • Address changes in NeoForge FancyModLoader (added type field to the mods.toml dependencies)
[4.9.0] Kotlin for Forge 4.9.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 4.9.0
  • Removed CapabilityUtil.kt from NeoForged version of KFF due to NeoForge's capability changes
  • Fixed a crash with new Forge changes. KFF 4.x is still compatible with Forge 1.19.3-1.20.4 and NeoForge 1.20.1-1.20.4.
[4.8.0] Kotlin for Forge 4.8.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 4.8.0
  • Update to Kotlin 1.9.21, coroutines 1.6.2
  • Fixed a crash with new NeoForge changes
[4.7.0] Kotlin for Forge 4.7.0 by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 4.7.0
  • Fixed incompatibility with NeoForge's new registry system
  • You MUST USE this import for property delegates to work with DeferredRegister: import thedarkcolour.kotlinforforge.neoforge.forge.getValue
[4.6.2] Kotlin for Forge 4.6.2 by thedarkcolour on Oct 07, 2026
Download
  • Fixed crash with Event Bus
[4.6.1] Kotlin for Forge by thedarkcolour on Oct 07, 2026
Download
## Kotlin for Forge 4.6.1
  • Fixed language provider crashing for non-object Mod classes

## Kotlin for Forge 4.6.0
  • Updated to Kotlin 1.9.20
  • Added support for NeoForge 1.20.2 (must use the "kotlinforforge-neoforge" artifact on Maven instead of just "kotlinforforge")
[4.4.0] Kotlin for Forge 4.4.0 by thedarkcolour on Oct 07, 2026
Download
No changelog was specified.
[4.3.0] Kotlin for Forge 4.3.0 by thedarkcolour on Oct 07, 2026
Download
No changelog was specified.
[3.12.0] Kotlin for Forge 3.12.0 by thedarkcolour on Oct 07, 2026
Download
No changelog was specified.
Kotlin for Forge Icon
Download Kotlin for Forge
Select game version
Select platform