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
+1
View File
@@ -2,6 +2,7 @@
java_version=8
minecraft_version=1.16.5
parchment_version=2022.03.06
compatible_minecraft_versions=["1.16.4", "1.16.5"]
# Fabric loader
+1
View File
@@ -2,6 +2,7 @@
java_version=16
minecraft_version=1.17.1
parchment_version=2021.12.12
compatible_minecraft_versions=["1.17", "1.17.1"]
# Fabric loader
+1
View File
@@ -2,6 +2,7 @@
java_version = 17
minecraft_version=1.18.1
parchment_version=2022.03.06
compatible_minecraft_versions=["1.18", "1.18.1"]
# Fabric loader
+1
View File
@@ -2,6 +2,7 @@
java_version = 17
minecraft_version=1.18.2
parchment_version=2022.03.13
compatible_minecraft_versions=["1.18.2"]
# Fabric loader
+1 -1
View File
@@ -126,7 +126,7 @@ If running on IDE, to ensure IDE pickup the changed versions, you will need to r
The Minecraft source code is NOT added to your workspace in an editable way. Minecraft is treated like a normal Library. Sources are there for documentation and research purposes only.
Source code uses Mojang mappings.
Source code uses Mojang mappings & Parchment mappings.
## Useful commands
+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' }