blob: ed0857e008f9f315549fe012462bf54d46e93e2c (
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
34
35
|
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 boolean hideStatusEffectOverlay = false;
@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());
}
}
}
|