aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/internal/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/internal/config')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/internal/config/compatibility/forge/ForgeCompat.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/config/compatibility/forge/ForgeCompat.java b/src/main/java/cc/polyfrost/oneconfig/internal/config/compatibility/forge/ForgeCompat.java
new file mode 100644
index 0000000..fc5ca5e
--- /dev/null
+++ b/src/main/java/cc/polyfrost/oneconfig/internal/config/compatibility/forge/ForgeCompat.java
@@ -0,0 +1,31 @@
+package cc.polyfrost.oneconfig.internal.config.compatibility.forge;
+
+import cc.polyfrost.oneconfig.config.data.Mod;
+import cc.polyfrost.oneconfig.config.data.ModType;
+import cc.polyfrost.oneconfig.config.migration.Migrator;
+import org.jetbrains.annotations.Nullable;
+
+import java.util.HashMap;
+
+public class ForgeCompat {
+ public static final HashMap<Mod, Runnable> compatMods = new HashMap<>();
+
+ public static class ForgeCompatMod extends Mod {
+
+ public ForgeCompatMod(String name, ModType modType, @Nullable String modIcon, @Nullable Migrator migrator) {
+ super(name, modType, modIcon, migrator);
+ }
+
+ public ForgeCompatMod(String name, ModType modType, @Nullable String modIcon) {
+ super(name, modType, modIcon);
+ }
+
+ public ForgeCompatMod(String name, ModType modType, @Nullable Migrator migrator) {
+ super(name, modType, migrator);
+ }
+
+ public ForgeCompatMod(String name, ModType modType) {
+ super(name, modType);
+ }
+ }
+}