From 383169588d3be65303b063f31990c8dbf5d87397 Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername <73719631+ThisIsALegitUsername@users.noreply.github.com> Date: Mon, 3 Apr 2023 11:04:51 -0600 Subject: [PATCH] smh it kept crashing --- .../resources/assets/minecraft/resent/house.png | Bin 0 -> 11839 bytes .../ui/clickgui/rewrite/ClickGuiRewrite.java | 7 +++++++ 2 files changed, 7 insertions(+) create mode 100644 desktopRuntime/resources/assets/minecraft/resent/house.png diff --git a/desktopRuntime/resources/assets/minecraft/resent/house.png b/desktopRuntime/resources/assets/minecraft/resent/house.png new file mode 100644 index 0000000000000000000000000000000000000000..4846da35b37b1e9d75ad97c1709aa711a2dd7f9d GIT binary patch literal 11839 zcmd^ld05R`+yC0NHPC6)cuKoLlU?n~A&GVqQ3{D7wUz2*s!SEpSB2exeGY0zBEv~> z(!og@ca)+CadbG8tpOp43ekJ7^$pMSUccXYc&_Jn{jT?V|JmO)-s9)K*S%IH&-R@D z-AJvG2%+z0xVg+lh^dT_og zz`L`Taq$8BS<%t#g6^!TmA5flgjzLbH4Q%OuN?Xi9Uu#R-icqr3*rZRYU69-TjGa4 zIF#wbsOZQaU2g*QS%aMmdK`wHN5sFcJQ)A+ZFGPRCNVMUUF#B;7?Yq2A3l80EuRTv zg7da3XZzgl$m73!xi&!vBS^FB{YQPz?+3#U@nw77NT1S%v86_y>d)-9zMSV_Qos7S zDia~f@dM%(O#FTYf+tON!M6`eCQ zcTPIMyTO2-+M%wJ`c3JYJCkK+HTiF>fic#c?G`rLDk=@m5l2 zS|_?n!#-hh(aKZlt4BV}6J8&G^>>GG7_*(btX{4|52S1Lm`mGWsPSVP^mz(Vj3rNp zCwYhYh1Kq={X1l7`)v2Mtm_$lp(wVlpv&UJRUkxpRWIAZr}bKYB_xxUPTTa3yJ`)n zgPNVM)yvVF6*jd5wpBDldUzbqUlxolO0j)IH6m^}dcZ>7ji)6QN=mdcp6QyN>MB8Y zO)VUlQoDF8g(i_ZARq59XQJ<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SxjjuV+nKSsNBMUV$n^f#K8!aG+BA1p~}fBICrS(_8)J` zZ+6d`{jxv)rp`!qPv(Y^TK)yg17t^f4$aWBFY8utnpy7uXaDJFxapx8uAVLhPP~Nw E0%7Gtu>b%7 literal 0 HcmV?d00001 diff --git a/src/main/java/dev/resent/visual/ui/clickgui/rewrite/ClickGuiRewrite.java b/src/main/java/dev/resent/visual/ui/clickgui/rewrite/ClickGuiRewrite.java index 1cc71dea..6a7f05eb 100644 --- a/src/main/java/dev/resent/visual/ui/clickgui/rewrite/ClickGuiRewrite.java +++ b/src/main/java/dev/resent/visual/ui/clickgui/rewrite/ClickGuiRewrite.java @@ -21,6 +21,7 @@ import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.gui.ScaledResolution; +import net.minecraft.util.ResourceLocation; public class ClickGuiRewrite extends GuiScreen{ @@ -68,6 +69,12 @@ public class ClickGuiRewrite extends GuiScreen{ fr.drawString("Resent", x+80, y+36, -1, false); GlStateManager.popMatrix(); + //Navigation icons + GlStateManager.color(1, 1, 1); + ResourceLocation icon = new ResourceLocation("/resent/house.png"); + mc.getTextureManager().bindTexture(icon); + Gui.drawModalRectWithCustomSizedTexture(x+20, (int)y+120, 0, 0, 20, 20, 20, 20); + //Draw module button for(Mod m : Resent.INSTANCE.modManager.modules){