From 09a5d64de77caa9f84976b16a899939d46b143cd Mon Sep 17 00:00:00 2001 From: UnRealDinnerbone Date: Sun, 31 Dec 2023 22:33:36 -0600 Subject: [PATCH] Fix Crash on Neo --- .gitignore | 2 + ...trenzalore.api.platform.services.IRegistry | 0 ...trenzalore.api.platform.services.IRegistry | 2 - neo/src/main/resources/META-INF/mods.toml | 46 +++++++++---------- ...trenzalore.api.platform.services.IRegistry | 2 - 5 files changed, 25 insertions(+), 27 deletions(-) rename {fabric => common}/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry (100%) delete mode 100644 forge/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry delete mode 100644 neo/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry diff --git a/.gitignore b/.gitignore index 5752fc5..cdeea92 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ fabric2/run_client/ fabric/run_client/ logs/ + +neo/runs/ diff --git a/fabric/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry b/common/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry similarity index 100% rename from fabric/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry rename to common/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry diff --git a/forge/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry b/forge/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry deleted file mode 100644 index f35df00..0000000 --- a/forge/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry +++ /dev/null @@ -1,2 +0,0 @@ -com.unrealdinnerbone.jamd.JAMDRegistry -com.unrealdinnerbone.jamd.JAMDForgeRegistry \ No newline at end of file diff --git a/neo/src/main/resources/META-INF/mods.toml b/neo/src/main/resources/META-INF/mods.toml index 372468c..dfe0ce2 100644 --- a/neo/src/main/resources/META-INF/mods.toml +++ b/neo/src/main/resources/META-INF/mods.toml @@ -1,29 +1,29 @@ modLoader = "javafml" -loaderVersion = "[44,)" +loaderVersion = "[1,)" license = "All Rights Reserved unless stated otherwise. Distribution permission is given to FeedTheBeast and CurseForge for use in modpacks" [[mods]] -modId = "jamd" -version = "${mod_version}" -displayName = "Just Another Mining Dimension" -logoFile = "assets/jamd/logo.png" -credits = "" -authors = "UnRealDinnerbone" -description = "Adds a mining dimension to the game." + modId = "jamd" + version = "${mod_version}" + displayName = "Just Another Mining Dimension" + logoFile = "assets/jamd/logo.png" + credits = "" + authors = "UnRealDinnerbone" + description = "Adds a mining dimension to the game." [[dependencies.jamd]] -modId = "forge" -mandatory = true -versionRange = "[44,)" -ordering = "NONE" -side = "BOTH" + modId = "neoforge" + required = true + versionRange = "[1.0,)" + ordering = "NONE" + side = "BOTH" [[dependencies.jamd]] -modId = "minecraft" -mandatory = true -versionRange = "[${minecraft_version}]" -ordering = "NONE" -side = "BOTH" + modId = "minecraft" + required = true + versionRange = "[${minecraft_version}]" + ordering = "NONE" + side = "BOTH" [[dependencies.jamd]] -modId = "trenzalore" -mandatory = true -versionRange = "[${trenzalore_version},)" -ordering = "NONE" -side = "BOTH" \ No newline at end of file + modId = "trenzalore" + required = true + versionRange = "[${trenzalore_version},)" + ordering = "NONE" + side = "BOTH" \ No newline at end of file diff --git a/neo/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry b/neo/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry deleted file mode 100644 index f35df00..0000000 --- a/neo/src/main/resources/META-INF/services/com.unrealdinnerbone.trenzalore.api.platform.services.IRegistry +++ /dev/null @@ -1,2 +0,0 @@ -com.unrealdinnerbone.jamd.JAMDRegistry -com.unrealdinnerbone.jamd.JAMDForgeRegistry \ No newline at end of file