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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
package at.hannibal2.skyhanni.config.features.dev;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.Accordion;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
public class DebugMobConfig {
@Expose
@ConfigOption(name = "Mob Detection Enable", desc = "Turn off and on again to reset all mobs.")
@ConfigEditorBoolean
public boolean enable = true;
@Expose
@ConfigOption(name = "Mob Detection", desc = "Debug feature to check the Mob Detection.")
@Accordion
public MobDetection mobDetection = new MobDetection();
public enum HowToShow {
OFF("Off"),
ONLY_NAME("Only Name"),
ONLY_HIGHLIGHT("Only Highlight"),
NAME_AND_HIGHLIGHT("Both");
final String str;
HowToShow(String str) {
this.str = str;
}
@Override
public String toString() {
return str;
}
}
public static class MobDetection {
@Expose
@ConfigOption(name = "Log Events", desc = "Logs the spawn and despawn event with full mob info.")
@ConfigEditorBoolean
public boolean logEvents = false;
@Expose
@ConfigOption(name = "Show RayHit", desc = "Highlights the mob that is currently in front of your view.")
@ConfigEditorBoolean
public boolean showRayHit = false;
@Expose
@ConfigOption(name = "Player Highlight", desc = "Highlight each entity that is a real Player in blue (you are also included in the list but won't be highlighted for obvious reasons).")
@ConfigEditorBoolean
public boolean realPlayerHighlight = false;
@Expose
@ConfigOption(name = "DisplayNPC", desc = "Shows the internal mobs that are 'DisplayNPC' as highlight (in red) or the name.")
@ConfigEditorDropdown
public HowToShow displayNPC = HowToShow.OFF;
@Expose
@ConfigOption(name = "SkyblockMob", desc = "Shows the internal mobs that are 'SkyblockMob' as highlight (in green) or the name.")
@ConfigEditorDropdown
public HowToShow skyblockMob = HowToShow.OFF;
@Expose
@ConfigOption(name = "Summon", desc = "Shows the internal mobs that are 'Summon' as highlight (in yellow) or the name.")
@ConfigEditorDropdown
public HowToShow summon = HowToShow.OFF;
@Expose
@ConfigOption(name = "Special", desc = "Shows the internal mobs that are 'Special' as highlight (in aqua) or the name.")
@ConfigEditorDropdown
public HowToShow special = HowToShow.OFF;
@Expose
@ConfigOption(name = "Show Invisible", desc = "Shows invisible mobs (due to invisibility effect) if looked at directly.")
@ConfigEditorBoolean
public boolean showInvisible = false;
}
}
|