Skip to content

Commit ccd26d8

Browse files
committed
Update mod metadata for fabric modmenu.
Signed-off-by: 秋雨落 <i@rain.cx>
1 parent 5ebcb37 commit ccd26d8

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

fabric/src/main/templates/fabric.mod.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"contributors": [
1111
"${mod_credits}"
1212
],
13+
"icon": "assets/sinocore/logo.png",
1314
"contact": {
1415
"homepage": "${mod_homepage}",
1516
"sources": "${mod_sources}",
@@ -34,5 +35,18 @@
3435
"minecraft": "${fabric_minecraft_version_range}",
3536
"fabricloader": "${fabric_loader_version_range}",
3637
"fabric": "${fabric_api_version_range}"
38+
},
39+
"custom": {
40+
"modmenu": {
41+
"links": {
42+
"modmenu.curseforge": "https://www.curseforge.com/minecraft/mc-mods/sinocore",
43+
"modmenu.modrinth": "https://modrinth.com/mod/sinocore",
44+
"modmenu.wiki": "https://docs.sino.moegirl.games/dev/",
45+
"modmenu.github_releases": "https://github.com/SinoCraftProject/SinoCore/releases",
46+
"modmenu.discord": "https://discord.gg/Q6zuDWDHJV"
47+
},
48+
"badges": ["library"],
49+
"update_checker": true
50+
}
3751
}
3852
}

neoforge/src/main/templates/META-INF/neoforge.mods.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors = "${mod_authors}"
1111
credits = "${mod_credits}"
1212
description = "${mod_description}"
1313
displayURL = "${mod_homepage}"
14-
logoFile = "sinocore_logo.png"
14+
logoFile = "assets/sinocore/logo.png"
1515
displayTest = "MATCH_VERSION"
1616

1717
[[dependencies.${ mod_id }]]
File renamed without changes.

0 commit comments

Comments
 (0)