Working 1.21.4 saturn client (but old structure still)

This commit is contained in:
2026-03-05 16:14:18 +01:00
parent da24cc584b
commit 1b3c23587d
2 changed files with 30 additions and 10 deletions
+27 -9
View File
@@ -11,11 +11,7 @@ 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 = "KoSmX Maven"; url = 'https://maven.kosmx.dev/' }
}
dependencies {
@@ -27,14 +23,36 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
// Player Animation Library
include modImplementation(
"dev.kosmx.player-anim:player-animation-lib-fabric:${project.player_anim}"
)
// Optional: BendyLib
// include modRuntimeOnly(
// "io.github.kosmx.bendy-lib:bendy-lib-fabric:${project.bendylib_version}"
// )
}
/*
* ================================================================
* Resource Processing
* ================================================================
* Injects version values into fabric.mod.json.
*/
processResources {
inputs.property "version", project.version
inputs.property "version", project.version
inputs.property "minecraft_version", project.minecraft_version
inputs.property "loader_version", project.loader_version
filteringCharset "UTF-8"
filesMatching("fabric.mod.json") {
expand "version": inputs.properties.version
}
filesMatching("fabric.mod.json") {
expand(
"version": project.version,
"minecraft_version": project.minecraft_version,
"loader_version": project.loader_version
)
}
}
tasks.withType(JavaCompile).configureEach {
+3 -1
View File
@@ -18,4 +18,6 @@ maven_group=org.saturnclient
archives_base_name=saturn-client
# Dependencies
fabric_api_version=0.119.4+1.21.4
fabric_api_version=0.119.4+1.21.4
player_anim = 2.0.3+1.21.4