diff options
author | thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> | 2021-02-01 10:47:53 -0800 |
---|---|---|
committer | thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> | 2021-02-01 10:47:53 -0800 |
commit | 2a30973642c3cddd5d42f1c955caea73cd946134 (patch) | |
tree | 096ba2971311e8c1441e0565264b1a1d7fd0613b /src/main/kotlin/thedarkcolour | |
parent | 28214d92042f0a4673f53699b1ff52af0226ccb3 (diff) | |
download | KotlinForForge-2a30973642c3cddd5d42f1c955caea73cd946134.tar.gz KotlinForForge-2a30973642c3cddd5d42f1c955caea73cd946134.tar.bz2 KotlinForForge-2a30973642c3cddd5d42f1c955caea73cd946134.zip |
Kotlin for Forge 1.8.0 Close #11 Close #12
Diffstat (limited to 'src/main/kotlin/thedarkcolour')
-rw-r--r-- | src/main/kotlin/thedarkcolour/kotlinforforge/KotlinForForge.kt | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinForForge.kt b/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinForForge.kt index fac6ed6..168d3f0 100644 --- a/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinForForge.kt +++ b/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinForForge.kt @@ -1,12 +1,7 @@ package thedarkcolour.kotlinforforge -import net.minecraftforge.common.MinecraftForge -import net.minecraftforge.event.entity.player.AdvancementEvent import net.minecraftforge.fml.common.Mod -import net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext -import thedarkcolour.kotlinforforge.forge.FORGE_BUS -import thedarkcolour.kotlinforforge.forge.MOD_BUS /** * Set `modLoader` in mods.toml to @@ -19,14 +14,4 @@ import thedarkcolour.kotlinforforge.forge.MOD_BUS * check out the [KotlinModdingSkeleton repository](https://github.com/thedarkcolour/KotlinModdingSkeleton). */ @Mod("kotlinforforge") -public object KotlinForForge { - init { - MOD_BUS.addListener { event: FMLLoadCompleteEvent -> - val a = FORGE_BUS.post(AdvancementEvent(null, null)) - val b = MinecraftForge.EVENT_BUS.post(AdvancementEvent(null, null)) - - println("POST TEST: $a") - println("POST TEST: $b") - } - } -}
\ No newline at end of file +public object KotlinForForge
\ No newline at end of file |