smh it kept crashing
This commit is contained in:
parent
4d1323b2a4
commit
383169588d
BIN
desktopRuntime/resources/assets/minecraft/resent/house.png
Normal file
BIN
desktopRuntime/resources/assets/minecraft/resent/house.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -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){
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user