diff options
author | nea <romangraef@gmail.com> | 2022-07-26 11:42:48 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-07-26 11:42:48 +0200 |
commit | 37218614c6d7f8a903b6532196dfa7d1e94a948f (patch) | |
tree | f3ab92298b23ac839eaa84b3af1c769adfa52fda /fabric/src | |
parent | 372eec27e5e0c8ef796ed9e6bcdc68a10df84718 (diff) | |
download | Firmament-37218614c6d7f8a903b6532196dfa7d1e94a948f.tar.gz Firmament-37218614c6d7f8a903b6532196dfa7d1e94a948f.tar.bz2 Firmament-37218614c6d7f8a903b6532196dfa7d1e94a948f.zip |
legacy tag parsing and transformation
Diffstat (limited to 'fabric/src')
4 files changed, 11 insertions, 24 deletions
diff --git a/fabric/src/main/kotlin/moe/nea/notenoughupdates/FabricMain.kt b/fabric/src/main/kotlin/moe/nea/notenoughupdates/FabricMain.kt new file mode 100644 index 0000000..918100b --- /dev/null +++ b/fabric/src/main/kotlin/moe/nea/notenoughupdates/FabricMain.kt @@ -0,0 +1,10 @@ +package moe.nea.notenoughupdates + +import moe.nea.notenoughupdates.NotEnoughUpdates.init +import net.fabricmc.api.ModInitializer + +class FabricMain : ModInitializer { + override fun onInitialize() { + init() + } +} diff --git a/fabric/src/main/kotlin/net/examplemod/fabric/ExampleExpectPlatformImpl.kt b/fabric/src/main/kotlin/net/examplemod/fabric/ExampleExpectPlatformImpl.kt deleted file mode 100644 index 8982dfc..0000000 --- a/fabric/src/main/kotlin/net/examplemod/fabric/ExampleExpectPlatformImpl.kt +++ /dev/null @@ -1,13 +0,0 @@ -package net.examplemod.fabric - -import net.fabricmc.loader.api.FabricLoader -import java.nio.file.Path -import net.examplemod.ExampleExpectPlatform - -object ExampleExpectPlatformImpl { - /** - * This is our actual method to [ExampleExpectPlatform.getConfigDirectory]. - */ - @JvmStatic - fun getConfigDirectory(): Path = FabricLoader.getInstance().configDir -}
\ No newline at end of file diff --git a/fabric/src/main/kotlin/net/examplemod/fabric/ExampleModFabric.kt b/fabric/src/main/kotlin/net/examplemod/fabric/ExampleModFabric.kt deleted file mode 100644 index c11491c..0000000 --- a/fabric/src/main/kotlin/net/examplemod/fabric/ExampleModFabric.kt +++ /dev/null @@ -1,10 +0,0 @@ -package net.examplemod.fabric - -import net.examplemod.ExampleMod.init -import net.fabricmc.api.ModInitializer - -class ExampleModFabric : ModInitializer { - override fun onInitialize() { - init() - } -}
\ No newline at end of file diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 21eaec0..3ff8349 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -16,7 +16,7 @@ "environment": "client", "entrypoints": { "main": [ - "net.examplemod.fabric.ExampleModFabric" + "moe.nea.notenoughupdates.FabricMain" ], "rei": [ "moe.nea.notenoughupdates.rei.NEUReiPlugin" |