aboutsummaryrefslogtreecommitdiff
path: root/fabric
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-05-16 17:04:51 +0100
committerisXander <xandersmith2008@gmail.com>2023-05-16 17:04:51 +0100
commit4f1bba3f51de1f544b239e7eac740eab5832dc5b (patch)
tree72357adf401c2f0c2962eba59d2a793ba238a182 /fabric
parent5b368af9efcc1c587c608d014e9dc79bcc3c691c (diff)
downloadYetAnotherConfigLib-4f1bba3f51de1f544b239e7eac740eab5832dc5b.tar.gz
YetAnotherConfigLib-4f1bba3f51de1f544b239e7eac740eab5832dc5b.tar.bz2
YetAnotherConfigLib-4f1bba3f51de1f544b239e7eac740eab5832dc5b.zip
1.20
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": "*"
},