public void render(int mx, int my, boolean[] buttonsPressed)
	{
		super.render(mx, my, buttonsPressed);
		
		for(int i = 0 ; i < this.slots.length ; i++)
		{
			this.slots[i].render(mx, my, buttonsPressed);
		}
		
		if(player.selectedStack != null)
		{
			player.selectedStack.item.renderInventory(mx, my, 20, 20);
			
			if(player.selectedStack.nbr > 1)
        	{
        		FontRenderer.drawString(player.selectedStack.nbr + "", mx - FontRenderer.getWidth("" + player.selectedStack.nbr) + 32, my, 0xFFFFFF);
        	}
		}
		
		FontRenderer.drawString("Burn Time : " + this.tile.burnTime + " ; CookedTime : " + this.tile.cookedTime, mx - FontRenderer.getWidth("Burn Time : " + this.tile.burnTime + " ; CookedTime : " + this.tile.cookedTime) + 32, my, 0xFFFFFF);
	
		Tessellator t = Tessellator.instance;
        Textures.bind(0);
        t.startDrawingQuads();
        t.setColorRGBA_F(1,1,1, 1);
        t.addVertex(BlockyMain.width / 2 - (128) - 36, BlockyMain.height / 2+60 + 39, 0);
        t.setColorRGBA_F(0.5f,0.5f,0.5f, 1);
        t.addVertex(BlockyMain.width / 2 - (32 * 4) - 12 + 10 * 32 + 13+2, BlockyMain.height / 2+60 + 39, 0);
        t.addVertex(BlockyMain.width / 2 - (32 * 4) - 12 + 10 * 32 + 13+2, BlockyMain.height / 2+60 + 39-2, 0);
        t.setColorRGBA_F(1,1,1, 1);
        t.addVertex(BlockyMain.width / 2 - (128) - 36, BlockyMain.height / 2+60 + 39-2, 0);

        t.setColorRGBA_F(0.5f,0.5f,0.5f, 1);
        t.addVertex(BlockyMain.width / 2 - (128) - 36, BlockyMain.height / 2 - 75 - 52-12, 0);
        t.addVertex(BlockyMain.width / 2 - (128) - 36+2, BlockyMain.height / 2 - 75 - 52-12, 0);
        t.setColorRGBA_F(1,1,1, 1);
        t.addVertex(BlockyMain.width / 2 - (128) - 36+2, BlockyMain.height / 2+60 + 39, 0);
        t.addVertex(BlockyMain.width / 2 - (128) - 36, BlockyMain.height / 2+60 + 39, 0);
        
        
        t.setColorRGBA_F(0.5f,0.5f,0.5f, 1);
        t.addVertex(BlockyMain.width / 2 - (128) - 36, BlockyMain.height / 2 - 75 - 52-12, 0);
        t.setColorRGBA_F(0.05f,0.05f,0.05f, 1);
        t.addVertex(BlockyMain.width / 2 - (32 * 4) - 12 + 10 * 32 + 13+2, BlockyMain.height / 2 - 75 - 52-12, 0);
        t.addVertex(BlockyMain.width / 2 - (32 * 4) - 12 + 10 * 32 + 13+2, BlockyMain.height / 2 - 75 - 52-12-2, 0);
        t.setColorRGBA_F(0.5f,0.5f,0.5f, 1);
        t.addVertex(BlockyMain.width / 2 - (128) - 36, BlockyMain.height / 2 - 75 - 52-2-12, 0);

        t.setColorRGBA_F(0.05f,0.05f,0.05f, 1);
        t.addVertex(BlockyMain.width / 2 - (32 * 4) - 12 + 10 * 32 + 13, BlockyMain.height / 2 - 75 - 52-12, 0);
        t.addVertex(BlockyMain.width / 2 - (32 * 4) - 12 + 10 * 32 + 13+2, BlockyMain.height / 2 - 75 - 52-12, 0);
        t.setColorRGBA_F(0.5f,0.5f,0.5f, 1);

        t.addVertex(BlockyMain.width / 2 - (32 * 4) - 12 + 10 * 32 + 13+2, BlockyMain.height / 2+60 + 39, 0);
        t.addVertex(BlockyMain.width / 2 - (32 * 4) - 12 + 10 * 32 + 13, BlockyMain.height / 2+60 + 39, 0);
        t.flush();
        t.setColorRGBA_F(1,1,1, 1);
        super.render(mx, my, buttonsPressed);
        
        FontRenderer.drawShadowedString("Inventory", BlockyMain.width / 2 - 16 - (32 * 4) - 12 + 3, BlockyMain.height / 2 + 32-50 + 3+32+3, 0xFFFFFF);
        FontRenderer.drawShadowedString("Hotbar", BlockyMain.width / 2 - 16 - (32 * 4) - 12 + 3, BlockyMain.height / 2 - 32-32+13-50, 0xFFFFFF);
        
        FontRenderer.drawShadowedString("Furnace", BlockyMain.width / 2 - (128) - 36, BlockyMain.height / 2 + 32 - 50 + 3 + 32 + 3 + 32 + 3 + 32 + 15, 0xFFFFFF);
		
		Textures.bind("/assets/textures/ui/furnaceCookTime.png");
		
		t.startDrawingQuads();
		float minU = 0f;
        float maxU = 0.5f;
        float minV = 0f;
        float maxV = 1f;
        float h1 = 40;
        float w1 = 30;

        float x1 = BlockyMain.width / 2 - 16 - (32 * 4) - 12 + 5 * 32 + 5 + 3;
        float y1 = BlockyMain.height / 2 + 32 + 3;
        t.addVertexWithUV(x1, y1, 0, minU, minV);
        t.addVertexWithUV(x1 + w1, y1, 0, maxU, minV);
        t.addVertexWithUV(x1 + w1, y1 + h1, 0, maxU, maxV);
        t.addVertexWithUV(x1, y1 + h1, 0, minU, maxV);
        
        float coeff = 0;
        if(this.tile.in != null)
        {
            FurnaceRecipe r = FurnaceManager.instance().getFurnaceRecipeByIn(this.tile.in);
            if(r != null)
            {
                coeff = ((float)this.tile.cookedTime / (float)r.burnTime);
                if(coeff != 0.f)
                {
                    minU = 0.5f;
                    maxU = (coeff)*0.5f+0.5f;
                    minV = 0f;
                    maxV = 1f;
                    t.addVertexWithUV(x1, y1, 0, minU, minV);
                    t.addVertexWithUV(x1 + w1*(coeff), y1, 0, maxU, minV);
                    t.addVertexWithUV(x1 + w1*(coeff), y1 + h1, 0, maxU, maxV);
                    t.addVertexWithUV(x1, y1 + h1, 0, minU, maxV);
                }
            }
        }
        
        t.flush();
	}