From 4f1bba3f51de1f544b239e7eac740eab5832dc5b Mon Sep 17 00:00:00 2001 From: isXander Date: Tue, 16 May 2023 17:04:51 +0100 Subject: 1.20 --- fabric/build.gradle.kts | 4 +++- fabric/src/main/resources/fabric.mod.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'fabric') 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": "*" }, -- cgit