aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/data/ModData.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/data/ModData.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/data/ModData.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/data/ModData.java b/src/main/java/io/polyfrost/oneconfig/data/ModData.java
new file mode 100644
index 0000000..24ed1e5
--- /dev/null
+++ b/src/main/java/io/polyfrost/oneconfig/data/ModData.java
@@ -0,0 +1,24 @@
+package io.polyfrost.oneconfig.data;
+
+import io.polyfrost.oneconfig.interfaces.Config;
+
+public class ModData {
+ public final String name;
+ public final ModType modType;
+ public final String creator;
+ public final String version;
+ public Config config;
+
+ /**
+ * @param name Friendly name of the mod
+ * @param modType Type of the mod (for example ModType.QOL)
+ * @param creator Creator of the mod
+ * @param version Version of the mod
+ */
+ public ModData(String name, ModType modType, String creator, String version) {
+ this.name = name;
+ this.modType = modType;
+ this.creator = creator;
+ this.version = version;
+ }
+}