package at.hannibal2.skyhanni.config.features.crimsonisle; 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.ConfigEditorColour; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class SulphurSkitterBoxConfig { @Expose @ConfigOption(name = "Enabled", desc = "Render a box around the closest sulphur block.") @ConfigEditorBoolean @FeatureToggle public boolean enabled = false; @Expose @ConfigOption(name = "Box Type", desc = "Choose the look of the box.") @ConfigEditorDropdown public BoxType boxType = BoxType.WIREFRAME; public enum BoxType { FULL("Full"), WIREFRAME("Wireframe"), ; private final String str; BoxType(String str) { this.str = str; } @Override public String toString() { return str; } } @Expose @ConfigOption(name = "Box Color", desc = "Choose the color of the box.") @ConfigEditorColour public String boxColor = "0:102:255:216:0"; @Expose @ConfigOption(name = "Only With Rods", desc = "Render the box only when holding a lava fishing rod.") @ConfigEditorBoolean public boolean onlyWithRods = true; }