aboutsummaryrefslogtreecommitdiff
path: root/forge/src/main/kotlin/net
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-07-26 23:12:13 +0200
committernea <romangraef@gmail.com>2022-07-26 23:12:13 +0200
commit386ee78026801bf50d9cba24de541ed087f145d6 (patch)
tree3f85f2595141802d3d7f9828d440cfd50aee9a7c /forge/src/main/kotlin/net
parentcc9c23914b8a928026a457b259e44bc4bb2fe655 (diff)
downloadFirmament-386ee78026801bf50d9cba24de541ed087f145d6.tar.gz
Firmament-386ee78026801bf50d9cba24de541ed087f145d6.tar.bz2
Firmament-386ee78026801bf50d9cba24de541ed087f145d6.zip
1.19 and no more forge
Diffstat (limited to 'forge/src/main/kotlin/net')
-rw-r--r--forge/src/main/kotlin/net/examplemod/forge/ExampleExpectPlatformImpl.kt14
-rw-r--r--forge/src/main/kotlin/net/examplemod/forge/ExampleModForge.kt16
2 files changed, 0 insertions, 30 deletions
diff --git a/forge/src/main/kotlin/net/examplemod/forge/ExampleExpectPlatformImpl.kt b/forge/src/main/kotlin/net/examplemod/forge/ExampleExpectPlatformImpl.kt
deleted file mode 100644
index 8617e69..0000000
--- a/forge/src/main/kotlin/net/examplemod/forge/ExampleExpectPlatformImpl.kt
+++ /dev/null
@@ -1,14 +0,0 @@
-package net.examplemod.forge
-
-import net.minecraftforge.fml.loading.FMLPaths
-import java.nio.file.Path
-import net.examplemod.ExampleExpectPlatform
-
-@Suppress("unused")
-object ExampleExpectPlatformImpl {
- /**
- * This is our actual method to [ExampleExpectPlatform.getConfigDirectory].
- */
- @JvmStatic
- fun getConfigDirectory(): Path = FMLPaths.CONFIGDIR.get()
-} \ No newline at end of file
diff --git a/forge/src/main/kotlin/net/examplemod/forge/ExampleModForge.kt b/forge/src/main/kotlin/net/examplemod/forge/ExampleModForge.kt
deleted file mode 100644
index 21fa303..0000000
--- a/forge/src/main/kotlin/net/examplemod/forge/ExampleModForge.kt
+++ /dev/null
@@ -1,16 +0,0 @@
-package net.examplemod.forge
-
-import dev.architectury.platform.forge.EventBuses
-import moe.nea.notenoughupdates.NotEnoughUpdates
-import moe.nea.notenoughupdates.NotEnoughUpdates.init
-import net.minecraftforge.fml.common.Mod
-import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext
-
-@Mod(NotEnoughUpdates.MOD_ID)
-class ExampleModForge {
- init {
- // Submit our event bus to let architectury register our content on the right time
- EventBuses.registerModEventBus(NotEnoughUpdates.MOD_ID, FMLJavaModLoadingContext.get().modEventBus)
- init()
- }
-}