diff options
author | RayDeeUx <raydeeux@gmail.com> | 2022-06-28 12:27:54 -0400 |
---|---|---|
committer | RayDeeUx <raydeeux@gmail.com> | 2022-06-28 12:27:54 -0400 |
commit | ec6bda14288eb45df36eaef408119d68b8f031d6 (patch) | |
tree | 3b5b67de1862dde5f0d66564633153e41e95d336 /src/main/java/com | |
parent | cf21dd1ca3d32bbc5c241ec3446da71989200e28 (diff) | |
download | SkyblockHud-Death-Defied-ec6bda14288eb45df36eaef408119d68b8f031d6.tar.gz SkyblockHud-Death-Defied-ec6bda14288eb45df36eaef408119d68b8f031d6.tar.bz2 SkyblockHud-Death-Defied-ec6bda14288eb45df36eaef408119d68b8f031d6.zip |
end map support
Diffstat (limited to 'src/main/java/com')
3 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java b/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java index 37bb688..8818127 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java @@ -316,8 +316,8 @@ public class SBHConfig extends Config { @Expose @ConfigOption(name = "Map Locations", desc = "Remove a location from this list if you would like the map to not show up in that location. This is so you can use other mods maps.") - @ConfigEditorDraggableList(exampleText = { "HUB", "BARN", "MUSHROOMDESERT", "GOLDMINE (No Map Yet)", "DEEPCAVERNS (No Map Yet)", "SPIDERSDEN", "PARK", "CRIMSON", "DUNGEONHUB (No Map Yet)", "JERRY (No Map Yet)", "THEEND (No Map Yet)", "DWARVENMINES", "CRYSTALHOLLOWS" }) - public List<Integer> mapLocations = new ArrayList<>(Arrays.asList(0, 1, 2, 5, 6, 7, 11)); + @ConfigEditorDraggableList(exampleText = { "HUB", "BARN", "MUSHROOMDESERT", "GOLDMINE (No Map Yet)", "DEEPCAVERNS (No Map Yet)", "SPIDERSDEN", "PARK", "CRIMSON", "DUNGEONHUB (No Map Yet)", "JERRY (No Map Yet)", "THEEND", "DWARVENMINES", "CRYSTALHOLLOWS" }) + public List<Integer> mapLocations = new ArrayList<>(Arrays.asList(0, 1, 2, 5, 6, 7, 10, 11)); @Expose @ConfigOption(name = "Mini-Map Position", desc = "Allows you to change the position of the Mini-Map.") diff --git a/src/main/java/com/thatgravyboat/skyblockhud/handlers/MapHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/handlers/MapHandler.java index 9276f3a..32957db 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/handlers/MapHandler.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/handlers/MapHandler.java @@ -70,7 +70,8 @@ public class MapHandler { BARN(1.5f, 135, 130, -82, 320, -81, 318, new ResourceLocation("skyblockhud", "maps/barn.png"), Collections.emptyList()), DWARVEN(0.5f, 409, 461, 206, 160, 202, 166, new ResourceLocation("skyblockhud", "maps/dwarven.png"), DwarvenIcons.dwarvenIcons), CRYSTAL(0.5f, 624, 624, -202, -215.7, -202, -212, new ResourceLocation("skyblockhud", "maps/crystal.png"), Collections.emptyList()), - PARK(1f, 211, 230, 480, 133, 478, 134, new ResourceLocation("skyblockhud", "maps/park.png"), Collections.emptyList()); + PARK(1f, 211, 230, 480, 133, 478, 134, new ResourceLocation("skyblockhud", "maps/park.png"), Collections.emptyList()), + THEEND(1f, 336, 281, 789, 403, 750, 1083, new ResourceLocation("skyblockhud", "maps/end.png"), Collections.emptyList()); public float scaleFactor; public int width; diff --git a/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java b/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java index 61f253b..55f5e70 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java @@ -18,7 +18,7 @@ public enum LocationCategory { CRIMSON("crimson_isle", 107, Maps.CRIMSON), DUNGEONHUB("dungeonhub", 115), JERRY("jerry", 59), - THEEND("the_end", 123), + THEEND("the_end", 123, Maps.THEEND), DWARVENMINES("dwarven_mines", 131, Maps.DWARVEN), CRYSTALHOLLOWS("crystal_hollows", 139, Maps.CRYSTAL); |