blob: 34af9fbf208fe14c8f1419fd0a79e8bf56b52be3 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
package at.hannibal2.skyhanni.config.features.misc;
import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider;
import io.github.notenoughupdates.moulconfig.annotations.ConfigLink;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
public class PotionEffectsConfig {
@Expose
@ConfigOption(name = "Non God Pot Effects", desc = "Display the active potion effects that are not part of the God Pot.")
@ConfigEditorBoolean
@FeatureToggle
public boolean nonGodPotEffectDisplay = false;
@Expose
@ConfigOption(name = "Show Mixins", desc = "Include God Pot mixins in the Non God Pot Effects display.")
@ConfigEditorBoolean
@FeatureToggle
public boolean nonGodPotEffectShowMixins = false;
@Expose
@ConfigOption(name = "Expire Warning", desc = "Sends a title when one of the Non God Pot Effects is expiring.")
@ConfigEditorBoolean
@FeatureToggle
public boolean expireWarning = false;
@Expose
@ConfigOption(name = "Expire Sound", desc = "Makes a sound when one of the Non God Pot Effects is expiring.")
@ConfigEditorBoolean
@FeatureToggle
public boolean expireSound = false;
@Expose
@ConfigOption(
name = "Expire Warning Time",
desc = "Change the time in seconds before the potion expries to warn you.")
@ConfigEditorSlider(
minValue = 30,
maxValue = 300,
minStep = 5
)
public int expireWarnTime = 30;
@Expose
@ConfigLink(owner = PotionEffectsConfig.class, field = "nonGodPotEffectDisplay")
// TODO rename position
public Position nonGodPotEffectPos = new Position(10, 10, false, true);
}
|