Add support for locate command on new versions from 1.18 to 1.20 (#318)

Co-authored-by: Antonio Cheong <teapotv8@proton.me>
This commit is contained in:
gptlang
2024-03-08 09:29:32 +00:00
committed by GitHub
parent cb27c81df8
commit 9fdb0c5f17
3 changed files with 96 additions and 33 deletions

View File

@@ -16,14 +16,19 @@ repositories {
maven { url "https://maven.seedfinding.com/" }
maven { url "https://maven-snapshots.seedfinding.com/" }
maven { url 'https://jitpack.io' }
maven { url 'https://maven.duti.dev/releases' }
}
configurations {
// configuration that holds jars to include in the jar
extraLibs
}
dependencies {
// This will make it work on most platforms. It automatically chooses the right dependencies at runtime.
extraLibs('dev.duti.acheong:cubiomes:1.22.3') { transitive = false }
extraLibs('dev.duti.acheong:cubiomes:1.22.3:linux64') { transitive = false }
extraLibs('dev.duti.acheong:cubiomes:1.22.3:osx') { transitive = false }
extraLibs('dev.duti.acheong:cubiomes:1.22.3:windows64') { transitive = false }
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_version}:v2"