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.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
v2.8.0-k2.2.0-3.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