aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/location
diff options
context:
space:
mode:
authorThatGravyBoat <thatgravyboat@gmail.com>2021-07-21 12:15:27 -0230
committerThatGravyBoat <thatgravyboat@gmail.com>2021-07-21 12:15:27 -0230
commit7db7137f5099d8f41be08689a54f704692574f4d (patch)
tree955436190b6db0bf61ce0cb87088b001c27079bb /src/main/java/com/thatgravyboat/skyblockhud/location
parenta8ee0a763eca9774895446eac13486a6ee42bdba (diff)
downloadSkyblockHud-Death-Defied-7db7137f5099d8f41be08689a54f704692574f4d.tar.gz
SkyblockHud-Death-Defied-7db7137f5099d8f41be08689a54f704692574f4d.tar.bz2
SkyblockHud-Death-Defied-7db7137f5099d8f41be08689a54f704692574f4d.zip
Added Crystal Hollows Map, Updated Textures to check all resourcepacks and made it so that only 1 resourcepack can change the defaultName checking in the order in which the texturepacks are in the resourcepack menu.
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/location')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/location/IslandHandler.java5
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java6
2 files changed, 4 insertions, 7 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/location/IslandHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/location/IslandHandler.java
index 2e2fae1..11fb40e 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/location/IslandHandler.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/location/IslandHandler.java
@@ -1,11 +1,8 @@
package com.thatgravyboat.skyblockhud.location;
-import com.thatgravyboat.skyblockhud.Utils;
+import com.thatgravyboat.skyblockhud.utils.Utils;
import com.thatgravyboat.skyblockhud.api.events.ProfileSwitchedEvent;
import com.thatgravyboat.skyblockhud.api.events.SidebarLineUpdateEvent;
-import com.thatgravyboat.skyblockhud.api.events.SidebarPostEvent;
-import com.thatgravyboat.skyblockhud.handlers.CurrencyHandler;
-import java.util.Arrays;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
public class IslandHandler {
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java b/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java
index f54999c..4d60baa 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java
@@ -1,10 +1,10 @@
package com.thatgravyboat.skyblockhud.location;
-import static com.thatgravyboat.skyblockhud.handlers.MapHandler.Maps;
-
import com.thatgravyboat.skyblockhud.SkyblockHud;
import com.thatgravyboat.skyblockhud.handlers.MapHandler;
+import static com.thatgravyboat.skyblockhud.handlers.MapHandler.Maps;
+
public enum LocationCategory {
ERROR("error", 34),
ISLAND("island", 43),
@@ -20,7 +20,7 @@ public enum LocationCategory {
JERRY("jerry", 59),
THEEND("the_end", 123),
DWARVENMINES("dwarven_mines", 131, Maps.DWARVEN),
- CRYSTALHOLLOWS("crystal_hollows", 139);
+ CRYSTALHOLLOWS("crystal_hollows", 139, Maps.CRYSTAL);
private final String name;
private final int texturePos;