Skip to content

Commit

Permalink
Add Parchment mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
Protonull authored and Gjum committed Apr 24, 2024
1 parent 0b69262 commit b37d52f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 8 additions & 6 deletions mod/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ subprojects {

dependencies {
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
mappings loom.officialMojangMappings()
mappings loom.layered() {
officialMojangMappings()
parchment("org.parchmentmc.data:parchment-${project.minecraft_version}:${project.parchment_version}@zip")
}
}
}

Expand All @@ -33,11 +36,10 @@ allprojects {
group = rootProject.maven_group

repositories {
// Add repositories to retrieve artifacts from in here.
// You should only use this when depending on other mods because
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
maven {
name "ParchmentMC"
url "https://maven.parchmentmc.org"
}
maven {
url "https://api.modrinth.com/maven"
content {
Expand Down
2 changes: 2 additions & 0 deletions mod/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ mod_source_url=https://github.com/CivPlatform/map-sync
mod_issues_url=https://github.com/CivPlatform/map-sync/issues

minecraft_version=1.18.2
# https://parchmentmc.org/docs/getting-started
parchment_version=2022.11.06
enabled_platforms=fabric,forge

# https://fabricmc.net/versions.html
Expand Down

0 comments on commit b37d52f

Please sign in to comment.