blob: 824dd8c83de79f44b05d46a8d5b26b176fa5f132 (
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
|
package at.hannibal2.skyhanni.config.features.mining;
import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import at.hannibal2.skyhanni.features.mining.MineshaftPityDisplay.MineshaftPityLine;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDraggableList;
import io.github.notenoughupdates.moulconfig.annotations.ConfigLink;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class MineshaftPityDisplayConfig {
@Expose
@ConfigOption(name = "Enable Display", desc = "Enable the Mineshaft Pity Display.")
@ConfigEditorBoolean
@FeatureToggle
public boolean enabled = true;
@Expose
@ConfigOption(name = "Stats List", desc = "Drag text to change the appearance of the display.")
@ConfigEditorDraggableList
public List<MineshaftPityLine> mineshaftPityLines = new ArrayList<>(Arrays.asList(
MineshaftPityLine.TITLE,
MineshaftPityLine.COUNTER,
MineshaftPityLine.CHANCE,
MineshaftPityLine.NEEDED_TO_PITY,
MineshaftPityLine.TIME_SINCE_MINESHAFT
));
@Expose
@ConfigOption(name = "Modify Spawn Message", desc = "Modify the Mineshaft spawn message with more stats.")
@ConfigEditorBoolean
@FeatureToggle
public boolean modifyChatMessage = true;
@Expose
@ConfigLink(owner = MineshaftPityDisplayConfig.class, field = "enabled")
public Position position = new Position(16, 192, false, true);
}
|