promotional bannermobile promotional banner

kotlin4nothing

Unlisted
Kotlin for Forge port to support newer kotlin versions and kotlin mixins

Kotlin for Nothing

Kotlin for Forge, but with current Kotlin on Minecraft 1.20.1. Swap the jar and your mods keep working.

Kotlin for Forge stopped updating 1.20.1 at version 4.12.0, which ships Kotlin 2.2.21. Plenty of packs still run 1.20.1, so I forked that release and keep it on the latest Kotlin. It is one jar, and it needs no other mods.

What's in the jar

  • Kotlin 2.4.21, coroutines 1.11.0 and kotlinx.serialization 1.11.0
  • The kotlinforforge loader, API and mod ID from Kotlin for Forge 4.12.0, so mods built for it load unchanged
  • No Preloading Tricks or other helper mods

Installing

  1. Remove Kotlin for Forge from your mods folder.
  2. Add the Kotlin for Nothing jar.

Mods that depend on Kotlin for Forge now load from this jar.

Do not install both mods. They fill the same slot. The game crashes before the loading screen and logs Found duplicate mods for kotlinforforge.

Requirements

  • Minecraft 1.20.1
  • Forge 47 (tested on 47.4.20)
  • Java 17

Tested mods

Bountiful, Kambrik and Cynosure all load on a Forge 1.20.1 server with Kotlin for Nothing as the only Kotlin provider.

For mod developers

The Maven coordinate is dev.akoto:kotlin4nothing, from the registry at https://git.akoto.dev/api/packages/akoto090/maven. The README covers setup and migration from Kotlin for Forge.

Credits and license

Kotlin for Nothing is a fork of Kotlin for Forge by thedarkcolour, who did the real work. It is licensed under LGPL-2.1. The LGPL does not apply to mods that only depend on it.

kotlin4nothing Team

profile avatar
  • 4
    Followers
  • 14
    Projects
  • 50.8K
    Downloads

Inactive bad modder and curseforge moderator. Feel free to dm me on discord, when you need help with mods / modpacks.

More from Akoto090View all