Skip to content

Commit

Permalink
fix: build.gradle & add: modmenu descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
SammyForReal committed Dec 29, 2023
1 parent ddba1bf commit 4b74df4
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 13 deletions.
4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,12 @@ dependencies {
modImplementation "net.fabricmc:fabric-language-kotlin:${fabric_kotlin_version}"

// Other dependencies
modApi "maven.modrinth:modmenu:${modmenu_version}" // Not required
modApi "maven.modrinth:emi:${emi_version}"

// Dev environment
modRuntimeOnly "maven.modrinth:sodium:${sodium_version}"
modRuntimeOnly "maven.modrinth:modmenu:${modmenu_version}"
modRuntimeOnly "maven.modrinth:emi:${emi_version}"

//if (enable_iris) // For some reason this just always is true?
// modRuntimeOnly "maven.modrinth:iris:${iris_version}"
}

// Ignore warn: https://youtrack.jetbrains.com/issue/IDEA-296490
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package cc.tweaked_programs.partnership.client.compat.modmenu

class PartnershipModmenu {
}
7 changes: 6 additions & 1 deletion src/client/resources/assets/partnership/lang/de_de.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@

"emi.category.partnership.boatyard": "Werftindustrie",

"itemGroup.partnership": "Partnership Mod"
"itemGroup.partnership": "Partnership Mod",

"modmenu.partnership.modfest": "ModFest 1.20",
"modmenu.partnership.kofi": "Ko-fi",
"modmenu.partnership.modrinth": "Modrinth",
"modmenu.descriptionTranslation.partnership": "§7Fahre Schiffe mit deinen Partnern.\nFügt größere §ooder kleinere§r Schiffe hinzu, Kannonen, Hüte und weiteres Zubehör sowie Bauelemente! §lIdeal für jede Person, die es nah am Wasser mag!§r\nDies wurde für das §9ModFest 1.20§r§7 entwickelt. §o(Siehe Link im Anhang)§r\n§f§nCopyright © 2024 Sammy L. Koch§r§7"
}
6 changes: 5 additions & 1 deletion src/client/resources/assets/partnership/lang/en_gb.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@

"emi.category.partnership.boatyard": "Shipyard industry",

"itemGroup.partnership": "Partnership Mod"
"itemGroup.partnership": "Partnership Mod",

"modmenu.partnership.modfest": "ModFest 1.20",
"modmenu.partnership.kofi": "Ko-fi",
"modmenu.partnership.modrinth": "Modrinth"
}
6 changes: 5 additions & 1 deletion src/client/resources/assets/partnership/lang/en_pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@

"emi.category.partnership.boatyard": "Shipwright's treasures",

"itemGroup.partnership": "Partnership Mod"
"itemGroup.partnership": "Partnership Mod",

"modmenu.partnership.modfest": "ModFest 1.20",
"modmenu.partnership.kofi": "Ko-fi",
"modmenu.partnership.modrinth": "Modrinth"
}
7 changes: 6 additions & 1 deletion src/client/resources/assets/partnership/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,10 @@

"emi.category.partnership.boatyard": "Shipyard industry",

"itemGroup.partnership": "Partnership Mod"
"itemGroup.partnership": "Partnership Mod",

"modmenu.partnership.modfest": "ModFest 1.20",
"modmenu.partnership.kofi": "Ko-fi",
"modmenu.partnership.modrinth": "Modrinth",
"modmenu.descriptionTranslation.partnership": "§7Drive ships with partners.\nAdditions such as larger §oor smaller§r boats, cannons, hats and other accessories or building blocks! §lIdeal for anyone who likes it close to the water!§r\nThis has been made for §9ModFest 1.20§r§7! Check it out! §o(Linked down below)§r\n§f§nCopyright © 2024 Sammy L. Koch§r§7"
}
6 changes: 5 additions & 1 deletion src/client/resources/assets/partnership/lang/lol_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@

"emi.category.partnership.boatyard": "Shipyardy indyustry",

"itemGroup.partnership": "Partnership Mod"
"itemGroup.partnership": "Partnership Mod",

"modmenu.partnership.modfest": "ModFest 1.20",
"modmenu.partnership.kofi": "Ko-fi",
"modmenu.partnership.modrinth": "Modrinth"
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ TODO
[-] Redo textures but good this time
[ ] Add recipes
[x] Sort Item Group and secondary groups for items
[ ] Remove normal boat recipe
*/

const val MOD_ID = "partnership"
Expand Down
29 changes: 25 additions & 4 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,28 @@
"id": "partnership",
"version": "${version}",
"name": "Partnership",
"description": "Drive ships with partners.",
"description": "§7Drive ships with partners.\nAdditions such as larger §oor smaller§r boats, cannons, hats and other accessories or building blocks! §lIdeal for anyone who likes it close to the water!§r\nThis has been made for §9ModFest 1.20§r§7! Check it out! §o(Linked down below)§r\n§f§nCopyright © 2024 Sammy L. Koch§r§7",
"authors": [
"Sammy L. Koch"
],
"contact": {
"homepage": "https://tweaked-programs.cc/",
"sources": "https://github.com/tweaked-programs/"
"sources": "https://github.com/tweaked-programs/Partnership/",
"issues": "https://github.com/tweaked-programs/Partnership/issues/"
},
"license": "MIT",
"icon": "assets/partnership/icon.png",
"environment": "*",
"custom": {
"modmenu": {
"links": {
"modmenu.partnership.modfest": "https://modfest.net/1.20/",
"modmenu.partnership.kofi": "https://ko-fi.com/sammykoch/",
"modmenu.partnership.modrinth": "https://modrinth.com/mod/partnership/"
},
"update_checker": true
}
},
"entrypoints": {
"client": [
{
Expand All @@ -28,7 +39,16 @@
}
],
"emi": [
"cc.tweaked_programs.partnership.client.compat.emi.PartnershipEmi"
{
"value": "cc.tweaked_programs.partnership.client.compat.emi.PartnershipEmi",
"adapter": "kotlin"
}
],
"modmenu": [
{
"value": "cc.tweaked_programs.partnership.client.compat.modmenu.PartnershipModmenu",
"adapter": "kotlin"
}
]
},
"mixins": [
Expand All @@ -46,6 +66,7 @@
"fabric-language-kotlin": ">=1.9.21"
},
"recommends": {
"modmenu": ">=${modmenu_version}"
"modmenu": "~${modmenu_version}",
"emi": "~${emi_version}"
}
}

0 comments on commit 4b74df4

Please sign in to comment.