aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/DankersSkyblockMod.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-11-24 21:58:26 -0500
committerbowser0000 <bowser0000@gmail.com>2021-11-24 21:58:26 -0500
commitc466240003b130b43c17da9e585b80380154e4c4 (patch)
treeba6a03498dac85027d853e535aea0c71542d1f2f /src/main/java/me/Danker/DankersSkyblockMod.java
parentb733d88cb79942d4a260293d1bb1f2d27fcc61e2 (diff)
downloadSkyblockMod-c466240003b130b43c17da9e585b80380154e4c4.tar.gz
SkyblockMod-c466240003b130b43c17da9e585b80380154e4c4.tar.bz2
SkyblockMod-c466240003b130b43c17da9e585b80380154e4c4.zip
Add custom alerts based on chat
Also move some other stuff around
Diffstat (limited to 'src/main/java/me/Danker/DankersSkyblockMod.java')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java25
1 files changed, 4 insertions, 21 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index 9fb7876..2ad5141 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -9,6 +9,7 @@ import me.Danker.features.*;
import me.Danker.features.loot.*;
import me.Danker.features.puzzlesolvers.*;
import me.Danker.gui.*;
+import me.Danker.gui.crystalhollowwaypoints.CrystalHollowWaypointsGui;
import me.Danker.handlers.ConfigHandler;
import me.Danker.handlers.PacketHandler;
import me.Danker.utils.RenderUtils;
@@ -101,6 +102,7 @@ public class DankersSkyblockMod {
public void init(FMLInitializationEvent event) throws UnsupportedAudioFileException, IOException, LineUnavailableException {
MinecraftForge.EVENT_BUS.register(this);
MinecraftForge.EVENT_BUS.register(new AbilityCooldowns());
+ MinecraftForge.EVENT_BUS.register(new Alerts());
MinecraftForge.EVENT_BUS.register(new ArachneESP());
MinecraftForge.EVENT_BUS.register(new ArrowTerminalSolver());
MinecraftForge.EVENT_BUS.register(new AutoAcceptReparty());
@@ -170,6 +172,8 @@ public class DankersSkyblockMod {
MinecraftForge.EVENT_BUS.register(new WolfTracker());
MinecraftForge.EVENT_BUS.register(new ZombieTracker());
+ Alerts.configFile = configDirectory + "/dsmalerts.json";
+
ConfigHandler.reloadConfig();
GoldenEnchants.init();
TriviaSolver.init();
@@ -434,27 +438,6 @@ public class DankersSkyblockMod {
case "displaygui":
mc.displayGuiScreen(new DisplayGui());
break;
- case "onlyslayergui":
- mc.displayGuiScreen(new OnlySlayerGui());
- break;
- case "editlocations":
- mc.displayGuiScreen(new EditLocationsGui());
- break;
- case "puzzlesolvers":
- mc.displayGuiScreen(new PuzzleSolversGui(1));
- break;
- case "experimentsolvers":
- mc.displayGuiScreen(new ExperimentsGui());
- break;
- case "skilltracker":
- mc.displayGuiScreen(new SkillTrackerGui());
- break;
- case "custommusic":
- mc.displayGuiScreen(new CustomMusicGui(1));
- break;
- case "crystalwaypoints":
- mc.displayGuiScreen(new CrystalHollowWaypointsGui(1));
- break;
case "inventory":
mc.displayGuiScreen(InventoryCommand.chest);
break;