From e91d0907148e08352f3679324dc3e6460de1be38 Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Sat, 16 Jul 2022 20:57:12 +1000 Subject: fixed magic power (#187) * fixed magic power * I feel like this is an important change * fix location * added support for trade money signs --- .../java/io/github/moulberry/notenoughupdates/NEUOverlay.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java') 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(); -- cgit