public void sendBlockRemoving(int var1, int var2, int var3, int var4) {
      if(this.blockHitWait > 0) {
         --this.blockHitWait;
      } else {
         if(var1 == this.curBlockX && var2 == this.curBlockY && var3 == this.curBlockZ) {
            int var5 = this.mc.theWorld.getBlockId(var1, var2, var3);
            if(var5 == 0) {
               return;
            }

            Block var6 = Block.blocksList[var5];
            this.curBlockDamage += var6.blockStrength(this.mc.thePlayer);
            if(this.field_1069_h % 4.0F == 0.0F && var6 != null) {
               this.mc.sndManager.playSound(var6.stepSound.stepSoundDir2(), (float)var1 + 0.5F, (float)var2 + 0.5F, (float)var3 + 0.5F, (var6.stepSound.getVolume() + 1.0F) / 8.0F, var6.stepSound.getPitch() * 0.5F);
            }

            ++this.field_1069_h;
            if(this.curBlockDamage >= 1.0F) {
               this.sendBlockRemoved(var1, var2, var3, var4);
               this.curBlockDamage = 0.0F;
               this.prevBlockDamage = 0.0F;
               this.field_1069_h = 0.0F;
               this.blockHitWait = 5;
            }
         } else {
            this.curBlockDamage = 0.0F;
            this.prevBlockDamage = 0.0F;
            this.field_1069_h = 0.0F;
            this.curBlockX = var1;
            this.curBlockY = var2;
            this.curBlockZ = var3;
         }

      }
   }