public void clickBlock(int var1, int var2, int var3, int var4) {
      if(!this.isHittingBlock || var1 != this.currentBlockX || var2 != this.currentBlockY || var3 != this.currentblockZ) {
         this.netClientHandler.addToSendQueue(new Packet14BlockDig(0, var1, var2, var3, var4));
         int var5 = this.mc.theWorld.getBlockId(var1, var2, var3);
         if(var5 > 0 && this.curBlockDamageMP == 0.0F) {
            Block.blocksList[var5].onBlockClicked(this.mc.theWorld, var1, var2, var3, this.mc.thePlayer);
         }

         if(var5 > 0 && Block.blocksList[var5].blockStrength(this.mc.thePlayer) >= 1.0F) {
            this.sendBlockRemoved(var1, var2, var3, var4);
         } else {
            this.isHittingBlock = true;
            this.currentBlockX = var1;
            this.currentBlockY = var2;
            this.currentblockZ = var3;
            this.curBlockDamageMP = 0.0F;
            this.prevBlockDamageMP = 0.0F;
            this.field_9441_h = 0.0F;
         }
      }

   }