aboutsummaryrefslogtreecommitdiff
path: root/test-forge
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-09-24 15:48:15 +0100
committerisXander <xandersmith2008@gmail.com>2023-09-24 15:48:15 +0100
commitd2b67633c1d3ca0c46682b05955dafafd3597f1d (patch)
tree7e7ae123d0cb945a45eb940a12eb03a4d4e04d80 /test-forge
parent554646dbd857e2fab1be8339ce8d0231ef2dbb4c (diff)
downloadYetAnotherConfigLib-d2b67633c1d3ca0c46682b05955dafafd3597f1d.tar.gz
YetAnotherConfigLib-d2b67633c1d3ca0c46682b05955dafafd3597f1d.tar.bz2
YetAnotherConfigLib-d2b67633c1d3ca0c46682b05955dafafd3597f1d.zip
1.20.2
Diffstat (limited to 'test-forge')
-rw-r--r--test-forge/build.gradle.kts2
-rw-r--r--test-forge/src/main/java/dev/isxander/yacl/test/forge/ForgeTest.java18
-rw-r--r--test-forge/src/main/java/dev/isxander/yacl3/test/forge/ForgeTest.java10
-rw-r--r--test-forge/src/main/resources/META-INF/mods.toml6
4 files changed, 14 insertions, 22 deletions
diff --git a/test-forge/build.gradle.kts b/test-forge/build.gradle.kts
index b43c7eb..30a02e9 100644
--- a/test-forge/build.gradle.kts
+++ b/test-forge/build.gradle.kts
@@ -46,7 +46,7 @@ dependencies {
forgeRuntimeLibrary(libs.bundles.quilt.parsers)
"common"(project(path = ":test-common", configuration = "namedElements")) { isTransitive = false }
- implementation(project(path = ":forge", configuration = "namedElements"))
+ "common"(project(path = ":forge", configuration = "namedElements")) { isTransitive = false }
"common"(project(path = ":common", configuration = "namedElements")) { isTransitive = false }
}
diff --git a/test-forge/src/main/java/dev/isxander/yacl/test/forge/ForgeTest.java b/test-forge/src/main/java/dev/isxander/yacl/test/forge/ForgeTest.java
deleted file mode 100644
index fcdb894..0000000
--- a/test-forge/src/main/java/dev/isxander/yacl/test/forge/ForgeTest.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package dev.isxander.yacl3.test.forge;
-
-import dev.isxander.yacl3.test.GuiTest;
-import net.minecraftforge.client.ConfigScreenHandler;
-import net.minecraftforge.fml.ModLoadingContext;
-import net.minecraftforge.fml.common.Mod;
-
-@Mod("yacl_test")
-public class ForgeTest {
- public ForgeTest() {
- ModLoadingContext.get().registerExtensionPoint(
- ConfigScreenHandler.ConfigScreenFactory.class,
- () -> new ConfigScreenHandler.ConfigScreenFactory(
- (minecraft, parent) -> GuiTest.getModConfigScreenFactory(parent)
- )
- );
- }
-}
diff --git a/test-forge/src/main/java/dev/isxander/yacl3/test/forge/ForgeTest.java b/test-forge/src/main/java/dev/isxander/yacl3/test/forge/ForgeTest.java
new file mode 100644
index 0000000..f9a95b6
--- /dev/null
+++ b/test-forge/src/main/java/dev/isxander/yacl3/test/forge/ForgeTest.java
@@ -0,0 +1,10 @@
+package dev.isxander.yacl3.test.forge;
+
+import net.minecraftforge.fml.common.Mod;
+
+@Mod("yacl_test")
+public class ForgeTest {
+ public ForgeTest() {
+
+ }
+}
diff --git a/test-forge/src/main/resources/META-INF/mods.toml b/test-forge/src/main/resources/META-INF/mods.toml
index f4f57d0..cbccdaf 100644
--- a/test-forge/src/main/resources/META-INF/mods.toml
+++ b/test-forge/src/main/resources/META-INF/mods.toml
@@ -1,5 +1,5 @@
modLoader = "javafml"
-loaderVersion = "[45,)"
+loaderVersion = "[48,)"
#issueTrackerURL = ""
license = "LGPL-3.0-or-later"
@@ -16,13 +16,13 @@ Test mod for YACL
[[dependencies.yacl_test]]
modId = "forge"
mandatory = true
-versionRange = "[45,)"
+versionRange = "[48,)"
ordering = "NONE"
side = "BOTH"
[[dependencies.yacl_test]]
modId = "minecraft"
mandatory = true
-versionRange = "[1.19.4,)"
+versionRange = "[1.20.2,)"
ordering = "NONE"
side = "BOTH"