Kotlin for Forge
Rank 1,478
Rank 1,149 among mods

Quick rating

Community listing page, reviews here may not be monitored by the author.

Kotlin for Forge

Overall rating distribution
0.5★ 5★
Gameplay
0.0
Aesthetics
0.0
Performance
0.0

Adds a Kotlin language loader and provides some optional utilities.

Mod Loaders
Minecraft
26.2

About

Description

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.

See which libraries are included in Kotlin for Forge at the Kotlin for Forge dependency spreadsheet.

If you're not a mod developer, this is a dependency mod.

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.

The Kotlin for Forge Discord link is found on the GitHub.

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.