From 386ee78026801bf50d9cba24de541ed087f145d6 Mon Sep 17 00:00:00 2001 From: nea Date: Tue, 26 Jul 2022 23:12:13 +0200 Subject: 1.19 and no more forge --- .../examplemod/forge/ExampleExpectPlatformImpl.kt | 14 --------- .../kotlin/net/examplemod/forge/ExampleModForge.kt | 16 ---------- forge/src/main/resources/META-INF/mods.toml | 35 ---------------------- forge/src/main/resources/examplemod.mixins.json | 12 -------- forge/src/main/resources/pack.mcmeta | 6 ---- 5 files changed, 83 deletions(-) delete mode 100644 forge/src/main/kotlin/net/examplemod/forge/ExampleExpectPlatformImpl.kt delete mode 100644 forge/src/main/kotlin/net/examplemod/forge/ExampleModForge.kt delete mode 100644 forge/src/main/resources/META-INF/mods.toml delete mode 100644 forge/src/main/resources/examplemod.mixins.json delete mode 100644 forge/src/main/resources/pack.mcmeta (limited to 'forge/src') 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() - } -} diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml deleted file mode 100644 index 4c3d869..0000000 --- a/forge/src/main/resources/META-INF/mods.toml +++ /dev/null @@ -1,35 +0,0 @@ -modLoader = "javafml" -loaderVersion = "[40,)" -#issueTrackerURL = "TODO" -license = "LGPL-3.0" - -[[mods]] -modId = "notenoughupdates" -version = "${version}" -displayName = "Not Enough Updates" -authors = "nea89" -description = ''' -Not Enough Updates - A mod for Hypixel Skyblock -''' -#logoFile = "" - -[[dependencies.notenoughupdates]] -modId = "forge" -mandatory = true -versionRange = "[40,)" -ordering = "NONE" -side = "BOTH" - -[[dependencies.notenoughupdates]] -modId = "minecraft" -mandatory = true -versionRange = "[1.18.2,)" -ordering = "NONE" -side = "BOTH" - -[[dependencies.notenoughupdates]] -modId = "architectury" -mandatory = true -versionRange = "[4.2.50,)" -ordering = "AFTER" -side = "BOTH" diff --git a/forge/src/main/resources/examplemod.mixins.json b/forge/src/main/resources/examplemod.mixins.json deleted file mode 100644 index 50eba1c..0000000 --- a/forge/src/main/resources/examplemod.mixins.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "required": true, - "package": "net.examplemod.mixin.forge", - "compatibilityLevel": "JAVA_16", - "client": [ - ], - "mixins": [ - ], - "injectors": { - "defaultRequire": 1 - } -} \ No newline at end of file diff --git a/forge/src/main/resources/pack.mcmeta b/forge/src/main/resources/pack.mcmeta deleted file mode 100644 index 9252d3d..0000000 --- a/forge/src/main/resources/pack.mcmeta +++ /dev/null @@ -1,6 +0,0 @@ -{ - "pack": { - "description": "Example Mod", - "pack_format": 8 - } -} -- cgit