protected void mouseClicked(int var1, int var2, int var3) {
      if(var3 == 0) {
         for(int var4 = 0; var4 < this.controlList.size(); ++var4) {
            GuiButton var5 = (GuiButton)this.controlList.get(var4);
            if(var5.mousePressed(this.mc, var1, var2)) {
               this.selectedButton = var5;
               this.mc.sndManager.playSoundFX("random.click", 1.0F, 1.0F);
               this.actionPerformed(var5);
            }
         }
      }

   }