Kotlin for Forge is a mod library that lets you write Minecraft mods using the Kotlin programming language instead of Java. It bundles the Kotlin standard library and provides several useful tools to make Kotlin modding easier on Forge.
What You Get
The mod automatically shades in the Kotlin libraries so you don’t have to bundle them yourself. It also gives you tools that make Kotlin modding cleaner and more natural.
Core Features
- KotlinLanguageProvider – Lets you use Kotlin object declarations directly as @Mod targets instead of Java class workarounds
- AutoKotlinEventBusSubscriber – Automatically loads object declarations marked with @Mod.EventBusSubscriber, making event handling much cleaner
- Kotlin event bus implementation – Works properly with KCallables and reified type parameters
- Property delegates – Sided property delegates and object holder property delegates for writing less boilerplate code
- Utility functions and constants – Common helpers to speed up development
What You Need
You’ll need Minecraft Forge installed for your Minecraft version.
How to Install
Installing Kotlin for Forge is quick:
- Install Forge for your Minecraft version
- Download the Kotlin for Forge file for your version
- Drop the .jar file into your
.minecraft/modsfolder - Launch Minecraft with the Forge profile
For more details, check out How To Download & Install Mods with Minecraft Forge
Download Links by Version
Minecraft 1.16.5, 1.15.2, 1.14.4
JAR
Kotlin-for-Forge-Mod-1.16.5.jar
6.4 MB
Minecraft 1.17.1
JAR
Kotlin-for-Forge-Mod-1.17.1.jar
6.4 MB
Minecraft 1.18.2, 1.18.1
JAR
Kotlin-for-Forge-Mod-1.18.2.jar
6.5 MB
Minecraft 1.19
JAR
Kotlin-for-Forge-Mod-1.19.jar
6.5 MB
Minecraft 1.19.1
JAR
Kotlin-for-Forge-Mod-Forge-1.19.1.jar
6.5 MB
Minecraft 1.19.2
JAR
Kotlin-for-Forge-Mod-Forge-1.19.2.jar
7.0 MB
Minecraft 1.19.3
JAR
Kotlin-for-Forge-Mod-Forge-1.19.3.jar
6.6 MB
Minecraft 1.19.4
JAR
Kotlin-for-Forge-Mod-Forge-1.19.4.jar
7.0 MB