diff options
| author | GodOfPro <59516901+GodOfProDev@users.noreply.github.com> | 2022-10-30 02:12:32 +0330 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-30 00:42:32 +0200 |
| commit | f0bbd5a9f2efcea16131f9b3688302d61b5757c2 (patch) | |
| tree | fab27c6e48063dbceb586a4f1a5f4349fd57d60f /src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java | |
| parent | c9ffb56e1e872984f1546bf0c7fc20743057ed30 (diff) | |
| download | notenoughupdates-f0bbd5a9f2efcea16131f9b3688302d61b5757c2.tar.gz notenoughupdates-f0bbd5a9f2efcea16131f9b3688302d61b5757c2.tar.bz2 notenoughupdates-f0bbd5a9f2efcea16131f9b3688302d61b5757c2.zip | |
Endermite Nests Alert + TitleUtil (#395)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java index 85ad2093..3541860d 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java @@ -20,7 +20,10 @@ package io.github.moulberry.notenoughupdates.options.seperateSections; import com.google.gson.annotations.Expose; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigAccordionId; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorAccordion; import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorBoolean; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorColour; import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorDropdown; import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorSlider; import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigOption; @@ -86,4 +89,43 @@ public class Notifications { minStep = 25 ) public int boosterCookieWarningMins = 1440; + + @Expose + @ConfigOption( + name = "Ender Nodes", + desc = "" + ) + @ConfigEditorAccordion(id = 1) + public boolean enderNodeAccordion = false; + + @Expose + @ConfigOption( + name = "Nested Endermite Alert", + desc = "It will alert the user if a nested endermite gets spawned" + ) + @ConfigEditorBoolean + @ConfigAccordionId(id = 1) + public boolean endermiteAlert = true; + + @Expose + @ConfigOption( + name = "Nested Endermite Alert Color", + desc = "The color the alert will be shown" + ) + @ConfigEditorColour + @ConfigAccordionId(id = 1) + public String endermiteAlertColor = "0:255:194:0:174"; + + @Expose + @ConfigOption( + name = "Nested Endermite Alert Display Time", + desc = "How long the display would stay for in ticks" + ) + @ConfigEditorSlider( + minValue = 1, + maxValue = 200, + minStep = 20 + ) + @ConfigAccordionId(id = 1) + public int endermiteAlertTicks = 20; } |
