Kotlin for Forge

Kotlin for Forge

70M Downloads

[Idea] Make file subscibeable

GoogeTan opened this issue ยท 6 comments

commented

We can subscribe classes and objects but can not subscribe files. Let's fix it!

commented

That would be nice

commented

Would this be with an annotation?

commented

Yes, you could then use it like @file:Subscribe

commented

Wasn't it 1.12.2?

Added support for using Mod.EventBusSubscriber as a file annotation. See AutoKotlinEventBusSubscriber.kt KDoc for example.

commented

forgot to close this but added in 1.13.0 1.12.2

commented

Ah you're right