aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/config
diff options
context:
space:
mode:
authorThatGravyBoat <thatgravyboat@gmail.com>2021-07-17 01:26:21 -0230
committerThatGravyBoat <thatgravyboat@gmail.com>2021-07-17 01:26:21 -0230
commite364de18cbcbc9f334d890703812876789374bab (patch)
treed9360da1aaba43d88a2637ac73d9a15bd374886a /src/main/java/com/thatgravyboat/skyblockhud/config
parent3f3a68b898930c9c33ff852e6d0d8270835c4b98 (diff)
downloadSkyblockHud-Death-Defied-e364de18cbcbc9f334d890703812876789374bab.tar.gz
SkyblockHud-Death-Defied-e364de18cbcbc9f334d890703812876789374bab.tar.bz2
SkyblockHud-Death-Defied-e364de18cbcbc9f334d890703812876789374bab.zip
Added the ability to turn off the map for certain locations and added the ability for texture pack devs to add textures for npc dialogue
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/config')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java b/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java
index 3f0f452..27236f4 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java
@@ -7,6 +7,9 @@ import com.thatgravyboat.skyblockhud.core.config.Config;
import com.thatgravyboat.skyblockhud.core.config.Position;
import com.thatgravyboat.skyblockhud.core.config.annotations.*;
import com.thatgravyboat.skyblockhud.core.config.gui.GuiPositionEditor;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
import net.minecraft.client.Minecraft;
public class SBHConfig extends Config {
@@ -297,6 +300,25 @@ public class SBHConfig extends Config {
public boolean showMiniMap = false;
@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",
+ "FORTRESS",
+ "DUNGEONHUB (No Map Yet)",
+ "JERRY (No Map Yet)",
+ "THEEND (No Map Yet)",
+ "DWARVENMINES",
+ "CRYSTALHOLLOWS (No Map Yet)"
+ })
+ public List<Integer> mapLocations = new ArrayList<>(Arrays.asList(0, 1, 2, 5, 6, 7, 11));
+
+ @Expose
@ConfigOption(name = "Mini-Map Position", desc = "Allows you to change the position of the Mini-Map.")
@ConfigEditorButton(runnableId = "map", buttonText = "Edit")
public Position miniMapPosition = new Position(0, 100, false, false);