diff options
author | nextdaydelivery <12willettsh@gmail.com> | 2022-02-13 10:46:44 +0000 |
---|---|---|
committer | nextdaydelivery <12willettsh@gmail.com> | 2022-02-13 10:46:44 +0000 |
commit | 3857800292a7cc078ee05c5487b11a256682bef1 (patch) | |
tree | 8f8196234469da7fccf3ea54ff417e47ea32b5d3 /src/main/java/io/polyfrost/oneconfig/config/data | |
parent | 78274eb2b66b27052fe32960916fa4419202dc76 (diff) | |
download | OneConfig-3857800292a7cc078ee05c5487b11a256682bef1.tar.gz OneConfig-3857800292a7cc078ee05c5487b11a256682bef1.tar.bz2 OneConfig-3857800292a7cc078ee05c5487b11a256682bef1.zip |
remake theme stuff + move packages around
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 +} |