diff options
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/data')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/config/data/ModData.java | 24 | ||||
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/config/data/ModType.java | 10 |
2 files changed, 34 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/ModData.java b/src/main/java/io/polyfrost/oneconfig/config/data/ModData.java new file mode 100644 index 0000000..c5e6633 --- /dev/null +++ b/src/main/java/io/polyfrost/oneconfig/config/data/ModData.java @@ -0,0 +1,24 @@ +package io.polyfrost.oneconfig.config.data; + +import io.polyfrost.oneconfig.config.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; + } +} diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/ModType.java b/src/main/java/io/polyfrost/oneconfig/config/data/ModType.java new file mode 100644 index 0000000..8b6e7de --- /dev/null +++ b/src/main/java/io/polyfrost/oneconfig/config/data/ModType.java @@ -0,0 +1,10 @@ +package io.polyfrost.oneconfig.config.data; + +public enum ModType { + PVP, + PERFORMANCE, + HUD, + QOL, + HYPIXEL, + OTHER +} |