blob: e500d9efa3adcce42866fc118f4bddbbb4dc7e2a (
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 at.hannibal2.skyhanni.config.features.misc;
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.ConfigEditorSlider;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
public class HideFarEntitiesConfig {
@Expose
@ConfigOption(name = "Enabled", desc = "Hide all entities from rendering except the nearest ones.")
@ConfigEditorBoolean
@FeatureToggle
public boolean enabled = false;
@Expose
@ConfigOption(name = "Min Distance", desc = "Always show mobs that are at least that close to the player.")
@ConfigEditorSlider(minValue = 3, maxValue = 30, minStep = 1)
public int minDistance = 10;
@Expose
@ConfigOption(name = "Max Amount", desc = "Not showing more than this amount of nearest entities.")
@ConfigEditorSlider(minValue = 1, maxValue = 150, minStep = 1)
public int maxAmount = 30;
@Expose
@ConfigOption(name = "Exclude Garden", desc = "Disable this feature while in the Garden.")
@ConfigEditorBoolean
public boolean excludeGarden = false;
@Expose
@ConfigOption(name = "Exclude Dungeon", desc = "Disable this feature while in Dungeon.")
@ConfigEditorBoolean
public boolean excludeDungeon = false;
}
|