diff options
Diffstat (limited to 'forge/src/main/kotlin/net')
-rw-r--r-- | forge/src/main/kotlin/net/examplemod/forge/ExampleExpectPlatformImpl.kt | 14 | ||||
-rw-r--r-- | forge/src/main/kotlin/net/examplemod/forge/ExampleModForge.kt | 16 |
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() - } -} |