blob: 55ca181938e280102798d3da177cd050af350998 (
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
|
package at.hannibal2.skyhanni.config.features.garden;
import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
public class CropStartLocationConfig {
@Expose
@ConfigOption(name = "Enable", desc = "Show waypoints for the farm of your current tool in hand.")
@ConfigEditorBoolean
@FeatureToggle
public boolean enabled = false;
@Expose
@ConfigOption(name = "Crop Location Mode", desc = "Whether to show waypoint at start location (set with §e/shcropstartlocation §7) or last farmed location.")
@ConfigEditorDropdown
public CropLocationMode mode = CropLocationMode.START;
public enum CropLocationMode {
START("Start Only"),
LAST_FARMED("Last Farmed Only"),
BOTH("Both"),
;
private final String str;
CropLocationMode(String str) {
this.str = str;
}
@Override
public String toString() {
return str;
}
}
}
|