From 1029798fa7271eb2b1cee88507eebc1cf64a0438 Mon Sep 17 00:00:00 2001 From: NicBOMB <19939315+NicBOMB@users.noreply.github.com> Date: Sun, 8 Oct 2023 16:34:41 -0700 Subject: [PATCH] add parchment mappings --- build.gradle | 13 +++++++++---- gradle.properties | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 7cb380fff..3f9099a07 100644 --- a/build.gradle +++ b/build.gradle @@ -23,10 +23,10 @@ subprojects { dependencies { minecraft "com.mojang:minecraft:${rootProject.minecraft_version}" - // The following line declares the mojmap mappings, you may use other mappings as well - mappings loom.officialMojangMappings() - // The following line declares the yarn mappings you may select this one as well. - // mappings "net.fabricmc:yarn:1.18.2+build.4:v2" + mappings loom.layered() { + officialMojangMappings() + parchment("org.parchmentmc.data:parchment-${rootProject.minecraft_version}:${rootProject.parchment_version}@zip") + } implementation("org.lwjgl:lwjgl-openvr:3.3.1") implementation("org.lwjgl:lwjgl-openvr:3.3.1:natives-linux") implementation("org.lwjgl:lwjgl-openvr:3.3.1:natives-macos") @@ -80,6 +80,11 @@ allprojects { } } + maven { + name = 'ParchmentMC' + url = 'https://maven.parchmentmc.org' + } + exclusiveContent { forRepository { maven { diff --git a/gradle.properties b/gradle.properties index 7ba99287d..701ee22fc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,5 +14,5 @@ fabric_api_version=0.89.2+1.20.2 forge_version=1.20.2-48.0.10 - +parchment_version=2023.10.08