Add Parchment mappings (it's parameter mappings & javadoc)

This commit is contained in:
Ran
2022-04-18 18:59:00 +06:00
parent b2047ce0c0
commit c49e38a58c
6 changed files with 16 additions and 3 deletions
+11 -2
View File
@@ -101,8 +101,13 @@ subprojects { p ->
dependencies {
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
// The following line declares the mojmap mappings
mappings loom.officialMojangMappings()
// The following line declares the mojmap mappings & parchment mappings
mappings loom.layered() {
// Mojmap mappings
officialMojangMappings()
// Parchment mappings (it adds parameter mappings & javadoc)
parchment("org.parchmentmc.data:parchment-${rootProject.minecraft_version}:${rootProject.parchment_version}@zip")
}
//Manifold
annotationProcessor "systems.manifold:manifold-preprocessor:${rootProject.manifold_version}"
@@ -144,6 +149,10 @@ allprojects { p ->
repositories {
mavenCentral()
// For parchment mappings
maven { url "https://maven.parchmentmc.org" }
// used to download and compile dependencies from git repos
maven { url 'https://jitpack.io' }