This commit is contained in:
2026-09-17 18:38:15 +08:00
parent e9224db163
commit 5f442f2b8e
17 changed files with 119 additions and 113 deletions
+12 -1
View File
@@ -9,13 +9,18 @@ repositories {
// 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 = "Modrinth"
url = "https://api.modrinth.com/maven"
content { includeGroup "maven.modrinth" }
}
}
loom {
splitEnvironmentSourceSets()
mods {
"modid" {
"non-carryon" {
sourceSet sourceSets.main
sourceSet sourceSets.client
}
@@ -30,6 +35,12 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
modImplementation files("lib/needsofnature-1.5.1+1.21.11.jar")
// modImplementation files("lib/carryon-fabric-1.21.11-2.9.2.jar")
modImplementation "maven.modrinth:carry-on:2.9.2"
}
processResources {