HMCL/zh: Difference between revisions
Created page with "==== 进阶 ====" |
Created page with "== 安装 ==" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
</div> | </div> | ||
< | <span id="Installation"></span> | ||
== | == 安装 == | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
| Line 29: | Line 28: | ||
</div> | </div> | ||
< | <span id="Configuration"></span> | ||
== | == 配置 == | ||
< | <span id="Basic"></span> | ||
==== | ==== 基础 ==== | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
| Line 41: | Line 38: | ||
</div> | </div> | ||
< | <span id="Wayland_support"></span> | ||
==== Wayland | ==== Wayland 支持 ==== | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Latest revision as of 14:51, 14 June 2026
Hello Minecraft! Launcher (HMCL) is a free, open-source, and cross-platform Minecraft launcher.
安装
Using nix-shell
$ nix-shell -p hmcl
Using global configuration
environment.systemPackages = with pkgs; [ hmcl ];
Using home configuration
home.packages = with pkgs; [ hmcl ];
配置
基础
At present, configuration can be performed through the HMCL interface; however, declarative configuration is not currently supported.
Wayland 支持
Starting with Minecraft 26.1, Wayland support can be enabled by adding the JDK arguments -DMC_DEBUG_ENABLED and -DMC_DEBUG_PREFER_WAYLAND. In HMCL, these can be configured under Advanced Settings -> JVM Options -> JVM Arguments.
For older Minecraft versions, users who want to use Wayland should enable Advanced Settings -> Workaround -> Use System GLFW. Otherwise, this option should remain disabled.
进阶
You can override the JDK with one that is not included by default, such as jdk8_headless, or use alternative builds like zulu17, in order to support older versions of Minecraft.
environment.systemPackages = with pkgs; [
(hmcl.override {
minecraftJdks = [
jdk8_headless
zulu17
];
})
];