Fork of Emberwalker's Forgelin with some sprinkles on top.
Go to file
Licious17 ea29dd2f34 Updated author list 2021-09-15 16:19:41 +01:00
gradle/wrapper Updated to Kotlin 1.5.30, Annotations 22.0.0 and Coroutines 1.5.2 2021-09-15 15:24:49 +01:00
src Updated author list 2021-09-15 16:19:41 +01:00
.gitignore Initial Commit 2016-08-06 10:28:05 -04:00
LICENSE Add license 2016-12-15 19:49:18 -05:00
README.md Updated README.md 2021-08-02 16:10:24 +01:00
build.gradle.kts Updated author list 2021-09-15 16:19:41 +01:00
gradle.properties Updated to Kotlin 1.5.30, Annotations 22.0.0 and Coroutines 1.5.2 2021-09-15 15:24:49 +01:00
gradlew Add Gradle wrapper 2016-08-06 10:35:21 -04:00
gradlew.bat Add Gradle wrapper 2016-08-06 10:35:21 -04:00

README.md

Forgelin

Fork of Shadowfacts Forgelin.

Additions

  • Shades the Kotlin standard library, runtime, coroutines-core, and reflect libraries so you don't have to.
  • Provides a Forge ILanguageAdapter for using Kotlin object classes as your main mod class.

Usage

repositories {
	jcenter()
	maven { url 'https://jitpack.io' }
}

dependencies {
	implementation 'com.github.Licious17:Forgelin:1.9.0'
}
@Mod(
        modid = MyMod.MOD_ID,
        name = MyMod.MOD_NAME,
        version = MyMod.VERSION,
        modLanguageAdapter = "net.shadowfacts.forgelin.KotlinAdapter",
        acceptableRemoteVersions = "*",
        acceptedMinecraftVersions = "[1.12.2]"
)
object MyMod {

	const val MOD_ID = "mymod"
    const val MOD_NAME = "MyMod"
    const val VERSION = "1.0.0"

}

Full credits to the og authors this simply updates Kotlin and the libraries version. EmberWalker ShadowFacts

Note: You must have the jcenter() call in your repositories block. JCenter is used to host the Kotlin coroutines libraries.