KotlinLangForge

KotlinLangForge

Mod

Provides a Kotlin language adapter for Forge and Neoforge

Client or server Library

18.2k downloads
9 followers
Follow Save
Filter loader...
Filter versions...

v2.10.5-k2.2.10-3.0+neoforge

  • fix Kotlin Objects not initializing correctly

v2.10.5-k2.2.10-2.0+neoforge

  • fix Kotlin Objects not initializing correctly

v2.10.5-k2.2.10-2.0+forge

  • fix Kotlin Objects not initializing correctly

v2.10.4-k2.2.10-3.0+neoforge

  • Bump org.jetbrains.kotlin.jvm from 2.2.0 to 2.2.10

v2.10.4-k2.2.10-2.0+neoforge

  • Bump org.jetbrains.kotlin.jvm from 2.2.0 to 2.2.10

v2.10.4-k2.2.10-2.0+forge

  • Bump org.jetbrains.kotlin.jvm from 2.2.0 to 2.2.10

v2.10.3-k2.2.0-3.0+neoforge

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!

v2.10.3-k2.2.0-2.0+neoforge

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!

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!

v2.10.1-k2.2.0-3.0+neoforge

  • fix the mod file on Forge

v2.10.1-k2.2.0-2.0+neoforge

  • fix the mod file on Forge

v2.10.1-k2.2.0-2.0+forge

  • fix the mod file on Forge

v2.10.0-k2.2.0-3.0+neoforge

  • Bump org.jetbrains.kotlinx:kotlinx-datetime from 0.7.0-0.6.x-compat to 0.7.1-0.6.x-compat

v2.10.0-k2.2.0-2.0+neoforge

  • Bump org.jetbrains.kotlinx:kotlinx-datetime from 0.7.0-0.6.x-compat to 0.7.1-0.6.x-compat

v2.10.0-k2.2.0-2.0+forge

  • Bump org.jetbrains.kotlinx:kotlinx-datetime from 0.7.0-0.6.x-compat to 0.7.1-0.6.x-compat

v2.9.0-k2.2.0-2.0+forge

  • Bump org.jetbrains.kotlinx:atomicfu from 0.28.0 to 0.29.0
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-core from 1.8.1 to 1.9.0
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.8.1 to 1.9.0
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-cbor from 1.8.1 to 1.9.0
  • fix mod files, making the mod unusable on <1.21.5

v2.9.0-k2.2.0-2.0+neoforge

  • Bump org.jetbrains.kotlinx:atomicfu from 0.28.0 to 0.29.0
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-core from 1.8.1 to 1.9.0
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.8.1 to 1.9.0
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-cbor from 1.8.1 to 1.9.0
  • fix mod files, making the mod unusable on <1.21.5

v2.9.0-k2.2.0-3.0+neoforge

  • Bump org.jetbrains.kotlinx:atomicfu from 0.28.0 to 0.29.0
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-core from 1.8.1 to 1.9.0
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.8.1 to 1.9.0
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-cbor from 1.8.1 to 1.9.0
  • fix mod files, making the mod unusable on <1.21.5

v2.8.0-k2.2.0-2.0+forge

  • add mod metadata
  • Bump org.jetbrains.kotlinx:atomicfu from 0.27.0 to 0.28.0
  • Bump org.jetbrains.kotlin.jvm from 2.1.21 to 2.2.0
  • Bump org.jetbrains.kotlinx:kotlinx-io-bytestring from 0.7.0 to 0.8.0
  • Bump org.jetbrains.kotlinx:kotlinx-io-core from 0.7.0 to 0.8.0
  • Bump org.jetbrains.kotlinx:kotlinx-datetime from 0.6.2 to 0.7.0-0.6.x-compat
  • drop support for 1.0 language provider
  • make errors more precise and now accept constructors with args:
    • IEventBus
    • ModContainer
    • KotlinModContainer
    • Dist

v2.8.0-k2.2.0-2.0+neoforge

  • add mod metadata
  • Bump org.jetbrains.kotlinx:atomicfu from 0.27.0 to 0.28.0
  • Bump org.jetbrains.kotlin.jvm from 2.1.21 to 2.2.0
  • Bump org.jetbrains.kotlinx:kotlinx-io-bytestring from 0.7.0 to 0.8.0
  • Bump org.jetbrains.kotlinx:kotlinx-io-core from 0.7.0 to 0.8.0
  • Bump org.jetbrains.kotlinx:kotlinx-datetime from 0.6.2 to 0.7.0-0.6.x-compat
  • drop support for 1.0 language provider
  • make errors more precise and now accept constructors with args:
    • IEventBus
    • ModContainer
    • KotlinModContainer
    • Dist

Project members

btwonion

Member

Details

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