Fabric Language Kotlin Mod, the block every Kotlin mod stands on

Fabric Language Kotlin lets Fabric Loader start mods written in Kotlin and gives them one shared copy of the Kotlin libraries. If a mod says it requires fabric-language-kotlin, this is the missing piece.

Block diagram: Minecraft Java Edition at the base, Fabric Loader on it, the Fabric Language Kotlin runtime above, and Kotlin mods sitting on top Minecraft: Java Edition Fabric Loader Kotlin runtime Kotlin modsneed the runtime to start Fabric Language Kotlinadapter + Kotlin libraries Fabric Loaderloads every mod Minecraft: Java Editionthe game itself
  • Java Edition
  • Fabric Loader
  • Library mod
  • For Kotlin mods
  • No settings
  • Client and server
  • Windows, macOS, Linux
  • Open source
  • Free download

What is Fabric Language Kotlin?

It is a support library, not a content mod. It sits between Fabric Loader and any mod written in Kotlin, so those mods can start and share the same runtime.

Fabric Loader starts each mod by calling the entrypoints listed in its fabric.mod.json. Kotlin code compiles to the same JVM bytecode as Java, but features such as Kotlin object singletons need a little help to be created correctly. Fabric Language Kotlin registers a language adapter named kotlin that handles this.

It also ships the Kotlin libraries those mods rely on. Instead of every Kotlin mod packing its own copy, they all use the one you install. That keeps setups smaller and avoids clashes between Kotlin versions. The source is hosted under the FabricMC organisation on GitHub.

Comparison: on the left each Kotlin mod carries its own copy of Kotlin; on the right three mods share one Fabric Language Kotlin runtime
Without a shared library, every Kotlin mod would carry its own copy of Kotlin.

What the library provides

The adapter sits in the middle. Around it are the Kotlin libraries and the practical details that matter when you build a setup.

One shared runtime

Every Kotlin mod uses the same copy of the Kotlin libraries, instead of each one bundling its own.

Coroutines included

kotlinx.coroutines is available to mods that do background or asynchronous work.

Serialization support

kotlinx.serialization for configs and data files, without each mod carrying it.

Reflection ready

kotlin-reflect for mods that inspect classes and properties at runtime.

Kotlin language adapter

Mods declare the kotlin adapter for their entrypoints, and this library creates the Kotlin objects and classes Fabric Loader asks for.

"adapter": "kotlin"

Date, time and atomics

kotlinx-datetime and atomicfu, smaller helpers some mods rely on.

Client and server

The same library serves singleplayer, clients and dedicated Fabric servers.

No gameplay changes

Nothing is added to worlds, menus or controls, so it is safe to keep in any pack that needs it.

Open source

Public code under FabricMC on GitHub. Developers depend on it through Maven as net.fabricmc.

How it works in four steps

From the download to a game where Kotlin mods load without complaints.

  1. Step 1: Download

    Get the built Fabric Language Kotlin jar for your game version. Developers can start from the source archive.

  2. Step 2: Install

    Place the jar in the mods folder of your Fabric profile, next to the mods that need it.

  3. Step 3: Configure

    Nothing to tweak in the library itself. Confirm Fabric Loader and any other required libraries are present.

  4. Step 4: Launch

    Start the Fabric profile. Kotlin-based mods now find their runtime and load normally.

Illustration of a copper chest labelled .zip with a download arrow above it

Download Fabric Language Kotlin Mod

This button downloads the complete source code of Fabric Language Kotlin as a .zip archive of the master branch from the FabricMC GitHub repository.

Minecraft: Java EditionFabric LoaderSource archive (.zip)
Download Fabric Language Kotlin Mod

What the archive contains

  • Kotlin source code of the library
  • Gradle build files and wrapper
  • Project README and license

Install it in five steps

A manual install for the standard launcher. Launchers that manage dependencies can do most of this for you.

  1. Install Fabric Loader

    Use the Fabric installer for your Minecraft version, then run the new Fabric profile once so its folders exist.

  2. Open the mods folder

    Find it with the folder paths on this page, or through your launcher's option to open the instance folder.

  3. Add the Fabric Language Kotlin jar

    Copy the jar in as-is. Remove any older copy so only one remains.

  4. Add the other required libraries

    Check each mod's dependency list. Fabric API and other libraries are separate downloads.

  5. Launch the Fabric profile

    If your Kotlin-based mods load without a dependency error, the library is working. There is no screen for it.

