HMCL-dev / HMCL-dev/HMCL

[Feature] 添加 Java 偏版本好选择

Open
#5,051 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

概述 | Summary

添加一个 Java 版本偏好选择,让某些 已安装的实例版本 选择偏好 Java 版本,Java 版本从 已安装的 Java 列表 中选择

原因 | Reason

可以批量管理 Java 版本,而不需要多次配置 Java 版本

详情 | Description

例如:我有多个 1.20.1 的 Forge、Fabric、NeoForge 加载器版本,但是我更愿意使用 Java 21 而不是 Java 17 来玩,我可以设置 1.20.1 系列版本偏好使用 Java 21 版本,而不是 Mojang 默认推荐的 Java 17 版本

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the launcher’s instance configuration, installed-Java list, and Java selection flow, then determine how preferences could apply across loader variants sharing a Minecraft version. Done means a configured version preference selects an installed Java version consistently instead of the default recommendation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.