Compatibility
Minecraft: Java Edition
1.20.4
Platforms
Supported environments
Client-side
Server-side
Client and server
Links
Tags
Creators
Details
Licensed MIT
Published 2 years ago
Scala3 support for NeoForge 1.20.4+
you can write main class like below:
import net.neoforged.bus.api.IEventBus
import net.neoforged.fml.common.Mod
object NeoScala {
final val MOD_ID = "neoscala"
}
@Mod(NeoScala.MOD_ID)
class NeoScala(val bus: IEventBus) {
}


