2022-05-07 12:06:21 -04:00
# ⛏ Hello Minecraft! Launcher 💎
2023-11-09 21:24:02 +08:00
2022-08-08 16:52:58 +08:00
[](https://ci.huangyuhui.net/job/HMCL)
2024-10-20 21:36:01 +08:00


2022-08-08 16:52:58 +08:00
[](https://discord.gg/jVvC7HfM6U)
2025-01-25 16:38:55 +08:00
[](https://docs.hmcl.net/groups.html)
2017-08-01 18:10:36 +08:00
2024-10-15 18:47:38 +08:00
**English** | [简体中文 ](README_cn.md ) | [繁體中文 ](README_tw.md )
2017-08-01 18:10:36 +08:00
2022-08-21 18:26:42 +08:00
## Introduction
2023-11-09 21:24:02 +08:00
2024-11-02 17:36:41 +08:00
HMCL is an open-source, cross-platform Minecraft launcher that supports Mod Management, Game Customizing, ModLoader Installing (Forge, NeoForge, Fabric, Quilt, LiteLoader, and OptiFine), Modpack Creating, UI Customization, and more.
2017-08-01 18:10:36 +08:00
2025-01-29 07:27:17 +08:00
HMCL has amazing cross-platform capabilities. Not only does it run on different operating systems like Windows, Linux, and macOS, but it also supports various CPU architectures such as x86, ARM, RISC-V, MIPS, and LoongArch. You can easily enjoy Minecraft across different platforms through HMCL.
2022-08-28 16:56:33 +08:00
2025-01-06 03:32:42 +08:00
For systems and CPU architectures supported by HMCL, please refer to [this table ](PLATFORM.md ).
2018-12-08 19:14:56 +08:00
2020-04-05 02:15:13 +01:00
## Download
2023-11-09 21:24:02 +08:00
2025-01-06 03:32:42 +08:00
Download the latest version from the [official website ](https://hmcl.huangyuhui.net/download ).
2020-04-05 02:15:13 +01:00
2024-10-20 09:35:27 -04:00
You can also find the latest version of HMCL in [GitHub Releases ](https://github.com/HMCL-dev/HMCL/releases ).
2021-12-09 22:57:12 +08:00
2024-10-20 09:35:27 -04:00
Although not necessary, it is recommended only to download releases from the official websites listed above.
2020-04-05 02:15:13 +01:00
2018-12-08 22:44:16 +08:00
## License
2023-11-09 21:24:02 +08:00
2024-10-20 09:35:27 -04:00
The software is distributed under [GPLv3 ](https://www.gnu.org/licenses/gpl-3.0.html ) license with the following additional terms:
2018-12-08 22:44:16 +08:00
### Additional terms under GPLv3 Section 7
2023-11-09 21:24:02 +08:00
2024-01-13 10:36:44 +08:00
1. When you distribute a modified version of the software, you must change the software name or the version number in a reasonable way in order to distinguish it from the original version. (Under [GPLv3, 7(c) ](https://github.com/HMCL-dev/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L372-L374 ))
2018-12-08 22:44:16 +08:00
2024-01-13 10:36:44 +08:00
The software name and the version number can be edited [here ](https://github.com/HMCL-dev/HMCL/blob/javafx/HMCL/src/main/java/org/jackhuang/hmcl/Metadata.java#L33-L35 ).
2018-12-08 22:44:16 +08:00
2024-01-13 10:36:44 +08:00
2. You must not remove the copyright declaration displayed in the software. (Under [GPLv3, 7(b) ](https://github.com/HMCL-dev/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L368-L370 ))
2018-12-08 22:44:16 +08:00
2017-08-01 18:10:36 +08:00
## Contribution
2023-11-09 21:24:02 +08:00
2024-10-20 09:35:27 -04:00
If you want to submit a pull request, here are some requirements:
2023-11-09 21:24:02 +08:00
2024-10-15 18:47:38 +08:00
* IDE: IntelliJ IDEA
2024-03-02 01:29:49 +08:00
* Compiler: Java 1.8 or Java 11+
2022-08-21 18:26:42 +08:00
* Do NOT modify `gradle` files
2017-08-01 18:10:36 +08:00
2020-06-14 19:51:46 +08:00
### Compilation
2023-11-09 21:24:02 +08:00
2024-11-02 17:36:41 +08:00
Simply execute the following command in the project root directory:
2020-06-14 19:51:46 +08:00
```bash
./gradlew clean build
```
2022-08-21 18:26:42 +08:00
2024-10-20 09:35:27 -04:00
Make sure you have at least JavaFX 8 installed. Liberica Full JDK 8 or later is recommended.
2020-06-14 19:51:46 +08:00
2018-09-22 17:43:12 +08:00
## JVM Options (for debugging)
2023-11-09 21:24:02 +08:00
2024-10-15 18:47:38 +08:00
| Parameter | Description |
| -------------------------------------------- | --------------------------------------------------------------------------------------------- |
| `-Dhmcl.home=<path>` | Override HMCL directory |
2024-11-02 17:36:41 +08:00
| `-Dhmcl.self_integrity_check.disable=true` | Bypass the self integrity check when checking for updates |
| `-Dhmcl.bmclapi.override=<url>` | Override API Root of BMCLAPI download provider. Defaults to `https://bmclapi2.bangbang93.com` |
2024-10-15 18:47:38 +08:00
| `-Dhmcl.font.override=<font family>` | Override font family |
| `-Dhmcl.version.override=<version>` | Override the version number |
| `-Dhmcl.update_source.override=<url>` | Override the update source for HMCL itself |
2024-11-02 17:36:41 +08:00
| `-Dhmcl.authlibinjector.location=<path>` | Use the specified authlib-injector (instead of downloading one) |
| `-Dhmcl.openjfx.repo=<maven repository url>` | Add custom Maven repository for downloading OpenJFX |
2024-10-15 18:47:38 +08:00
| `-Dhmcl.native.encoding=<encoding>` | Override the native encoding |
| `-Dhmcl.microsoft.auth.id=<App ID>` | Override Microsoft OAuth App ID |
2024-11-02 17:36:41 +08:00
| `-Dhmcl.microsoft.auth.secret=<App Secret>` | Override Microsoft OAuth App Secret |