Fork of Emberwalker's Forgelin with some sprinkles on top.
Go to file
Kitten be61809a7b Unregister class reference from the event bus (#36)
When Forgelin registers the object instance of an `@EventBusSubscriber` annotated object class to the event bus, it does not unregister the static class reference that Forge will have registered before Forgelin parses the annotation candidates. This could potentially cause issues, and breaks expectations/semantics from having the annotation register a class both statically and as an instance. This pull request adds a call to `MinecraftForge.EVENT_BUS#unregister` to remove the Forge-registered class reference before registering the instance reference.
2018-06-09 15:08:40 -04:00
gradle/wrapper Add Gradle wrapper 2016-08-06 10:35:21 -04:00
src Unregister class reference from the event bus (#36) 2018-06-09 15:08:40 -04: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 Update README.md 2017-06-29 16:46:05 -04:00
build.gradle Update Maven publishing 2017-11-30 13:31:14 -05:00
gradle.properties Update to Kotlin 1.2 2017-11-30 13:26:56 -05: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 Emberwalker's Forgelin.

Additions

  • Shades the Kotlin standard library, runtime, 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 "http://maven.shadowfacts.net/"
	}
}

dependencies {
	compile group: "net.shadowfacts", name: "Forgelin", version: "LATEST_VERSION"
}

All versions can be seen here.

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