From a7dadf620caffabc53ae412ab54e039341ea10b1 Mon Sep 17 00:00:00 2001 From: thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> Date: Sat, 18 Apr 2020 12:13:11 -0700 Subject: Update 1.2.1 --- build.gradle | 2 +- .../kotlinforforge/KotlinModLoadingContext.kt | 12 ++++- .../thedarkcolour/kotlinforforge/forge/Forge.kt | 2 +- .../1.2.1/kotlinforforge-1.2.1-sources.jar | Bin 0 -> 13418 bytes .../1.2.1/kotlinforforge-1.2.1-sources.jar.md5 | 1 + .../1.2.1/kotlinforforge-1.2.1-sources.jar.sha1 | 1 + .../kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar | Bin 0 -> 91881 bytes .../1.2.1/kotlinforforge-1.2.1.jar.md5 | 1 + .../1.2.1/kotlinforforge-1.2.1.jar.sha1 | 1 + .../kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom | 59 +++++++++++++++++++++ .../1.2.1/kotlinforforge-1.2.1.pom.md5 | 1 + .../1.2.1/kotlinforforge-1.2.1.pom.sha1 | 1 + thedarkcolour/kotlinforforge/1.2.1/web.html | 15 ++++++ thedarkcolour/kotlinforforge/maven-metadata.xml | 3 +- .../kotlinforforge/maven-metadata.xml.md5 | 2 +- .../kotlinforforge/maven-metadata.xml.sha1 | 2 +- thedarkcolour/kotlinforforge/web.html | 11 ++-- thedarkcolour/web.html | 10 ++-- 18 files changed, 112 insertions(+), 12 deletions(-) create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.md5 create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.sha1 create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.md5 create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.sha1 create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.md5 create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.sha1 create mode 100644 thedarkcolour/kotlinforforge/1.2.1/web.html diff --git a/build.gradle b/build.gradle index aa1db38..5686edf 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ plugins { apply plugin: 'net.minecraftforge.gradle' apply plugin: 'kotlin' -version = '1.2.0' +version = '1.2.1' group = 'thedarkcolour.kotlinforforge' archivesBaseName = 'kotlinforforge' diff --git a/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinModLoadingContext.kt b/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinModLoadingContext.kt index 44aac2d..78aaef7 100644 --- a/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinModLoadingContext.kt +++ b/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinModLoadingContext.kt @@ -1,5 +1,6 @@ package thedarkcolour.kotlinforforge +import net.minecraftforge.eventbus.api.IEventBus import thedarkcolour.kotlinforforge.eventbus.KotlinEventBus import thedarkcolour.kotlinforforge.forge.LOADING_CONTEXT @@ -10,7 +11,16 @@ class KotlinModLoadingContext constructor(private val container: KotlinModContai /** * @see thedarkcolour.kotlinforforge.forge.MOD_BUS */ - fun getEventBus(): KotlinEventBus { + fun getKEventBus(): KotlinEventBus { + return container.eventBus + } + + /** @since 1.2.1 + * @see thedarkcolour.kotlinforforge.forge.MOD_BUS + * + * Required to make mods that use an older version of KFF work. + */ + fun getEventBus(): IEventBus { return container.eventBus } diff --git a/src/main/kotlin/thedarkcolour/kotlinforforge/forge/Forge.kt b/src/main/kotlin/thedarkcolour/kotlinforforge/forge/Forge.kt index e0b9cd8..fe8ee42 100644 --- a/src/main/kotlin/thedarkcolour/kotlinforforge/forge/Forge.kt +++ b/src/main/kotlin/thedarkcolour/kotlinforforge/forge/Forge.kt @@ -40,7 +40,7 @@ val FORGE_BUS = KotlinEventBusWrapper(MinecraftForge.EVENT_BUS as EventBus) * @see net.minecraftforge.event.RegistryEvent */ val MOD_BUS: KotlinEventBus - inline get() = KotlinModLoadingContext.get().getEventBus() + inline get() = KotlinModLoadingContext.get().getKEventBus() /** @since 1.0.0 * Mod context for Kotlin mods. diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar new file mode 100644 index 0000000..1ec7f1e Binary files /dev/null and b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar differ diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.md5 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.md5 new file mode 100644 index 0000000..1b66d2a --- /dev/null +++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.md5 @@ -0,0 +1 @@ +13bce0f678c2210c8c8ef624b85eedc9 \ No newline at end of file diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.sha1 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.sha1 new file mode 100644 index 0000000..17533d6 --- /dev/null +++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.sha1 @@ -0,0 +1 @@ +facc2a29125f44cf8fddb69a2505ec85561da2f3 \ No newline at end of file diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar new file mode 100644 index 0000000..9e8adb3 Binary files /dev/null and b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar differ diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.md5 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.md5 new file mode 100644 index 0000000..c344bb1 --- /dev/null +++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.md5 @@ -0,0 +1 @@ +b1475c31dca21ada89adee34e7f44d7f \ No newline at end of file diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.sha1 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.sha1 new file mode 100644 index 0000000..e72a0c9 --- /dev/null +++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.sha1 @@ -0,0 +1 @@ +a2170621ceda2e97422601a96e032a00ec6876cd \ No newline at end of file diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom new file mode 100644 index 0000000..56a09b2 --- /dev/null +++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom @@ -0,0 +1,59 @@ + + + 4.0.0 + thedarkcolour + kotlinforforge + 1.2.1 + + + kt-eap + Kotlin Early Access + https://dl.bintray.com/kotlin/kotlin-eap + + + + + org.jetbrains.kotlin + kotlin-stdlib + 1.4-M1 + compile + + + org.jetbrains.kotlin + kotlin-stdlib-jdk7 + 1.4-M1 + compile + + + org.jetbrains.kotlin + kotlin-stdlib-jdk8 + 1.4-M1 + compile + + + org.jetbrains.kotlin + kotlin-reflect + 1.4-M1 + compile + + + org.jetbrains + annotations + 19.0.0 + compile + + + org.jetbrains.kotlinx + kotlinx-coroutines-core + 1.3.4 + compile + + + org.jetbrains.kotlinx + kotlinx-coroutines-jdk8 + 1.3.4 + compile + + + diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.md5 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.md5 new file mode 100644 index 0000000..c928eda --- /dev/null +++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.md5 @@ -0,0 +1 @@ +752a6b44af0905193df67721577d5e7c \ No newline at end of file diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.sha1 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.sha1 new file mode 100644 index 0000000..f7b1202 --- /dev/null +++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.sha1 @@ -0,0 +1 @@ +b85c6c6a3d2f6dfa54f3f9ee696af54175f0eb7a \ No newline at end of file diff --git a/thedarkcolour/kotlinforforge/1.2.1/web.html b/thedarkcolour/kotlinforforge/1.2.1/web.html new file mode 100644 index 0000000..1f82a39 --- /dev/null +++ b/thedarkcolour/kotlinforforge/1.2.1/web.html @@ -0,0 +1,15 @@ + +Index of /kotlinforforge/ + +

Index of /kotlinforforge/


../
+kotlinforforge-1.2.1-sources.jar
+kotlinforforge-1.2.1-sources.jar.sha1
+kotlinforforge-1.2.1-sources.jar.md5
+kotlinforforge-1.2.1.jar
+kotlinforforge-1.2.1.jar.sha1
+kotlinforforge-1.2.1.jar.md5
+kotlinforforge-1.2.1.pom
+kotlinforforge-1.2.1.pom.sha1
+kotlinforforge-1.2.1.pom.md5
+

+ diff --git a/thedarkcolour/kotlinforforge/maven-metadata.xml b/thedarkcolour/kotlinforforge/maven-metadata.xml index c4f6ff0..193f821 100644 --- a/thedarkcolour/kotlinforforge/maven-metadata.xml +++ b/thedarkcolour/kotlinforforge/maven-metadata.xml @@ -3,12 +3,13 @@ thedarkcolour kotlinforforge - 1.2.0 + 1.2.1 1.0.0 1.0.1 1.1.0 1.2.0 + 1.2.1 diff --git a/thedarkcolour/kotlinforforge/maven-metadata.xml.md5 b/thedarkcolour/kotlinforforge/maven-metadata.xml.md5 index 07eb843..8ba8db3 100644 --- a/thedarkcolour/kotlinforforge/maven-metadata.xml.md5 +++ b/thedarkcolour/kotlinforforge/maven-metadata.xml.md5 @@ -1 +1 @@ -f583f067a62b1a9a739d97c05c75f92d \ No newline at end of file +df48b99b2a7b4071f3683bac2d13b652 \ No newline at end of file diff --git a/thedarkcolour/kotlinforforge/maven-metadata.xml.sha1 b/thedarkcolour/kotlinforforge/maven-metadata.xml.sha1 index 6c497dc..a439a20 100644 --- a/thedarkcolour/kotlinforforge/maven-metadata.xml.sha1 +++ b/thedarkcolour/kotlinforforge/maven-metadata.xml.sha1 @@ -1 +1 @@ -867d0acce00f1d6434d23dd45b4bf9fa3a93e18a \ No newline at end of file +cac5bebca56af1f260e39d81c7195caba88a7ae7 \ No newline at end of file diff --git a/thedarkcolour/kotlinforforge/web.html b/thedarkcolour/kotlinforforge/web.html index 6cc6723..1213c35 100644 --- a/thedarkcolour/kotlinforforge/web.html +++ b/thedarkcolour/kotlinforforge/web.html @@ -1,13 +1,18 @@ -Index of /kotlinforforge/ + + Index of /kotlinforforge/ + -

Index of /kotlinforforge/


../
+

Index of /kotlinforforge/


+../
 1.0.0
 1.0.1
 1.1.0
 1.2.0
+1.2.1
 maven-metadata.xml
 maven-metadata.xml.md5
 maven-metadata.xml.sha1
-

+

+ diff --git a/thedarkcolour/web.html b/thedarkcolour/web.html index 330af9a..95c5d57 100644 --- a/thedarkcolour/web.html +++ b/thedarkcolour/web.html @@ -1,7 +1,11 @@ -Index of /kotlinforforge/ + + Index of /thedarkcolour/ + -

Index of /kotlinforforge/


../
+

Index of /thedarkcolour/


+../
 kotlinforforge
-

+

+ -- cgit