FabricMeta

class FabricMeta(fabricManifest: File, fabricInstallerManifest: File, fabricIntermediaries: FabricIntermediaries, objectMapper: ObjectMapper, utilities: Utilities, installerCacheDirectory: File) : Meta

Fabric meta containing information about available Quilt versions and installers.

Author

Griefed

Parameters

fabricManifest

Fabric manifest file.

fabricInstallerManifest

Fabric-installer manifest file.

fabricIntermediaries

Fabric Intermediary instance.

objectMapper

Object mapper for JSON parsing.

utilities

Commonly used utilities across ServerPackCreator.

installerCacheDirectory

The cache-directory for all installers.

Constructors

Link copied to clipboard
constructor(fabricManifest: File, fabricInstallerManifest: File, fabricIntermediaries: FabricIntermediaries, objectMapper: ObjectMapper, utilities: Utilities, installerCacheDirectory: File)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getInstallerUrl(version: String): Optional<URL>
Link copied to clipboard
fun getLoaderDetails(minecraftVersion: String, fabricVersion: String): Optional<FabricDetails>

Get details for a Fabric loader.

Link copied to clipboard
fun improvedLauncherUrl(minecraftVersion: String, fabricVersion: String): URL

Get the URL to the Fabric launcher for the specified Minecraft and Fabric version.

Link copied to clipboard
open override fun installerFor(version: String): Optional<File>
Link copied to clipboard
open override fun installerVersions(): MutableList<String>
Link copied to clipboard
open override fun isInstallerUrlAvailable(version: String): Boolean
Link copied to clipboard
open override fun isMinecraftSupported(minecraftVersion: String): Boolean
Link copied to clipboard
open override fun isVersionValid(version: String): Boolean
Link copied to clipboard
open override fun latestInstaller(): String
Link copied to clipboard
open override fun latestInstallerUrl(): URL
Link copied to clipboard
open override fun latestLoader(): String
Link copied to clipboard
fun launcherFor(minecraftVersion: String, fabricVersion: String): Optional<File>

Download the improved Fabric launcher and store it in the launcher-cache directory.

Link copied to clipboard
open override fun loaderVersions(): MutableList<String>
Link copied to clipboard
open override fun releaseInstaller(): String
Link copied to clipboard
open override fun releaseInstallerUrl(): URL
Link copied to clipboard
open override fun releaseLoader(): String
Link copied to clipboard
open override fun update()