Fork of shadowfacts Forgelin.
- Backport to 1.7.10
- Updated to Kotlin 2.x
- Dynamic kotlin downloading via FalsePatternLib (much smaller mod jar size!)
- Provides a Forge
ILanguageAdapterfor using Kotlinobjectclasses as your main mod class. - Provides Dispatchers.MinecraftServer and Dispatchers.MinecraftClient for dispatching coroutines during server tick and client tick, respectively
Usage with FPGradle
build.gradle.kts:
plugins {
//...
kotlin("jvm") version "2.2.21"
}
minecraft_fp {
//...
kotlin {
forgelinVersion = "2.4.0-2.2.21"
}
}gradle.properties:
kotlin.stdlib.default.dependency=falseThe kotlin version that forgelin downloads is always in the suffix after the - in the version number