aboutsummaryrefslogtreecommitdiff
path: root/test-forge/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'test-forge/src/main')
-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
3 files changed, 13 insertions, 21 deletions
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"