Back to mods
Kotlin for Forge project artwork

CurseForge · Minecraft mod

Kotlin for Forge

Adds a Kotlin language loader and provides some optional utilities.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Kotlin for Forge release should I use?

Updated last month
Latest stable file 5.12.0
Game version 1.20.6, 1.21, 1.21.1
Loader Forge, NeoForge

Kotlin for Forge 5.12.0 targets 1.20.6, 1.21, 1.21.1 with Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Kotlin for Forge required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Forge, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Kotlin for Forge 5.12.0 need?

5.12.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Kotlin for Forge without breaking your instance.

Built for Kotlin for Forge 5.12.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 5.12.0. It targets 1.20.6, 1.21, 1.21.1 with Forge, NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 5.12.0. It opens that exact file at the source.

About this project

What does Kotlin for Forge add?

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.

Project description from CurseForge.

Pick your setup

Kotlin for Forge by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

78 available setups

Showing the newest 12 of 56 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Kotlin for Forge versions and loaders

76 of 76 releases match

Looking for an older file? The official CurseForge project page is in Resources.