aboutsummaryrefslogtreecommitdiff
path: root/fabric
diff options
context:
space:
mode:
Diffstat (limited to 'fabric')
-rw-r--r--fabric/build.gradle.kts4
-rw-r--r--fabric/src/main/resources/fabric.mod.json2
2 files changed, 4 insertions, 2 deletions
diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts
index a2327ae..784f263 100644
--- a/fabric/build.gradle.kts
+++ b/fabric/build.gradle.kts
@@ -28,7 +28,9 @@ val minecraftVersion = libs.versions.minecraft.get()
dependencies {
minecraft(libs.minecraft)
mappings(loom.layered {
- mappings("org.quiltmc:quilt-mappings:$minecraftVersion+build.${libs.versions.quilt.mappings.get()}:intermediary-v2")
+ val qm = libs.versions.quilt.mappings.get()
+ if (qm != "0")
+ mappings("org.quiltmc:quilt-mappings:${libs.versions.minecraft.get()}+build.${libs.versions.quilt.mappings.get()}:intermediary-v2")
officialMojangMappings()
})
modImplementation(libs.fabric.loader)
diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json
index 6b6f6e4..508eeed 100644
--- a/fabric/src/main/resources/fabric.mod.json
+++ b/fabric/src/main/resources/fabric.mod.json
@@ -20,7 +20,7 @@
"environment": "*",
"depends": {
"fabricloader": ">=0.14.0",
- "minecraft": "~1.19.4",
+ "minecraft": ">1.20-",
"java": ">=17",
"fabric-resource-loader-v0": "*"
},