Table of Contents

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

object ← NeoForgeInstaller

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

Task<string>

Install(string, ForgeInstallOptions)

public Task<string> Install(string minecraftVersion, ForgeInstallOptions options)

Parameters

minecraftVersion string

options ForgeInstallOptions

Returns

Task<string>

Install(string, string)

public Task<string> Install(string minecraftVersion, string neoForgeVersion)

Parameters

minecraftVersion string

neoForgeVersion string

Returns

Task<string>

Install(string, string, ForgeInstallOptions)

public Task<string> Install(string minecraftVersion, string neoForgeVersion, ForgeInstallOptions options)

Parameters

minecraftVersion string

neoForgeVersion string

options ForgeInstallOptions

Returns

Task<string>

Install(NeoForgeVersion, ForgeInstallOptions)

public Task<string> Install(NeoForgeVersion neoForgeVersion, ForgeInstallOptions options)

Parameters

neoForgeVersion NeoForgeVersion

options ForgeInstallOptions

Returns

Task<string>