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