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; }