Skip to content

feat: 添加1.21.11-pre3_unobfuscated支持#4870

Merged
Glavo merged 7 commits intoHMCL-dev:mainfrom
Mine-diamond:pre-3
Nov 30, 2025
Merged

feat: 添加1.21.11-pre3_unobfuscated支持#4870
Glavo merged 7 commits intoHMCL-dev:mainfrom
Mine-diamond:pre-3

Conversation

@Mine-diamond
Copy link
Copy Markdown
Contributor

@Mine-diamond Mine-diamond commented Nov 27, 2025

  • 添加1.21.11-pre3_unobfuscated支持
  • 修复pre版rc版exp版和unobfuscated版本无法识别自己版本的世界的问题
之前:无法识别属于自己的版本 image
现在:可以识别属于自己的版本 image

@Mine-diamond Mine-diamond changed the title feat: 添加1.21.11_pre1_unobfuscated支持 feat: 添加1.21.11_pre3_unobfuscated支持 Nov 27, 2025
@Mine-diamond Mine-diamond changed the title feat: 添加1.21.11_pre3_unobfuscated支持 feat: 添加1.21.11-pre3_unobfuscated支持 Nov 27, 2025
if (worlds != null)
itemsProperty().setAll(worlds.stream()
.filter(world -> isShowAll() || world.getGameVersion() == null || world.getGameVersion().equals(gameVersion))
.filter(world -> isShowAll() || world.getGameVersion() == null || world.getGameVersion().equals(gameVersion) || world.getGameVersion().replace(" Pre-Release ", "-pre").replace(" Release Candidate ", "-rc").replace(" experimental snapshot ", "_experimental-snapshot-").replace(" Unobfuscated", "_unobfuscated").equals(gameVersion))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你这行都长出天际了。

我先把这个文件回撤了,剩下的部分先合了,这个地方单独开个 PR 吧。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外我觉得这个意义不大。这个主要是区分不同实例创建的世界,没有必要让它默认显示不同的实例的世界。

@Glavo Glavo merged commit 6b6dee6 into HMCL-dev:main Nov 30, 2025
1 check passed
@Mine-diamond Mine-diamond deleted the pre-3 branch November 30, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants