aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/config
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-14 11:26:34 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-14 11:26:34 +0200
commitc65416e03ce0791c4a99e9bdfc18c0fa0863028a (patch)
tree653e7e8bbfce0cb2f25592fd48b531f863c3575e /src/main/java/at/lorenz/mod/config
parentb2108f37f551fba5cb43f4919d69e5db7bb1e44c (diff)
downloadskyhanni-c65416e03ce0791c4a99e9bdfc18c0fa0863028a.tar.gz
skyhanni-c65416e03ce0791c4a99e9bdfc18c0fa0863028a.tar.bz2
skyhanni-c65416e03ce0791c4a99e9bdfc18c0fa0863028a.zip
remove old sbh/skyblockhud code
Diffstat (limited to 'src/main/java/at/lorenz/mod/config')
-rw-r--r--src/main/java/at/lorenz/mod/config/Features.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main/java/at/lorenz/mod/config/Features.java b/src/main/java/at/lorenz/mod/config/Features.java
index 917ab3483..9cb5d9450 100644
--- a/src/main/java/at/lorenz/mod/config/Features.java
+++ b/src/main/java/at/lorenz/mod/config/Features.java
@@ -2,18 +2,18 @@ package at.lorenz.mod.config;
import at.lorenz.mod.LorenzMod;
import com.google.gson.annotations.Expose;
-import com.thatgravyboat.skyblockhud_2.config.SBHConfigEditor;
-import com.thatgravyboat.skyblockhud_2.core.GuiElement;
-import com.thatgravyboat.skyblockhud_2.core.GuiScreenElementWrapper;
-import com.thatgravyboat.skyblockhud_2.core.config.Position;
-import com.thatgravyboat.skyblockhud_2.core.config.annotations.*;
-import com.thatgravyboat.skyblockhud_2.core.config.gui.GuiPositionEditor;
+import com.thatgravyboat.amod.config.ConfigEditor;
+import com.thatgravyboat.amod.core.GuiElement;
+import com.thatgravyboat.amod.core.GuiScreenElementWrapper;
+import com.thatgravyboat.amod.core.config.Position;
+import com.thatgravyboat.amod.core.config.annotations.*;
+import com.thatgravyboat.amod.core.config.gui.GuiPositionEditor;
import net.minecraft.client.Minecraft;
public class Features {
private void editOverlay(String activeConfig, int width, int height, Position position) {
- Minecraft.getMinecraft().displayGuiScreen(new GuiPositionEditor(position, width, height, () -> {}, () -> {}, () -> LorenzMod.screenToOpen = new GuiScreenElementWrapper(new SBHConfigEditor(LorenzMod.feature, activeConfig))));
+ Minecraft.getMinecraft().displayGuiScreen(new GuiPositionEditor(position, width, height, () -> {}, () -> {}, () -> LorenzMod.screenToOpen = new GuiScreenElementWrapper(new ConfigEditor(LorenzMod.feature, activeConfig))));
}
public void executeRunnable(String runnableId) {
@@ -21,8 +21,8 @@ public class Features {
if (Minecraft.getMinecraft().currentScreen instanceof GuiScreenElementWrapper) {
GuiScreenElementWrapper wrapper = (GuiScreenElementWrapper) Minecraft.getMinecraft().currentScreen;
GuiElement element = wrapper.element;
- if (element instanceof SBHConfigEditor) {
- activeConfigCategory = ((SBHConfigEditor) element).getSelectedCategoryName();
+ if (element instanceof ConfigEditor) {
+ activeConfigCategory = ((ConfigEditor) element).getSelectedCategoryName();
}
}