PCL2 icon indicating copy to clipboard operation
PCL2 copied to clipboard

Mod下载版本问题

Open jjghfd opened this issue 1 month ago • 3 comments

检查项

描述

Image Image 逆天了,我这个有跟1318相似,但是又有本质上的区别,还有个bug,没有自动进行合并“附魔描述”这个mod 的CurseForge 和 Modrinth结果,1318的修复似乎无效果

重现步骤

什么都不需要操作,只需要下载、搜索即可

日志与附件

Log3.txt Log4.txt Log5.txt Log1.txt Log2.txt

jjghfd avatar Nov 16 '25 00:11 jjghfd

重新检查了一下,这个合并行为确实很奇怪 他 满足了 双来源合并的条件(1318 的 MC主版本条件),但是来自 Modrinth 的数据貌似被丢弃了

Details

合并时 Image

仅 CF 时 Image

仅 MR 时 Image

日志提示

  [10:58:24.110] <L/社区资源获取:Mod> [Comp] 中文搜索原始关键词:enchantment descriptions enchantment descriptions enchantment descriptions enchanting table descriptions enchanting table descriptions enchanting table descriptions 
  [10:58:24.110] <L/社区资源获取:Mod> [Comp] 中文搜索最终关键词:enchantment descriptions enchantment descriptions enchantment descriptions enchanting table descriptions enchanting table descriptions enchanting table descriptions  
  [10:58:24.110] <L/社区资源获取:Mod> [Comp] 工程列表搜索最终文本:enchantment descriptions enchanting table
  [10:58:24.111] <CurseForge Project Request> [Comp] 开始从 CurseForge 获取工程列表:https://api.curseforge.com/v1/mods/search?gameId=432&sortField=2&sortOrder=desc&pageSize=40&classId=6&categoryId=0&searchFilter=enchantment+descriptions+enchanting+table
  [10:58:24.111] <CurseForge Project Request> [Net] 发起网络请求(GET,https://api.curseforge.com/v1/mods/search?gameId=432&sortField=2&sortOrder=desc&pageSize=40&classId=6&categoryId=0&searchFilter=enchantment+descriptions+enchanting+table),最大超时 10000
  [10:58:24.112] <Modrinth Project Request> [Comp] 开始从 Modrinth 获取工程列表:https://api.modrinth.com/v2/search?limit=40&index=relevance&query=enchantment+descriptions+enchanting+table&facets=[["project_type:mod"]]
  [10:58:24.112] <Modrinth Project Request> [Net] 发起网络请求(GET,https://api.modrinth.com/v2/search?limit=40&index=relevance&query=enchantment+descriptions+enchanting+table&facets=[["project_type:mod"]]),最大超时 10000
  [10:58:24.572] <Modrinth Project Request> [Comp] 从 Modrinth 获取到了 40 个工程(已获取 40 个,共 772 个)
  [10:58:24.614] <CurseForge Project Request> [Comp] 从 CurseForge 获取到了 40 个工程(已获取 40 个,共 381 个)
! [10:58:24.616] <L/社区资源获取:Mod> [Comp] 将 Enchantment Descriptions (enchantment-descriptions) 与 Enchantment Descriptions (enchantment-descriptions) 认定为相似工程

MoYuan-CN avatar Nov 16 '25 03:11 MoYuan-CN

重新检查了一下,这个合并行为确实很奇怪 他 满足了 双来源合并的条件(1318 的 MC主版本条件),但是来自 Modrinth 的数据貌似被丢弃了

详 合并时 图像

仅 CF 时 图像

仅 MR 时 图像

日志提示

[10:58:24.110] <L/社区资源获取:Mod> [Comp] 中文搜索原始关键词:enchantment descriptions enchantment descriptions enchantment descriptions enchanting table descriptions enchanting table descriptions enchanting table descriptions [10:58:24.110] <L/社区资源获取:Mod> [Comp] 中文搜索最终关键词:enchantment descriptions enchantment descriptions enchantment descriptions enchanting table descriptions enchanting table descriptions enchanting table descriptions
[10:58:24.110] <L/社区资源获取:Mod> [Comp] 工程列表搜索最终文本:enchantment descriptions enchanting table [10:58:24.111] <CurseForge Project Request> [Comp] 开始从 CurseForge 获取工程列表:https://api.curseforge.com/v1/mods/search?gameId=432&sortField=2&sortOrder=desc&pageSize=40&classId=6&categoryId=0&searchFilter=enchantment+descriptions+enchanting+table [10:58:24.111] <CurseForge Project Request> [Net] 发起网络请求(GET,https://api.curseforge.com/v1/mods/search?gameId=432&sortField=2&sortOrder=desc&pageSize=40&classId=6&categoryId=0&searchFilter=enchantment+descriptions+enchanting+table),最大超时 10000 [10:58:24.112] <Modrinth Project Request> [Comp] 开始从 Modrinth 获取工程列表:https://api.modrinth.com/v2/search?limit=40&index=relevance&query=enchantment+descriptions+enchanting+table&facets=[["project_type:mod"]] [10:58:24.112] <Modrinth Project Request> [Net] 发起网络请求(GET,https://api.modrinth.com/v2/search?limit=40&index=relevance&query=enchantment+descriptions+enchanting+table&facets=[["project_type:mod"]]),最大超时 10000 [10:58:24.572] <Modrinth Project Request> [Comp] 从 Modrinth 获取到了 40 个工程(已获取 40 个,共 772 个) [10:58:24.614] <CurseForge Project Request> [Comp] 从 CurseForge 获取到了 40 个工程(已获取 40 个,共 381 个) ! [10:58:24.616] <L/社区资源获取:Mod> [Comp] 将 Enchantment Descriptions (enchantment-descriptions) 与 Enchantment Descriptions (enchantment-descriptions) 认定为相似工程

确实,我这边也研究了下,似乎必须得手动切换才可以显示出1.21.4的

jjghfd avatar Nov 16 '25 03:11 jjghfd

活跃橙有望了

jjghfd avatar Nov 16 '25 11:11 jjghfd

PCL 在合并时,会检查两边支持的 MC 大版本/Drop 是否相同,不会考虑小版本,所以就会觉得这可以合并…… 然后如果可以合并,会优先保留 CurseForge 源……

现在改成了优先保留 Modrinth 源,至少对于这个 Mod 而言不会再出问题了。 在 Mojang 使用新的版本号规则后,小版本缺失应该也不算啥问题……

LTCatt avatar Dec 21 '25 15:12 LTCatt