KotlinLangForge

KotlinLangForge

Mod

Provides a Kotlin language adapter for Forge and Neoforge

Client or server Library

18.5k downloads
9 followers
Follow Save

v2.10.3-k2.2.0-2.0+forge

Changelog

v2.10.3-k2.2.0-2.0+forge

Add automatic event registration

To use automatic event listener registration the @EventBusSubscriber annotation has to be added on the class/file. Additionally, you can annotate a method with SubscribeEvent to adjust the listener's parameters.
This is not necessary though! Klf automatically looks for events in every method inside of the class and automatically determines which event bus to use.

Note for Forge developers: Private event listeners cannot be processed on Forge and will result in a crash!

Files

KotlinLangForge-2.10.3-k2.2.0-2.0+forge.jar(8.16 MiB) Primary Download

Project members

btwonion

Member

Details

Licensed GPL-3.0-only
Published a year ago
Updated 11 days ago