Skip to content

Fix #5295 : 实现 Curseforge 光影下载#5313

Merged
Glavo merged 5 commits intoHMCL-dev:mainfrom
CiiLu:shahders
Mar 16, 2026
Merged

Fix #5295 : 实现 Curseforge 光影下载#5313
Glavo merged 5 commits intoHMCL-dev:mainfrom
CiiLu:shahders

Conversation

@CiiLu
Copy link
Contributor

@CiiLu CiiLu commented Jan 24, 2026

image

Copy link
Contributor

@3gf8jv4dv 3gf8jv4dv left a comment

Choose a reason for hiding this comment

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

一些分类为「Configuration」的光影包搜不到。例如 Chocapic13' High Performance shaders

具体症状是,CF 页面可以找到,但 HMCL 内找不到。

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds CurseForge shader pack download support to HMCL, complementing the existing Modrinth shader pack downloads. Previously, the shader pack download page only used Modrinth as a source; now it also supports CurseForge.

Changes:

  • Added SECTION_SHADER constant (6552) and SHADERS repository instance in CurseForgeRemoteModRepository
  • Wired CurseForge shaders into the ofShaderPack factory method in HMCLLocalizedDownloadListPage
  • Added shader category translations (Realistic, Fantasy, Vanilla) in English, Simplified Chinese, and Traditional Chinese locale files

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
CurseForgeRemoteModRepository.java Added SECTION_SHADER constant and SHADERS static repository instance
HMCLLocalizedDownloadListPage.java Changed ofShaderPack to pass CurseForgeRemoteModRepository.SHADERS instead of null
I18N.properties Added English translations for shader categories 6553-6555
I18N_zh_CN.properties Added Simplified Chinese translations for shader categories
I18N_zh.properties Added Traditional Chinese translations for shader categories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@Glavo Glavo merged commit e057e20 into HMCL-dev:main Mar 16, 2026
2 checks passed
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.

4 participants