majgenrelativity

Untitled

Jun 2nd, 2015
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
  2. {
  3. GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
  4. this.mc.getTextureManager().bindTexture(furnaceGuiTextures);
  5. int k = (this.width - this.xSize) / 2;
  6. int l = (this.height - this.ySize) / 2;
  7. this.drawTexturedModalRect(k, l, 0, 0, this.xSize, this.ySize);
  8. int i1;
  9.  
  10. if (TileEntityFurnace.isBurning(this.tileFurnace))
  11. {
  12. i1 = this.func_175382_i(13);
  13. this.drawTexturedModalRect(k + 56, l + 36 + 12 - i1, 176, 12 - i1, 14, i1 + 1);
  14. }
  15.  
  16. i1 = this.func_175381_h(24);
  17. this.drawTexturedModalRect(k + 79, l + 34, 176, 14, i1 + 1, 16);
  18. }
Advertisement
Add Comment
Please, Sign In to add comment