diff options
author | hannibal00212 <hannibal00212@users.noreply.github.com> | 2022-07-08 10:07:34 +0000 |
---|---|---|
committer | GitHub Action <actions@github.com> | 2022-07-08 10:07:34 +0000 |
commit | 324f31cd1402ad8f7877bb9bba99036e4140bbdb (patch) | |
tree | 94beace22acbaaca08360122d79500dd3abed945 /src/main/java/com/thatgravyboat/skyblockhud/config | |
parent | c167f4e84e22da7b7c4405b5d59c817734654fc0 (diff) | |
download | skyhanni-324f31cd1402ad8f7877bb9bba99036e4140bbdb.tar.gz skyhanni-324f31cd1402ad8f7877bb9bba99036e4140bbdb.tar.bz2 skyhanni-324f31cd1402ad8f7877bb9bba99036e4140bbdb.zip |
Prettified Code!
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/config')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java | 123 |
1 files changed, 61 insertions, 62 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java b/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java index 08e72d40d..32ae1cf0d 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/config/SBHConfig.java @@ -20,52 +20,52 @@ public class SBHConfig extends Config { @Override public void executeRunnable(String runnableId) { -// String activeConfigCategory = null; -// if (Minecraft.getMinecraft().currentScreen instanceof GuiScreenElementWrapper) { -// GuiScreenElementWrapper wrapper = (GuiScreenElementWrapper) Minecraft.getMinecraft().currentScreen; -// if (wrapper.element instanceof SBHConfigEditor) { -// activeConfigCategory = ((SBHConfigEditor) wrapper.element).getSelectedCategoryName(); -// } -// } -// -// switch (runnableId) { -// case "rpg": -// editOverlay(activeConfigCategory, 120, 47, rpg.rpgHudPosition); -// return; -// case "d1": -// editOverlay(activeConfigCategory, 120, 32, dungeon.dungeonPlayer1); -// return; -// case "d2": -// editOverlay(activeConfigCategory, 120, 32, dungeon.dungeonPlayer2); -// return; -// case "d3": -// editOverlay(activeConfigCategory, 120, 32, dungeon.dungeonPlayer3); -// return; -// case "d4": -// editOverlay(activeConfigCategory, 120, 32, dungeon.dungeonPlayer4); -// return; -// case "main": -// editOverlay(activeConfigCategory, 1000, 34, main.mainHudPos); -// return; -// case "ultimate": -// editOverlay(activeConfigCategory, 182, 5, dungeon.barPosition); -// return; -// case "map": -// editOverlay(activeConfigCategory, 72, 72, map.miniMapPosition); -// return; -// case "tracker": -// editOverlay(activeConfigCategory, 130, 70, trackers.trackerPosition); -// return; -// case "drill": -// editOverlay(activeConfigCategory, 136, 7, mining.drillBar); -// return; -// case "heat": -// editOverlay(activeConfigCategory, 45, 7, mining.heatBar); -// return; -// case "dialogue": -// editOverlay(activeConfigCategory, 182, 68, misc.dialoguePos); -// return; -// } + // String activeConfigCategory = null; + // if (Minecraft.getMinecraft().currentScreen instanceof GuiScreenElementWrapper) { + // GuiScreenElementWrapper wrapper = (GuiScreenElementWrapper) Minecraft.getMinecraft().currentScreen; + // if (wrapper.element instanceof SBHConfigEditor) { + // activeConfigCategory = ((SBHConfigEditor) wrapper.element).getSelectedCategoryName(); + // } + // } + // + // switch (runnableId) { + // case "rpg": + // editOverlay(activeConfigCategory, 120, 47, rpg.rpgHudPosition); + // return; + // case "d1": + // editOverlay(activeConfigCategory, 120, 32, dungeon.dungeonPlayer1); + // return; + // case "d2": + // editOverlay(activeConfigCategory, 120, 32, dungeon.dungeonPlayer2); + // return; + // case "d3": + // editOverlay(activeConfigCategory, 120, 32, dungeon.dungeonPlayer3); + // return; + // case "d4": + // editOverlay(activeConfigCategory, 120, 32, dungeon.dungeonPlayer4); + // return; + // case "main": + // editOverlay(activeConfigCategory, 1000, 34, main.mainHudPos); + // return; + // case "ultimate": + // editOverlay(activeConfigCategory, 182, 5, dungeon.barPosition); + // return; + // case "map": + // editOverlay(activeConfigCategory, 72, 72, map.miniMapPosition); + // return; + // case "tracker": + // editOverlay(activeConfigCategory, 130, 70, trackers.trackerPosition); + // return; + // case "drill": + // editOverlay(activeConfigCategory, 136, 7, mining.drillBar); + // return; + // case "heat": + // editOverlay(activeConfigCategory, 45, 7, mining.heatBar); + // return; + // case "dialogue": + // editOverlay(activeConfigCategory, 182, 68, misc.dialoguePos); + // return; + // } } @Expose @@ -100,9 +100,9 @@ public class SBHConfig extends Config { @Category(name = "Mining", desc = "All Options for the Mining Stuff.") public Mining mining = new Mining(); -// @Expose -// @Category(name = "Tracker", desc = "All Options for the Trackers.") -// public Trackers trackers = new Trackers(); + // @Expose + // @Category(name = "Tracker", desc = "All Options for the Trackers.") + // public Trackers trackers = new Trackers(); public static class Lorenz { @@ -442,17 +442,16 @@ public class SBHConfig extends Config { @ConfigAccordionId(id = 6) public int chatWaypointMode = 1; } - -// public static class Trackers { -// -// @Expose -// @ConfigOption(name = "Tracker Position", desc = "Allows you to change the position of the Trackers.") -// @ConfigEditorButton(runnableId = "tracker", buttonText = "Edit") -// public Position trackerPosition = new Position(-1, 200); -// -// @Expose -// @ConfigOption(name = "Hide Tracker", desc = "It will still track the data just in case.") -// @ConfigEditorBoolean -// public boolean hideTracker = true; -// } + // public static class Trackers { + // + // @Expose + // @ConfigOption(name = "Tracker Position", desc = "Allows you to change the position of the Trackers.") + // @ConfigEditorButton(runnableId = "tracker", buttonText = "Edit") + // public Position trackerPosition = new Position(-1, 200); + // + // @Expose + // @ConfigOption(name = "Hide Tracker", desc = "It will still track the data just in case.") + // @ConfigEditorBoolean + // public boolean hideTracker = true; + // } } |