mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-03-07 17:36:52 +08:00
* Support #2376 * Add necessary @Nullable annotations * Display different types of dependencies in different sections. * Fix checkstyle * Add I18N for different types of dependencies. * Enhance UI * Code cleanup * Enhance UI * Manually sort the result from curseforge when searching mods by name. * Render the search results from remote mod repositories in several pages. * Fix merge * Fix * Add a button which navigates to the modpack download page in the modpack installl page * Fix I18N * Render the mod loaders supported by the version in mod info page. * Fix #2104 * Enhance TwoLineListItem * Render the mod loader supported by this mod file on the ModListPage * Fix chinese searching and curseforge searching * Update I18N * Fix * Fix * Select the specific game version when clicking the 'download' button on ModListPage * Support HMCL to update mod_data and mod_pack data from https://github.com/huanghongxun/HMCL/raw/javafx/data-json/dynamic-remote-resources.json * Enhance :HMCL:build.gradle.kts * Revert parse_mcmod_data.py * Abstract 'new Image' to FXUtils.newBuiltinImage and FXUtils.newRemoteImage FXUtils.newBuiltinImage is used to load image which is supposed to be correct definitely and is a file within the jar. Or, it will throw ResourceNotFoundError. FXUtils.newRemoteImage is used to load image from the internet. It will cache the data of images for the further usage. The cached data will be deleted when HMCL is closed or hidden. * Add javadoc for FXUtils.newBuiltinImage and FXUtils.newRemoteImage. * Fix checkstyle * Fix * Fix * Fix * Add license for RemoteResourceManager * Remove TODO * Enhance Chinese searching * Support to decode metadata for local quilt mod. * Enhance ModManager * Fix checkstyle * Refactor * Fix * Fix * Refactor DownloadPage * Fix * Revert "Refactor DownloadPage" This reverts commit953558da77
. * Refactor DownloadPage * Refactor * Fix * Fix checkstyle * Set org.jackhuang.hmcl.ui.construct.TwoLineListItem.TagChangeListener as a private static inner class. * Fix * Fix * Fix * Enhance SimpleMultimap * Revert TwoLineListItem * Fix * Code cleanup * Code cleanup * Fix * Code cleanup * Add license for IModMetadataReader * Add prefix 'Minecraft' at the supported minecrft version list in DownloadPage * Fix #2498 * Update README_cn.md * Opti ModMananger * Log a warning message when 'hmcl.update_source.override' is used. * Fix chinese searching * Enhance chinese searching. * Enhance memory usage * Close the mod version dialog window after clicking the downloading / save as button if the dependency list is empty. * Cache builtin images. * Enhance FXUtils (Make tooltip installer faster). * Fix * Fix * Fix #2560 * Fix typo * Fix remote image cache. * Fix javadoc * Fix checkstyle * Optimize FXUtils::shutdown * Fix merge * I have no idea on why the sha1 was matched. * Revert "Enhance FXUtils (Make tooltip installer faster)." This reverts commit0a49eb2c12
. * Support multi download source in order balance the traffic of hmcl.huangyuhui.net and the download speed in China Mainland. * Modify dynamic remote resource urls. * Optimize codes with StringUtils.DynamicCommonSubsequence. * Prevent unofficial HMCL to access HMCL Resource Update URL. * Zip the dynamic-remote-resources json by Gradle automatically. * Remove unnecessary getters. --------- Co-authored-by: Burning_TNT <pangyl08@163.com“>
4.9 KiB
4.9 KiB
⛏ Hello Minecraft! Launcher 💎
English | 中文
简介
HMCL 是一款跨平台 Minecraft 启动器, 支持 Mod 管理, 游戏自定义, 游戏自动安装 (Forge, Fabric, Quilt, LiteLoader 与 OptiFine), 模组包创建, 界面自定义等功能.
HMCL 有着强大的跨平台能力. 它不仅支持 Windows、Linux、macOS 等常见的操作系统,同时也支持 x86、ARM、MIPS 和 LoongArch 等不同的 CPU 架构. 您可以使用 HMCL 在不同平台上轻松的游玩 Minecraft.
如果您想要了解 HMCL 对不同平台的支持程度,请参见此表格.
下载
请从 HMCL 官网 下载最新版本的 HMCL.
你也可以在 GitHub Releases 中下载最新版本的 HMCL.
虽然并不强制, 但仍建议通过 HMCL 官网下载启动器.
开源协议
该程序在 GPLv3 开源协议下发布, 同时附有附加条款.
附加条款 (依据 GPLv3 开源协议第七条)
-
当您分发该程序的修改版本时, 您必须以一种合理的方式修改该程序的名称或版本号, 以示其与原始版本不同. (依据 GPLv3, 7(c))
该程序的名称及版本号可在此处修改.
-
您不得移除该程序所显示的版权声明. (依据 GPLv3, 7(b))
贡献
如果您想提交一个 Pull Request, 必须遵守如下要求:
- IDE: Intellij IDEA
- 编译器: Java 1.8
- 不要修改
gradle
相关文件
编译
于项目根目录执行以下命令:
./gradlew clean build
请确保您至少安装了含有 JavaFX 8 的 Java. 建议使用 Liberica Full JDK 8 或更高版本.
JVM 选项 (用于调试)
参数 | 简介 |
---|---|
-Dhmcl.home=<path> |
覆盖 HMCL 数据文件夹. |
-Dhmcl.self_integrity_check.disable=true |
检查更新时绕过本体完整性检查. |
-Dhmcl.bmclapi.override=<version> |
覆盖 BMCLAPI 的 API Root, 默认值为 https://bmclapi2.bangbang93.com . 例如 https://download.mcbbs.net . |
-Dhmcl.font.override=<font family> |
覆盖字族. |
-Dhmcl.version.override=<version> |
覆盖版本号. |
-Dhmcl.update_source.override=<url> |
覆盖 HMCL 更新源(已弃用,请使用 hmcl.hmcl_update_source.override ). |
-Dhmcl.hmcl_update_source.override=<url> |
覆盖 HMCL 更新源. |
-Dhmcl.resource_update_source.override=<url> |
覆盖动态远程资源更新源. |
-Dhmcl.authlibinjector.location=<path> |
使用指定的 authlib-injector (而非下载一个). |
-Dhmcl.openjfx.repo=<maven repository url> |
添加用于下载 OpenJFX 的自定义 Maven 仓库 |
-Dhmcl.native.encoding=<encoding> |
覆盖原生编码. |
-Dhmcl.microsoft.auth.id=<App ID> |
覆盖 Microsoft OAuth App ID. |
-Dhmcl.microsoft.auth.secret=<App Secret> |
覆盖 Microsoft OAuth App 密钥. |