Interface Meta

  • All Implemented Interfaces:

    
    public interface Meta
    
                        

    Provide default methods to access a given Metas versions.

    Author:

    Griefed

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • update

         abstract Unit update()

        Update the meta-information for this modloader-meta, updating the available loader and installer versions, thus giving you access to version-checks, URLs etc.

      • installerFor

         abstract Optional<File> installerFor(String version)

        Installer file for the specified modloader version, wrapped in an Optional, so you can check whether it is available first.

        • Fabric: Pass the installer version you require.

        • LegacyFabric: Pass the installer version you require.

        • Quilt: Pass the installer version you require.

      • isInstallerUrlAvailable

         abstract Boolean isInstallerUrlAvailable(String version)

        Check whether a URL to an installer is available for the specified version.

        version — The modloader version for which to check for installer availability.

      • getInstallerUrl

         abstract Optional<URL> getInstallerUrl(String version)

        Get the URL to the installer for the specified version, wrapped in an Optional.

        version — The modloader version for which to get the installer.