@Override
	public void drawScreen(int mouseX, int mouseY, float partialTick)
	{
		counter++;
		xCounter = 0;
		xTotal = 0;

		ar.animate();

		renderer.setup(partialTick);

		try
		{
			update();

			if (guiscreenBackground)
				drawWorldBackground(1);

			screen.render(renderer);

			//don't draw tooltip if mouse has itemStack
			boolean renderTooltip = tooltip != null;
			if (inventoryContainer != null)
				renderTooltip &= !renderer.renderPickedItemStack(inventoryContainer.getPickedItemStack());

			if (renderTooltip)
				tooltip.render(renderer);
		}
		catch (Exception e)
		{
			MalisisCore.message("A problem occured while rendering screen : " + getClass().getSimpleName() + ": " + e.getMessage());
			MalisisCore.log.error("A problem occured while rendering " + getClass().getSimpleName(), e);
		}

		renderer.clean();
	}
@ Override public void drawScreen ( int mouseX , int mouseY , float partialTick ) { counter ++ ; xCounter = 0 ; xTotal = 0 ; ar . animate ( ) ; renderer . setup ( partialTick ) ; try { update ( ) ; if ( guiscreenBackground ) drawWorldBackground ( 1 ) ; screen . render ( renderer ) ; boolean renderTooltip = tooltip != null ; if ( inventoryContainer != null ) renderTooltip &= ! renderer . renderPickedItemStack ( inventoryContainer . getPickedItemStack ( ) ) ; if ( renderTooltip ) tooltip . render ( renderer ) ; } catch ( Exception e ) { MalisisCore . message ( "A problem occured while rendering screen : " + getClass ( ) . getSimpleName ( ) + ": " + e . getMessage ( ) ) ; MalisisCore . log . error ( "A problem occured while rendering " + getClass ( ) . getSimpleName ( ) , e ) ; } renderer . clean ( ) ; }
Draws this {@link MalisisGui}.