                  {
                      this.entityRenderer.itemRenderer.resetEquippedProgress2();
                  }
-@@ -1575,7 +1585,7 @@
+@@ -1574,6 +1584,8 @@
+ 
              while (Mouse.next())
              {
++                if (ForgeHooksClient.postMouseEvent()) continue;
++
                  i = Mouse.getEventButton();
--
-+                if (ForgeHooksClient.postMouseEvent()) continue;
-                 if (field_142025_a && i == 0 && (Keyboard.isKeyDown(29) || Keyboard.isKeyDown(157)))
-                 {
-                     i = 1;
-@@ -2046,6 +2056,11 @@
+ 
+                 if (isRunningOnMac && i == 0 && (Keyboard.isKeyDown(29) || Keyboard.isKeyDown(157)))
+@@ -2046,6 +2058,11 @@
      {
          this.statFileWriter.syncStats();
  

 
             if (flag)
             {
@@ -2419,11 +2351,18 @@
         par1PlayerUsageSnooper.addData("gl_max_texture_size", Integer.valueOf(getGLMaximumTextureSize()));
     }
 

         for (int i = 16384; i > 0; i >>= 1)
         {
             GL11.glTexImage2D(GL11.GL_PROXY_TEXTURE_2D, 0, GL11.GL_RGBA, i, i, 0, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE, (ByteBuffer)null);
@@ -2431,6 +2372,7 @@
 
             if (j != 0)
             {
