MinecraftLaunch 4.0.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MinecraftLaunch --version 4.0.0
                    
NuGet\Install-Package MinecraftLaunch -Version 4.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MinecraftLaunch" Version="4.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MinecraftLaunch" Version="4.0.0" />
                    
Directory.Packages.props
<PackageReference Include="MinecraftLaunch" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MinecraftLaunch --version 4.0.0
                    
#r "nuget: MinecraftLaunch, 4.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=MinecraftLaunch&version=4.0.0
                    
Install MinecraftLaunch as a Cake Addin
#tool nuget:?package=MinecraftLaunch&version=4.0.0
                    
Install MinecraftLaunch as a Cake Tool

<div align="center">

<img Height="100" Width="100" src="https://blessing-studio.cn/wp-content/uploads/2025/01/IMG_2186.png"/>

MinecraftLaunch

模块化高性能的 Minecraft 启动核心

Star License NugetVersion NugetDownload

</div>

关于

此项目基于 .NET 8 编写,几乎所有组件均已实现异步化,部分组件也已支持 MVVM 模式的服务调用

注意:

4.0 版本进行了全面重构,所有组件与 3.0 均不支持,在升级时请参考文档的升级须知!

未来更新计划

功能 状态
离线账户验证器 🟩
外置账户验证器 🟩
微软账户验证器 🟩
原版核心安装器 🟩
Java 安装器 🟥
Curseforge 格式整合包安装器 🟩
Modrinth 格式整合包安装器 🟧
Forge(Neo) 安装器 🟩
Optifine 安装器 🟩
Fabric 安装器 🟩
Quilt 安装器 🟩
游戏日志分析 🟩
游戏崩溃分析 🟧
查找 .minecraft 中的游戏核心 🟩
创建、启动、管理 Minecraft 进程 🟩
管理 launchprofile.json 的数据 🟩
查找已安装的 Java 运行时 🟩
支持第三方下载镜像源 BMCLAPI 🟩

安装此项目到你的项目里

MinecraftLaunch作为 NuGet 包发布,你可以在任意 NuGet 包管理器安装到你的项目里或使用命令行安装:

dotnet add package MinecraftLaunch

你可以通过以下命令安装旧版本MinecraftLaunch:

dotnet add package MinecraftLaunch --version 3.0.0

有特殊需求?你可以手动从 这里 寻找你想要的安装方法.

使用教程

现在,MinecraftLaunch的改动几乎使得 Xilu Blog 里的教程无法在新版 MinecraftLaunch 上使用,所以你可能无法从旧文档得到较多帮助.

不过,我们准备好了新文档

与我们联系

仍然无法获得帮助?

你可以加入我们的群聊一起讨论,我们会尽可能的帮助你.

你可以通过以下方式加入我们的群聊:

  • QQ群:682528253
  • QQ频道:https://pd.qq.com/s/5eqzllk3y

鸣谢

此项目部分代码参考了 Fluent Core 的代码

整合包安装器代码参考了 ProjBobcat 的代码

在此由衷感谢以上核心的作者

开源协议

这个项目在 MIT 许可下分发,具体详情可见 LICENSE .

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on MinecraftLaunch:

Package Downloads
MinecraftOAuth

MinecraftLaunch的扩展包,用于账户验证

SLCore

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on MinecraftLaunch:

