Jump to content

mahony0509

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by mahony0509

  1. Found it. mc.renderEngine.func_110577_a(textureLocation); //the new bindTexture()
  2. I really don't know how to fix it, can you tell me how?
  3. @Override protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) { //draw your Gui here, only thing you need to change is the path int texture = mc.renderEngine.getTexture("/gui/trap.png"); GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); this.mc.renderEngine.bindTexture(texture); int x = (width - xSize) / 2; int y = (height - ySize) / 2; this.drawTexturedModalRect(x, y, 0, 0, xSize, ySize); } I replaced this with the recommended code: this.mc.renderEngine.bindTexture("/gui/trap.png"); // With this int x = (width - xSize) / 2; int y = (height - ySize) / 2; this.drawTexturedModalRect(x, y, 0, 0, xSize, ySize); The "mc.renderengine" section doesn't work.
  4. Hello, I was looking to make a custom container and used the tutorial on the minecraft forge wiki to show me how. I tried it with the suggested edits and it still doesn't work. I am looking for the updated version of this. http://www.minecraftforge.net/wiki/Containers_and_GUIs
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.