public class FabricInstaller
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
FabricInstaller(org.w3c.dom.Document installerManifest)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<java.net.URL> |
improvedLauncherUrl(java.lang.String minecraftVersion,
java.lang.String fabricVersion)
Get the
URL to the improved Fabric launcher for the given Minecraft and Fabric versions. |
protected java.util.List<java.lang.String> |
installers()
Get a list of available installer versions for Fabric.
|
protected java.net.URL |
latestInstallerUrl()
Get the
URL to the latest Fabric installer. |
protected java.lang.String |
latestInstallerVersion()
Get the latest Fabric installer version.
|
protected java.util.HashMap<java.lang.String,java.net.URL> |
meta()
Meta for the Fabric-Version-to-Installer-URL.
key: String Fabric version.value: URL Fabric installer URL. |
protected java.net.URL |
releaseInstallerUrl()
Get the
URL to the release Fabric installer. |
protected java.lang.String |
releaseInstallerVersion()
Get the release Fabric installer version.
|
protected FabricInstaller |
update(org.w3c.dom.Document installerManifest)
Update this
FabricInstaller with information from the given Document. |
protected FabricInstaller(org.w3c.dom.Document installerManifest)
installerManifest - Document containing Fabric installer informationprotected FabricInstaller update(org.w3c.dom.Document installerManifest)
FabricInstaller with information from the given Document.installerManifest - Document containing new installer information.FabricInstaller.protected java.util.List<java.lang.String> installers()
String-list of available Fabric installer versions.protected java.util.HashMap<java.lang.String,java.net.URL> meta()
String Fabric version.URL Fabric installer URL.HashMap with the Fabric-Version-to-Installer-URL.protected java.lang.String latestInstallerVersion()
String The latest Fabric installer version.protected java.lang.String releaseInstallerVersion()
String The release Fabric installer version.protected java.net.URL latestInstallerUrl()
URL to the latest Fabric installer.URL to the latest Fabric installer.protected java.net.URL releaseInstallerUrl()
URL to the release Fabric installer.URL to the release Fabric installer.protected java.util.Optional<java.net.URL> improvedLauncherUrl(java.lang.String minecraftVersion,
java.lang.String fabricVersion)
URL to the improved Fabric launcher for the given Minecraft and Fabric versions.minecraftVersion - String Minecraft version.fabricVersion - String Fabric version.URL to the improved Fabric launcher, wrapped in an Optional.