blob: bd6c3f36cbd0c57d67197c0531f94cf4cb01e749 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package io.polyfrost.oneconfig.config.data;
import io.polyfrost.oneconfig.config.interfaces.Config;
public class Mod {
public final String name;
public final ModType modType;
public final String creator;
public final String version;
public Config config;
public OptionPage defaultPage = new OptionPage("", this);
/**
* @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 Mod(String name, ModType modType, String creator, String version) {
this.name = name;
this.modType = modType;
this.creator = creator;
this.version = version;
}
}
|