aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/lorenz/mod/LorenzMod.java2
-rw-r--r--src/main/java/at/lorenz/mod/config/Features.java8
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java23
3 files changed, 18 insertions, 15 deletions
diff --git a/src/main/java/at/lorenz/mod/LorenzMod.java b/src/main/java/at/lorenz/mod/LorenzMod.java
index 41a90a13e..8f167e8c9 100644
--- a/src/main/java/at/lorenz/mod/LorenzMod.java
+++ b/src/main/java/at/lorenz/mod/LorenzMod.java
@@ -28,7 +28,7 @@ import net.minecraftforge.fml.common.gameevent.TickEvent;
public class LorenzMod {
public static final String MODID = "lorenzmod";
- public static final String VERSION = "0.2.1";
+ public static final String VERSION = "0.3";
// public static SBHConfig config; //TODO delete
diff --git a/src/main/java/at/lorenz/mod/config/Features.java b/src/main/java/at/lorenz/mod/config/Features.java
index aeaf56e6f..0bbac1e4a 100644
--- a/src/main/java/at/lorenz/mod/config/Features.java
+++ b/src/main/java/at/lorenz/mod/config/Features.java
@@ -80,12 +80,12 @@ public class Features {
public static class Dungeon {
@Expose
- @ConfigOption(name = "Hide Dungeon Messages", desc = "Hides annoyung dungeon messages.")
+ @ConfigOption(name = "Hide Messages", desc = "Hide annoying dungeon messages.")
@ConfigEditorBoolean
public boolean hideAnnoyingMessages = false;
@Expose
- @ConfigOption(name = "Highlight Clicked Blocks", desc = "Highlight blocks in dungeon when clicked: Lever, Chest, Wither Essence")
+ @ConfigOption(name = "Clicked Blocks", desc = "Highlight the following blocks when clicked in dungeon: Lever, Chest, Wither Essence")
@ConfigEditorBoolean
public boolean highlightClickedBlocks = false;
}
@@ -113,7 +113,7 @@ public class Features {
public boolean displayDungeonHeadFloor = false;
@Expose
- @ConfigOption(name = "New Year Cake Number", desc = "Shows the Number of the Year of New Year Cakes.")
+ @ConfigOption(name = "New Year Cake", desc = "Shows the Number of the Year of New Year Cakes.")
@ConfigEditorBoolean
public boolean displayNewYearCakeNumber = false;
@@ -154,7 +154,7 @@ public class Features {
public Position petDisplayPos = new Position(10, 10, false, true);
@Expose
- @ConfigOption(name = "Exp Bottles", desc = "Hides all the Exp bottles on the ground.")
+ @ConfigOption(name = "Exp Bottles", desc = "Hides all the experience bottles laying on the ground.")
@ConfigEditorBoolean
public boolean hideExpBottles = false;
}
diff --git a/src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java b/src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java
index 1838710b2..149a2ca7d 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java
@@ -1,8 +1,5 @@
package com.thatgravyboat.skyblockhud_2.config;
-import static com.thatgravyboat.skyblockhud_2.GuiTextures.DISCORD;
-import static com.thatgravyboat.skyblockhud_2.GuiTextures.TWITTER;
-
import at.lorenz.mod.config.Features;
import com.google.common.collect.Lists;
import com.thatgravyboat.skyblockhud_2.core.GlScissorStack;
@@ -14,10 +11,6 @@ import com.thatgravyboat.skyblockhud_2.core.util.lerp.LerpUtils;
import com.thatgravyboat.skyblockhud_2.core.util.lerp.LerpingInteger;
import com.thatgravyboat.skyblockhud_2.core.util.render.RenderUtils;
import com.thatgravyboat.skyblockhud_2.core.util.render.TextRenderUtils;
-import java.awt.*;
-import java.net.URI;
-import java.util.*;
-import java.util.List;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.Gui;
@@ -28,10 +21,19 @@ import net.minecraft.util.ResourceLocation;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.GL11;
+import java.awt.*;
+import java.net.URI;
+import java.util.List;
+import java.util.*;
+
+import static com.thatgravyboat.skyblockhud_2.GuiTextures.DISCORD;
+
public class SBHConfigEditor extends GuiElement {
- private static final ResourceLocation[] socialsIco = new ResourceLocation[] { DISCORD, TWITTER };
- private static final String[] socialsLink = new String[] { "https://discord.gg/moulberry", "https://twitter.com/thatgravyboat/" };
+ // private static final ResourceLocation[] socialsIco = new ResourceLocation[] { DISCORD, TWITTER };
+ private static final ResourceLocation[] socialsIco = new ResourceLocation[]{DISCORD};
+ // private static final String[] socialsLink = new String[] { "https://discord.gg/NcvkPDBA6Y", "https://twitter.com/thatgravyboat/" };
+ private static final String[] socialsLink = new String[]{"https://discord.gg/NcvkPDBA6Y"};
private final long openedMillis;
@@ -473,7 +475,8 @@ public class SBHConfigEditor extends GuiElement {
if (mouseX >= socialLeft && mouseX <= socialLeft + 16 && mouseY >= y + 6 && mouseY <= y + 23) {
try {
Desktop.getDesktop().browse(new URI(socialsLink[socialIndex]));
- } catch (Exception ignored) {}
+ } catch (Exception ignored) {
+ }
return true;
}
}