Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static DownloadListPage ofResourcePack(DownloadPage.DownloadCallback call
}

public static DownloadListPage ofShaderPack(DownloadPage.DownloadCallback callback, boolean versionSelection) {
return new HMCLLocalizedDownloadListPage(callback, versionSelection, RemoteModRepository.Type.SHADER_PACK, null, ModrinthRemoteModRepository.SHADER_PACKS);
return new HMCLLocalizedDownloadListPage(callback, versionSelection, RemoteModRepository.Type.SHADER_PACK, CurseForgeRemoteModRepository.SHADERS, ModrinthRemoteModRepository.SHADER_PACKS);
}

private HMCLLocalizedDownloadListPage(DownloadPage.DownloadCallback callback, boolean versionSelection, RemoteModRepository.Type type, CurseForgeRemoteModRepository curseForge, ModrinthRemoteModRepository modrinth) {
Expand Down
4 changes: 4 additions & 0 deletions HMCL/src/main/resources/assets/lang/I18N.properties
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ curse.category.4550=Quests
curse.category.4555=World Gen
curse.category.4552=Scripts

curse.category.6553=Realistic
curse.category.6554=Fantasy
curse.category.6555=Vanilla

curse.sort.author=Author
curse.sort.date_created=Date Created
curse.sort.last_updated=Last Updated
Expand Down
4 changes: 4 additions & 0 deletions HMCL/src/main/resources/assets/lang/I18N_zh.properties
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ curse.category.4550=任務
curse.category.4555=世界生成
curse.category.4552=指令碼

curse.category.6553=寫實
curse.category.6554=幻想
curse.category.6555=原生

curse.sort.author=作者
curse.sort.date_created=建立日期
curse.sort.last_updated=最近更新
Expand Down
4 changes: 4 additions & 0 deletions HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ curse.category.4550=任务
curse.category.4555=世界生成
curse.category.4552=脚本

curse.category.6553=写实
curse.category.6554=幻想
curse.category.6555=原生

curse.sort.author=作者
curse.sort.date_created=创建日期
curse.sort.last_updated=最近更新
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ private List<CurseAddon.Category> reorganizeCategories(List<CurseAddon.Category>
public static final int SECTION_RESOURCE_PACK = 12;
public static final int SECTION_WORLD = 17;
public static final int SECTION_MODPACK = 4471;
public static final int SECTION_SHADER = 6552;
public static final int SECTION_CUSTOMIZATION = 4546;
public static final int SECTION_ADDONS = 4559; // For Pocket Edition
public static final int SECTION_UNKNOWN1 = 4944;
Expand All @@ -287,6 +288,7 @@ private List<CurseAddon.Category> reorganizeCategories(List<CurseAddon.Category>
public static final CurseForgeRemoteModRepository RESOURCE_PACKS = new CurseForgeRemoteModRepository(RemoteModRepository.Type.RESOURCE_PACK, SECTION_RESOURCE_PACK);
public static final CurseForgeRemoteModRepository WORLDS = new CurseForgeRemoteModRepository(RemoteModRepository.Type.WORLD, SECTION_WORLD);
public static final CurseForgeRemoteModRepository CUSTOMIZATIONS = new CurseForgeRemoteModRepository(RemoteModRepository.Type.CUSTOMIZATION, SECTION_CUSTOMIZATION);
public static final CurseForgeRemoteModRepository SHADERS = new CurseForgeRemoteModRepository(Type.SHADER_PACK, SECTION_SHADER);

public static class Pagination {
private final int index;
Expand Down