Class ModrinthVersionChecker

java.lang.Object
me.hsgamer.hscore.checker.modrinth.ModrinthVersionChecker
All Implemented Interfaces:
VersionChecker

public class ModrinthVersionChecker extends Object implements VersionChecker
A version checker for Modrinth
  • Constructor Details

    • ModrinthVersionChecker

      public ModrinthVersionChecker(String id, List<String> loaders, List<String> gameVersions, boolean featured, UserAgent userAgent)
      Create a version checker
      Parameters:
      id - the id / slug of the project
      loaders - the loaders to filter for
      gameVersions - the game versions to filter for
      featured - whether to only show featured versions
      userAgent - the user agent
    • ModrinthVersionChecker

      public ModrinthVersionChecker(String id, List<String> loaders, List<String> gameVersions, boolean featured)
      Create a version checker
      Parameters:
      id - the id / slug of the project
      loaders - the loaders to filter for
      gameVersions - the game versions to filter for
      featured - whether to only show featured versions
    • ModrinthVersionChecker

      public ModrinthVersionChecker(String id, UserAgent userAgent)
      Create a version checker
      Parameters:
      id - the id / slug of the project
      userAgent - the user agent
    • ModrinthVersionChecker

      public ModrinthVersionChecker(String id)
      Create a version checker
      Parameters:
      id - the id / slug of the project
  • Method Details