QuiltMeta

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
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
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
open override fun installerVersions(): MutableList<String>

List of available installer version in ascending order.

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

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

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

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

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

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

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

Get the latest installer version.

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

Get the URL to the latest installer.

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

Get the latest loader version.

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

List of available loader versions in ascending order.

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

Get the release installer version.

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

Get the URL to the release installer.

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

Get the release loader version.

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