aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/ToggleCommand.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-07-31 21:16:48 -0400
committerbowser0000 <bowser0000@gmail.com>2021-07-31 21:16:48 -0400
commit5f2206d383afd3b6424ccda1a2d36522cfbe9b1f (patch)
tree0fe1e02c66441ec02dd23d8023e94215d8f6bb2f /src/main/java/me/Danker/commands/ToggleCommand.java
parentd807469333b343e7726536b12d13ff29e3b136c5 (diff)
downloadSkyblockMod-5f2206d383afd3b6424ccda1a2d36522cfbe9b1f.tar.gz
SkyblockMod-5f2206d383afd3b6424ccda1a2d36522cfbe9b1f.tar.bz2
SkyblockMod-5f2206d383afd3b6424ccda1a2d36522cfbe9b1f.zip
Add spiders den to custom music
I forgot it existed
Diffstat (limited to 'src/main/java/me/Danker/commands/ToggleCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/ToggleCommand.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/commands/ToggleCommand.java b/src/main/java/me/Danker/commands/ToggleCommand.java
index 65900fd..7d1020a 100644
--- a/src/main/java/me/Danker/commands/ToggleCommand.java
+++ b/src/main/java/me/Danker/commands/ToggleCommand.java
@@ -96,6 +96,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
public static boolean deepCavernsMusic;
public static boolean dwarvenMinesMusic;
public static boolean crystalHollowsMusic;
+ public static boolean spidersDenMusic;
public static boolean blazingFortressMusic;
public static boolean endMusic;
public static boolean parkMusic;
@@ -118,7 +119,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
"melodytooltips/highlightslayers/highlightarachne/highlightskeletonmasters/teammatesinradius/" +
"gianthp/hidepetcandy/customcolorednames/endoffarmalert/gemstonelore/crystalhollowwaypoints/crystalautowaypoints/" +
"autoacceptreparty/dungeonbossmusic/bloodroommusic/dungeonmusic/hubmusic/islandmusic/dungeonhubmusic/" +
- "farmingislandsmusic/goldminemusic/deepcavernsmusic/crystalhollowsmusic/blazingfortressmusic/endmusic/" +
+ "farmingislandsmusic/goldminemusic/deepcavernsmusic/crystalhollowsmusic/spidersdenmusic/blazingfortressmusic/endmusic/" +
"parkmusic/list>";
}
@@ -151,7 +152,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
"teammatesinradius", "gianthp", "hidepetcandy", "customcolorednames", "endoffarmalert",
"gemstonelore", "crystalhollowwaypoints", "crystalautowaypoints", "autoacceptreparty",
"hubmusic", "islandmusic", "dungeonhubmusic", "farmingislandsmusic", "goldminemusic",
- "deepcavernsmusic", "dwarvenminesmusic", "crystalhollowsmusic", "blazingfortressmusic",
+ "deepcavernsmusic", "dwarvenminesmusic", "crystalhollowsmusic", "spidersdenmusic", "blazingfortressmusic",
"endmusic", "parkmusic", "list");
}
return null;
@@ -550,6 +551,12 @@ public class ToggleCommand extends CommandBase implements ICommand {
ConfigHandler.writeBooleanConfig("toggles", "CrystalHollowsMusic", crystalHollowsMusic);
player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Custom crystal hollows music has been set to " + DankersSkyblockMod.SECONDARY_COLOUR + crystalHollowsMusic + DankersSkyblockMod.MAIN_COLOUR + "."));
break;
+ case "spidersdenmusic":
+ spidersDenMusic = !spidersDenMusic;
+ CustomMusic.spidersDen.stop();
+ ConfigHandler.writeBooleanConfig("toggles", "SpidersDenMusic", spidersDenMusic);
+ player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Custom spider's den music has been set to " + DankersSkyblockMod.SECONDARY_COLOUR + spidersDenMusic + DankersSkyblockMod.MAIN_COLOUR + "."));
+ break;
case "blazingfortressmusic":
blazingFortressMusic = !blazingFortressMusic;
CustomMusic.blazingFortress.stop();
@@ -635,6 +642,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
DankersSkyblockMod.TYPE_COLOUR + " Custom deep caverns music: " + DankersSkyblockMod.VALUE_COLOUR + deepCavernsMusic + "\n" +
DankersSkyblockMod.TYPE_COLOUR + " Custom dwarven mines music: " + DankersSkyblockMod.VALUE_COLOUR + dwarvenMinesMusic + "\n" +
DankersSkyblockMod.TYPE_COLOUR + " Custom crystal hollows music: " + DankersSkyblockMod.VALUE_COLOUR + crystalHollowsMusic + "\n" +
+ DankersSkyblockMod.TYPE_COLOUR + " Custom spider's den music: " + DankersSkyblockMod.VALUE_COLOUR + spidersDenMusic + "\n" +
DankersSkyblockMod.TYPE_COLOUR + " Custom blazing fortress music: " + DankersSkyblockMod.VALUE_COLOUR + blazingFortressMusic + "\n" +
DankersSkyblockMod.TYPE_COLOUR + " Custom end music: " + DankersSkyblockMod.VALUE_COLOUR + endMusic + "\n" +
DankersSkyblockMod.TYPE_COLOUR + " Custom park music: " + DankersSkyblockMod.VALUE_COLOUR + parkMusic