Class ModDownloader

java.lang.Object
wtf.ranked.hytale.server.runner.mod.ModDownloader

public final class ModDownloader extends Object
Execution context for processing mod downloads.

This class acts as a mediator between the configured mod list and the available download strategies. It iterates through the mods and dispatches each to its appropriate ModDownloaderStrategy based on the mod's implementation type.

  • Constructor Details

    • ModDownloader

      public ModDownloader()
  • Method Details

    • download

      public void download(@NonNull List<? extends Mod> mods)
      Iterates through a list of mods and triggers the download process for each.
      Parameters:
      mods - the collection of mods defined in the build script