diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-11-02 13:31:50 -0500 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-11-02 13:31:50 -0500 |
commit | 8ab18f2053a0a903bf3d283c2111fc893d4decda (patch) | |
tree | b3eed7d920214af5c8ed1dc38b2d5ddf958f33e6 /src/main/java/me/Danker/gui | |
parent | 056455031cbe8005a2172d6607b84efc453ac0ea (diff) | |
download | SkyblockMod-8ab18f2053a0a903bf3d283c2111fc893d4decda.tar.gz SkyblockMod-8ab18f2053a0a903bf3d283c2111fc893d4decda.tar.bz2 SkyblockMod-8ab18f2053a0a903bf3d283c2111fc893d4decda.zip |
Add spooky fishing, fix fishing detection and bug fixes
Minimize repetition by moving things to increaseSeaCreatures()
Add Wither Skeleton to trivia question answer
Diffstat (limited to 'src/main/java/me/Danker/gui')
-rw-r--r-- | src/main/java/me/Danker/gui/DisplayGui.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/main/java/me/Danker/gui/DisplayGui.java b/src/main/java/me/Danker/gui/DisplayGui.java index 243bedb..9f00ed3 100644 --- a/src/main/java/me/Danker/gui/DisplayGui.java +++ b/src/main/java/me/Danker/gui/DisplayGui.java @@ -25,6 +25,7 @@ public class DisplayGui extends GuiScreen { private GuiButton fishing; private GuiButton fishingWinter; private GuiButton fishingFestival; + private GuiButton spookyFishing; private GuiButton catacombsF1; private GuiButton catacombsF2; private GuiButton catacombsF3; @@ -53,9 +54,10 @@ public class DisplayGui extends GuiScreen { zombie = new GuiButton(0, width / 2 - 190, (int) (height * 0.3), 110, 20, "Zombie"); spider = new GuiButton(0, width / 2 - 55, (int) (height * 0.3), 110, 20, "Spider"); wolf = new GuiButton(0, width / 2 + 75, (int) (height * 0.3), 110, 20, "Wolf"); - fishing = new GuiButton(0, width / 2 - 190, (int) (height * 0.4), 110, 20, "Fishing"); - fishingWinter = new GuiButton(0, width / 2 - 55, (int) (height * 0.4), 110, 20, "Fishing Winter"); - fishingFestival = new GuiButton(0, width / 2 + 75, (int) (height * 0.4), 110, 20, "Fishing Festival"); + fishing = new GuiButton(0, width / 2 - 230, (int) (height * 0.4), 100, 20, "Fishing"); + fishingWinter = new GuiButton(0, width / 2 - 110, (int) (height * 0.4), 100, 20, "Fishing Winter"); + fishingFestival = new GuiButton(0, width / 2 + 10, (int) (height * 0.4), 100, 20, "Fishing Festival"); + spookyFishing = new GuiButton(0, width / 2 + 130, (int) (height * 0.4), 100, 20, "Spooky Fishing"); catacombsF1 = new GuiButton(0, width / 2 - 145, (int) (height * 0.55), 50, 20, "F1"); catacombsF2 = new GuiButton(0, width / 2 - 85, (int) (height * 0.55), 50, 20, "F2"); catacombsF3 = new GuiButton(0, width / 2 - 25, (int) (height * 0.55), 50, 20, "F3"); @@ -72,6 +74,7 @@ public class DisplayGui extends GuiScreen { this.buttonList.add(fishing); this.buttonList.add(fishingWinter); this.buttonList.add(fishingFestival); + this.buttonList.add(spookyFishing); this.buttonList.add(catacombsF1); this.buttonList.add(catacombsF2); this.buttonList.add(catacombsF3); @@ -129,6 +132,8 @@ public class DisplayGui extends GuiScreen { setDisplay("fishing_winter", false); } else if (button == fishingFestival) { setDisplay("fishing_festival", false); + } else if (button == spookyFishing) { + setDisplay("spooky_fishing", false); } else if (button == catacombsF1) { setDisplay("catacombs_floor_one", false); } else if (button == catacombsF2) { |