1.8 Forge how to add an Gui?

  • Thread starter Thread starter janx
  • Start date Start date

janx

Guest
Member
I tried to add a GUI to my forge mod a while ago but i could not get it to open. Here are the things i tried:
The GUI Class:
public class HypixelGui extends GuiScreen { final ResourceLocation texture = new ResourceLocation(HypixelGui .MODID, "textures/gui/main.png"); [USER=2347907]@OverRide[/USER] public void drawScreen(int mouseX, int mouseY, float partialTicks) { int guiHeight = 40; int guiWidth = 40; mc.getTextureManager().bindTexture(texture)...

Read more
 
Top