Download Kotlin for Forge — Minecraft Mods — MetaMods

Kotlin for Forge

Active

Downloads

5

Last update

1 week ago

Versions

1.14 — 1.21.10
Client
Forge
Neoforge
Libraries

Kotlin for Forge

This mod enables creating Minecraft modifications using the modern Kotlin programming language. It provides all necessary tools and libraries for comfortable development with this language.

Core Features

The mod includes the complete Kotlin libraries version 1.4.21, plus additional modules:

  • Kotlin coroutines version 1.4.2 for asynchronous programming
  • JSON serialization version 1.0.1 for data handling
  • Jetbrains annotations version 20.1.0

Implementation Details

Unlike other solutions like Kottle, this library offers its own implementation of the event system (IEventBus), supporting modern approaches to function handling through addListener and addGenericListener mechanisms.

Intended Audience

IMPORTANT: This mod is a dependency and is only needed by developers. If you're just playing Minecraft, you don't need to install it separately - it will be automatically loaded with mods that depend on it.

Usage Flexibility

You can use all mod features together or individual components. The platform provides:

  • Loader for classes with @Mod annotation
  • Automatic registration of event subscribers with @EventBusSubscriber
  • Useful utility functions and constants

But if you only need the Kotlin libraries - you can limit yourself to this functionality without using additional tools.

Project members
thedarkcolour

thedarkcolour

Developer

Created: 3 Feb 2021

ID: 270526