Class NeoForgeInstaller
Namespace: CmlLib.Core.Installer.NeoForge
Assembly: CmlLib.Core.Installer.Forge.dll
Discovers NeoForge versions and prepares vanilla Minecraft/Java before installation. Creates ForgeV12Installer from NeoForge version data for the shared profile engine.
public class NeoForgeInstaller
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
NeoForgeInstaller(MinecraftLauncher)
public NeoForgeInstaller(MinecraftLauncher launcher)
Parameters
launcher MinecraftLauncher
NeoForgeInstaller(MinecraftLauncher, HttpClient)
public NeoForgeInstaller(MinecraftLauncher launcher, HttpClient httpClient)
Parameters
launcher MinecraftLauncher
httpClient HttpClient
Methods
GetNeoForgeVersions()
public Task<IReadOnlyList<NeoForgeVersion>> GetNeoForgeVersions()
Returns
Task<IReadOnlyList<NeoForgeVersion>>
GetNeoForgeVersions(string)
public Task<IReadOnlyList<NeoForgeVersion>> GetNeoForgeVersions(string minecraftVersion)
Parameters
minecraftVersion string
Returns
Task<IReadOnlyList<NeoForgeVersion>>
Install(string)
public Task<string> Install(string minecraftVersion)
Parameters
minecraftVersion string
Returns
Install(string, ForgeInstallOptions)
public Task<string> Install(string minecraftVersion, ForgeInstallOptions options)
Parameters
minecraftVersion string
options ForgeInstallOptions
Returns
Install(string, string)
public Task<string> Install(string minecraftVersion, string neoForgeVersion)
Parameters
minecraftVersion string
neoForgeVersion string
Returns
Install(string, string, ForgeInstallOptions)
public Task<string> Install(string minecraftVersion, string neoForgeVersion, ForgeInstallOptions options)
Parameters
minecraftVersion string
neoForgeVersion string
options ForgeInstallOptions
Returns
Install(NeoForgeVersion, ForgeInstallOptions)
public Task<string> Install(NeoForgeVersion neoForgeVersion, ForgeInstallOptions options)
Parameters
neoForgeVersion NeoForgeVersion
options ForgeInstallOptions