Kotlin for Forge

Kotlin for Forge

124M Downloads

[1.21.6-NeoForge] NF 21.6.6-beta introduces FML api changes which breaks KFF

Ellie-McQuinn opened this issue ยท 2 comments

commented

neoforged/FancyModLoader#290 removes the bus parameter from the @EventBusSubscriber annotation which causes the registration of "Automatic Kotlin subscribers" to fail.

[15:18:25] [modloading-worker-0/ERROR] [th.ko.ne.LoggerKt/LOADING]: Failed to register Automatic Kotlin subscribers. ModID: expandedstorage, class dev.compasses.expandedstorage.NeoForgeClient
java.lang.NoClassDefFoundError: net/neoforged/fml/common/EventBusSubscriber$Bus
commented

This applies to NF 21.1.181 as well.

commented

I'd suggest tracking that issue with #124 as the problem area is slightly different... The current version works on 1.21.1 if you don't use the @EventBusSubscriber annotation where as 1.21.6 any KFF mod will fail to launch.