Repository Stars
DaiYu-233/YMCL.Avalonia
Yu Minecraft Launcher · YMCL !
Version Downloads Last updated
4.0.1-preview06 21 5/5/2025
4.0.1-preview05 92 3/15/2025
4.0.1-preview04 64 3/15/2025
4.0.1-preview03 417 3/9/2025
4.0.1-preview02 116 3/8/2025
4.0.1-preview01 113 3/8/2025
4.0.0 576 2/16/2025
4.0.0-preview08 152 2/10/2025
4.0.0-preview07 96 2/9/2025
4.0.0-preview06 91 2/8/2025
4.0.0-preview05 83 2/8/2025
4.0.0-preview04 90 2/8/2025
4.0.0-preview03 83 2/7/2025
4.0.0-preview02 91 2/5/2025
4.0.0-preview01 84 2/3/2025
3.1.0 370 12/10/2024
3.1.0-preview09 86 12/7/2024
3.1.0-preview08 230 10/13/2024
3.1.0-preview07 253 8/29/2024
3.1.0-preview06 317 7/9/2024
3.1.0-preview05 86 7/9/2024
3.1.0-preview04 1,208 7/7/2024
3.1.0-preview03 1,547 6/1/2024
3.1.0-preview02 407 5/4/2024
3.1.0-preview01 81 5/3/2024
3.0.7 314 4/29/2024
3.0.6 186 4/17/2024
3.0.5 130 4/17/2024
3.0.4 117 4/16/2024
3.0.3 480 3/16/2024
3.0.2 187 2/24/2024
3.0.1 179 2/9/2024
3.0.0 160 2/1/2024
3.0.0-preview12 94 1/31/2024
3.0.0-preview11 642 1/29/2024
3.0.0-preview10 94 1/28/2024
3.0.0-preview09 84 1/29/2024
3.0.0-preview08 88 1/29/2024
3.0.0-preview07 84 1/29/2024
3.0.0-preview06 87 1/29/2024
3.0.0-preview05 84 1/29/2024
3.0.0-preview04 87 1/29/2024
3.0.0-preview03 85 1/29/2024
3.0.0-preview02 86 1/29/2024
3.0.0-preview01 88 1/29/2024
2.0.1 1,061 10/29/2023
2.0.0 175 10/28/2023
1.9.6-preview7 232 9/24/2023
1.9.6-preview6 151 9/2/2023
1.9.6-preview5 165 8/31/2023
1.9.6-preview4 141 8/23/2023
1.9.6-preview3 155 8/22/2023
1.9.6-preview2 133 8/17/2023
1.9.6-preview1 208 8/15/2023
1.9.5 430 8/6/2023
1.9.5-preview8 518 7/29/2023
1.9.5-preview7 171 7/28/2023
1.9.5-preview6 198 7/26/2023
1.9.5-preview5 181 7/25/2023
1.9.5-preview4 184 7/24/2023
1.9.5-preview3 251 7/22/2023
1.9.5-preview2 160 7/9/2023
1.9.5-preview1 173 7/2/2023
1.9.4 236 6/22/2023
1.9.3 229 5/21/2023
1.9.2 190 5/20/2023
1.9.1 183 5/12/2023
1.9.0 350 3/26/2023
1.9.0-preview6 173 3/25/2023
1.9.0-preview5 170 3/23/2023
1.9.0-preview4 173 3/17/2023
1.9.0-preview3 171 3/12/2023
1.9.0-preview2 167 3/10/2023
1.9.0-preview1 179 3/5/2023
1.8.0 332 3/1/2023
1.8.0-preview5 186 3/1/2023
1.8.0-preview4 181 3/1/2023
1.8.0-preview3 175 2/28/2023
1.8.0-preview2 189 2/5/2023
1.8.0-preview1 711 2/4/2023
1.7.0 527 1/22/2023
1.7.0-preview3 837 1/18/2023
1.7.0-preview2 608 1/6/2023
1.7.0-preview1 191 1/2/2023
1.6.0 403 12/30/2022
1.6.0-preview3 193 12/29/2022
1.6.0-preview2 189 12/28/2022
1.6.0-preview1 195 12/28/2022
1.5.0 714 12/23/2022
1.4.0 526 12/17/2022
1.3.0 381 12/2/2022
1.2.5 389 11/20/2022
1.2.0 389 11/19/2022
1.1.0 401 11/12/2022
1.0.2 556 10/29/2022
1.0.1 587 10/15/2022
1.0.0 619 10/9/2022