aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-07-16 20:57:12 +1000
committerGitHub <noreply@github.com>2022-07-16 12:57:12 +0200
commite91d0907148e08352f3679324dc3e6460de1be38 (patch)
tree425ba2fa651fbdfed0d4956e9e7fa9a36ad9819a /src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java
parent28cc91aee8ec804d3b8b707d1b63a8a6ac9a603a (diff)
downloadnotenoughupdates-e91d0907148e08352f3679324dc3e6460de1be38.tar.gz
notenoughupdates-e91d0907148e08352f3679324dc3e6460de1be38.tar.bz2
notenoughupdates-e91d0907148e08352f3679324dc3e6460de1be38.zip
fixed magic power (#187)
* fixed magic power * I feel like this is an important change * fix location * added support for trade money signs
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java
index a3755984..c048ce1b 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java
@@ -112,6 +112,9 @@ import java.util.concurrent.atomic.AtomicReference;
public class NEUOverlay extends Gui {
private static final ResourceLocation SUPERGEHEIMNISVERMOGEN = new ResourceLocation(
"notenoughupdates:supersecretassets/bald.png");
+
+ private static final ResourceLocation ATMOULBERRYWHYISMYLUNARCLIENTBUGGING = new ResourceLocation(
+ "notenoughupdates:supersecretassets/lunar.png");
private static final ResourceLocation SEARCH_BAR = new ResourceLocation("notenoughupdates:search_bar.png");
private static final ResourceLocation SEARCH_BAR_GOLD = new ResourceLocation("notenoughupdates:search_bar_gold.png");
@@ -1941,6 +1944,14 @@ public class NEUOverlay extends Gui {
GlStateManager.bindTexture(0);
}
+ if (textField.getText().toLowerCase().contains("lunar")) {
+ Minecraft.getMinecraft().getTextureManager().bindTexture(ATMOULBERRYWHYISMYLUNARCLIENTBUGGING);
+ GlStateManager.color(1, 1, 1, 1);
+ GlStateManager.translate(0,0,100);
+ Utils.drawTexturedRect((width + 410) / 2f, (height + 450) / 2f - 114, 113, 64, GL11.GL_LINEAR);
+ GlStateManager.bindTexture(0);
+ }
+
SunTzu.setEnabled(textField.getText().toLowerCase().startsWith("potato"));
updateGuiGroupSize();