private void tryToCatchBlockOnFire(World var1, int var2, int var3, int var4, int var5, Random var6, int var7) {
      int var8 = this.abilityToCatchFire[var1.getBlockId(var2, var3, var4)];
      if(var6.nextInt(var5) < var8) {
         boolean var9 = var1.getBlockId(var2, var3, var4) == Block.tnt.blockID;
         if(var6.nextInt(var7 + 10) < 5 && !var1.canLightningStrikeAt(var2, var3, var4)) {
            int var10 = var7 + var6.nextInt(5) / 4;
            if(var10 > 15) {
               var10 = 15;
            }

            var1.setBlockAndMetadataWithNotify(var2, var3, var4, this.blockID, var10);
         } else {
            var1.setBlockWithNotify(var2, var3, var4, 0);
         }

         if(var9) {
            Block.tnt.onBlockDestroyedByPlayer(var1, var2, var3, var4, 1);
         }
      }

   }