Meta

interface Meta

Provide default methods to access a given Metas versions.

Author

Griefed

Inheritors

Functions

Link copied to clipboard
abstract fun getInstallerUrl(version: String): Optional<URL>

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

Link copied to clipboard
abstract fun installerFor(version: String): Optional<File>

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

Link copied to clipboard
abstract fun installerVersions(): List<String>

List of available installer version in ascending order.

Link copied to clipboard
abstract fun isInstallerUrlAvailable(version: String): Boolean

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

Link copied to clipboard
abstract fun isMinecraftSupported(minecraftVersion: String): Boolean

Check whether the given Minecraft version is supported by this modloader.

Link copied to clipboard
abstract fun isVersionValid(version: String): Boolean

Check whether the specified version is available/correct/valid.

Link copied to clipboard
abstract fun latestInstaller(): String

Get the latest installer version.

Link copied to clipboard
abstract fun latestInstallerUrl(): URL

Get the URL to the latest installer.

Link copied to clipboard
abstract fun latestLoader(): String

Get the latest loader version.

Link copied to clipboard
abstract fun loaderVersions(): List<String>

List of available loader versions in ascending order.

Link copied to clipboard
abstract fun releaseInstaller(): String

Get the release installer version.

Link copied to clipboard
abstract fun releaseInstallerUrl(): URL

Get the URL to the release installer.

Link copied to clipboard
abstract fun releaseLoader(): String

Get the release loader version.

Link copied to clipboard
abstract fun 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.