QuiltMeta

expect class QuiltMeta : Meta

Quilt meta containing information about available Quilt versions and installers.

Author

Griefed

actual class QuiltMeta(quiltManifest: File, quiltInstallerManifest: File, fabricIntermediaries: FabricIntermediaries, utilities: Utilities, installerCacheDirectory: File) : Meta

Quilt meta containing information about available Quilt versions and installers.

Author

Griefed

Parameters

quiltManifest

Quilt manifest file.

quiltInstallerManifest

Quilt-installer manifest file.

fabricIntermediaries

Fabric-Intermediaries for further compatibility tests.

utilities

Commonly used utilities across ServerPackCreator.

Constructors

Link copied to clipboard
constructor(quiltManifest: File, quiltInstallerManifest: File, fabricIntermediaries: FabricIntermediaries, utilities: Utilities, installerCacheDirectory: File)

Functions

Link copied to clipboard
expect open override fun getInstallerUrl(version: String): Optional<URL>

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

actual open override fun getInstallerUrl(version: String): Optional<URL>

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

Link copied to clipboard
expect open override 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.

actual open override 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
expect open override fun installerVersionsArrayAscending(): Array<String>

Array of available installer version in ascending order.

actual open override fun installerVersionsArrayAscending(): Array<String>

Array of available installer version in ascending order.

Link copied to clipboard
expect open override fun installerVersionsArrayDescending(): Array<String>

Array of available installer version in descending order.

actual open override fun installerVersionsArrayDescending(): Array<String>

Array of available installer version in descending order.

Link copied to clipboard

List of available installer version in ascending order.

List of available installer version in ascending order.

Link copied to clipboard
expect open override fun installerVersionsListDescending(): List<String>

List of available installer version in descending order.

actual open override fun installerVersionsListDescending(): List<String>

List of available installer version in descending order.

Link copied to clipboard
expect open override fun isInstallerUrlAvailable(version: String): Boolean

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

actual open override fun isInstallerUrlAvailable(version: String): Boolean

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

Link copied to clipboard
expect open override fun isMinecraftSupported(minecraftVersion: String): Boolean

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

actual open override fun isMinecraftSupported(minecraftVersion: String): Boolean

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

Link copied to clipboard
expect open override fun isVersionValid(version: String): Boolean

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

actual open override fun isVersionValid(version: String): Boolean

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

Link copied to clipboard
expect open override fun latestInstaller(): String

Get the latest installer version.

actual open override fun latestInstaller(): String

Get the latest installer version.

Link copied to clipboard
expect open override fun latestInstallerUrl(): URL

Get the URL to the latest installer.

actual open override fun latestInstallerUrl(): URL

Get the URL to the latest installer.

Link copied to clipboard
expect open override fun latestLoader(): String

Get the latest loader version.

actual open override fun latestLoader(): String

Get the latest loader version.

Link copied to clipboard
expect open override fun loaderVersionsArrayAscending(): Array<String>

Array of available loader versions in ascending order.

actual open override fun loaderVersionsArrayAscending(): Array<String>

Array of available loader versions in ascending order.

Link copied to clipboard
expect open override fun loaderVersionsArrayDescending(): Array<String>

Array of available loader versions in descending order.

actual open override fun loaderVersionsArrayDescending(): Array<String>

Array of available loader versions in descending order.

Link copied to clipboard
expect open override fun loaderVersionsListAscending(): MutableList<String>

List of available loader versions in ascending order.

actual open override fun loaderVersionsListAscending(): MutableList<String>

List of available loader versions in ascending order.

Link copied to clipboard
expect open override fun loaderVersionsListDescending(): List<String>

List of available loader versions in descending order.

actual open override fun loaderVersionsListDescending(): List<String>

List of available loader versions in descending order.

Link copied to clipboard
expect open override fun releaseInstaller(): String

Get the release installer version.

actual open override fun releaseInstaller(): String

Get the release installer version.

Link copied to clipboard
expect open override fun releaseInstallerUrl(): URL

Get the URL to the release installer.

actual open override fun releaseInstallerUrl(): URL

Get the URL to the release installer.

Link copied to clipboard
expect open override fun releaseLoader(): String

Get the release loader version.

actual open override 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.

open override 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.