Added ModMenu as (optional) dependency

This commit is contained in:
2025-04-07 09:18:14 +02:00
parent 7d969d0013
commit d99467d953
3 changed files with 13 additions and 9 deletions

View File

@ -11,11 +11,10 @@ base {
}
repositories {
// Add repositories to retrieve artifacts from in here.
// You should only use this when depending on other mods because
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
maven {
name = "Terraformers"
url = "https://maven.terraformersmc.com/"
}
}
loom {
@ -44,7 +43,7 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation("com.terraformersmc:modmenu:${project.modmenu_version}")
}
processResources {

View File

@ -15,3 +15,5 @@ archives_base_name=survivalfabric
# Dependencies
fabric_version=0.119.5+1.21.5
modmenu_version=14.0.0-rc.2

View File

@ -38,7 +38,10 @@
"java": ">=21",
"fabric-api": "*"
},
"suggests": {
"another-mod": "*"
"optional": {
"modmenu": "*"
},
"custom": {
"modmenu:api": "wtf.hak.survivalfabric.modmenu.ModMenuIntegration"
}
}