aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/gui
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2022-05-16 22:17:17 -0400
committerbowser0000 <bowser0000@gmail.com>2022-05-16 22:17:17 -0400
commita40f87f555e01b09e99ab61e83caf8939ad1a8fd (patch)
tree3e0cce357b7c98bc2cf509566c8bc7d1094cf52a /src/main/java/me/Danker/gui
parentdd5cd8de6de8edfe13d461619ae16f16724f59e5 (diff)
downloadSkyblockMod-a40f87f555e01b09e99ab61e83caf8939ad1a8fd.tar.gz
SkyblockMod-a40f87f555e01b09e99ab61e83caf8939ad1a8fd.tar.bz2
SkyblockMod-a40f87f555e01b09e99ab61e83caf8939ad1a8fd.zip
Add minion last collected display
Diffstat (limited to 'src/main/java/me/Danker/gui')
-rw-r--r--src/main/java/me/Danker/gui/DankerGui.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/gui/DankerGui.java b/src/main/java/me/Danker/gui/DankerGui.java
index 663adf5..c247eab 100644
--- a/src/main/java/me/Danker/gui/DankerGui.java
+++ b/src/main/java/me/Danker/gui/DankerGui.java
@@ -92,6 +92,7 @@ public class DankerGui extends GuiScreen {
private GuiButton autoJoinSkyblock;
private GuiButton firePillar;
private GuiButton fishingAlert;
+ private GuiButton minionLastCollected;
// Chat Messages
private GuiButton sceptreMessages;
private GuiButton midasStaffMessages;
@@ -188,6 +189,7 @@ public class DankerGui extends GuiScreen {
autoJoinSkyblock = new FeatureButton("Automatically Join Skyblock: " + Utils.getColouredBoolean(ToggleCommand.autoJoinSkyblock), "Automatically join Skyblock when you join Hypixel.\nYou have an addiction.");
firePillar = new FeatureButton("Fire Pillar Display: " + Utils.getColouredBoolean(ToggleCommand.firePillar), "Displays blaze fire pillar text on screen");
fishingAlert = new FeatureButton("Fishing Spawn Alerts: " + Utils.getColouredBoolean(ToggleCommand.fishingAlert), "Alerts when a Thunder or Lord Jawbus spawns nearby");
+ minionLastCollected = new FeatureButton("Show When Minion Last Collected: " + Utils.getColouredBoolean(ToggleCommand.minionLastCollected), "Displays when a minion was last collected over the minion.");
allButtons.clear();
allButtons.add(changeDisplay);
@@ -250,6 +252,7 @@ public class DankerGui extends GuiScreen {
allButtons.add(autoJoinSkyblock);
allButtons.add(firePillar);
allButtons.add(fishingAlert);
+ allButtons.add(minionLastCollected);
search.setText(initSearchText);
search.setVisible(true);
@@ -551,6 +554,10 @@ public class DankerGui extends GuiScreen {
ToggleCommand.customNametags = !ToggleCommand.customNametags;
ConfigHandler.writeBooleanConfig("toggles", "CustomNametags", ToggleCommand.customNametags);
customNametags.displayString = "Custom Color on Nametags: " + Utils.getColouredBoolean(ToggleCommand.customNametags);
+ } else if (button == minionLastCollected) {
+ ToggleCommand.minionLastCollected = !ToggleCommand.minionLastCollected;
+ ConfigHandler.writeBooleanConfig("toggles", "MinionLastCollected", ToggleCommand.minionLastCollected);
+ minionLastCollected.displayString = "Show When Minion Last Collected: " + Utils.getColouredBoolean(ToggleCommand.minionLastCollected);
}
}