blob: 919a26d8f3b40c4ecc7f3f656e995468fe84b884 (
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
26
27
28
29
30
31
32
33
|
package de.hysky.skyblocker.config.configs;
import dev.isxander.yacl3.config.v2.api.SerialEntry;
import net.minecraft.client.resource.language.I18n;
public class MiscConfig {
@SerialEntry
public RichPresence richPresence = new RichPresence();
public static class RichPresence {
@SerialEntry
public boolean enableRichPresence = false;
@SerialEntry
public Info info = Info.LOCATION;
@SerialEntry
public boolean cycleMode = false;
@SerialEntry
public String customMessage = "Playing Skyblock";
}
public enum Info {
PURSE, BITS, LOCATION;
@Override
public String toString() {
return I18n.translate("skyblocker.config.misc.richPresence.info." + name());
}
}
}
|