Class VanillaDownloader

java.lang.Object
fr.flowarg.flowupdater.download.VanillaDownloader

public class VanillaDownloader extends Object
This class handles the downloading of vanilla files (client, assets, natives...).
  • Constructor Details

    • VanillaDownloader

      public VanillaDownloader(Path dir, @NotNull @NotNull FlowUpdater flowUpdater) throws Exception
      Construct a new VanillaDownloader object.
      Parameters:
      dir - the installation directory.
      flowUpdater - the flow updater object.
      Throws:
      Exception - if an I/O error occurred.
  • Method Details

    • download

      public void download() throws Exception
      This method downloads calls other methods to download and verify all files.
      Throws:
      Exception - if an I/O error occurred.