Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 Mod 列表中显示模组自带的方形图标 #165

Open
2 of 3 tasks
Cai-kunkun opened this issue Jan 31, 2025 · 6 comments
Open
2 of 3 tasks

在 Mod 列表中显示模组自带的方形图标 #165

Cai-kunkun opened this issue Jan 31, 2025 · 6 comments
Labels
⭕ 等待处理 已确认,等待下一步处理

Comments

@Cai-kunkun
Copy link

Cai-kunkun commented Jan 31, 2025

检查项

描述

部分模组是自己编写或来自非官方来源的模组或某一模组为修改版时,此模组文件内icon微标无法显示,会显示为

Image
希望让模组内自带的icon微标显示出来
但是同龙猫说的:"Mod内置的Logo不是方形的"就可以让它显示为Image
这个issues同我在官方版issues页面提的,但是没通过,所以我希望社区版能实现这个功能。
十分感谢!
官方版Issues页面#4842

原因

我需要这个功能来显示模组内自带的方形图标,但是不显示模组内自带的非方形图标。很多人都有这个的需求吧?

@Cai-kunkun Cai-kunkun changed the title 希望能在Mod列表中 希望能在Mod列表中显示模组自带的方形图标。 Jan 31, 2025
@Chiloven945 Chiloven945 added the ⭕ 等待处理 已确认,等待下一步处理 label Jan 31, 2025
@Chiloven945 Chiloven945 changed the title 希望能在Mod列表中显示模组自带的方形图标。 希望能在Mod列表中显示模组自带的方形图标。 Feb 1, 2025
@Chiloven945 Chiloven945 changed the title 希望能在Mod列表中显示模组自带的方形图标。 希望能在Mod列表中显示模组自带的方形图标 Feb 1, 2025
@Chiloven945 Chiloven945 changed the title 希望能在Mod列表中显示模组自带的方形图标 在 Mod 列表中显示模组自带的方形图标 Feb 1, 2025
@wyc-26
Copy link

wyc-26 commented Feb 4, 2025

问题在于,这个图标的文件名并没有一个标准(例如,有些是 logo.png,有些则是 icon.png)
即使做出了这个功能,也不保证适用于所有的模组
当然也许有别的方法可行,比如通过后缀名来判断,暂时打个需要帮助的标签吧

@wyc-26 wyc-26 added the 💬 需要帮助 暂无有效解决方案,需要其他人帮助 label Feb 4, 2025
@MoYuan-CN
Copy link
Member

没有一个规范指出 Mod 的图标会在什么位置,是什么文件名……

@wuliaodexiaoluo
Copy link

wuliaodexiaoluo commented Feb 4, 2025

没有标准化的东西做了特别容易爆炸,就算没炸裁剪也麻烦,况且这个功能的开发收益没有特别高,需要先考虑考虑

@wuliaodexiaoluo wuliaodexiaoluo closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2025
@wuliaodexiaoluo wuliaodexiaoluo added ❌ 暂无计划 暂无计划制作此功能 and removed 💬 需要帮助 暂无有效解决方案,需要其他人帮助 labels Feb 4, 2025
@wuliaodexiaoluo wuliaodexiaoluo added the 💬 需要帮助 暂无有效解决方案,需要其他人帮助 label Feb 4, 2025
@wyc-26 wyc-26 removed the ❌ 暂无计划 暂无计划制作此功能 label Feb 4, 2025
@Cai-kunkun
Copy link
Author

farbic读取模组内farbic.mod.json中的icon图标路径
forge读取mcmod.info里面的

@wuliaodexiaoluo wuliaodexiaoluo removed the 💬 需要帮助 暂无有效解决方案,需要其他人帮助 label Feb 4, 2025
@WorldHim
Copy link

WorldHim commented Feb 15, 2025

那么使用图标的优先级是:
CF/MR > 内置 > 无法显示图标

@Cai-kunkun
Copy link
Author

那么使用图标的优先级是: CF/MR > 内置 > 无法显示图标

可以的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭕ 等待处理 已确认,等待下一步处理
Projects
None yet
Development

No branches or pull requests

6 participants