Compatibility

What the library is made for, and what to check before you install it. The versions below reflect common questions, not guaranteed support for every build.

Minecraft versions

  • 1.20.1Match the build

    Java 17. Pick a build your mods accept. 1.20.x notes

  • 1.20.2Match the build

    Java 17. Filter listings by this exact version.

  • 1.21.4Match the build

    Java 21. Newer versions guide

  • 1.21.11Match the build

    Java 21. Check your mods' minimum library version.

  • 26.1.2Match the build

    Year-based numbering. Look for builds listed under this number.

Loaders and editions

  • Fabric LoaderMade for this

    Minecraft: Java Edition with Fabric.

  • Fabric serverSupported setup

    Needed when server-side mods use Kotlin.

  • ForgeNot for this

    Different loader with its own Kotlin library.

  • NeoForgeNot for this

    Different loader with its own Kotlin library.

  • Bedrock / MCPENot applicable

    Bedrock and mobile do not run Java mods.

Download Now

Troubleshooting

Match the message you see to its likely cause. Fabric Loader's error screen and logs/latest.log usually name the exact mod and version.

Mod requires fabric-language-kotlin

Cause
Library not installed
Fix
Add the built jar to the same mods folder.

Requires version X or later

Cause
Library is outdated
Fix
Replace it with a build at or above the version named.

Duplicate mods found

Cause
Two copies present
Fix
Keep only the newest compatible jar.

Error remains after adding the download

Cause
Source .zip in mods folder
Fix
Use a built .jar release instead of the archive.

Unsupported class file version

Cause
Java too old
Fix
Run the instance on the Java version your game requires.

Works alone, fails on a server

Cause
Missing on the server
Fix
Install a matching build in the server's mods folder.

Reading a release version

Release names usually carry two versions: the library's own, and the Kotlin version it bundles. Knowing the pattern makes it easier to match what a mod asks for.

<mod version>+kotlin.<kotlin version>

Library versionThe number other mods compare against when they set a minimum.
Kotlin versionThe Kotlin release whose libraries are bundled inside.
This site's download
Source archive of the master branch on GitHub
Branch state
Current development state, which may be ahead of the latest published release
Built releases
Published on mod platforms such as Modrinth and CurseForge
Change history
Visible in the repository's commit history and release notes
Version numbers
Not listed here, because the linked archive always reflects the latest commit

Who needs it

Players

A mod asks for fabric-language-kotlin

The most common case. Fabric Loader stops and names the missing dependency. Adding the library is the fix.

Modpack makers

Building a pack with several Kotlin mods

One copy serves every Kotlin-based mod in the pack. Pick a build that satisfies the highest minimum any of them requests.

Server owners

Running Kotlin mods on a server

Server-side Kotlin mods need the runtime on the server as well as on players' clients.

Developers

Writing a Fabric mod in Kotlin

Declare the library as a dependency and use the kotlin adapter. The developer guide shows the Gradle and fabric.mod.json parts.

Curious readers

Studying how language adapters work

The source archive is a compact, real example of extending Fabric Loader to support another JVM language.

Pros and cons

Pros

  • One install covers every Kotlin-based Fabric mod in your setup.
  • Avoids duplicate Kotlin runtimes and version clashes between mods.
  • No configuration and no changes to gameplay.
  • Open source, with releases on widely used mod platforms.
  • Gives developers a standard way to write Fabric mods in Kotlin.

Cons

  • Nothing visible in game, so it can be unclear whether it installed.
  • Easy to confuse the GitHub source archive with the playable jar.
  • Mods may require a minimum version, which you must keep up with.
  • Fabric only. It does not help Forge, NeoForge or Bedrock players.
  • Larger than a typical small library, because it bundles Kotlin libraries.

Frequently asked questions

Twenty answers in two groups: getting it installed, then making it fit your setup.

Still stuck? The error-fixing guide goes deeper, or reach us through the contact page.

Setup and downloads

Compatibility and mods